/* ==============================================
   医師向け開業支援LP - Complete Stylesheet
   株式会社ウィルトップ
   ============================================== */

/* ==============================================
   1. CSS Variables
   ============================================== */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --secondary-color: #00a389;
    --secondary-dark: #00897b;
    --secondary-light: #4db6ac;
    --accent-color: #ff6b35;
    --accent-light: #ff8c61;
    --white: #ffffff;
    --light-gray: #f5f9fc;
    --gray: #e0e7ee;
    --medium-gray: #a8b8c7;
    --dark-gray: #5a6b7c;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --gradient-primary: linear-gradient(135deg, #1e88e5 0%, #00a389 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 136, 229, 0.95) 0%, rgba(0, 163, 137, 0.95) 100%);
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    --font-family: 'Noto Sans JP', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --line-height-base: 1.6;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==============================================
   2. Reset & Base
   ============================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--font-size-base); }
body { font-family: var(--font-family); color: var(--text-dark); line-height: var(--line-height-base); background: var(--white); margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ==============================================
   3. SP/PC Break
   ============================================== */
.sp-br { display: none; }
.pc-br { display: inline; }
@media (max-width: 768px) {
    .sp-br { display: inline; }
    .pc-br { display: none; }
}

/* ==============================================
   4. Container
   ============================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-lg); }
section { padding: var(--spacing-3xl) 0; }

/* ==============================================
   5. Page Loader
   ============================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content { text-align: center; }
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}
.loader-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

/* ==============================================
   6. Scroll Animations (自前実装)
   ============================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.animate-on-scroll.fade-up { transform: translateY(40px); }
.animate-on-scroll.fade-down { transform: translateY(-40px); }
.animate-on-scroll.fade-left { transform: translateX(40px); }
.animate-on-scroll.fade-right { transform: translateX(-40px); }
.animate-on-scroll.zoom-in { transform: scale(0.92); }
.animate-on-scroll.zoom-out { transform: scale(1.08); }
.animate-on-scroll.fade-in { transform: none; }

/* Delays */
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-scroll.delay-4 { transition-delay: 0.6s; }
.animate-on-scroll.delay-5 { transition-delay: 0.75s; }

/* Visible state */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
}

