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

:root {
    --primary-color: #2563eb;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ========================================
   ヒーローセクション（スライドショー）
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(8, 145, 178, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   ボタンスタイル
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ========================================
   重要なお知らせ
======================================== */
.notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 40px 0;
}

.notice-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.notice-icon {
    font-size: 3rem;
    color: var(--warning-color);
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.notice-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   こんなお悩みありませんか
======================================== */
.concerns {
    background: var(--bg-light);
}

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

.concern-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.concern-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.concern-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.concern-item p {
    font-weight: 500;
    color: var(--text-dark);
}

/* ========================================
   選ばれる6つの理由
======================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.reason-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.reason-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.reason-content {
    padding: 30px;
}

.reason-number {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.reason-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.reason-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   肥満と健康リスク
======================================== */
.health-risks {
    background: var(--bg-light);
}

.risk-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.risk-intro-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.risk-intro-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.risk-intro-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.bmi-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bmi-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

.bmi-item strong {
    color: var(--primary-color);
}

.risks-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.risk-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.risk-card-disease {
    border-top: 5px solid #ef4444;
}

.risk-card-cancer {
    border-top: 5px solid #f97316;
}

.risk-card-dementia {
    border-top: 5px solid #a855f7;
}

.risk-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.risk-card-disease .risk-card-icon {
    color: #ef4444;
}

.risk-card-cancer .risk-card-icon {
    color: #f97316;
}

.risk-card-dementia .risk-card-icon {
    color: #a855f7;
}

.risk-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.risk-list {
    margin-bottom: 20px;
}

.risk-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.risk-list li:last-child {
    border-bottom: none;
}

.risk-list i {
    color: #ef4444;
    font-size: 1.1rem;
}

.risk-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
}

.risk-stat-item {
    text-align: center;
    padding: 15px 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.risk-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.risk-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 8px;
    line-height: 1;
}

.risk-card-cancer .risk-stat-number {
    color: #f97316;
}

.risk-card-dementia .risk-stat-number {
    color: #a855f7;
}

.risk-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}

.risk-reference {
    margin-top: 20px;
    padding: 15px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

.risk-reference i {
    color: var(--primary-color);
    margin-right: 8px;
}

.risk-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.prevention-tips {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.prevention-tips h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

.tip-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(8, 145, 178, 0.1));
}

.tip-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tip-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tip-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   抗肥満薬による治療
======================================== */
.treatment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.treatment-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.treatment-intro-content strong {
    color: var(--primary-color);
}

.medications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.medication-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.medication-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.medication-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medication-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.medication-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.medication-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.medication-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.medication-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.medication-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.medication-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.medication-features li:last-child {
    border-bottom: none;
}

.medication-features i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.treatment-note {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(8, 145, 178, 0.1));
    border-radius: 15px;
}

.note-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.note-content p {
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================================
   初診の流れ
======================================== */
.flow {
    background: var(--bg-light);
}

.flow-steps {
    margin-bottom: 50px;
}

.flow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.flow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.flow-step-reverse {
    direction: rtl;
}

.flow-step-reverse > * {
    direction: ltr;
}

.flow-step-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.flow-step-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.flow-step-number {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.flow-step-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.flow-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.flow-time i {
    color: var(--primary-color);
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.flow-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.flow-list i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-checklist {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.flow-checklist p {
    font-weight: 600;
    margin-bottom: 10px;
}

.flow-checklist ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flow-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-checklist i {
    color: var(--primary-color);
}

.flow-important {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    border-radius: 10px;
    margin: 20px 0;
}

.flow-important i {
    font-size: 1.5rem;
    color: var(--warning-color);
    flex-shrink: 0;
}

.flow-important p {
    margin: 5px 0;
    line-height: 1.7;
}

.flow-important strong {
    color: var(--text-dark);
}

.flow-contact {
    margin-top: 20px;
}

.flow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.flow-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.flow-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(8, 145, 178, 0.05));
    padding: 20px;
    border-radius: 20px;
}

.flow-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.flow-info-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.flow-info-box h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.flow-info-box i {
    color: var(--primary-color);
}

.info-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-large strong {
    font-size: 2rem;
}

.info-small {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

.flow-cta {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.flow-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.flow-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   よくある質問（FAQ）
======================================== */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.faq-category-title i {
    color: var(--primary-color);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-white);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.faq-answer strong {
    color: var(--text-dark);
}

/* ========================================
   院長紹介
======================================== */
.director {
    padding: 80px 0;
    background: white;
}

.director-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.director-image {
    position: relative;
}

.director-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

.director-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.director-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.director-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.director-message {
    margin-bottom: 30px;
}

.director-message p {
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.director-credentials {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.director-credentials h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.director-credentials h4 i {
    color: var(--primary-color);
}

.director-credentials ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.director-credentials li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.director-credentials li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* ========================================
   院長紹介
======================================== */
.director {
    background: var(--bg-white);
    padding: 80px 0;
}

.director-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.director-image {
    position: relative;
}

.director-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.director-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.director-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.director-qualifications h4,
.director-message h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qualifications-list li:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(8, 145, 178, 0.1));
    transform: translateX(5px);
}

.director-experience {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.director-experience h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.experience-highlight {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.experience-highlight p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.experience-highlight p:last-of-type {
    margin-bottom: 20px;
}

.experience-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.experience-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    font-weight: 600;
    color: #92400e;
    transition: all 0.3s ease;
}

.experience-points li:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3);
}

.experience-points li i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.director-message p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.qualifications-list i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.director-message p {
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.director-message p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--primary-color);
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
    background: var(--bg-light);
}

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

.contact-info {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 100%;
}

.clinic-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.info-value a:hover {
    text-decoration: underline;
}

.contact-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-note i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-note p {
    line-height: 1.7;
    color: var(--text-light);
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.contact-buttons .btn {
    width: 100%;
}

.flow-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

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

.flow-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   トップに戻るボタン
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-5px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .reasons-grid,
    .risks-cards {
        grid-template-columns: 1fr;
    }

    .medications {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .risk-intro,
    .flow-step,
    .contact-content,
    .director-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .risk-stats {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .risk-stat-number {
        font-size: 1.8rem;
    }

    .risk-reference {
        font-size: 0.8rem;
        padding: 12px;
    }

    .director-experience {
        padding: 20px;
    }

    .experience-highlight {
        padding: 20px;
    }

    .experience-points li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        padding: 30px;
        transition: all 0.3s ease;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 500px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-prev,
    .hero-next {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .notice-box {
        flex-direction: column;
        padding: 20px;
    }

    .concerns-grid,
    .reasons-grid,
    .risks-cards,
    .tips-grid,
    .flow-info-boxes,
    .medications {
        grid-template-columns: 1fr;
    }

    .reason-content,
    .medication-content,
    .flow-step-content,
    .faq-category,
    .contact-info,
    .prevention-tips {
        padding: 25px;
    }

    .flow-step-reverse {
        direction: ltr;
    }

    .flow-cta {
        padding: 30px 20px;
    }

    .flow-cta h3 {
        font-size: 1.5rem;
    }

    .flow-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn,
    .flow-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .medication-price {
        flex-direction: column;
        gap: 5px;
    }

    .price-amount {
        font-size: 1.5rem;
    }
}