/* ================================================== */
/*                   CSS IMPORTS & VARIABLES         */
/* ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    /* ===== ベースカラー ===== */
    --navy: #1B3A57;
    /* ナビ・メイン紺 (旧: #1c3a57, --primary-color と同一) */
    --primary-color: #1B3A57;
    /* --navy の別名（後方互換） */

    /* ===== アクセントカラー ===== */
    --accent-color: #FF6B35;
    /* オレンジ (旧: #ff6a35 と同一) */
    --accent-dark: #E55A28;
    /* オレンジ・ホバー (旧: #e85a2a と統一) */

    /* ===== ティール系 ===== */
    --teal-color: #2C5F7C;
    /* ティール・ダーク */
    --teal-light: #4DBCC5;
    /* ティール・ライト (旧: #4cbcc5 と同一) */

    /* ===== 背景色 ===== */
    --bg-light: #F8F9FA;
    /* ライトグレー背景 */
    --light-blue: #E8F4F8;
    /* 水色背景 (--section-gray と同一) */
    --section-gray: #E8F4F8;
    /* --light-blue の別名（後方互換） */
    --section-pink: #FFF5F2;
    /* ピンク背景 */

    /* ===== テキスト・汎用 ===== */
    --text-color: #333;
    --text-sub: #555;
    /* サブテキスト */
    --text-muted: #666;
    /* 補足テキスト */
    --white: #fff;

    /* ===== その他固有色 ===== */
    --course-green: #d8a63d;
    /* ひよこコース */
    --course-teal: #a0a1a1;
    /* コッココース */
    --course-dark: #ff5657;
    /* フェニックスコース */
    --danger: #E74C3C;
    /* エラー・バッジ */
    --income-bg: #FFF9C4;
    /* 収入ハイライト背景 */
    --profit-bg: #EAF6F6;
    /* 粗利ハイライト背景 */

    /* ===== ボーダー ===== */
    --border: #DDD;
    /* 通常ボーダー */
    --border-light: #E0E0E0;
    /* 薄いボーダー（フォーム等） */
    --border-subtle: #EEE;
    /* 極薄ボーダー（区切り線等） */
    --border-dashed: #CCC;
    /* 点線ボーダー */
    --border-blue: #E4EEF6;
    /* 青系カードボーダー */
    --border-teal: #DCE8F0;
    /* ティール系区切り線 */

    /* ===== 薄テキスト ===== */
    --text-fine: #888;
    /* 注釈・キャプション */
    --text-optional: #999;
    /* オプション表記 */
    --text-placeholder: #AAA;
    /* プレースホルダー・無効テキスト */
    --black: #000;

    /* ===== その他 ===== */
    --bg-gray: #F0F0F0;
    /* テーブル行・グレー背景 */
}

/* ================================================== */
/*                   GLOBAL STYLES                   */
/* ================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-width: 320px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1000px;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================== */
/*                   TYPOGRAPHY                      */
/* ================================================== */

.headline-small,
.headline-large {
    font-size: clamp(17px, 5vw, 2.5rem);
    transition: font-size 0.25s cubic-bezier(.4, 0, .2, 1);
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 30px;
}

.section-title small {
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: normal;
}

/* LP セクションヘッダー（全ページ共通） */
.section-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--navy);
    text-transform: uppercase;
    text-align: center;
}

.section-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.35;
}

.section-subtitle {
    font-size: 15px;
    color: #333;
    text-align: center;
}

/* ================================================== */
/*                   CTA BUTTONS                     */
/* ================================================== */

.cta-button,
.footer-cta .cta-button,
.dark-cta {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 280px;
    max-width: 90%;
    height: auto;
    min-height: 70px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2C5280 0%, #1B3A57 50%, #0e2035 100%);
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 6px 0 #0e2035, 0 6px 14px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
    border: none;
    transform: translateY(0);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
    box-sizing: border-box;
}

.cta-button small,
.footer-cta .cta-button small,
.dark-cta small {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 1px;
    opacity: 0.9;
    padding: 0;
}