/* ==============================================
   7. Typography
   ============================================== */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 900;
    text-align: center !important;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.3;
    width: 100%;
    display: block;
}
.section-subtitle {
    font-size: var(--font-size-lg);
    text-align: center !important;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    width: 100%;
    display: block;
}
.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==============================================
   8. Buttons & CTAs
   ============================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.cta-button:hover::after {
    width: 300px;
    height: 300px;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cta-button:active { transform: translateY(-1px); }
.cta-primary { background: var(--gradient-primary); color: var(--white); }
.cta-secondary { background: var(--white); color: var(--primary-color); border: 2px solid var(--primary-color); }

/* ==============================================
   9. Header & Navigation
   ============================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}
.header.scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,0.98); }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: var(--spacing-sm) 0; }
.logo h1 { font-size: 1.3rem; font-weight: 900; color: var(--primary-color); line-height: 1.2; }
.logo-tagline { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.nav-list { display: flex; align-items: center; gap: var(--spacing-lg); }
.nav-list a { font-weight: 500; color: var(--text-dark); position: relative; }
.nav-list a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width 0.3s ease; }
.nav-list a:hover::after { width: 100%; }
.nav-cta { background: var(--gradient-primary); color: var(--white) !important; padding: 8px 20px; border-radius: var(--radius-md); }
.nav-cta::after { display: none; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; padding: var(--spacing-xs); z-index: 1001; }
.mobile-menu-toggle span { width: 28px; height: 3px; background: var(--primary-color); border-radius: 2px; transition: var(--transition-base); display: block; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--white); box-shadow: var(--shadow-lg); z-index: 999; transform: translateY(-20px); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; pointer-events: none; }
.mobile-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav-list { padding: var(--spacing-lg); }
.mobile-nav-list li { border-bottom: 1px solid var(--gray); }
.mobile-nav-list a { display: block; padding: var(--spacing-sm) 0; font-weight: 500; color: var(--text-dark); }

/* ==============================================
   10. Hero Section
   ============================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; background: var(--gradient-hero); overflow: hidden; margin-top: 70px;
}
.hero-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(135deg, rgba(30, 136, 229, 0.88) 0%, rgba(0, 163, 137, 0.88) 100%), url('../images/hero-map-background.jpg');
    background-size: cover; background-position: center; opacity: 1;
}
.hero-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1; overflow: hidden;
}
.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-content { position: relative; z-index: 10; text-align: center; color: var(--white); max-width: 900px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; line-height: 1.2; margin-bottom: var(--spacing-lg); }
.hero-title-main { display: block; font-size: 0.7em; font-weight: 700; opacity: 0.9; }
.hero-title-sub { display: block; }
.hero-subtitle { margin-bottom: var(--spacing-xl); }
.hero-area { font-size: var(--font-size-xl); font-weight: 600; margin-bottom: var(--spacing-sm); }
.hero-features { font-size: var(--font-size-lg); opacity: 0.95; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: var(--spacing-md); margin-bottom: var(--spacing-2xl); }
.hero-badges { display: flex; align-items: stretch; justify-content: center; gap: var(--spacing-lg); flex-wrap: wrap; }
.badge-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 20px 16px; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); border-radius: var(--radius-xl);
    border: 2px solid rgba(30, 136, 229, 0.3); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center; width: 170px; height: 160px;
}
.badge-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3); border-color: var(--primary-color); }
.badge-icon {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.8rem; box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3); flex-shrink: 0;
}
.badge-text { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); text-align: center; line-height: 1.3; }
.hero-micro { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-top: var(--spacing-md); margin-bottom: var(--spacing-lg); text-align: center; }
.hero-micro strong { color: var(--accent-color); font-weight: 700; }
.hero-stats { display: flex; justify-content: center; gap: var(--spacing-xl); flex-wrap: wrap; margin-top: var(--spacing-xl); padding-top: var(--spacing-xl); border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat-item { text-align: center; }
.hero-stat-number { font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat-unit { font-size: 1rem; color: rgba(255,255,255,0.8); font-weight: 700; margin-left: 2px; }
.hero-stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 6px; font-weight: 500; }

/* ==============================================
   11. Low Cost Section
   ============================================== */
.lowcost { background: var(--light-gray); position: relative; overflow: hidden; }
.lowcost::before { content: ''; position: absolute; top: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(30,136,229,0.08) 0%, transparent 70%); border-radius: 50%; }
.lowcost-cards { display: grid; grid-template-columns: 1fr; gap: var(--spacing-xl); margin-top: var(--spacing-2xl); max-width: 900px; margin-left: auto; margin-right: auto; }
.lowcost-card {
    background: var(--white); border-radius: var(--radius-2xl); padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    position: relative; overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 2px solid var(--gray); border-left: 6px solid var(--primary-color);
}
.lowcost-card:nth-child(1) { border-left-color: #ff6b35; }
.lowcost-card:nth-child(2) { border-left-color: #1e88e5; }
.lowcost-card:nth-child(3) { border-left-color: #00a389; }
.lowcost-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1); border-color: var(--primary-light); }
.lowcost-card:nth-child(1):hover { border-left-color: #ff6b35; }
.lowcost-card:nth-child(2):hover { border-left-color: #1e88e5; }
.lowcost-card:nth-child(3):hover { border-left-color: #00a389; }
.lowcost-rank { display: flex; align-items: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-md); }
.rank-number { font-size: 2.5rem; font-weight: 900; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.lowcost-card:nth-child(1) .rank-number { background: linear-gradient(135deg, #ff6b35, #ff8c61); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rank-label { display: inline-block; padding: 4px 12px; background: var(--light-gray); border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 600; color: var(--primary-color); }
.lowcost-card:nth-child(1) .rank-label { color: var(--accent-color); }
.lowcost-card-header { display: flex; align-items: center; gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.lowcost-card-header h3 { margin-bottom: 0; font-size: 1.4rem; font-weight: 900; color: var(--text-dark); line-height: 1.3; }
.lowcost-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--white); background: var(--gradient-primary); flex-shrink: 0; }
.lowcost-card:nth-child(1) .lowcost-icon { background: linear-gradient(135deg, #ff6b35, #ff8c61); }
.lowcost-card:nth-child(3) .lowcost-icon { background: linear-gradient(135deg, #00a389, #4db6ac); }
.lowcost-problem-solution-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin-bottom: var(--spacing-md); }
.lowcost-problem, .lowcost-solution { padding: var(--spacing-md); border-radius: var(--radius-lg); margin-bottom: 0; }
.lowcost-problem { background: #fff8f0; border-left: 4px solid var(--warning); }
.lowcost-solution { background: #f0f8ff; border-left: 4px solid var(--primary-color); }
.lowcost-problem h4, .lowcost-solution h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: var(--spacing-xs); display: flex; align-items: center; gap: var(--spacing-xs); }
.lowcost-problem h4 i { color: var(--warning); }
.lowcost-solution h4 i { color: var(--primary-color); }
.lowcost-problem p, .lowcost-solution p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.lowcost-result { text-align: center; padding: var(--spacing-md); background: linear-gradient(135deg, #e8f5e9, #e0f2f1); border-radius: var(--radius-lg); margin-top: var(--spacing-md); }
.result-value { font-size: 1.8rem; font-weight: 900; color: var(--accent-color); line-height: 1.2; }
.result-label { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; margin-top: 4px; }

/* Comparison Table */
.lowcost-comparison { margin-top: var(--spacing-2xl); max-width: 900px; margin-left: auto; margin-right: auto; }
.lowcost-comparison h3 { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: var(--spacing-xl); color: var(--text-dark); display: flex; align-items: center; justify-content: center; gap: var(--spacing-sm); }
.lowcost-comparison h3 i { color: var(--primary-color); }
.comparison-table-new { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); table-layout: fixed; }
.comparison-table-new thead th { padding: 20px; font-weight: 700; font-size: var(--font-size-lg); text-align: center; background: linear-gradient(135deg, #1e88e5, #00a389); color: var(--white); border-bottom: 2px solid var(--gray); }
.comparison-table-new thead th.col-label { width: 25%; }
.comparison-table-new thead th.col-other { width: 37.5%; }
.comparison-table-new thead th.col-willtop { width: 37.5%; }
.comparison-table-new tbody td { padding: 22px 20px; text-align: center; font-size: 1rem; font-weight: 600; border-bottom: 1px solid var(--gray); vertical-align: middle; line-height: 1.5; height: 80px; }
.comparison-table-new tbody tr:last-child td { border-bottom: none; }
.comparison-table-new .cell-label { text-align: left; font-weight: 700; color: var(--primary-color); font-size: 1.05rem; background: #f8fafc; }
.comparison-table-new .cell-other { color: var(--text-dark); background: #fafafa; }
.comparison-table-new .cell-willtop { color: #00695c; font-weight: 700; background: #f0faf8; }
.comparison-table-new .cell-willtop strong { color: #00695c; font-size: 1.05rem; font-weight: 900; }
.comparison-table-new td small { display: block; font-size: 0.8rem; font-weight: 400; margin-top: 4px; opacity: 0.8; }
.comparison-table-new tbody tr:hover td { background: rgba(30,136,229,0.03); }
.comparison-table-new tbody tr:hover .cell-label { background: rgba(30,136,229,0.06); }
.comparison-table-new tbody tr:hover .cell-willtop { background: linear-gradient(135deg, #c8e6c9, #b2dfdb); }
.lowcost-cta { text-align: center; margin-top: var(--spacing-2xl); }
.lowcost-note { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-light); font-size: 1rem; margin-bottom: 20px; }
.lowcost-note i { color: var(--warning); font-size: 1.5rem; flex-shrink: 0; }

/* ==============================================
   12. Area Mapping Section
   ============================================== */
.area-mapping { background: linear-gradient(135deg, #F0F8FF, #E6F7F5); position: relative; overflow: hidden; }
.area-mapping::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,163,137,0.1) 0%, transparent 70%); border-radius: 50%; }
.mapping-demo { max-width: 1100px; margin: 0 auto; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.mapping-header { background: var(--gradient-primary); color: var(--white); padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.mapping-title { display: flex; align-items: center; gap: 15px; }
.mapping-title i { font-size: 2rem; }
.mapping-title h3 { font-size: 1.4rem; margin: 0; }
.mapping-legend { display: flex; gap: 20px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); }
.legend-dot.clinic { background: #FF6B35; box-shadow: 0 0 10px rgba(255,107,53,0.6); }
.legend-dot.competitor { background: #DC3545; }
.legend-dot.supermarket { background: #FFC107; }
.legend-dot.school { background: #17A2B8; }
.legend-line { width: 30px; height: 3px; border-radius: 2px; display: inline-block; }
.legend-line.main-road-line { background: #FF9800; height: 4px; }
.legend-line.river-line { background: #4DD0E1; height: 4px; }
.legend-line.railway-line { background: #424242; height: 3px; border-top: 1px solid #616161; border-bottom: 1px solid #616161; }
.mapping-container { position: relative; width: 100%; padding-top: 75%; background: linear-gradient(135deg, #F5F9FC, #E8F4F8); overflow: hidden; }
.mapping-container-compact { padding-top: 55%; }
.map-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.map-roads { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.map-location { position: absolute; transform: translate(-50%, -50%); z-index: 10; cursor: pointer; animation: mapPinDrop 0.6s ease-out backwards; }
.map-location:nth-child(1) { animation-delay: 0.1s; }
.map-location:nth-child(2) { animation-delay: 0.2s; }
.map-location:nth-child(3) { animation-delay: 0.3s; }
.map-location:nth-child(4) { animation-delay: 0.4s; }
.map-location:nth-child(5) { animation-delay: 0.5s; }
.map-location:nth-child(6) { animation-delay: 0.6s; }
.map-location:nth-child(7) { animation-delay: 0.7s; }
.map-location:nth-child(8) { animation-delay: 0.8s; }
.map-location:nth-child(9) { animation-delay: 0.9s; }
@keyframes mapPinDrop { 0% { transform: translate(-50%, -200%); opacity: 0; } 60% { transform: translate(-50%, -40%); } 100% { transform: translate(-50%, -50%); opacity: 1; } }
.location-pin { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); box-shadow: var(--shadow-lg); position: relative; z-index: 2; transition: var(--transition-base); }
.clinic-location .location-pin { background: linear-gradient(135deg, #FF6B35, #FF8C61); width: 70px; height: 70px; font-size: 2rem; animation: clinicPulse 2s ease-in-out infinite; }
@keyframes clinicPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,107,53,0.7); } 50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255,107,53,0); } }
.competitor-location .location-pin { background: linear-gradient(135deg, #DC3545, #E57373); }
.supermarket-location .location-pin { background: linear-gradient(135deg, #FFC107, #FFD54F); }
.school-location .location-pin { background: linear-gradient(135deg, #17A2B8, #4DD0E1); }
.station-location .location-pin { background: linear-gradient(135deg, #6C757D, #9E9E9E); }
.location-label { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--white); padding: 10px 15px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition-base); z-index: 100; }
.location-label strong { display: block; color: var(--text-dark); font-size: 0.95rem; margin-bottom: 3px; }
.location-label span { display: block; color: var(--text-light); font-size: 0.85rem; }
.map-location:hover .location-label { opacity: 1; top: -120%; }
.map-location:hover .location-pin { transform: scale(1.15); }
.map-compass { position: absolute; top: 20px; right: 20px; width: 60px; height: 60px; background: var(--white); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 10; }
.map-compass i { font-size: 1.8rem; color: var(--primary-color); }
.map-compass span { font-weight: 700; color: var(--text-dark); font-size: 0.9rem; margin-top: -5px; }
.mapping-analysis { padding: 40px 30px; background: var(--light-gray); display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.analysis-card { display: flex; gap: 15px; align-items: flex-start; background: var(--white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.analysis-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.analysis-icon { flex-shrink: 0; width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; }
.analysis-content h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.analysis-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.mapping-cta-bottom { text-align: center; margin-top: var(--spacing-xl); }
.mapping-note { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-light); font-size: 1rem; margin-bottom: 20px; }
.mapping-note i { color: var(--warning); font-size: 1.5rem; }
.mapping-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.feature-item { text-align: center; padding: 30px 20px; background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 4px 8px rgba(0,0,0,0.15); border: 1px solid var(--gray); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-number { font-size: 3rem; font-weight: 900; margin-bottom: 10px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.feature-label { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.feature-item p { color: var(--text-light); font-size: 0.9rem; }

/* ==============================================
   13. Doctor Voice Section
   ============================================== */
.doctor-voice { background: var(--white); }
.voice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); margin-top: var(--spacing-2xl); }
.voice-card { background: var(--white); border-radius: var(--radius-2xl); padding: var(--spacing-xl); box-shadow: var(--shadow-md); border: 2px solid var(--gray); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; position: relative; }
.voice-card::before { content: '\201C'; position: absolute; top: 15px; right: 25px; font-size: 4rem; color: var(--primary-light); opacity: 0.3; font-family: Georgia, serif; line-height: 1; }
.voice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.voice-header { display: flex; align-items: center; gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.voice-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--light-gray); display: flex; align-items: center; justify-content: center; border: 3px solid var(--primary-light); }
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-info h4 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.voice-clinic { font-size: 0.95rem; color: var(--primary-color); font-weight: 600; margin-bottom: 2px; }
.voice-year { font-size: 0.85rem; color: var(--text-light); }
.voice-content { margin-bottom: var(--spacing-md); }
.voice-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; font-style: italic; }
.voice-tags { display: flex; gap: var(--spacing-xs); flex-wrap: wrap; }
.voice-tag { display: inline-block; padding: 4px 12px; background: linear-gradient(135deg, #f0f8ff, #e6f7f5); border-radius: var(--radius-md); font-size: 0.8rem; font-weight: 600; color: var(--primary-color); }
.voice-cta { text-align: center; margin-top: var(--spacing-2xl); }
.voice-cta p { font-size: 1.1rem; color: var(--text-dark); font-weight: 600; margin-bottom: var(--spacing-md); }

/* ==============================================
   14. Cases Section
   ============================================== */
.cases { background: var(--light-gray); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); margin-top: var(--spacing-2xl); }
.case-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.case-image { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-image img { transform: scale(1.08); }
.case-content { padding: var(--spacing-lg); }
.case-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: var(--spacing-md); }
.case-content p { color: var(--text-light); line-height: 1.6; margin-bottom: 15px; }
.case-features { margin-top: var(--spacing-md); }
.case-features li { display: flex; align-items: center; gap: var(--spacing-xs); margin-bottom: 8px; color: var(--text-light); font-size: 0.9rem; }
.case-features i { color: var(--success); }
.cases-cta { text-align: center; margin-top: 3rem; }
.cases-cta p { font-size: 1.1rem; color: var(--text-dark); font-weight: 600; margin-bottom: var(--spacing-md); }

/* ==============================================
   15. Area Section
   ============================================== */
.area { background: var(--white); }
.area-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); margin-top: var(--spacing-2xl); }
.area-detail { text-align: left; padding: var(--spacing-xl); background: var(--white); border-radius: var(--radius-xl); border: 2px solid var(--gray); box-shadow: var(--shadow-md); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.area-detail img { width: 100%; height: 120px; object-fit: cover; margin-bottom: 1rem; border-radius: var(--radius-lg); }
.area-detail:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.area-detail h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: var(--spacing-sm); color: var(--primary-color); }
.area-detail p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ==============================================
   16. Flow Section
   ============================================== */
.flow { background: var(--light-gray); }
.flow-timeline { max-width: 800px; margin: 0 auto; position: relative; }
.flow-timeline::before { content: ''; position: absolute; left: 30px; top: 40px; bottom: 40px; width: 3px; background: var(--gradient-primary); }
.flow-step { display: flex; gap: var(--spacing-lg); margin-bottom: var(--spacing-2xl); position: relative; }
.flow-step:last-child { margin-bottom: 0; }
.flow-number { flex-shrink: 0; width: 60px; height: 60px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; box-shadow: var(--shadow-lg); position: relative; z-index: 10; }
.flow-content { flex: 1; background: var(--white); padding: var(--spacing-lg); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.flow-content:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.flow-icon { width: 60px; height: 60px; background: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary-color); margin-bottom: var(--spacing-md); }
.flow-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: var(--spacing-sm); }
.flow-content p { color: var(--text-light); line-height: 1.6; margin-bottom: var(--spacing-sm); }
.flow-image-placeholder { margin-top: var(--spacing-md); border-radius: var(--radius-lg); overflow: hidden; background: var(--light-gray); }
.flow-image { width: 100%; height: auto; display: block; object-fit: cover; max-height: 300px; }
.flow-duration { display: inline-block; padding: 4px 12px; background: var(--light-gray); color: var(--primary-color); border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 600; }
.flow-cta { text-align: center; margin-top: var(--spacing-2xl); }
.flow-cta p { font-size: 1.1rem; color: var(--text-dark); font-weight: 600; margin-bottom: var(--spacing-md); }

/* ==============================================
   17. FAQ Section
   ============================================== */
.faq { background: var(--white); }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border: 2px solid var(--gray); border-radius: var(--radius-xl); margin-bottom: var(--spacing-md); overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active { border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(30,136,229,0.15); }
.faq-question { width: 100%; padding: var(--spacing-lg); display: flex; align-items: center; gap: var(--spacing-md); text-align: left; cursor: pointer; transition: var(--transition-base); }
.faq-question:hover { background: var(--light-gray); }
.faq-icon { flex-shrink: 0; width: 50px; height: 50px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.faq-text { flex: 1; font-weight: 700; font-size: 1.05rem; color: var(--text-dark); }
.faq-toggle { flex-shrink: 0; width: 30px; height: 30px; color: var(--primary-color); transition: transform 0.3s ease; display: flex; align-items: center; justify-content: center; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 var(--spacing-lg) var(--spacing-lg); padding-left: calc(50px + var(--spacing-lg) * 2); color: var(--text-light); line-height: 1.8; }
.faq-bottom-cta { text-align: center; margin-top: var(--spacing-2xl); padding: var(--spacing-xl); background: var(--light-gray); border-radius: var(--radius-xl); border: 2px solid var(--gray); max-width: 900px; margin-left: auto; margin-right: auto; }
.faq-bottom-cta p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: var(--spacing-md); font-weight: 600; }

/* ==============================================
   18. Contact Section
   ============================================== */
.contact { background: var(--light-gray); }
.contact-methods { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--spacing-lg); max-width: 1100px; margin: 0 auto var(--spacing-3xl); }
.contact-method-card { flex: 0 0 280px; width: 280px; display: flex; flex-direction: column; align-items: center; min-height: 380px; }
.contact-method-card .method-value,
.contact-method-card .contact-btn,
.contact-method-card .contact-disabled-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.contact-method-card > .method-value,
.contact-method-card > .contact-btn,
.contact-method-card > .contact-disabled-btn { margin-top: auto; }
.contact-method-card > .method-note { margin-top: var(--spacing-md); margin-bottom: 0; }
.contact-method-card.disabled { opacity: 0.6; }
.contact-method-card.disabled .method-icon { filter: grayscale(0.6); }
.contact-disabled-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: 30px; background: #c0c4cc; color: #fff; font-weight: 700; cursor: not-allowed; user-select: none; }
.contact-method-card { background: var(--white); padding: var(--spacing-xl); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.contact-method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.method-icon { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--white); margin: 0 auto var(--spacing-md); }
.line-icon { background: #00B900 !important; }
.contact-method-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--spacing-sm); color: var(--text-dark); }
.method-value { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin: var(--spacing-md) 0; white-space: nowrap; }
.method-note { font-size: 0.9rem; color: #666; margin-top: var(--spacing-sm); }
.line-contact-button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #00B900 !important; color: #fff !important; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 1rem; margin: var(--spacing-md) 0; transition: var(--transition-base); white-space: nowrap; }
.line-contact-button:hover { background: #00a000 !important; transform: scale(1.05); box-shadow: var(--shadow-lg); }
.line-contact-button i { font-size: 1.2rem; color: #fff !important; }
.contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; color: #fff; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 1rem; margin: var(--spacing-md) 0; transition: var(--transition-base); white-space: nowrap; }
.contact-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); opacity: 0.9; }
.contact-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing-2xl); max-width: 1100px; margin: 0 auto; }
.contact-form { background: var(--white); padding: var(--spacing-2xl); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
.form-group { margin-bottom: var(--spacing-lg); }
.form-group label { display: block; font-weight: 600; margin-bottom: var(--spacing-xs); color: var(--text-dark); }
.required { color: var(--danger); margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--gray); border-radius: var(--radius-md); font-family: inherit; font-size: var(--font-size-base); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(30,136,229,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-group { margin-top: var(--spacing-md); }
.checkbox-label { display: flex; align-items: flex-start; gap: var(--spacing-xs); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: auto; margin-top: 4px; }
.checkbox-label a { color: var(--primary-color); text-decoration: underline; }
.form-submit { margin-top: var(--spacing-lg); }
.form-submit .cta-button { width: 100%; justify-content: center; }
.contact-info { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.info-card { background: var(--white); padding: var(--spacing-xl); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); text-align: center; }
.info-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: var(--spacing-md); }
.info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--spacing-sm); }
.info-value { font-size: var(--font-size-lg); font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.info-note { font-size: 0.9rem; color: var(--text-light); }

/* ==============================================
   19. Footer
   ============================================== */
.footer { background: var(--text-dark); color: var(--white); padding: var(--spacing-2xl) 0 var(--spacing-lg); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--spacing-2xl); margin-bottom: var(--spacing-2xl); }
/* フッター続き */
.footer-col h3, .footer-col h4 { margin-bottom: var(--spacing-md); font-weight: 700; }
.footer-col p { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: var(--spacing-md); }
.footer-social { display: flex; gap: var(--spacing-sm); }
.footer-social a { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: var(--transition-base); }
.footer-social a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-col ul li { margin-bottom: var(--spacing-sm); }
.footer-col ul a { color: rgba(255,255,255,0.8); transition: var(--transition-base); }
.footer-col ul a:hover { color: var(--white); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: var(--spacing-sm); color: rgba(255,255,255,0.8); }
.footer-contact i { margin-top: 3px; color: var(--primary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--spacing-lg); text-align: center; color: rgba(255,255,255,0.6); }

/* ==============================================
   20. Scroll to Top & Fixed CTA
   ============================================== */
.scroll-to-top { position: fixed; bottom: var(--spacing-lg); right: var(--spacing-lg); width: 55px; height: 55px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease; z-index: 998; }
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); }

/* ==============================================
   21. Mapping Tabs & Views
   ============================================== */
.mapping-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: var(--spacing-xl); flex-wrap: wrap; }
.mapping-tab { padding: 12px 28px; border: 2px solid var(--primary-color); border-radius: 50px; background: var(--white); color: var(--primary-color); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: var(--transition-base); display: inline-flex; align-items: center; gap: 6px; }
.mapping-tab:hover { background: rgba(30,136,229,0.08); }
.mapping-tab.active { background: var(--gradient-primary); color: var(--white); border-color: transparent; }
.mapping-view { display: none; }
.mapping-view.active { display: block; }

/* ==============================================
   22. Surroundings Panel
   ============================================== */
.surroundings-panel { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.surroundings-panel-header { background: var(--gradient-primary); color: var(--white); padding: 25px 30px; display: flex; align-items: center; gap: 15px; }
.surroundings-panel-header i { font-size: 2rem; }
.surroundings-panel-header h3 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.surroundings-panel-header p { font-size: 0.9rem; opacity: 0.9; margin-top: 4px; }
.facility-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); padding: 30px; }
.facility-category { margin-bottom: 0; }
.facility-category-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--light-gray); }
.facility-category-header h4 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--text-dark); }
.facility-icon-badge { width: 32px; height: 32px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--white); flex-shrink: 0; }
.facility-icon-badge.commercial { background: #ff9800; }
.facility-icon-badge.supermarket-badge { background: #4caf50; }
.facility-icon-badge.competitor-badge { background: #f44336; }
.facility-icon-badge.station-badge { background: #7c4dff; }
.facility-items { list-style: none; padding: 0; margin: 0; }
.facility-items li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 8px 42px; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; }
.facility-items li:last-child { border-bottom: none; }
.facility-name { color: var(--text-dark); }
.facility-name.facility-sub { color: var(--text-light); font-size: 0.85rem; }
.facility-distance { color: var(--text-light); font-size: 0.82rem; white-space: nowrap; flex-shrink: 0; }
.facility-distance.competitor-text { color: #f44336; font-weight: 700; }
.surroundings-note { text-align: center; font-size: 0.82rem; color: var(--medium-gray); padding: 16px 30px; border-top: 1px solid var(--gray); }

/* ==============================================
   23. Traffic Panel
   ============================================== */
.traffic-panel { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 40px 30px; }
.traffic-headline { text-align: center; margin-bottom: 36px; }
.traffic-big-number { display: inline-flex; align-items: baseline; gap: 4px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.big-num { font-size: 3.5rem; font-weight: 900; letter-spacing: -1px; }
.big-unit { font-size: 1.3rem; font-weight: 700; }
.traffic-big-label { font-size: 1rem; color: var(--text-light); margin-top: 4px; }
.traffic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
.traffic-chart-card { background: var(--light-gray); border-radius: var(--radius-xl); padding: 24px; }
.traffic-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.traffic-card-title i { color: var(--primary-color); }
.hourly-chart { display: flex; flex-direction: column; gap: 12px; }
.chart-row { display: grid; grid-template-columns: 58px 1fr 72px auto; align-items: center; gap: 8px; }
.chart-label { font-size: 0.8rem; color: var(--text-light); white-space: nowrap; }
.chart-bar-wrap { height: 24px; background: var(--gray); border-radius: 12px; overflow: hidden; }
.chart-bar { height: 100%; border-radius: 12px; transition: width 1s ease; }
.chart-bar.morning { background: linear-gradient(90deg, #ffb74d, #ffa726); }
.chart-bar.mid-morning { background: linear-gradient(90deg, #81c784, #66bb6a); }
.chart-bar.lunch { background: linear-gradient(90deg, #4fc3f7, #29b6f6); }
.chart-bar.afternoon { background: linear-gradient(90deg, #81c784, #66bb6a); }
.chart-bar.evening { background: linear-gradient(90deg, #e57373, #ef5350); }
.chart-bar.night { background: linear-gradient(90deg, #9575cd, #7e57c2); }
.chart-value { font-size: 0.8rem; color: var(--text-dark); font-weight: 600; white-space: nowrap; }
.chart-tag { font-size: 0.7rem; padding: 2px 10px; border-radius: 10px; background: var(--white); color: var(--text-light); white-space: nowrap; font-weight: 600; }
.chart-tag.peak-tag { background: #fce4ec; color: #e53935; font-weight: 700; }
.weekly-heatmap { margin-bottom: 20px; }
.heatmap-table { width: 100%; border-collapse: separate; border-spacing: 5px; margin-bottom: 12px; }
.heatmap-table th { font-size: 0.8rem; color: var(--text-light); padding: 6px; text-align: center; font-weight: 600; }
.day-label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); text-align: center; }
.heat { text-align: center; padding: 8px 6px; border-radius: var(--radius-md); font-size: 0.75rem; font-weight: 700; }
.heat.heat-low { background: #c8e6c9; color: #388e3c; }
.heat.heat-med { background: #fff9c4; color: #f9a825; }
.heat.heat-high { background: #ffcc80; color: #e65100; }
.heat.heat-very-high { background: #ef9a9a; color: #c62828; }
.heatmap-legend { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.heatmap-legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-light); font-weight: 600; }
.heatmap-legend-dot { width: 14px; height: 14px; border-radius: var(--radius-sm); display: inline-block; }
.heatmap-legend-dot.heat-low { background: #c8e6c9; }
.heatmap-legend-dot.heat-med { background: #fff9c4; }
.heatmap-legend-dot.heat-high { background: #ffcc80; }
.heatmap-legend-dot.heat-very-high { background: #ef9a9a; }
.traffic-demographics { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray); }
.traffic-demographics h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.traffic-demographics h5 i { color: var(--primary-color); }
.demo-bars { display: flex; flex-direction: column; gap: 10px; }
.demo-row { display: grid; grid-template-columns: 95px 1fr; align-items: center; gap: 10px; }
.demo-label { font-size: 0.82rem; color: var(--text-dark); font-weight: 600; }
.demo-bar-wrap { height: 22px; background: var(--gray); border-radius: 11px; overflow: hidden; }
.demo-bar { height: 100%; background: var(--gradient-primary); border-radius: 11px; color: var(--white); font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; transition: width 1s ease; }

/* ==============================================
   24. SP Fixed CTA
   ============================================== */
.sp-fixed-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -4px 16px rgba(0,0,0,0.12); padding: 10px 12px; gap: 10px; }
.sp-cta-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; border-radius: var(--radius-lg); font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: var(--transition-base); }
.sp-cta-consult { background: var(--gradient-primary); color: var(--white); box-shadow: 0 4px 12px rgba(30,136,229,0.3); }
.sp-cta-consult:hover { color: var(--white); opacity: 0.9; }
.sp-cta-line { background: #06c755; color: var(--white); box-shadow: 0 4px 12px rgba(6,199,85,0.3); }
.sp-cta-line:hover { color: var(--white); opacity: 0.9; }

/* ==============================================
   25. Responsive - Tablet (max-width: 992px)
   ============================================== */
@media (max-width: 992px) {
    :root { --font-size-base: 15px; --spacing-xl: 40px; --spacing-2xl: 56px; --spacing-3xl: 80px; }
    section { padding: var(--spacing-2xl) 0; }
    .nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu { display: block; }
    .hero-cta { flex-direction: column; gap: var(--spacing-sm); }
    .hero-cta .cta-button { width: 100%; max-width: 400px; margin: 0 auto; }
    .lowcost-cards { grid-template-columns: 1fr; gap: 30px; }
    .mapping-header { flex-direction: column; align-items: flex-start; }
    .mapping-legend { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
    .mapping-analysis { grid-template-columns: 1fr; gap: 20px; }
    .mapping-features { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .voice-cards { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .cases-grid { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .area-details { grid-template-columns: 1fr; gap: var(--spacing-md); }

    /* ====== 比較表モバイル ====== */
    .comparison-table-new {
        display: block;
        box-shadow: none;
        background: transparent;
    }
    .comparison-table-new thead { display: none; }
    .comparison-table-new tbody {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    .comparison-table-new tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--white);
        border-radius: var(--radius-xl);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: 1px solid var(--gray);
    }
    .comparison-table-new tbody td {
        display: block;
        text-align: center;
        border-bottom: none;
    }

    /* 項目名 - グラデーション背景 */
    .comparison-table-new .cell-label {
        text-align: center;
        background: linear-gradient(135deg, #1e88e5 0%, #00a389 100%) !important;
        color: var(--white) !important;
        -webkit-text-fill-color: var(--white) !important;
        font-size: 1.3rem;
        font-weight: 900;
        padding: 20px var(--spacing-lg);
        letter-spacing: 0.08em;
        border-bottom: none !important;
    }

    /* 一般的な開業 */
    .comparison-table-new .cell-other {
        background: #fff8f0;
        padding: 22px var(--spacing-lg);
        border-bottom: 1px solid #f0e8df;
        font-size: 1.05rem;
    }
    .comparison-table-new .cell-other::before {
        content: "▽ 一般的な開業";
        display: block;
        font-size: 0.85rem;
        color: #c49660;
        margin-bottom: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
    }

    /* ウィルトップ */
    .comparison-table-new .cell-willtop {
        background: linear-gradient(135deg, #e8f5e9 0%, #e0f2f1 100%);
        padding: 22px var(--spacing-lg);
        font-size: 1.1rem;
    }
    .comparison-table-new .cell-willtop::before {
        content: "★ ウィルトップ";
        display: block;
        font-size: 0.85rem;
        color: var(--secondary-dark);
        margin-bottom: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
    }
    .comparison-table-new .cell-willtop strong {
        font-size: 1.15rem;
        color: #00695c;
    }
    .comparison-table-new td small {
        display: block;
        font-size: 0.88rem;
        margin-top: 6px;
        opacity: 0.75;
    }

    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .facility-grid-2col { grid-template-columns: 1fr; }
    .traffic-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   26. Responsive - Mobile (max-width: 768px)
   ============================================== */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; max-width: 100vw; }
    * { max-width: 100%; }
    :root {
        --font-size-base: 16px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
        --spacing-2xl: 48px;
        --spacing-3xl: 64px;
    }
    .container { padding: 0 var(--spacing-sm); }
    section { padding: var(--spacing-xl) 0; }

    /* ====== ベース文字サイズを大きく ====== */
    body {
        font-size: 16px;
        line-height: 1.8;
    }

    /* ====== Hero ====== */
    .hero { min-height: auto; padding: var(--spacing-2xl) 0 var(--spacing-xl); }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .hero-area { font-size: 1.15rem; }
    .hero-features { font-size: 1rem; }
    .hero-cta { flex-direction: column; gap: var(--spacing-sm); }
    .hero-cta .cta-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 16px 24px;
        font-size: 1rem;
    }
    .hero-badges { gap: var(--spacing-xs); justify-content: center; }
    .badge-card {
        width: calc(33.333% - 8px);
        min-width: 95px;
        max-width: 130px;
        height: auto;
        min-height: 110px;
        padding: 10px 6px;
        gap: 6px;
    }
    .badge-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .badge-text { font-size: 0.8rem; }
    .hero-stats { gap: var(--spacing-md); }
    .hero-stat-number { font-size: 2rem; }
    .hero-stat-unit { font-size: 0.95rem; }
    .hero-stat-label { font-size: 0.8rem; }
    .hero-micro { font-size: 0.9rem; padding: 0 var(--spacing-sm); }

    /* ====== Section Titles ====== */
    .section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        padding: 0 var(--spacing-xs);
        line-height: 1.4;
    }
    .section-subtitle {
        font-size: 1rem;
        padding: 0 var(--spacing-xs);
        line-height: 1.8;
    }

    /* ====== Lowcost ====== */
    .lowcost-card { padding: var(--spacing-md); }
    .lowcost-card-header h3 { font-size: 1.25rem; }
    .lowcost-icon { width: 50px; height: 50px; font-size: 1.4rem; }
    .lowcost-problem-solution-wrap { grid-template-columns: 1fr; }
    .lowcost-problem, .lowcost-solution { padding: var(--spacing-sm); }
    .lowcost-problem h4, .lowcost-solution h4 { font-size: 1rem; }
    .lowcost-problem p, .lowcost-solution p { font-size: 0.95rem; line-height: 1.8; }
    .result-value { font-size: 1.5rem; }
    .result-label { font-size: 0.95rem; }
    .lowcost-note { flex-direction: column; text-align: center; gap: 8px; font-size: 0.95rem; }
    .rank-number { font-size: 2.2rem; }
    .rank-label { font-size: 0.9rem; }

    /* 比較テーブル（スマホ追加調整） */
    .comparison-table-new .cell-label {
        font-size: 1.2rem;
        padding: 18px var(--spacing-md);
    }
    .comparison-table-new .cell-other {
        padding: 18px var(--spacing-md);
        font-size: 1rem;
    }
    .comparison-table-new .cell-willtop {
        padding: 18px var(--spacing-md);
        font-size: 1.05rem;
    }
    .comparison-table-new .cell-other::before,
    .comparison-table-new .cell-willtop::before {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    .comparison-table-new .cell-willtop strong { font-size: 1.1rem; }
    .comparison-table-new td small { font-size: 0.85rem; }
    .lowcost-comparison h3 { font-size: 1.3rem; }

    /* ====== Mapping ====== */
    .mapping-container-compact { padding-top: 80%; }

    /* ピンサイズ */
    .location-pin { width: 28px; height: 28px; font-size: 0.75rem; }
    .clinic-location .location-pin { width: 38px; height: 38px; font-size: 1rem; }

    /* ★ ラベル修正 - 横幅を確保して縦書き防止 */
    .location-label {
        font-size: 0.7rem;
        padding: 6px 10px;
        max-width: none;
        min-width: 100px;
        white-space: nowrap;
        line-height: 1.4;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .location-label strong { font-size: 0.75rem; white-space: nowrap; }
    .location-label span { font-size: 0.65rem; white-space: nowrap; }

    /* ★ ラベルの位置を上ではなく横に出す（重なり防止） */
    .map-location .location-label {
        top: 50%;
        left: auto;
        right: auto;
        transform: translateY(-50%);
    }
    /* 左半分にあるピン → ラベルを右に */
    .map-location .location-label {
        left: calc(100% + 8px);
        transform: translateY(-50%) translateX(0);
    }

    /* ★ 開業候補地のラベルを特別に大きく */
    .clinic-location .location-label {
        min-width: 120px;
        font-size: 0.75rem;
        padding: 8px 12px;
        background: linear-gradient(135deg, #fff8f0, #fff);
        border: 2px solid #ff6b35;
    }
    .clinic-location .location-label strong {
        font-size: 0.82rem;
        color: #ff6b35;
    }

    /* 凡例 */
    .mapping-legend { font-size: 0.75rem; gap: 8px; }
    .legend-item { font-size: 0.7rem; gap: 4px; }
    .legend-dot { width: 9px; height: 9px; }
    .legend-line { width: 20px; }

    /* マッピングその他 */
    .mapping-features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-item { padding: 20px 12px; }
    .feature-number { font-size: 2.2rem; }
    .feature-label { font-size: 1rem; }
    .feature-item p { font-size: 0.9rem; }
    .mapping-title { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mapping-title h3 { font-size: 1.1rem; white-space: normal; }
    .mapping-title p { font-size: 0.85rem; }
    .mapping-title i { font-size: 1.5rem; }
    .mapping-header { padding: 16px 20px; }
    .map-compass { width: 40px; height: 40px; top: 10px; right: 10px; }
    .map-compass i { font-size: 1.2rem; }
    .map-compass span { font-size: 0.75rem; }
    .analysis-card { flex-direction: column; text-align: center; align-items: center; }
    .analysis-icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .analysis-content h4 { font-size: 1.1rem; }
    .analysis-content p { font-size: 0.92rem; line-height: 1.7; }
    .mapping-analysis { padding: 20px 16px; }
    .mapping-tabs { display: none; }
    .mapping-view { display: block; margin-bottom: 24px; }
    .mapping-view.active { display: block; }
    .mapping-note { font-size: 0.95rem; }
    .mapping-cta-bottom .cta-button { font-size: 0.95rem; }

    /* 小型端末のマップ調整 */
    .mapping-container-compact { padding-top: 100%; }
    .location-pin { width: 24px; height: 24px; font-size: 0.65rem; }
    .clinic-location .location-pin { width: 34px; height: 34px; font-size: 0.9rem; }
    .location-label { font-size: 0.65rem; min-width: 90px; padding: 5px 8px; }
    .location-label strong { font-size: 0.7rem; }
    .location-label span { font-size: 0.6rem; }
    .clinic-location .location-label { min-width: 105px; font-size: 0.7rem; }


    /* ====== Surroundings ====== */
    .surroundings-panel-header { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .surroundings-panel-header i { font-size: 1.5rem; }
    .surroundings-panel-header h3 { font-size: 1.15rem; }
    .surroundings-panel-header p { font-size: 0.9rem; }
    .facility-grid-2col { padding: 16px; gap: var(--spacing-md); }
    .facility-category-header h4 { font-size: 1rem; }
    .facility-items li {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 10px 0 10px 42px;
        font-size: 0.92rem;
    }
    .facility-distance { font-size: 0.85rem; }
    .surroundings-note { font-size: 0.82rem; }

    /* ====== Traffic ====== */
    .traffic-panel { padding: 20px 14px; overflow-x: hidden; }
    .traffic-chart-card { padding: 18px 14px; }
    .big-num { font-size: 2.8rem; }
    .big-unit { font-size: 1.1rem; }
    .traffic-big-label { font-size: 0.95rem; }
    .traffic-card-title { font-size: 1rem; }
    .chart-row { grid-template-columns: 50px 1fr 60px; gap: 6px; }
    .chart-label { font-size: 0.8rem; }
    .chart-value { font-size: 0.8rem; }
    .chart-tag { display: none; }
    .chart-bar-wrap { height: 22px; }
    .weekly-heatmap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
    .heatmap-table { min-width: 280px; width: 100%; border-spacing: 4px; }
    .heatmap-table th { font-size: 0.8rem; padding: 5px 4px; white-space: nowrap; }
    .day-label { font-size: 0.85rem; padding: 5px 4px; }
    .heat { font-size: 0.75rem; padding: 8px 4px; min-width: 40px; }
    .heatmap-legend { gap: 10px; }
    .heatmap-legend-item { font-size: 0.8rem; gap: 4px; }
    .heatmap-legend-dot { width: 12px; height: 12px; }
    .demo-row { grid-template-columns: 80px 1fr; gap: 8px; }
    .demo-label { font-size: 0.85rem; }
    .demo-bar-wrap { height: 22px; }
    .demo-bar { font-size: 0.75rem; padding-right: 8px; }
    .traffic-demographics h5 { font-size: 0.95rem; }

    /* ====== Voice ====== */
    .voice-card { padding: var(--spacing-md); }
    .voice-card::before { font-size: 3rem; top: 10px; right: 15px; }
    .voice-avatar { width: 64px; height: 64px; }
    .voice-info h4 { font-size: 1.15rem; }
    .voice-clinic { font-size: 0.95rem; }
    .voice-year { font-size: 0.85rem; }
    .voice-text { font-size: 0.95rem; line-height: 1.8; }
    .voice-tag { font-size: 0.82rem; padding: 5px 14px; }
    .voice-cta p { font-size: 1.05rem; }

    /* ====== Cases ====== */
    .case-content { padding: var(--spacing-md); }
    .case-content h3 { font-size: 1.2rem; }
    .case-content p { font-size: 0.95rem; line-height: 1.75; }
    .case-features li { font-size: 0.92rem; }
    .cases-cta p { font-size: 1.05rem; }

    /* ====== Area ====== */
    .area-detail { padding: var(--spacing-md); }
    .area-detail img { height: 130px; }
    .area-detail h4 { font-size: 1.2rem; }
    .area-detail p { font-size: 0.95rem; line-height: 1.8; }

    /* ====== Flow ====== */
    .flow-timeline::before { left: 24px; }
    .flow-number { width: 48px; height: 48px; font-size: 1.1rem; }
    .flow-step { gap: var(--spacing-md); }
    .flow-content { padding: var(--spacing-md); }
    .flow-content h3 { font-size: 1.15rem; }
    .flow-content p { font-size: 0.95rem; line-height: 1.75; }
    .flow-icon { width: 48px; height: 48px; font-size: 1.5rem; }
    .flow-image { max-height: 200px; }
    .flow-duration { font-size: 0.85rem; }
    .flow-cta p { font-size: 1.05rem; }

    /* ====== FAQ ====== */
    .faq-question { padding: var(--spacing-md); gap: var(--spacing-sm); }
    .faq-icon { width: 42px; height: 42px; font-size: 1.05rem; }
    .faq-text { font-size: 1rem; line-height: 1.5; }
    .faq-answer p {
        padding: 0 var(--spacing-md) var(--spacing-md);
        padding-left: calc(42px + var(--spacing-md) * 2);
        font-size: 0.95rem;
        line-height: 1.85;
    }
    .faq-bottom-cta { padding: var(--spacing-md); }
    .faq-bottom-cta p { font-size: 1rem; }

    /* ====== Contact ====== */
    .contact-methods { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .contact-method-card { flex: 0 0 100%; width: 100%; max-width: 320px; min-height: 0; padding: var(--spacing-md); }
    .contact-method-card h3 { font-size: 1.15rem; }
    .method-icon { width: 64px; height: 64px; font-size: 1.6rem; }
    .method-value { font-size: 1.4rem; }
    .method-note { font-size: 0.9rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: var(--spacing-md); }
    .contact-wrapper { gap: var(--spacing-lg); }
    .form-group label { font-size: 0.95rem; }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 14px 16px;
    }
    .checkbox-label { font-size: 0.9rem; }
    .checkbox-label a { font-size: 0.9rem; }
    .info-card h3 { font-size: 1.05rem; }
    .info-value { font-size: 1.15rem; }
    .info-note { font-size: 0.88rem; }

    /* ====== Footer ====== */
    .footer-content { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .footer { padding-bottom: 90px; }
    .footer-col h3 { font-size: 1.15rem; }
    .footer-col h4 { font-size: 1.05rem; }
    .footer-col p { font-size: 0.92rem; }
    .footer-col ul a { font-size: 0.92rem; }
    .footer-contact li { font-size: 0.92rem; }
    .footer-bottom p { font-size: 0.82rem; }

    /* ====== Fixed elements ====== */
    .scroll-to-top { bottom: 80px !important; right: 16px; width: 44px; height: 44px; font-size: 1.15rem; }
    .sp-fixed-cta { display: flex; }
    .sp-cta-btn { font-size: 0.95rem; padding: 15px 10px; }

    /* ====== CTA共通 ====== */
    .cta-button { padding: 15px 24px; font-size: 1rem; }

    /* ====== モバイルメニュー ====== */
    .mobile-nav-list a { font-size: 1.05rem; padding: 14px 0; }
}

/* ==============================================
   27. Responsive - Small Mobile (max-width: 374px)
   ============================================== */
@media (max-width: 374px) {
    .container { padding: 0 12px; }
    body { font-size: 15px; }

    .hero-title { font-size: 1.6rem; }
    .hero-area { font-size: 1.05rem; }
    .hero-features { font-size: 0.92rem; }

    .badge-card { width: calc(33.333% - 6px); min-width: 85px; padding: 8px 4px; }
    .badge-icon { width: 36px; height: 36px; font-size: 1rem; }
    .badge-text { font-size: 0.72rem; }
    .hero-stat-number { font-size: 1.7rem; }
    .hero-stat-unit { font-size: 0.85rem; }

    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.92rem; }

    .lowcost-card-header { flex-direction: column; align-items: flex-start; gap: var(--spacing-sm); }
    .lowcost-card-header h3 { font-size: 1.15rem; }
    .lowcost-problem p, .lowcost-solution p { font-size: 0.9rem; }
    .lowcost-problem h4, .lowcost-solution h4 { font-size: 0.92rem; }

    .comparison-table-new .cell-label { font-size: 1.1rem; padding: 16px var(--spacing-sm); }
    .comparison-table-new .cell-other,
    .comparison-table-new .cell-willtop { font-size: 0.95rem; padding: 16px var(--spacing-sm); }
    .comparison-table-new .cell-willtop strong { font-size: 1rem; }
    .comparison-table-new td small { font-size: 0.82rem; }

    .mapping-container-compact { padding-top: 100%; }

    .flow-timeline::before { left: 22px; }
    .flow-number { width: 44px; height: 44px; font-size: 1rem; }
    .flow-content h3 { font-size: 1.05rem; }
    .flow-content p { font-size: 0.9rem; }

    .faq-text { font-size: 0.92rem; }
    .faq-answer p { padding-left: var(--spacing-md); font-size: 0.9rem; }

    .voice-text { font-size: 0.9rem; }
    .voice-info h4 { font-size: 1.05rem; }

    .case-content h3 { font-size: 1.1rem; }
    .case-content p { font-size: 0.9rem; }

    .area-detail h4 { font-size: 1.1rem; }
    .area-detail p { font-size: 0.9rem; }

    .sp-cta-btn { font-size: 0.88rem; padding: 13px 8px; }
    .cta-button { font-size: 0.92rem; padding: 13px 20px; }
    .mobile-nav-list a { font-size: 1rem; }

    .heatmap-table { min-width: 260px; }
    .heat { min-width: 34px; font-size: 0.68rem; padding: 6px 3px; }
    .chart-row { grid-template-columns: 44px 1fr 54px; }
    .chart-label { font-size: 0.75rem; }
    .chart-value { font-size: 0.75rem; }
    .demo-row { grid-template-columns: 72px 1fr; }
    .demo-label { font-size: 0.8rem; }
}


/* ==============================================
   28. Print
   ============================================== */
@media print {
    .header, .mobile-menu, .sp-fixed-cta, .scroll-to-top, .hero-cta, .cta-button, .page-loader { display: none !important; }
    .animate-on-scroll { opacity: 1 !important; transform: none !important; }
    body { font-size: 12pt; }
    section { padding: 20px 0; }
}


/* 先生の声セクション 一時非表示 */
.doctor-voice {
    display: none !important;
}

