/* 
   ED薬診断チャート プレミアムデザインシステム
   Theme: クリーン＆モダン医療（ミントグリーン、信頼のブルー、プレミアムネイビー）
*/

:root {
    --primary-color: #00b4d8;        /* 清潔なライトブルー */
    --primary-dark: #0077b6;         /* 深みのあるブルー */
    --primary-light: #e0f7fa;        /* 優しいペールブルー */
    --secondary-color: #2a9d8f;      /* 癒やしのミントグリーン */
    --secondary-light: #e8f5e9;      /* 優しいペールグリーン */
    --accent-color: #e76f51;         /* 目を引くコーラルオレンジ（CTA用） */
    --accent-dark: #d65a31;
    --dark-color: #1d2d44;           /* 信頼性の高いネイビーブラック */
    --light-color: #f8f9fa;          /* クリーンな背景グレー */
    --white: #ffffff;
    --gray-medium: #e9ecef;
    --gray-text: #6c757d;
    --line-color: #06c755;           /* LINEグリーン */
    --line-dark: #05b04b;

    --font-sans: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 30px 60px -15px rgba(29, 45, 68, 0.12), 0 15px 30px -10px rgba(0, 180, 216, 0.08);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-sans);
    background-color: #f0f4f8;
    background-image: 
        radial-gradient(at 0% 0%, hsla(190, 100%, 93%, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(170, 100%, 95%, 0.8) 0px, transparent 50%);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* コンテナ＆ヘッダー */
.app-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.badge-consultation {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background-color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* メインレイアウト */
.app-main {
    flex: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 60px 16px;
}

/* カード共通スタイル */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* イントロ画面 */
#intro-screen {
    text-align: center;
    padding: 48px 32px;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.2);
}

.intro-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.intro-description {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 32px;
    text-align: left;
    background: var(--light-color);
    padding: 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.feature-item {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    padding: 16px 10px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.intro-footer-note {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ボタン共通 */
.btn {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-bounce);
    outline: none;
    text-decoration: none;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.15rem;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-medium);
    color: var(--dark-color);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-secondary:hover:not(.disabled) {
    background: #dfe3e6;
    transform: translateX(-2px);
}

.btn-secondary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 6px 15px rgba(231, 111, 81, 0.25);
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(231, 111, 81, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* 進捗バー */
.progress-container {
    margin-bottom: 28px;
}

.progress-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.progress-step-label {
    color: var(--primary-dark);
}

.progress-percentage {
    color: var(--secondary-color);
}

.progress-bar-bg {
    height: 8px;
    background-color: var(--gray-medium);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 20%;
    border-radius: 50px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 質問エリア */
.question-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-color);
    line-height: 1.4;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.option-btn {
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.option-btn::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.25rem;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-bounce);
}

.option-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 180, 216, 0.02);
    padding-left: 24px;
}

.option-btn.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    font-weight: 700;
}

.option-btn.selected::after {
    opacity: 1;
    transform: scale(1);
}

/* クイズ用ナビゲーション */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    border-top: 1px solid var(--gray-medium);
    padding-top: 16px;
}

.hidden {
    display: none !important;
}

/* ローディング画面 */
#loading-screen {
    text-align: center;
    padding: 60px 24px;
}

.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.pulse-loader {
    position: relative;
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heartbeat-svg {
    width: 100%;
    height: 100%;
}

.heartbeat-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawHeartbeat 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes drawHeartbeat {
    0% {
        stroke-dashoffset: 1000;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -1000;
    }
}

.glowing-orb {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 20px 10px rgba(0, 180, 216, 0.4);
    animation: pulseOrb 1.5s ease-in-out infinite;
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    width: 100%;
    max-width: 320px;
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--radius-md);
}

.loading-step {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.loading-step.active {
    color: var(--primary-dark);
    font-weight: 700;
    opacity: 1;
}

.loading-step.completed {
    color: var(--secondary-color);
    font-weight: 500;
    opacity: 0.8;
}

.loading-step.completed i {
    color: var(--secondary-color);
}
.loading-step.completed i::before {
    content: "\f058"; /* check icon */
}

/* 診断結果画面 */
.result-header {
    text-align: center;
    border-bottom: 2px solid var(--gray-medium);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.type-lead {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-text);
    display: block;
    margin-bottom: 4px;
}

.result-type-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* メインおすすめ薬カード */
.recommend-pill-card {
    background: linear-gradient(180deg, #f0faff 0%, #ffffff 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px 24px;
    position: relative;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
}

.recommend-badge-ribbon {
    position: absolute;
    top: -14px;
    left: 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(231, 111, 81, 0.2);
}

.pill-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.pill-image-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.pill-image-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
}

.pill-name-block {
    flex: 1;
}

.pill-subname {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    display: block;
}

.pill-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
}