.cta-button:hover {
    transform: translateY(3px);
    filter: brightness(0.88);
    box-shadow: 0 3px 0 #0e2035, 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(6px);
    filter: brightness(0.78);
    box-shadow: 0 0px 0 #0e2035, 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-container,
.footer-cta-container {
    text-align: left;
}

.header .cta-button {
    margin: 0 auto;
}

/* ================================================== */
/*                 Utility: margin-top                */
/* ================================================== */
/* Common utility classes used across static pages */
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-80 { margin-top: 80px; }

/* アイコン色ユーティリティ */
.icon-green  { color: #10b981; }
.icon-blue   { color: #3b82f6; }
.icon-amber  { color: #f59e0b; }

/* CTA グループレイアウト */
.cta-buttons-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 16px;
}

.cta-note {
    text-align: center;
    margin-top: 8px;
    color: #fff;
}

/* ================================================== */
/*                NAVIGATION HEADER                  */
/* ================================================== */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.0);
    z-index: 5;
    padding: 0px 40px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: none;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 10px;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-logo .logo-img {
    width: 60px;
    height: auto;
    display: block;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: var(--accent-dark);
}

.nav-menu li a.nav-cta,
.nav-menu li a.nav-btn {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 24px 12px;
    border-radius: 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-menu li a.nav-cta:hover,
.nav-menu li a.nav-btn:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 20px;
    z-index: 10001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 400px;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 16px;
}

.mobile-menu-list li:last-child {
    margin-bottom: 0;
}

.mobile-menu-list li a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-menu-list li a:hover {
    background: var(--bg-light);
}

.mobile-menu-list li a.mobile-cta,
.mobile-menu-list li a.mobile-btn {
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

.mobile-menu-list li a.mobile-cta:hover,
.mobile-menu-list li a.mobile-btn:hover {
    background: var(--accent-dark);
    color: var(--white);
}

/* ================================================== */
/*                   FOOTER SECTION                  */
/* ================================================== */

.footer-cta {
    background-color: var(--section-pink);
    text-align: center;
    padding: 40px 0;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ================================================== */
/*                   MODAL STYLES                    */
/* ================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #f8f9fa;
    margin: 20px;
    padding: 40px;
    border-radius: 6px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: var(--text-placeholder);
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--black);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.required {
    color: var(--danger);
    font-size: 12px;
    font-weight: normal;
    margin-left: 4px;
}

.optional {
    color: var(--text-optional);
    font-size: 12px;
    font-weight: normal;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-button {
    width: 100%;
    margin-top: 10px;
}

/* Modal contact form: center the submit button and avoid full-width in desktop */
.contact-form .form-submit-button {
    display: block;
    width: auto;
    max-width: 320px;
    margin: 10px auto 0;
}

@media (max-width: 768px) {
    .contact-form .form-submit-button {
        display: block;
        width: 100%;
        max-width: none;
    }
}

/* Success Message Styles */
.success-message {
    display: none;
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce-in 0.6s ease;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: bold;
}

.success-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.success-note {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.success-note p {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.6;
}

.success-close-button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

/* ================================================== */
/*             共通ユーティリティ                       */
/* ================================================== */

/* SP用改行 */
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-br {
        display: block;
    }
}

/* SP専用表示 */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* Small icon helper classes */
.icon-lead { margin-right: 0.5em; color: #2c3e50; }
.icon-youtube { color: #FF0000; }
.icon-teal { color: #2C5F7C; margin-right: 8px; }

/* 募集状況バッジ */
.recruitment-badge {
    display: inline-block;
    background: var(--danger);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ================================================== */
/*          共通コンポーネント（複数ページ共有）         */
/* ================================================== */

/* LP共通レイアウト */
.pamphlet-section {
    padding: 80px 0;
    background: #edf3f9;
}

.section-bg-light {
    padding: 80px 0 80px 0;
    background: #f6f8fb;
}

/* RBSの強み */
#strengths {
    background: #fdeed6;
}

.strengths-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.strength-card-v2 {
    background: #fff;
    border-radius: 6px;
    padding: 32px 28px;
    border: 1.5px solid var(--border-blue);
    border-left: 4px solid var(--accent-color);
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.strength-card-v2.featured {
    background: var(--navy);
    border: none;
    color: #fff;
}

.strength-card-v2.featured .str-num,
.strength-card-v2.featured .str-title,
.strength-card-v2.featured .str-desc,
.strength-card-v2.featured .str-arrow { color: #fff; }

.str-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 12px;
    width: 100%;
}

.str-num {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    flex-shrink: 0;
    min-width: 50px;
    line-height: 1;
}

.framework-box .str-num {
    position: absolute;
    top: 0;
    left: 24px;
    transform: translateY(-50%);
    font-size: 64px;
    color: #fff;
    -webkit-text-stroke: 2px var(--accent-color);
    padding: 0 6px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .framework-box .str-num {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.str-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0;
    line-height: 1.45;
    text-align: left;
}

.str-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: #555;
}

.str-arrow {
    display: inline-block;
    margin-top: 14px;
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 700;
}

/* Why Repair 共通 */
.why-repair-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.why-repair-item {
    text-align: left;
}

.item-text p {
    margin-bottom: 1em;
}

.item-text p:last-child {
    margin-bottom: 0;
}

.why-repair-conclusion-v2 {
    max-width: 860px;
    margin: 60px auto 0;
    border-top: 1px solid var(--border-teal);
    padding: 40px 0 0;
    text-align: left;
}

.why-repair-conclusion-v2 p {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.8;
    color: var(--navy);
    font-weight: 700;
}

.why-repair-conclusion-v2 strong {
    color: var(--accent-color);
    font-size: 1.2em;
}

/* FAQアコーディオン */
.faq-section-v2 {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-list-v2 {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item-v2 {
    border-bottom: 1px solid #e8edf2;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4px;
    cursor: pointer;
    gap: 16px;
}

.faq-q-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

.faq-q-text::before {
    content: 'Q';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.faq-a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    color: #4b5563;
    padding: 0 4px 22px 36px;
}

/* 会社概要 */
.company-section-v2 {
    background: var(--navy);
    padding: 80px 0;
    color: #fff;
}

.company-section-v2 .section-label {
    color: #fff;
}

.company-section-v2 .section-title {
    color: #fff;
}

.company-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.company-left {
    display: flex;
    flex-direction: column;
}

.company-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    width: 100%;
}

.company-name-block {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.company-table-v2 {
    width: 100%;
    border-collapse: collapse;
}

.company-table-v2 tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-table-v2 th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    padding: 14px 0;
    width: 110px;
    vertical-align: top;
}

.company-table-v2 td {
    font-size: 14px;
    color: #fff;
    padding: 14px 0;
    line-height: 1.55;
}

.company-table-v2 td a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.company-stats-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.company-stat-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 22px 28px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.company-stat-number span {
    color: var(--accent-color);
}

.company-stat-label {
    font-size: 12px;
    color: #fff;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .company-inner {
        gap: 16px;
    }
    .company-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .company-name-block {
        margin-bottom: 0;
    }
}

/* 最終CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2C5F7C 100%);
    padding: 80px 0;
    text-align: center;
}

.final-cta-section h2,
.final-cta-section .cta-lead {
    color: #fff;
}

.final-cta-section .cta-button {
    background: linear-gradient(135deg, #FF8C42 0%, var(--accent-color) 50%, #E55A28 100%);
    box-shadow: 0 6px 0 #b84a1e, 0 6px 14px rgba(255, 107, 53, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.final-cta-section .cta-button:hover {
    filter: brightness(0.92);
    transform: translateY(3px);
    box-shadow: 0 3px 0 #b84a1e, 0 4px 10px rgba(255, 107, 53, 0.15);
}

.final-cta-section .cta-button:active {
    filter: brightness(0.85);
    transform: translateY(6px);
    box-shadow: 0 0px 0 #b84a1e, 0 2px 4px rgba(255, 107, 53, 0.1);
}

.final-cta-title,
.final-cta-text {
    text-align: center;
    margin-bottom: 12px;
}

/* ======================================================= */
/*  講師・メディアセクション                              */
/* ======================================================= */
.instructor-cards-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
    max-width: 500px;
    margin: 0 auto;
}

.instructor-face-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e6ed;
    margin-bottom: 12px;
}

.instructor-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.instructor-role {
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 500;
}

.instructor-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.85;
    margin: 8px 0 0;
    text-align: left;
    max-width: 460px;
}

.instructor-parent-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #e6edf4;
    border-radius: 6px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 18px 40px rgba(10, 30, 60, 0.06);
    width: 100%;
    overflow: hidden;
}

.yt-card .yt-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.yt-card {
    background: #f9fbff;
    border: 1px solid #e6edf4;
    border-radius: 0 0 16px 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-bottom: -32px;
    width: calc(100% + 56px);
    box-shadow: none;
}

.yt-icon {
    font-size: 32px;
    color: #cc0000;
}

.yt-label {
    font-size: 16px;
    font-weight: 800;
    color: #b40000;
}

.yt-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.yt-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 20px;
    flex: 1;
}

.yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c40000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 10px;
    box-shadow: none;
}

.yt-btn:hover {
    background: #b00000;
    transform: none;
}

.yt-note {
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .instructor-cards-wrapper {
        flex-direction: column;
    }
}

/* ================================================== */
/*                PC RESPONSIVE - COMMON             */
/* ================================================== */

@media (min-width: 769px) {
    .nav-header {
        padding: 20px 0;
    }

    .nav-logo .logo-img {
        width: 70px;
    }

    .container {
        max-width: 1080px;
        padding: 0 40px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-cta-container {
        text-align: center;
        padding: 0;
    }

    .cta-button {
        margin: 0;
        width: 280px;
        height: 70px;
        font-size: 18px;
        padding: 10px;
    }

    .cta-button small {
        font-size: 13px;
        margin-bottom: 3px;
    }
}

/* ================================================== */
/*                SP RESPONSIVE - COMMON             */
/* ================================================== */

@media (max-width: 600px) {
    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@media (max-width: 350px) {

    .cta-button,
    .footer-cta .cta-button,
    .dark-cta {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: 4px;
        padding-right: 4px;
        font-size: 16px;
    }

    .cta-button *,
    .footer-cta .cta-button *,
    .dark-cta * {
        font-size: 16px;
    }

    .cta-button small,
    .footer-cta .cta-button small,
    .dark-cta small {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .nav-header {
        padding: 12px 0;
    }

    .nav-logo {
        left: 16px;
    }

    .nav-logo .logo-img {
        width: 50px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cta-container,
    .footer-cta-container {
        text-align: center;
    }

    .cta-button {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 280px;
        max-width: 85%;
        height: 70px;
        padding: 0;
        background: var(--navy);
        color: #fff;
        border-radius: 6px;
        font-weight: bold;
        box-shadow: 0 6px 0 #0e2035, 0 10px 20px rgba(0, 0, 0, 0.2);
        margin: 0 auto;
        box-sizing: border-box;
        font-size: 20px;
    }

    .header .cta-button {
        margin: 0 auto;
    }

    .cta-button small {
        font-size: 13px;
        margin-bottom: 1px;
        opacity: 0.9;
        font-weight: normal;
    }

    .modal-content {
        padding: 24px 16px;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .modal-subtitle {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 15px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .form-submit-button {
        margin-top: 0;
        width: 100%;
        display: block;
        padding: 14px 16px;
        height: auto;
        min-height: auto;
    }

    .form-submit-button .cta-inner {
        padding: 0;
        font-size: 15px;
        font-weight: 600;
    }
}

/* ================================================== */
/*                   ITEM TITLE                      */
/* ================================================== */
.item-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--navy);
}

.why-repair-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 0 80px 0;
}

@media (max-width: 768px) {
    .why-repair-section {
        padding: 40px 0 40px 0;
    }
}

.item-image {
    order: 1;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.item-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 769px) {
    .item-title {
        text-align: left;
        font-size: 24px;
    }

    .item-image {
        flex: 0 0 48%;
        max-width: 550px;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ============================================
   メディア紹介セクション（共通）
============================================ */
.media-section {
    background: #fff;
}

.media-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.media-video-item {
    width: 100%;
    display: block;
    text-decoration: none;
}

.media-thumb-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.media-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.media-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-play-icon {
    position: absolute;
    width: 60px;
    transition: opacity 0.2s ease;
}

.media-play-gray {
    opacity: 1;
}

.media-play-red {
    opacity: 0;
}

.media-thumb-wrap:hover .media-play-gray {
    opacity: 0;
}

.media-thumb-wrap:hover .media-play-red {
    opacity: 1;
}

.media-yt-label-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto 12px;
}

.media-yt-label-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.media-yt-label-text {
    font-size: 25px;
    font-weight: 700;
    color: #222;
}

.media-yt-channel {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 6px;
    padding: 24px 28px;
    border: 2px solid #1a3066;
}

.media-yt-channel-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: fit-content;
    margin: 0 auto;
}

.media-yt-left {
    flex-shrink: 0;
}

.media-yt-logo {
    height: 88px;
    width: auto;
    display: block;
}

.media-yt-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.media-yt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 10px 22px;
    border-radius: 4px;
    background: #1a3066;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.media-yt-btn:hover {
    background: #1a3066;
    filter: brightness(0.88);
    transform: scale(1.04);
}

.media-yt-channel-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.media-yt-channel-desc strong {
    font-size: 18px;
}

@media (max-width: 768px) {
    .media-videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .media-yt-channel {
        padding: 18px 16px;
    }

    .media-yt-channel-inner {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .media-yt-right {
        align-items: center;
        text-align: center;
    }

    .media-yt-channel-desc {
        text-align: center;
    }
}


/* ================================================== */
/*       フレームワーク / ベネフィット（共通）          */
/* ================================================== */

.curriculum-conclusion {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.framework-card-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 20px;
    width: 100%;
}

.framework-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #d0d0d0;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.framework-list-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.framework-side-img {
    width: 420px;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .framework-card-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .framework-card {
        width: 100%;
    }
    .framework-side-img {
        width: 100%;
        height: auto;
    }
    .str-title {
        font-size: 15px;
    }
    .str-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .str-title {
        text-align: center;
        font-size: 15px;
    }
}

.framework-img-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
}

.framework-img {
    width: 100px;
    height: 100px;
    display: block;
    object-fit: contain;
}

.attendance-img {
    width: 100%;
    max-width: 860px;
    display: block;
    margin: 24px auto;
    border-radius: 8px;
}

.framework-box {
    background: #fff;
    padding: 25px;
    padding-top: 44px;
    border-radius: 6px;
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

.framework-title {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.framework-badge {
    background: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 8px;
}

.framework-desc {
    margin-bottom: 15px;
    width: 100%;
}

.stack-gap {
    display: block;
    height: 16px;
}

.stack-gap--large {
    height: 28px;
}

.framework-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-weight: 500;
}

.framework-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.framework-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-color);
}

.benefit-section {
    margin-bottom: 20px;
}

.benefit-title {
    text-align: center;
    font-weight: bold;
    margin: 30px 0 5px 0;
    color: #666;
}

.benefit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.benefit-tag {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: 4px 12px;
    margin: 2px 6px;
    font-size: 0.95rem;
    display: inline-block;
}

@media (min-width: 960px) {
    #strengths .framework-box {
        max-width: 860px;
        margin: 50px auto;
        box-sizing: border-box;
    }

    .framework-box {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .framework-box .str-header {
        flex-basis: 100%;
    }

    .framework-box .framework-desc {
        flex: 1 1 0%;
        min-width: 0;
        margin-right: 32px;
        margin-bottom: 0;
    }

    .framework-box .framework-card-row {
        flex: 0 0 40%;
        width: 40%;
        margin-bottom: 0;
    }

    .benefit-tags {
        justify-content: flex-start;
    }

    .benefit-title {
        text-align: left;
    }

    .benefit-section .curriculum-conclusion {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .stack-gap {
        height: 12px;
    }

    .framework-badge {
        display: inline-block;
        margin-bottom: 6px;
    }

    .framework-title {
        font-size: 1.1rem;
        letter-spacing: -0.05em;
    }

    .benefit-tags {
        flex-direction: column;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }

    .benefit-tag {
        font-size: 1rem;
        padding: 12px 15px;
        text-align: center;
        width: 100%;
        display: block;
    }
}