/* 基本スタイル */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0f172a;
    margin: 0;
    padding: 0;
    color: #111827;
}

/* ヒーローセクション（ミニマル＋近未来） */
header#hero {
    position: relative;
    background: linear-gradient(160deg, #020617 0%, #0f172a 65%, #1a2744 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    overflow: hidden;
}

header#hero::before,
header#hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    pointer-events: none;
}

header#hero::before {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -160px;
}

header#hero::after {
    width: 260px;
    height: 260px;
    bottom: -120px;
    left: -80px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: left;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #f1f5f9;
    margin: 0 0 0.9rem;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
}

/* レスポンシブ対応: 画面に収まるよう調整 */
@media (max-width: 768px) {
    header#hero {
        height: auto;
        padding: 2.8rem 1.4rem 2.4rem;
    }

    .hero-inner {
        text-align: left;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.45;
    }
}


/* カテゴリセクション */
/* カテゴリセクション */
#category-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 1rem 2rem;
    max-width: 1100px;
    margin: 0 auto 0;
}

.category-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1rem 1rem;
    margin: 0;
    text-align: center;
    border-radius: 14px;
    box-shadow: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    flex: 1;
    max-width: 180px;
    cursor: pointer;
}

.category-box:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.category-box h3 {
    color: #cbd5e1;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem;
}

.cat-en {
    font-size: 0.6rem;
    color: #475569;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

/* フォームの豪華なレイアウト */
form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 2rem auto;
}
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-group:last-child {
    margin-right: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
}

.submit-btn {
    background-color: #5E5D5D;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

.online {
    width: 100%;
    /* 親要素の幅に合わせて自動調整 */
    max-width: 1391px;
    /* 最大幅を指定 */
    height: auto;
    /* アスペクト比を維持する */
}

/* サイズ調整 */
#surname,
#surname-kana {
    width: 48%;
}

#givenname,
#givenname-kana {
    width: 48%;
}



.submit-btn:hover {
    background-color: #444;
}

.submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* コンテンツセクション */
#content {
    padding: 2.5rem 1rem 3.5rem;
}

.content-box {
    background-color: #ffffff;
    padding: 2.3rem 2.5rem;
    margin: 2.5rem auto;
    max-width: 1040px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    line-height: 1.8;
    display: none;
    font-size: 1.05rem;
}

.content-box.active {
    display: block;
}

.overview-image {
    width: 100%;
    max-width: 600px;
    margin-top: 1.5rem;
}

/* h2のスタイル */
h2 {
    font-size: 2.1rem;
    margin-bottom: 1.8rem;
    color: #111827;
    text-align: center;
    letter-spacing: 0.06em;
}
/* p要素のスタイル */
p {
    margin-bottom: 1.4rem;
    color: #4b5563;
}




/* 言語切り替え */
.lang-switcher {
    position: fixed;
    top: 0.9rem;
    right: 1rem;
    z-index: 200;
    display: flex;
    gap: 0.35rem;
}
.lang-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    padding: 0.28rem 0.65rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.2);
}
.lang-btn.active {
    background: rgba(255, 255, 255, 0.13);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.25);
}

/* LINE ボタン */
.line-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #06C755;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-bottom: 0.6rem;
}
.line-btn:hover {
    background: #05a847;
    transform: translateY(-1px);
}
.line-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0 0 1.8rem !important;
}

/* content-box 内 h3 */
.content-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    border-left: 3px solid #334155;
    padding-left: 0.8rem;
    margin: 2rem 0 0.75rem;
    letter-spacing: 0.04em;
}

/* 画像ブロック */
.tyuu {
    text-align: center;
    margin: 1.5rem 0;
}
.overview-image {
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

/* 企業情報テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}
.company-table th,
.company-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
    color: #374151;
}
.company-table th {
    width: 160px;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* 店舗案内 */
.store-section {
    margin-bottom: 2.8rem;
}
.store-section:last-child {
    margin-bottom: 0;
}
.store-section-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e5e7eb;
}
.store-section-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.06em;
    margin: 0;
}
.store-section-header span {
    font-size: 0.78rem;
    color: #9ca3af;
    letter-spacing: 0.08em;
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.store-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 1rem 1rem 0;
}
.store-item iframe {
    display: block;
    margin-top: 0.75rem;
    border-radius: 0 0 8px 8px;
}
.store-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.2rem !important;
}
.store-address {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 !important;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #category-section {
        flex-direction: row;
        justify-content: center;
        margin-top: 0;
        gap: 0.5rem;
    }

    .category-box {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: none;
        padding: 0.6rem 0.8rem;
    }

    .category-box h3 {
        font-size: 0.9rem;
    }

    iframe {
        height: 200px;
        /* 地図の縦の高さを短く */
    }

    form {
        max-width: 100%;
        padding: 1.5rem;
    }

    #content {
        padding: 2rem 1rem 3rem;
    }

    .content-box {
        padding: 1.6rem 1.4rem;
        margin: 1.8rem auto;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    }

    .submit-btn {
        width: 100%;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }
    .company-table th {
        width: 100px;
    }

         .form-row {
             flex-direction: column;
         }
    
         .form-group {
             margin-right: 0;
             margin-bottom: 1rem;
         }
}