/* ==================== リセット & ベーススタイル ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #EDB135;
    --primary-dark: #D89E2A;
    --primary-light: #F5C658;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== ヘッダー ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0;
    margin-right: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-subtitle {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    border-color: var(--primary-color);
    background: rgba(237, 177, 53, 0.08);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 177, 53, 0.12);
}

.nav-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-link:focus-visible {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(237, 177, 53, 0.2);
}

/* 現在地の強調（必要に応じてaria-current="page"を利用） */
.nav-link[aria-current="page"],
.nav-link.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(237, 177, 53, 0.3);
}

.nav-link-cta {
    background: #4CAF50;
    color: white;
    padding: 10px 24px;
    border-radius: 36px;
    font-weight: 600;
    border: none;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.nav-link-cta-orange {
    background: var(--primary-color);
    border: none;
}

.nav-link-cta-orange:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== ヒーローセクション ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/top_bg.png') center center / cover no-repeat;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(237, 177, 53, 0.6);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(32px, 8vw, 72px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-main {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-title-sub {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 42px;
}

.hero-description {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 48px;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    background: var(--primary-color);
    padding: 16px 24px;
    border-radius: 12px;
    display: inline-block;
    text-shadow: none;
}

.stat-label {
    font-size: 28px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--primary-color);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0.3; }
}

/* ==================== ボタン ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    font-size: 26px;
    padding: 26px 60px;
    border: 3px solid white;
    font-weight: 700;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==================== スマホ用フローティングCTA ==================== */
.floating-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.floating-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #4CAF50;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    border: 3px solid white;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
    transition: var(--transition);
}

.floating-cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .floating-cta-mobile {
        display: block;
    }
}

