/*
 * 中央施術院テーマ - カスタムスタイル
 * Figmaデザインに基づくカラー・フォント定義
 */

/* ========================================
   CSS Variables (カラーテーマ)
========================================= */
:root {
    /* メインカラー */
    --color-primary: #428E57;        /* ダークグリーン */
    --color-primary-light: #85C58C;  /* ライトグリーン */

    /* 背景色 */
    --color-bg-cream: #FFFBF5;       /* クリーム/ベージュ */
    --color-bg-light-green: #E8F4EA; /* ライトグリーン背景 */

    /* テキストカラー */
    --color-text-dark: #635545;      /* ダークブラウン */
    --color-text-black: #000000;     /* 黒 */

    /* アクセントカラー */
    --color-accent-brown: #7D5A34;   /* ブラウン */

    /* その他 */
    --color-white: #FFFFFF;
    --color-gray: #F5F5F5;
}

/* ========================================
   リセット・基本設定
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    font-size: 16px;
}

/* ========================================
   ヘッダー・ロゴ
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* サイト名 */
.site-name {
    font-size: 1.5rem;
    display: block;
    white-space: nowrap;
}

/* カスタムロゴのスタイル */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

.custom-logo {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.custom-logo:hover {
    transform: scale(1.05);
}

.site-header .logo a {
    transition: opacity 0.3s ease;
}

.site-header .logo a:hover {
    opacity: 0.8;
}

/* ヘッダーCTAボタン */
.header-btn-line,
.header-btn-tel {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ========================================
   ヘッダー スマホ対応
========================================= */
@media (max-width: 640px) {
    .custom-logo {
        height: 40px;
        max-width: 40px;
    }

    /* スマホ時：屋号を2行に自然に折り返す */
    .site-name {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.3;
        max-width: 120px;
    }

    /* スマホ時：ボタンをアイコンのみに縮小 */
    .header-btn-line .btn-text,
    .header-btn-tel .btn-text {
        display: none;
    }

    .header-btn-line,
    .header-btn-tel {
        padding: 10px 12px;
        border-radius: 50px;
    }

    .header-cta {
        gap: 6px !important;
    }
}

@media (max-width: 380px) {
    .site-name {
        font-size: 1rem;
        max-width: 100px;
    }
}

/* ========================================
   見出しスタイル
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* セクションタイトル */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

/* ナンバリング（01, 02など） */
.number-badge {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-brown);
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
}

/* ========================================
   ボタンスタイル
========================================= */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* プライマリボタン（グリーン） */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* LINEボタン */
.btn-line {
    background-color: #06C755;
    color: var(--color-white);
}

/* 電話ボタン */
.btn-tel {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

/* セカンダリボタン（ライトグリーン） */
.btn-secondary {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

/* ========================================
   セクション共通スタイル
========================================= */
section {
    padding: 80px 0;
}

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

.section-bg-light-green {
    background-color: var(--color-bg-light-green);
}

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

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   カード・ボックススタイル
========================================= */
.card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ========================================
   FV (First View) セクション
========================================= */
.fv-section {
    position: relative;
    width: 100%;
}

.fv-background img {
    filter: brightness(1.05);
}

.fv-headline {
    animation: fadeInUp 0.8s ease-out;
}

.fv-subline {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.fv-cta {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.fv-image-inset {
    animation: fadeInRight 1s ease-out 0.6s both;
}

/* アニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FV CTAボタン共通 */
.fv-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fv-btn {
    min-width: 180px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fv-section {
        height: auto !important;
        min-height: 600px;
        padding: 60px 0;
    }

    .fv-headline {
        font-size: 2rem !important;
    }

    .fv-subline {
        font-size: 1.1rem !important;
    }

    .fv-cta {
        flex-direction: column;
        gap: 12px;
    }

    /* FVボタンをスマホで横幅いっぱいに */
    .fv-btn {
        width: 100%;
        max-width: 340px;
        padding: 16px 24px !important;
        font-size: 1.05rem !important;
    }
}

/* ========================================
   Features (4つの特徴) セクション
========================================= */
.features-section {
    position: relative;
    overflow: hidden;
}

.features-wrapper {
    gap: 66px;
}

.feature-item {
    animation: fadeInScale 0.6s ease-out both;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-circle:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* アニメーション定義 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .features-wrapper {
        gap: 32px;
    }

    .feature-circle {
        width: 140px !important;
        height: 140px !important;
    }

    .feature-circle span {
        font-size: 0.95rem !important;
        padding: 15px !important;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0 !important;
    }

    .features-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-item {
        min-width: auto !important;
        margin: 0 !important;
    }

    .feature-circle {
        width: 140px !important;
        height: 140px !important;
        margin-bottom: 0 !important;
    }

    .feature-circle span {
        font-size: 0.9rem !important;
        padding: 12px !important;
        line-height: 1.3 !important;
    }

    /* 葉っぱ装飾をスマホでは小さくする */
    .feature-circle svg {
        width: 30px !important;
        height: 30px !important;
        bottom: -5px !important;
        left: -10px !important;
    }
}

/* さらに小さい画面（360px以下）では少しサイズ調整 */
@media (max-width: 380px) {
    .features-wrapper {
        gap: 15px !important;
        max-width: 320px;
    }

    .feature-circle {
        width: 120px !important;
        height: 120px !important;
    }

    .feature-circle span {
        font-size: 0.85rem !important;
        padding: 10px !important;
    }

    .feature-circle svg {
        width: 25px !important;
        height: 25px !important;
    }
}

/* ========================================
   Problem (お悩み) セクション
========================================= */
.problem-section {
    position: relative;
}

.problem-item {
    animation: fadeInLeft 0.6s ease-out both;
}

.problem-column:nth-child(1) .problem-item:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-column:nth-child(1) .problem-item:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-column:nth-child(1) .problem-item:nth-child(3) {
    animation-delay: 0.3s;
}

.problem-column:nth-child(1) .problem-item:nth-child(4) {
    animation-delay: 0.4s;
}

.problem-column:nth-child(1) .problem-item:nth-child(5) {
    animation-delay: 0.5s;
}

.problem-column:nth-child(2) .problem-item:nth-child(1) {
    animation-delay: 0.6s;
}

.problem-column:nth-child(2) .problem-item:nth-child(2) {
    animation-delay: 0.7s;
}

.problem-column:nth-child(2) .problem-item:nth-child(3) {
    animation-delay: 0.8s;
}

.problem-column:nth-child(2) .problem-item:nth-child(4) {
    animation-delay: 0.9s;
}

.problem-column:nth-child(2) .problem-item:nth-child(5) {
    animation-delay: 1s;
}

.decoration-circle {
    animation: fadeInScale 1s ease-out;
}

/* アニメーション定義 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .problem-section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 40px !important;
    }

    .problem-list .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* ========================================
   Reason (原因と方針) セクション
========================================= */
.reason-section {
    position: relative;
}

.reason-title {
    animation: fadeInUp 0.8s ease-out;
}

.reason-text p {
    animation: fadeInUp 0.8s ease-out both;
}

.reason-text p:nth-child(1) {
    animation-delay: 0.2s;
}

.reason-text p:nth-child(2) {
    animation-delay: 0.4s;
}

.reason-text p:nth-child(3) {
    animation-delay: 0.6s;
}

.reason-text p:nth-child(4) {
    animation-delay: 0.8s;
}

.reason-text p:nth-child(5) {
    animation-delay: 1s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .reason-section {
        padding: 60px 0 !important;
    }

    .reason-title {
        font-size: 1.5rem !important;
    }

    .reason-text {
        font-size: 0.95rem !important;
    }

    .reason-text p {
        text-align: left !important;
    }
}

/* ========================================
   院長メッセージ セクション
========================================= */
.director-section .director-inner {
    animation: fadeInUp 0.8s ease-out both;
}

@media (max-width: 768px) {
    .director-section {
        padding: 60px 0 !important;
    }

    .director-section .director-inner {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }

    .director-section .director-message h2 {
        font-size: 1.3rem !important;
        text-align: left;
    }

    .director-section .director-message div {
        text-align: left;
    }
}

/* ========================================
   5 Reasons (選ばれる理由) セクション
========================================= */
.five-reasons-section .reason-item {
    animation: fadeInUp 0.8s ease-out both;
}

.five-reasons-section .reason-item:nth-child(1) {
    animation-delay: 0.1s;
}

.five-reasons-section .reason-item:nth-child(2) {
    animation-delay: 0.3s;
}

.five-reasons-section .reason-item:nth-child(3) {
    animation-delay: 0.5s;
}

.five-reasons-section .reason-item:nth-child(4) {
    animation-delay: 0.7s;
}

.five-reasons-section .reason-item:nth-child(5) {
    animation-delay: 0.9s;
}

.five-reasons-section .reason-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.five-reasons-section .reason-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .five-reasons-section .reason-number {
        font-size: 4rem !important;
    }

    .five-reasons-section .reason-text h3 {
        font-size: 1.5rem !important;
    }

    .five-reasons-section .reason-image img {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .five-reasons-section {
        padding: 60px 0 !important;
    }

    .five-reasons-section .reasons-list {
        gap: 3rem !important;
    }

    .five-reasons-section .reason-item {
        grid-template-columns: 1fr !important;
    }

    .five-reasons-section .reason-image {
        order: 2 !important;
    }

    .five-reasons-section .reason-text {
        order: 1 !important;
    }

    .five-reasons-section .reason-number {
        font-size: 3rem !important;
    }

    .five-reasons-section .reason-description p {
        font-size: 0.95rem;
    }
}

/* ========================================
   Symptoms (対応症状) セクション
========================================= */
.symptoms-section .symptom-item {
    animation: fadeInScale 0.6s ease-out both;
}

.symptoms-section .symptom-item:nth-child(1) {
    animation-delay: 0.1s;
}

.symptoms-section .symptom-item:nth-child(2) {
    animation-delay: 0.2s;
}

.symptoms-section .symptom-item:nth-child(3) {
    animation-delay: 0.3s;
}

.symptoms-section .symptom-item:nth-child(4) {
    animation-delay: 0.4s;
}

.symptoms-section .symptom-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(66, 142, 87, 0.2);
    background-color: rgba(133, 197, 140, 0.35) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .symptoms-section {
        padding: 60px 0 !important;
    }

    .symptoms-section .symptoms-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .symptoms-section .symptom-box {
        padding: 30px 15px !important;
    }

    .symptoms-section .symptom-box span {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .symptoms-section .symptoms-grid {
        gap: 0.75rem !important;
    }

    .symptoms-section .symptom-box {
        padding: 25px 10px !important;
    }
}

/* ========================================
   Price (料金) セクション
========================================= */
.price-section .price-plan {
    animation: fadeInUp 0.8s ease-out both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-section .price-plan:nth-child(1) {
    animation-delay: 0.2s;
}

.price-section .price-plan:nth-child(2) {
    animation-delay: 0.4s;
}

.price-section .price-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(66, 142, 87, 0.2) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .price-section {
        padding: 60px 0 !important;
    }

    .price-section .price-plans {
        gap: 2rem !important;
    }

    .price-section .plan-content {
        grid-template-columns: 1fr !important;
    }

    .price-section .plan-name {
        padding: 2rem !important;
    }

    .price-section .plan-details {
        padding: 2rem !important;
    }

    .price-section .plan-price p {
        font-size: 2.5rem !important;
    }

    .price-section .ticket-option p.text-4xl {
        font-size: 2rem !important;
    }
}

/* ========================================
   Flow (施術の流れ) セクション
========================================= */

/* グリッドレイアウト：PC=5ステップ横並び */
.flow-steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: center;
}

.flow-step-card {
    flex: 1;
    min-width: 0;
    max-width: 200px;
    background-color: #FFFBF5;
    border-radius: 12px;
    padding: 20px 16px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.flow-step-card:nth-child(1)  { animation-delay: 0.1s; }
.flow-step-card:nth-child(3)  { animation-delay: 0.2s; }
.flow-step-card:nth-child(5)  { animation-delay: 0.3s; }
.flow-step-card:nth-child(7)  { animation-delay: 0.4s; }
.flow-step-card:nth-child(9)  { animation-delay: 0.5s; }

.flow-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.flow-arrow-card {
    flex-shrink: 0;
    padding-top: 80px;
}

/* アニメーション定義 */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .flow-steps-grid {
        gap: 8px;
    }

    .flow-step-card {
        padding: 16px 12px 20px;
    }

    .flow-step-card p {
        font-size: 0.8rem !important;
    }

    .flow-arrow-icon {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 768px) {
    .flow-section {
        padding: 60px 0 !important;
    }

    /* スマホ：縦並び */
    .flow-steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .flow-step-card {
        max-width: 340px;
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0 16px;
        padding: 20px;
    }

    /* 番号：左上 */
    .flow-step-card .flow-step-num {
        grid-column: 1;
        grid-row: 1;
        font-size: 2.2rem !important;
        margin-bottom: 0 !important;
        align-self: start;
    }

    /* タイトル：右上 */
    .flow-step-card h3 {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin-bottom: 0 !important;
    }

    /* 画像：下段全幅 */
    .flow-step-card .flow-step-img {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 12px;
        margin-bottom: 12px !important;
    }

    /* 説明：画像の下（3行目） */
    .flow-step-card p {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .flow-arrow-card {
        padding-top: 0;
        padding: 8px 0;
    }

    .flow-arrow-icon {
        transform: rotate(90deg);
        width: 32px !important;
        height: 32px !important;
    }
}

/* ========================================
   8. Voice (お客様の声) セクション
========================================= */

.voice-section {
    position: relative;
}

.voice-section .voice-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-section .voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.voice-section .voice-link a:hover {
    color: #3C8052;
}

.voice-section .btn-more:hover {
    background-color: #7D5A34;
    color: #FFFBF5;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* お客様の声一覧ページ */
.testimonials-archive-section .voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonials-archive-section .btn-back:hover {
    background-color: #7D5A34;
    color: #FFFBF5;
}

/* お客様の声詳細ページ */
.testimonial-single-page .btn-back:hover {
    background-color: #7D5A34;
    color: #FFFBF5;
    transform: translateY(-2px);
}

.testimonial-single-page .btn-home:hover {
    background-color: #3C8052;
    transform: translateY(-2px);
}

.testimonial-single-page .related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* アニメーション */
@keyframes fadeInVoice {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.voice-section .voice-card {
    animation: fadeInVoice 0.8s ease-out both;
}

.voice-section .voice-card:nth-child(1) { animation-delay: 0.1s; }
.voice-section .voice-card:nth-child(2) { animation-delay: 0.2s; }
.voice-section .voice-card:nth-child(3) { animation-delay: 0.3s; }
.voice-section .voice-card:nth-child(4) { animation-delay: 0.4s; }
.voice-section .voice-card:nth-child(5) { animation-delay: 0.5s; }
.voice-section .voice-card:nth-child(6) { animation-delay: 0.6s; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .voice-section {
        padding: 80px 0 !important;
    }

    .voice-section .voice-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .voice-section {
        padding: 60px 0 !important;
    }

    .voice-section .section-header h2 {
        font-size: 2rem !important;
    }

    .voice-section .section-header p {
        font-size: 1.2rem !important;
    }

    .voice-section .voice-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .voice-section .btn-more {
        padding: 15px 40px !important;
        font-size: 1rem !important;
    }
}

/* ========================================
   9. FAQ (よくある質問) セクション
========================================= */

.faq-section {
    position: relative;
}

.faq-section .faq-item {
    transition: all 0.3s ease;
}

.faq-section .faq-item:hover {
    background-color: #E0F0E3 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-section .faq-question {
    user-select: none;
}

.faq-section .faq-toggle svg {
    transition: transform 0.3s ease;
}

.faq-section .faq-answer {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* アニメーション */
@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-section .faq-item {
    animation: fadeInFaq 0.6s ease-out both;
}

.faq-section .faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-section .faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-section .faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-section .faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-section .faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-section .faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-section .faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-section .faq-item:nth-child(8) { animation-delay: 0.4s; }
.faq-section .faq-item:nth-child(9) { animation-delay: 0.45s; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .faq-section {
        padding: 80px 0 !important;
    }

    .faq-section .faq-item {
        padding: 20px 25px !important;
    }

    .faq-section .faq-q-icon,
    .faq-section .faq-a-icon {
        font-size: 2.5rem !important;
    }

    .faq-section .faq-question h3 {
        font-size: 1.05rem !important;
    }

    .faq-section .faq-answer {
        padding-left: 70px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 !important;
    }

    .faq-section .section-header h2 {
        font-size: 2rem !important;
    }

    .faq-section .section-header p {
        font-size: 1.2rem !important;
    }

    .faq-section .faq-item {
        padding: 18px 20px !important;
        border-radius: 8px !important;
    }

    .faq-section .faq-question {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .faq-section .faq-q-icon,
    .faq-section .faq-a-icon {
        font-size: 2rem !important;
    }

    .faq-section .faq-question h3 {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .faq-section .faq-answer {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 15px !important;
    }

    .faq-section .faq-answer > div {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .faq-section .faq-toggle svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ========================================
   10. Access (院情報・アクセス) セクション
========================================= */

.access-section {
    position: relative;
}

.access-section .access-map iframe {
    transition: opacity 0.3s ease;
}

.access-section .access-map:hover iframe {
    opacity: 0.95;
}

.access-section .info-row {
    transition: background-color 0.3s ease;
}

.access-section .info-row:hover {
    background-color: rgba(66, 142, 87, 0.05);
    border-radius: 8px;
    padding-left: 10px;
    margin-left: -10px;
}

/* アニメーション */
@keyframes fadeInAccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.access-section .access-map {
    animation: fadeInAccess 0.8s ease-out 0.1s both;
}

.access-section .access-info {
    animation: fadeInAccess 0.8s ease-out 0.2s both;
}

.access-section .info-row {
    animation: fadeInAccess 0.6s ease-out both;
}

.access-section .info-row:nth-child(1) { animation-delay: 0.3s; }
.access-section .info-row:nth-child(2) { animation-delay: 0.35s; }
.access-section .info-row:nth-child(3) { animation-delay: 0.4s; }
.access-section .info-row:nth-child(4) { animation-delay: 0.45s; }
.access-section .info-row:nth-child(5) { animation-delay: 0.5s; }
.access-section .info-row:nth-child(6) { animation-delay: 0.55s; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .access-section {
        padding: 80px 0 !important;
    }

    .access-section .access-content {
        gap: 40px !important;
    }

    .access-section .access-map iframe {
        height: 500px !important;
    }
}

@media (max-width: 768px) {
    .access-section {
        padding: 60px 0 !important;
    }

    .access-section .section-header h2 {
        font-size: 2rem !important;
    }

    .access-section .section-header p {
        font-size: 1.2rem !important;
    }

    .access-section .access-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .access-section .access-map iframe {
        height: 400px !important;
    }

    .access-section .access-info h3 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .access-section .info-row {
        flex-direction: column !important;
        gap: 8px !important;
        padding-bottom: 15px !important;
    }

    .access-section .info-label {
        min-width: auto !important;
        font-size: 0.9rem !important;
    }

    .access-section .info-value {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   11. Final CTA (ご予約) セクション
========================================= */

.final-cta-section .cta-oval {
    transition: transform 0.3s ease;
}

.final-cta-section .btn-line:hover {
    background-color: #05B04C;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.final-cta-section .cta-card {
    transition: all 0.3s ease;
}

.final-cta-section .cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.final-cta-section .cta-card a:hover {
    color: #428E57;
}

/* アニメーション */
@keyframes fadeInCta {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.final-cta-section .cta-oval {
    animation: fadeInCta 0.8s ease-out both;
}

.final-cta-section .cta-line {
    animation: fadeInCta 0.8s ease-out 0.2s both;
}

.final-cta-section .cta-cards {
    animation: fadeInCta 0.8s ease-out 0.4s both;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .final-cta-section {
        padding: 80px 0 !important;
    }

    .final-cta-section .cta-oval {
        padding: 60px 40px !important;
    }

    .final-cta-section .btn-line {
        font-size: 1.5rem !important;
        padding: 25px 50px !important;
    }

    .final-cta-section .cta-cards {
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 0 !important;
    }

    .final-cta-section .cta-oval {
        border-radius: 40px !important;
        padding: 50px 30px !important;
    }

    .final-cta-section .section-header h2 {
        font-size: 2rem !important;
    }

    .final-cta-section .section-header p {
        font-size: 1.2rem !important;
    }

    .final-cta-section .cta-line-btn {
        font-size: 1.3rem !important;
        padding: 20px 32px !important;
        border-radius: 60px !important;
        white-space: nowrap;
        width: calc(100% - 40px);
        max-width: 400px;
    }

    .final-cta-section .cta-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .final-cta-section .cta-card {
        padding: 25px 20px !important;
    }

    .final-cta-section .cta-card h3 {
        font-size: 1.1rem !important;
    }

    .final-cta-section .cta-card a {
        font-size: 1.2rem !important;
    }
}

/* ========================================
   お問い合わせフォームページ
========================================= */

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
    outline: none;
    border-color: #428E57;
}

.contact-page .form-success {
    animation: fadeInCta 0.8s ease-out both;
}

.contact-page .contact-form-wrapper {
    animation: fadeInCta 0.8s ease-out 0.2s both;
}

.contact-page .form-group {
    animation: fadeInCta 0.6s ease-out both;
}

.contact-page .form-group:nth-child(2) { animation-delay: 0.1s; }
.contact-page .form-group:nth-child(3) { animation-delay: 0.15s; }
.contact-page .form-group:nth-child(4) { animation-delay: 0.2s; }
.contact-page .form-group:nth-child(5) { animation-delay: 0.25s; }
.contact-page .form-group:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   スマホ改行調整
========================================= */

/* FVキャッチコピーの強制改行をスマホでは解除し自然に折り返す */
@media (max-width: 768px) {
    .fv-headline br {
        display: none;
    }

    /* サブラインの長い文章を自然に折り返す */
    .fv-subline {
        font-size: 1rem !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 料金2列：スマホで縦並び */
    .price-two-col {
        grid-template-columns: 1fr !important;
    }

    .price-two-col > div:first-child {
        border-right: none !important;
        border-bottom: 1px solid #E8D5C4;
    }
}

/* Figmaのデザインに基づいて、以降のセクションごとのスタイルを追加していきます */
