/* --- 基本設定 --- */
:root {
    --primary-color: #d35400; /* オレンジ */
    --secondary-color: #c28e0e; /* ゴールド系 */
    --dark-green: #1a4240;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f8f9fa;
    font-size: 12px;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ヘッダー --- */
.header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.header .container {
    text-align: left;
}
.logo {
    height: 30px;
    width: auto;
}

/* --- ファーストビュー (FV) --- */
.fv {
    background-color: #000;
    /* 背景画像は実際のパスに差し替えてください */
    background-image: url('./images/fv/fv_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}
.fv .fv-flex-container {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 500px; /* 高さを確保 */
}
.fv-content {
    flex: 1 1 80%;
}

/* ▼▼▼ fv-title スタイル修正 ▼▼▼ */
.fv-title {
    position: relative;
    font-size: 3rem;
    font-weight: 900; /* 画像に合わせて太く */
    line-height: 1.5;
    margin-bottom: 0px; /* fv-title-smallを削除したため調整 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.fv-title-small {
    font-size: 2rem; /* タイトルの一部を小さく */
    margin-top: 0;
    margin-bottom: auto;
}
.fv-title-very-small {
    position: absolute;
    left: 300px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ▼▼▼ ハイライト用スタイル追加 ▼▼▼ */
.fv-title-highlight {
    display: inline-block; /* 背景色適用のため */
    background-color: var(--dark-green); /* 画像参考 */
    padding: 10px 5px 5px;
    margin-bottom: 10px;
    font-size: 3rem; /* サイズ調整 */
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none; /* ボックス内はシャドウ不要 */
    border-radius: 3px; /* 少し角丸に */
}
/* ▲▲▲ スタイル修正ここまで ▲▲▲ */


/* 追加：FVタイトルのハイライト（金グラデーション） */
.fv__title-highlight {
    background: linear-gradient(to right, #E6C869, #F5EAAA, #D4AF37);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.fv-bottom-content {
    display: block;
}
.fv-badges {
    display: flex;
    flex-direction: column; /* バッジを縦に並べる */
    align-items: flex-start; /* 左寄せにする */
    gap: 15px;
    margin-top: 50px;
}
.fv-badges img {
    height: auto; /* 画像サイズを調整 */
    width: 300px;
}
.fv-image-person {
    flex: 0 0 35%;
    text-align: right;
    position: relative;
}
.fv-person-info {
    position: absolute;
    bottom: 5px;
    left: -120px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.fv-person-info .person-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}
.fv-person-info .person-name {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}


/* --- FV下部ブロック --- */
.fv-bottom-block {
    background-color: #000;
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}
.fv-bottom-text {
    font-size: 0.85rem;
    text-underline-offset: 8px;
    margin-top: 10px;
}

/* --- バナー --- */
.banner {
    padding: 10px 0;
    background-color: #000000;
}
.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.banner-grid img {
    width: 100%;
    height: auto;
}

/* --- CTA --- */
.cta {
    padding: 50px 0;
    background-color: #f4f4f4;
}
.cta .container {
    text-align: center;
}
.cta-1 {
    background-color: #000;
    padding: 30px;
}
.cta-box {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.cta-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0 0 25px;
}
.cta-buttons {
    display: flex;
    flex-direction: column; /* ボタンを縦に並べる */
    align-items: center; /* 中央揃え */
    gap: 15px;
}
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    position: relative;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    text-align: center;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn::after {
    content: '>';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* --- ラインナップ --- */
.lineup {
    background-color: var(--dark-green);
    padding: 60px 0;
    color: var(--text-light);
}
.lineup .section-title {
    color: var(--text-light);
}

/* ▼▼▼ タブUIのスタイルを追加 ▼▼▼ */
.lineup-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.lineup-tab-btn {
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    background-color: var(--text-light);
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}
.lineup-tab-btn.active {
    background-color: var(--dark-green);
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
/* ▲▲▲ タブUIのスタイルを追加 ▲▲▲ */


.lineup-grid {
    /* ▼▼▼ JSで切り替えるため、デフォルトは非表示に ▼▼▼ */
    display: none; 
    /* ▲▲▲ 既存の display: grid; は .active 側に移動 ▲▲▲ */
    gap: 30px;
}

/* ▼▼▼ 表示される .active なグリッドのスタイル ▼▼▼ */
.lineup-grid.active {
    display: grid;
}
/* ▲▲▲ 表示される .active なグリッドのスタイル ▲▲▲ */

.lineup-card {
    min-height: 300px;
    background-color: #fff;
    color: var(--text-dark);
    display: flex;
    align-items: center; /* 修正: flex-end に変更して下揃えに */
    padding: 20px;
    padding-bottom: 0;
    gap: 10px;
    position: relative; /* position:absolute; の基準にする */
}
.lineup-content {
    flex: 1;
}
.lineup-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.5;
}
.lineup-content h3 span {
    display: block;
    color: var(--dark-green);
    font-size: 2rem;
    margin-bottom: 5px;
}
.lineup-content p {
    margin: 0 0 20px;
    font-size: 1.5rem;
}
.lineup-person-info {
    text-align: right;
    position: absolute;
    bottom: 0px;
    right: 220px; /* 画像(200px) + 要素間の隙間(10px) + 右のpadding(20px) */
    line-height: 1.5;
}
.lineup-person-info .person-title {
    font-size: 1.25rem;
    margin: 0;
}
.lineup-person-info .person-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}
.lineup-image {
    flex-shrink: 0;
    margin-top: auto !important;
}
.lineup-image img {
    max-width: 200px;
}

.lineup-image-bg img {
    max-width: 300px;
    height: 150px;
    margin-right: -20px;
}

/* --- ディスクリプション --- */
.description {
    background-color: var(--dark-green);
    padding-bottom: 60px;
    color: var(--text-light);
    padding-top: 60px;
}
.description .section-title {
    color: var(--text-light);
}
.description-grid {
    display: grid;
    gap: 30px;
}
.description-card {
    position: relative;
    overflow: hidden;
}
.description-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.description-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.description-content .point-number {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 10px;
}
.description-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 40px;
}
.description-content p {
    font-size: 1.5rem;
    margin: 0;
}


/* --- Example Section --- */
.example {
    padding: 60px 0;
    background-color: #fff;
}
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 40px;
}
.example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.example-card {
    border: 1px solid #ddd;
    background-color: #fff;
}
.example-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}
.example-card-header img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}
.example-header-text h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: bold;
}
.example-user-info {
    background-color: var(--dark-green);
    color: var(--text-light);
    padding: 8px 12px;
    font-size: 0.9rem;
}
.example-user-info p {
    margin: 0;
    line-height: 1.5;
}
.example-card-body {
    padding: 20px;
    font-size: 0.95rem;
}
.example-card-body p {
    margin: 0 0 1em;
}
.example-card-body p:last-child {
    margin-bottom: 0;
}
.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- フッター --- */
.footer {
    padding: 30px;
    text-align: center;
    background: #f1f1f1;
    color: #555;
    font-size: 0.9rem;
}