/* ==================== セクション共通 ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-title .highlight-number {
    color: var(--primary-color);
    font-size: 3em;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
}

.highlight-text {
    color: #ffffff;
    font-size: 36px;
}

/* ==================== 特徴セクション ==================== */
.features {
    background: url('images/features_bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.features > .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 24px;
    cursor: pointer;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-image-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 8px;
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-icon {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg path,
.feature-icon svg circle {
    stroke: #ffffff !important;
    opacity: 1;
}

.feature-title {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-dark);
}

.features .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.feature-description {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    width: 100%;
    margin-top: 24px;
}

/* 質問促進メッセージ */
.features-message {
    margin-top: 80px;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.features-message-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.features-message-content {
    text-align: left;
}

.features-message-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.features-message-content p:last-child {
    margin-bottom: 0;
}

.emphasis-red {
    color: #e74c3c;
    font-weight: 600;
}

.emphasis-blue {
    color: #3498db;
    font-weight: 600;
}

.emphasis-red.bg-yellow {
    color: #d32f2f;
    background: #fff3cd;
    padding: 0 6px;
    border-radius: 4px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .logo h1 {
        margin-right: 0;
        margin-bottom: 4px;
        font-size: 28px;
    }
    
    .logo-subtitle {
        font-size: 16px;
    }
    
    .features-message {
        margin-top: 60px;
        padding: 32px 24px;
    }
    
    .features-message-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .features-message-content p {
        font-size: 15px;
    }
}

/* ==================== 比較セクション ==================== */
.comparison {
    background-image: url('images/flow_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

.comparison > .container {
    position: relative;
    z-index: 1;
}

.comparison .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.comparison-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comparison-tab {
    padding: 14px 32px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.comparison-tab:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(237, 177, 53, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 177, 53, 0.15);
}

.comparison-content {
    display: none;
}

.comparison-content.active {
    display: block;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.comparison-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 24px;
    transition: var(--transition);
}

.comparison-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.comparison-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.comparison-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.comparison-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

.comparison-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.comparison-item p {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ==================== 治療の流れ ==================== */
.flow {
    background-image: url('images/flow_bg2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.flow > .container {
    position: relative;
    z-index: 1;
}

.flow .section-title {
    color: #000;
}

/* ==================== 地図 ==================== */
.map {
    padding: 0;
    margin: 0;
}

.flow-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
}

.flow-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.flow-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(237, 177, 53, 0.3);
    z-index: 1;
}

.flow-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    flex: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.flow-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.flow-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.flow-content p {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ==================== 症例紹介 ==================== */
.cases {
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.case-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f0f0 100%);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

.case-content {
    padding: 32px;
}

.case-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.case-description {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.case-duration {
    display: inline-block;
    background: rgba(237, 177, 53, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
}

/* ==================== 料金表 ==================== */
.pricing {
    background: url('images/pricing_bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

.pricing > .container {
    position: relative;
    z-index: 2;
}

.pricing-main {
    max-width: 700px;
    margin: 0 auto 64px;
}

.pricing-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 32px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 18px;
    opacity: 0.9;
}

.pricing-body {
    padding: 40px;
}

.pricing-total {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
}

.pricing-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-medium);
    margin-left: 8px;
}

.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 22px;
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.pricing-item span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-options-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.pricing-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-option {
    background: white;
    padding: 28px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-option:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-option-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-option-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== お問い合わせ ==================== */
.contact {
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-phone:hover {
    opacity: 0.8;
}

.contact-hours,
.contact-address {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

.contact-access {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== フォーム ==================== */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 24px;
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(237, 177, 53, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    min-height: 20px;
    color: var(--text-medium);
}

.form-status.success {
    color: #2e7d32;
}

.form-status.error {
    color: #c0392b;
}

/* ==================== フッター ==================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info h4,
.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== トップへ戻るボタン ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ==================== レスポンシブデザイン ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        gap: 24px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-200%);
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    /* モバイルではボタンを縦並び・幅100%にしてタップしやすく */
    .nav .nav-link {
        width: 100%;
        text-align: center;
    }


    .hero {
        min-height: auto;
        padding: 140px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comparison-tabs {
        flex-direction: column;
    }

    .comparison-tab {
        width: 100%;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .flow-timeline::before {
        left: 30px;
    }

    .flow-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .flow-step {
        gap: 20px;
        margin-bottom: 32px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-options-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .comparison-item {
        padding: 24px;
    }

    .pricing-amount {
        font-size: 42px;
    }
}

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

.animate-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* ==================== 画像モーダル ==================== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 1;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.image-modal-close:hover {
    transform: scale(1.1);
}

.image-modal-close svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
    }
    
    .image-modal-close {
        top: -35px;
    }
}

/* ==================== モーダル ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.modal-close svg {
    color: var(--text-medium);
}

.modal-header {
    padding: 48px 48px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-icon {
    flex-shrink: 0;
}

.modal-icon svg {
    width: 56px;
    height: 56px;
}

.modal-title-wrapper {
    flex: 1;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.4;
    text-align: left;
}

.modal-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: left;
}

.modal-body {
    padding: 0 48px 48px;
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
}

.modal-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* モーダルのレスポンシブ対応 */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
    }
    
    .modal-content {
        border-radius: 16px;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 32px 24px 16px;
        flex-direction: row;
        gap: 16px;
    }
    
    .modal-icon svg {
        width: 44px;
        height: 44px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-subtitle {
        font-size: 14px;
        margin-top: 6px;
    }
    
    .modal-body {
        padding: 0 24px 32px;
    }
    
    .modal-description {
        font-size: 15px;
    }
}

/* ==================== セデーション導入セクション（LP用） ==================== */
.sedation-intro {
    padding: 100px 0;
    background: 
        url('images/sedation_bg.png') center/cover no-repeat,
        linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(233, 236, 239, 0.5) 100%);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.sedation-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 177, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.sedation-content {
    display: grid;
    grid-template-columns: 0.5fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.sedation-text {
        grid-column: 2;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sedation-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.sedation-title .highlight-text {
    color: var(--primary-color);
    font-weight: 900;
}

.sedation-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 32px;
    line-height: 1.6;
}

.sedation-description {
    margin-bottom: 40px;
}

.sedation-description p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
}

.sedation-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

.sedation-benefits {
    margin-bottom: 40px;
}

.sedation-benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sedation-benefit-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefit-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.sedation-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 32px;
    border-radius: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.sedation-cta {
    display: flex;
    gap: 16px;
}

.sedation-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sedation-image-placeholder {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.sedation-image-placeholder svg {
    margin-bottom: 24px;
}

.sedation-image-placeholder p {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 600;
}

/* ==================== セデーション詳細ページ ==================== */
.sedation-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sedation-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.sedation-hero-content {
    position: relative;
    z-index: 1;
}

.sedation-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
}

.sedation-hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.95;
}

/* メッセージセクション */
.sedation-message {
    padding: 80px 0;
    background: white;
}

.sedation-message-content {
    max-width: 900px;
    margin: 0 auto;
}

.sedation-message-lead {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.sedation-message-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-medium);
}

.emphasis-text {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 2px;
}

/* ベネフィット詳細 */
.sedation-benefits-detail {
    padding: 100px 0;
    background: 
        url('images/sedation_bg.png') center/cover no-repeat,
        linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(233, 236, 239, 0.5) 100%);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.benefit-detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-detail-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-detail-number {
    font-size: 72px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.benefit-detail-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.benefit-detail-description {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.benefit-detail-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-dark);
}

/* セデーションの流れ */
.sedation-flow {
    padding: 100px 0;
    background: white;
}

/* FAQ */
.sedation-faq {
    padding: 100px 0;
    background: 
        url('images/sedation_001.png') center/cover no-repeat,
        linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(233, 236, 239, 0.5) 100%);
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

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

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-left: 48px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* 価格セクション */
.sedation-price {
    padding: 100px 0;
    background: white;
}

.price-card-sedation {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.price-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.price-amount {
    margin-bottom: 16px;
}

.price-yen {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 8px;
}

.price-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-tax {
    font-size: 20px;
    color: var(--text-medium);
    margin-left: 8px;
}

.price-note {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.price-description {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.price-description p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.price-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 結びのメッセージ */
.sedation-closing {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.sedation-closing-content {
    max-width: 800px;
    margin: 0 auto;
}

.sedation-closing-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 40px;
}

.sedation-closing-text {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
    opacity: 0.95;
}

.sedation-closing-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 48px 0 32px;
}

.sedation-closing-note {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 48px;
}

.sedation-closing-link {
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.text-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
    transition: var(--transition);
}

.text-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ==================== レスポンシブ対応（セデーション） ==================== */
@media (max-width: 768px) {
    .sedation-intro {
        padding: 40px 0;
    }

    .sedation-hero-content{
        padding-top: 50px;
    }

    .sedation-content {
        display: block;
    }

    .sedation-image {
        display: none;
    }

    .sedation-text {
        grid-column: auto;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 32px 20px;
        margin: 0;
        box-sizing: border-box;
    }

    .sedation-title {
        font-size: 22px;
    }

    .sedation-subtitle {
        font-size: 18px;
    }

    .sedation-description p {
        font-size: 15px;
    }

    .sedation-benefit-item {
        padding: 16px;
        margin-bottom: 16px;
    }

    .benefit-text h4 {
        font-size: 16px;
    }

    .benefit-text p {
        font-size: 14px;
    }

    .sedation-quote {
        font-size: 16px;
        padding: 20px;
        margin-bottom: 24px;
    }

    .sedation-cta {
        flex-direction: column;
    }

    .sedation-cta .btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 20px;
        white-space: normal;
        line-height: 1.5;
    }

    .sedation-hero {
        padding: 120px 0 60px;
    }

    .sedation-hero-title {
        font-size: 32px;
    }

    .sedation-hero-subtitle {
        font-size: 16px;
    }

    .sedation-message,
    .sedation-benefits-detail,
    .sedation-flow,
    .sedation-faq,
    .sedation-price,
    .sedation-closing {
        padding: 60px 0;
    }

    .benefit-detail-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .benefit-detail-number {
        font-size: 48px;
    }

    .benefit-detail-title {
        font-size: 22px;
    }

    .price-card-sedation {
        padding: 40px 24px;
    }

    .price-number {
        font-size: 48px;
    }

    .sedation-closing-title {
        font-size: 24px;
    }

    .sedation-closing-cta {
        flex-direction: column;
    }

    .faq-answer {
        padding-left: 0;
    }

    .sedation-benefit-item {
        padding: 16px;
    }

    .sedation-quote {
        font-size: 18px;
        padding: 24px;
    }
}