.pill-feature-tagline {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-top: 4px;
    font-weight: 500;
}

/* 薬パラメーター */
.pill-params {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-medium);
    margin-bottom: 20px;
}

.param-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-text);
}

.param-stars {
    color: #fca311;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.param-value-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* 診断理由ボックス */
.recommend-reason-box {
    background: rgba(0, 180, 216, 0.04);
    border-radius: var(--radius-md);
    padding: 16px;
    border-left: 4px solid var(--primary-color);
}

.recommend-reason-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recommend-reason-box p {
    font-size: 0.85rem;
    color: var(--dark-color);
    line-height: 1.5;
}

/* ポゼットアドオンカード */
.addon-card {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #a5d6a7;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
    animation: fadeInUp 0.4s ease-out;
}

.addon-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.addon-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 6px;
}

.addon-content p {
    font-size: 0.85rem;
    color: #2e7d32;
}

/* 比較候補カード */
.comparison-pill-card {
    background-color: var(--light-color);
    border: 1px dashed var(--gray-medium);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 32px;
}

.compare-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compare-info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.compare-pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gray-medium);
}

.compare-pill-icon i {
    font-size: 1.25rem;
    color: var(--gray-text);
}

.compare-name-block {
    flex: 1;
}

.compare-pill-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.compare-pill-desc {
    font-size: 0.8rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* 医療注意書き */
.medical-caution-box {
    background-color: #fff9f6;
    border: 1px solid #ffe5d9;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 40px;
}

.caution-title {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.medical-caution-box ul {
    list-style-type: none;
}

.medical-caution-box li {
    font-size: 0.8rem;
    color: #8c5a47;
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.medical-caution-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.medical-caution-box li.advertising-note {
    border-top: 1px solid #ffe5d9;
    padding-top: 8px;
    margin-top: 12px;
    color: var(--gray-text);
}

.medical-caution-box li.advertising-note::before {
    display: none;
}

/* クリニックセクション */
.clinics-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-align: center;
    margin-bottom: 28px;
}

.clinics-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.clinic-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.clinic-card.featured {
    border: 2px solid var(--primary-color);
    background-color: #f7fdff;
}

.clinic-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.clinic-header {
    margin-bottom: 16px;
}

.clinic-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.clinic-specs {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-text);
}

.clinic-specs span {
    background-color: var(--gray-medium);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-medium);
}

.price-item {
    font-size: 0.8rem;
    color: var(--gray-text);
    background-color: var(--light-color);
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-item strong {
    color: var(--dark-color);
}

.pill-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1;
}

.pill-badge.v { background-color: #ef233c; } /* バイアグラ: 赤 */
.pill-badge.l { background-color: #f77f00; } /* レビトラ: 橙 */
.pill-badge.c { background-color: #00b4d8; } /* シアリス: 青 */
.pill-badge.s { background-color: #2a9d8f; } /* ステンドラ: 緑 */
.pill-badge.p { background-color: #6a0dad; } /* ポゼット: 紫 */

.pack-box {
    background-color: var(--light-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 16px;
}

.pack-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 2px;
}

.pack-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
}

.pack-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-color);
}

.tax-label {
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--gray-text);
}

.pack-desc {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: 4px;
    line-height: 1.4;
}

.clinic-btn {
    width: 100%;
}

.re-diagnose-container {
    text-align: center;
    margin-top: 24px;
}

/* スマホ用固定CTA */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-medium);
    padding: 12px 16px;
    z-index: 99;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.floating-cta-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.floating-btn {
    flex: 1.4;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

.btn-line {
    background-color: var(--line-color);
    color: var(--white);
}

.btn-line:hover {
    background-color: var(--line-dark);
}

.floating-btn-line {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

/* フッター */
.app-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    padding: 24px 16px;
    text-align: center;
    margin-top: auto;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
}

/* レスポンス対応 */
@media (min-width: 640px) {
    .app-main {
        padding-top: 40px;
    }
    .card {
        padding: 40px;
    }
    .intro-title {
        font-size: 2.25rem;
    }
    .question-title {
        font-size: 1.5rem;
    }
    .options-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    /* Q5などの奇数個選択肢の最後の要素を全幅にする */
    .options-list > *:nth-last-child(1):nth-child(odd) {
        grid-column: span 2;
    }
    .clinics-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .floating-cta {
        display: none !important; /* PCは非表示 */
    }
}