/* --- PC Two Column Layout --- */
@media (min-width: 1201px) {
    .page-wrapper {
        display: flex;
    }
    .main-content {
        width: 75%;
        flex-grow: 1;
    }
    .sidebar-form {
        width: 25%;
        flex-shrink: 0;
        background-color: #f8f9fa;
        border-left: 1px solid #e9ecef;
    }
    .sidebar-form-inner {
        position: sticky;
        top: 20px;
        padding: 20px;
    }
    .bottom-form {
        display: none;
    }
}

/* --- Tablet and Mobile Layout --- */
@media (max-width: 1200px) {
    .sidebar-form {
        display: none;
    }
    .bottom-form {
        padding: 40px 20px;
        background-color: #f8f9fa;
    }
}

/* --- Form Styles --- */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}
.form-header {
    margin-bottom: 20px;
}
.form__title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}
.form__description {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 20px;
}


/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }
    
    .section-title {
        margin-bottom: 15px;
        font-size: 1.8rem;
    }

    /* --- FV SP Layout --- */
    .fv .container {
        position: relative;
        min-height: 380px;
        padding-left: 10px;
        padding-right: 0px;
        padding-bottom: 30px;
        display: flex;
        align-items: center;
    }
    .fv .fv-flex-container {
        display: block;
        min-height: auto;
        padding: 0;
        gap: 0;
        width: 100%;
    }
    .fv-content {
        padding: 0;
        background: none;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }
    .fv-image-person {
        position: absolute;
        right: 5px;
        bottom: 0;
        width: 38.5%;
        max-width: 190px;
        z-index: 1;
    }

    /* ▼▼▼ fv-title SP スタイル修正 ▼▼▼ */
    .fv-title {
        width: 100%;
        font-size: 1.9rem; /* 調整 */
        font-weight: 900;
        line-height: 1.2; /* 調整 */
        margin-top: 30px;
    }
    .fv-title-small {
        display: block;
        font-size: 1.5rem;
        margin-top: 40px;
    }
    .fv-title-very-small {
        left: 125px;
        font-size: 0.65rem;
        margin-bottom: 0px;
    }

    /* ▼▼▼ ハイライト用 SP スタイル追加 ▼▼▼ */
    .fv-title-highlight {
        font-size: 1.75rem; /* SP用に調整 */
        padding: 5px 5px;
    }
    /* ▲▲▲ SP スタイル修正ここまで ▲▲▲ */


    .fv-badges {
        align-items: flex-start;
        height: auto;
        width: 185px;
        margin-top: 50px;
        margin-bottom: 0px;
    }
    .fv-badges img {
        height: 50px;
    }
    .fv-bottom-text {
        font-size: 0.65rem;
        margin-top: 5px;
    }

    .fv-person-info {
        bottom: -2.5px;
        left: 10px;
    }
    .fv-person-info .person-title {
        font-size: 0.85rem;
        font-weight: 600;
        margin: 0;
    }
    .fv-person-info .person-name {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
    }

    /* --- CTA SP Layout --- */
    .cta-1 .cta-buttons {
        gap: 10px;
    }

    .cta-1 .btn {
        font-size: 0.9rem;
        padding: 12px 5px;
        flex: 1;
    }

    .cta-1 .btn::after {
        right: 8px;
    }

    /* --- Other Sections --- */
    .banner-grid, .example-grid {
        grid-template-columns: 1fr;
    }
    .cta.cta-1 {
        padding: 30px 0;
    }
    .cta-box {
        padding: 20px;
    }
    .cta-title {
        font-size: 1.25rem;
    }
    .cta-buttons .btn {
        font-size: 1.25rem;
    }
    .cta-buttons {
       gap: 15px;
    }
    
    /* lineup SP */
    .lineup {
        padding: 30px 0;
    }
    
    /* ▼▼▼ lineup-tabs SP Style ▼▼▼ */
    .lineup-tabs {
        gap: 10px;
        margin-bottom: 20px;
    }
    .lineup-tab-btn {
        font-size: 1.1rem;
        padding: 8px 0;
        flex: 1; /* タブを均等幅に */
    }
    /* ▲▲▲ lineup-tabs SP Style ▲▲▲ */

    .lineup-grid {
        /* display: none; はPC側で設定済み */
        gap: 15px;
    }
    /* .lineup-grid.active はPC側で display: grid; が設定済み */

    .lineup-card {
        display: flex;
        min-height: 170px;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        padding: 10px;
        padding-right: 0;
        padding-bottom: 0;
        position: relative; /* position:absolute; の基準にする */
    }
    .lineup-content {
        margin-bottom: auto;
        text-align: left;
    }
    .lineup-content h3 {
        font-size: 1.25rem;
        margin: 0 0 10px;
    }
    .lineup-content h3 span {
        font-size: 1rem;
    }
    .lineup-content p {
        font-size: 1rem;
        margin: 0 0 10px;
    }
    .lineup-person-info {
        text-align: right;
        position: absolute;
        bottom: 0px;
        right: 115px; /* 画像(120px) + 要素間の隙間(15px) */
    }
    .lineup-person-info .person-title {
        font-size: 0.8rem;
    }
    .lineup-person-info .person-name {
        font-size: 0.9rem;
    }
    .lineup-image {
        margin-top: auto;

    }
    .lineup-image img {
        max-width: 120px;
    }

    .lineup-image-bg img {
        max-width: 150px;
        height: auto;
        margin-right: 0;
    }

    /* description SP */
    .description-grid {
        gap: 20px;
    }
    .description-content {
        padding: 20px;
    }
    .description-content .point-number {
        font-size: 1.2rem;
    }
    .description-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .description-content p {
        font-size: 1rem;
    }
}

