/* ---
和太鼓教室せっちー カスタムCSS
Bootstrap 5の標準クラスを最大限活用し、カスタムCSSを最小限に抑えています
--- */

/* 1. CSS変数でカラーパレットを定義（Bootstrap変数を上書き）
-------------------------------------------------- */
:root {
    --bs-body-bg: #fdfaf5;
    --bs-body-color: #4a3a2a;
    --bs-primary: #e57373;
    --bs-primary-rgb: 229, 115, 115;
    --bs-secondary: #d4c0a1;
    --bs-secondary-rgb: 212, 192, 161;
    --bs-border-color: #e0d9d0;

    /* カスタムカラー */
    --custom-beige: #fdfaf5;
    --custom-brown: #4a3a2a;
    --custom-accent-bg: #f5f0e9;
}

/* 2. フォント設定
-------------------------------------------------- */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* 見出し用明朝体 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* モバイルでは若干大きめに設定して可読性を向上 */
@media (max-width: 767.98px) {
    body {
        font-size: 17px;
    }
}

/* 3. ヘッダー・ナビゲーション
-------------------------------------------------- */
.navbar-light {
    background-color: var(--custom-beige);
    border-bottom: 2px solid var(--bs-border-color);
}

.navbar-brand {
    font-weight: bold;
    color: var(--custom-brown);
}

.nav-link {
    color: var(--custom-brown);
    font-weight: 500;
}

.nav-link.active {
    color: var(--bs-primary);
    font-weight: bold;
    border-bottom: 3px solid var(--bs-primary);
    padding-bottom: 0.3rem;
}

/* モバイルナビゲーション内のスタイル調整 */
@media (max-width: 991.98px) {
    /* ボタンスタイル調整 */
    .navbar-nav .nav-item .btn {
        margin-top: 0.5rem;
        display: inline-block;
        width: auto;
    }

    /* モバイルメニュー内でのactive表示（border-leftに変更） */
    .navbar-collapse .nav-link.active {
        border-bottom: none;
        border-left: 4px solid var(--bs-primary);
        padding-left: 1rem;
        padding-bottom: 0.5rem;
    }

    /* タップターゲットサイズを44px以上に確保（WCAG 2.1準拠） */
    .navbar-collapse .nav-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* 4. タイトル装飾（H1, H2）- ジャンプ率を高く
-------------------------------------------------- */
h1 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--bs-secondary);
    padding-bottom: 10px;
}

h2 {
    font-size: 1.8rem;
    color: #6d5b45;
    border-left: 5px solid var(--bs-secondary);
    padding-left: 15px;
    margin-bottom: 1.5rem;
}

/* セクション見出し（大きく目立たせる） */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #8b7355;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* カード内の見出し */
.card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--custom-brown);
}

/* 本文は控えめに */
.card-text, p {
    font-size: 0.95rem;
    color: #5a4a3a;
}

/* 5. ボタンスタイル（Bootstrapのボタンを上書き）
-------------------------------------------------- */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #d35454;
    --bs-btn-hover-border-color: #d35454;
    border-radius: 30px;
    font-weight: bold;
    padding: 12px 24px;
}

.btn-secondary {
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: #c9b492;
    --bs-btn-hover-border-color: #c9b492;
    --bs-btn-color: var(--custom-brown);
    --bs-btn-hover-color: var(--custom-brown);
    border-radius: 30px;
    font-weight: bold;
}

/* 6. ダミー画像用（実装時は削除）
-------------------------------------------------- */
.main-visual {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* 7. フッター
-------------------------------------------------- */
.footer {
    background-color: var(--bs-border-color);
    color: #6d5b45;
}

/* 8. その他のカスタム要素
-------------------------------------------------- */
.target-list {
    list-style-type: '✓ ';
    padding-left: 1.5rem;
}

.target-list li {
    padding-left: 10px;
    margin-bottom: 0.8rem;
}

/* キャッチコピー */
.catchcopy {
    text-shadow: 1px 1px 3px #fff;
}

/* =====================================
   ヒーローセクション（FV）
===================================== */
.hero-section {
    background: linear-gradient(135deg, var(--custom-beige) 0%, var(--custom-accent-bg) 100%);
    padding: 3rem 0 4rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-image {
    max-width: 380px;
    border-radius: 12px;
}

.hero-label {
    font-size: 0.9rem;
    color: #8b7355;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.hero-headline {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--custom-brown);
    border: none;
    padding: 0;
}

.text-accent {
    color: var(--bs-primary);
}

.hero-sub {
    font-size: 1.15rem;
    color: #6d5b45;
    font-weight: 500;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-benefits li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--custom-brown);
}

.benefit-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.cta-note {
    color: #8b7355;
}

/* モバイル対応 */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 0 3rem;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .hero-headline {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero-sub {
        text-align: center;
    }

    .hero-benefits {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-cta {
        text-align: center;
    }
}

/* リード文セクション */
.lead-text {
    background-color: var(--custom-accent-bg);
    padding: 2rem;
    border-radius: 12px;
}

/* =====================================
   特長セクション
===================================== */
.features-section {
    background-color: #fff;
}

.features-section .card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.features-section .card:hover {
    transform: translateY(-4px);
}

.features-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.feature-number {
    display: inline-block;
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--bs-primary);
    line-height: 1;
}

.features-section .card-title {
    font-size: 1.15rem;
    line-height: 1.5;
}

.features-section .card-text {
    font-size: 0.9rem;
    line-height: 1.8;
}

.features-section .card-text strong {
    color: var(--bs-primary);
}

/* =====================================
   ターゲットセクション（お悩み）
===================================== */
.target-section {
    background-color: var(--custom-accent-bg);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.target-item {
    background: #fff;
    padding: 1.2rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}

.target-item::before {
    content: "✓";
    display: block;
    width: 28px;
    height: 28px;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    line-height: 28px;
    margin: 0 auto 0.5rem;
}

.target-item span {
    font-size: 0.95rem;
    color: var(--custom-brown);
}

@media (max-width: 767.98px) {
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .target-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   CTAセクション
===================================== */
.cta-section {
    background: linear-gradient(135deg, var(--custom-accent-bg) 0%, #f0e6d8 100%);
}

.cta-section h2 {
    border: none;
    padding: 0;
    font-size: 1.6rem;
}

/* =====================================
   セクション背景色（視覚的リズム）
===================================== */
.section-light {
    background-color: #fff;
}

.section-accent {
    background-color: var(--custom-accent-bg);
}

/* 下層ページ用セクション */
.page-section {
    padding: 3rem 0;
}

.page-section h2 {
    border-left: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bs-secondary);
    margin: 0.8rem auto 0;
}

/* 9. モバイルユーザビリティ（タップターゲットサイズの確保）
-------------------------------------------------- */
@media (max-width: 767.98px) {
    /* パンくずリストのリンク */
    .breadcrumb-item a {
        padding: 0.5rem 0.25rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* フッターのリンク */
    .footer .nav-link {
        padding: 0.75rem 0.5rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* すべてのボタン */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
}
