body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color:rgb(24 24 24);
    color: #01579b;
}

header {
    position: relative;
    overflow: hidden;
    height: 600px;
}

header .top-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgb(24, 24, 24) 100%);
    z-index: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes gradientBackground {
    0% {
        background: linear-gradient(135deg, rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0.7));
    }
    100% {
        background: linear-gradient(135deg, rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0.7));
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        margin-top: 20px;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #01579b;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    white-space: nowrap;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.9), rgba(240, 248, 255, 0.7));
    border-radius: 10px;
    animation: fadeIn 1.5s ease-out forwards;
    max-width: 90%;
    box-sizing: border-box;
    overflow-wrap: normal;
}

h1, h2 {
    font-weight: bold;
    margin: 0;
    padding: 10px 0;
    color: #ffffff;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

.benefit-item-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.benefit-item {
    flex: 0 1 calc(29% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit-item img {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: #9ab4ff 5px solid;
}

.benefit-item p {
    text-align: center;
    font-weight: bold;
    color: #333;
}

.table-container {
    overflow-x: auto; /* 横スクロールを有効に */
    position: relative;
    width: 100%;
}

table {
    width: 100%; /* テーブルの幅を100%に設定 */
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    table-layout: auto; /* 自動レイアウトに変更 */
    background-color: #e0f7fa;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    word-wrap: break-word;
}

th {
    background-color: #0288d1;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

tbody tr:nth-child(even) {
    background-color: #f0f8ff;
}

tbody tr:nth-child(odd) {
    background-color: #e0f7fa;
}

tbody tr:hover {
    background-color: #b2ebf2;
}

tbody tr:last-child td {
    border-bottom: none;
}

form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="email"], textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus, textarea:focus, select:focus {
    border-color: #3498db;
}

button {
    background-color: #039be5;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0288d1;
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

button[type="submit"]:disabled:hover {
    background-color: #cccccc;
}

#creator-voices {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#creator-voices h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 300;
}

.creator-voice {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.creator-voice:hover {
    transform: translateY(-5px);
}

.creator-voice p {
    font-style: italic;
    color: #333;
    margin: 0;
}

.creator-voice cite {
    display: block;
    text-align: right;
    color: #039be5;
    font-weight: bold;
    margin-top: 10px;
}

.creator-voice:before {
    content: "“";
    font-size: 3em;
    color: #039be5;
    position: absolute;
    top: -10px;
    left: -10px;
}

.creator-voice:after {
    content: "”";
    font-size: 3em;
    color: #039be5;
    position: absolute;
    bottom: -10px;
    right: -10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.benefit-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    aspect-ratio: 1;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.dp_sp{
    display: none;
}

.dp_pc{
    display: block;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .benefit-item {
        flex: 1 1 100%;
    }

    header .top-image {
        width: 100%;
        height: auto;
        max-height: 400px; /* 縦型に調整 */
    }

    th, td {
        padding: 10px;
    }

    #creator-voices h2 {
        font-size: 1.5em;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
        max-width: 95%;
        white-space: normal;
        left: 5%;
        transform: translate(0, -50%);
    }

    .top-logo {
        width: 90%; /* スマホ表示時に幅を調整 */
        max-width: 90%; /* 画面幅に応じてサイズを調整 */
    }

    table {
        width: 200%; /* モバイルデバイスでテーブルの幅を200%に設定 */
    }

    #animated-title {
        text-align: center; /* 中央揃え */
    }

    #animated-title wbr::before {
        content: "\A"; /* 改行を挿入 */
        white-space: pre-wrap; /* 改行を有効にする */
    }

    .discord-link-container {
        top: 80%;
        font-size: 0.9em;
        margin-top: 40px;
    }

    .discord-link {
        font-size: 1em;
        padding: 6px 16px;
    }

    select {
        font-size: 16px; /* フォントサイズを調整 */
        padding: 10px; /* パディングを追加してサイズを調整 */
        width: 100%; /* 幅を100%に設定してレスポンシブ対応 */
        box-sizing: border-box; /* パディングを含めて幅を計算 */
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        aspect-ratio: auto;
    }

    header h1 {
        font-size: 1.5em;
        max-width: 100%;
        white-space: normal;
        left: 5%;
        transform: translate(0, -50%);
    }
    
    .discord-link-container {
        top: 82%;
        font-size: 0.85em;
        margin-top: 50px;
    }

    .discord-link {
        font-size: 0.9em;
        padding: 5px 14px;
    }
    
    .dp_sp{
        display: block;
    }
    
    .dp_pc{
        display: none;
    }
    
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form input[type="text"]:not(:last-child),
form input[type="email"]:not(:last-child),
form input[type="tel"]:not(:last-child),
form textarea:not(:last-child) {
    margin-right: 10px; /* 右側の余白を設定 */
}

.parallax {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.link-container {
    text-align: center;
    padding: 20px 0 40px; /* 下部のパディングを増やして、リンクを上に移動 */
    position: relative;
    z-index: 2;
    margin-top: -60px; /* 負のマージンを追加してさらに上に移動 */
}

.top-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-link {
    display: inline-block;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.2em;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.about-link:hover {
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: underline;
}

.discord-link-container {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    margin-top: 70px;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: rgba(88, 101, 242, 0.7);
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.discord-link i {
    font-size: 1.2em;
}

.discord-link:hover {
    background-color: rgba(88, 101, 242, 0.9);
    text-decoration: underline;
}

.discord-link-text {
    color: #ffffff;
    font-size: 0.9em;
    margin-top: 5px;
}

.highlight {
    color: #0288d1;
    font-weight: bold;
}

.top-logo {
    position: absolute;
    top: 40%; /* 位置を少し上に調整 */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* デフォルトの幅 */
    height: auto;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out forwards;
    max-width: 90%; /* 画面幅に応じてサイズを調整 */
}

/* PC表示用のスタイル */
@media (min-width: 769px) {
    .top-logo {
        width: 70%; /* PC表示時に幅を小さく調整 */
    }
}

#animated-title {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em; /* フォントサイズを小さく調整 */
    text-align: center;
    z-index: 2; /* 他の要素の上に表示されるように */
    color: #01579b; /* テキスト色を濃いブルーに */
    max-width: 90%; /* 最大幅を設定して中央揃えを確実に */
    white-space: nowrap; /* テキストが折り返されないように */
    overflow-wrap: break-word; /* テキストが折り返されるように */
    margin: 0; /* マージンをリセット */
    width: auto; /* 幅を自動調整 */
    animation: fadeIn 1.5s ease-out forwards;
    word-break: keep-all;
    overflow-wrap: break-word
}

.swipe-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    display: none; /* デフォルトは非表示 */
}

@media (max-width: 768px) {
    .swipe-indicator {
        display: block; /* スマホ表示時に表示 */
    }
}

#contact-form .form-group {
    margin-bottom: 15px; /* 各フォームグループの間にスペースを追加 */
}

#contact-form textarea {
    width: 100%; /* テキストエリアの幅を100%に設定 */
    padding: 10px; /* パディングを追加して入力しやすく */
    box-sizing: border-box; /* パディングを含めて幅を計算 */
    font-size: 16px; /* フォントサイズを調整 */
    resize: vertical; /* 垂直方向のリサイズを許可 */
}

.privacy-policy {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-policy input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-policy label {
    display: inline;
    margin: 0;
}

.privacy-policy a {
    color:#fb8200;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* プライバシーポリシーページのスタイル */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
}

.back-to-home a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-to-home a:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 15px;
        margin: 10px;
    }
    
    .policy-section h2 {
        font-size: 1.2em;
    }
}

/* プライバシーポリシーページ専用スタイル */
.privacy-content h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2em;
    padding: 20px 0;
}

.logo-title {
    text-align: center;
    margin-bottom: auto;
}