/* ========================================
   サーチュインクリニック ラグジュアリーデザイン CSS
   KEI CELL CLINIC風 高級感デザイン
   ======================================== */

/* ========================================
   Google Fonts - セリフ体追加
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

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

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    line-height: 1.9;
    color: #2c2c2c;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul, ol {
    list-style: none;
}

/* ========================================
   ラグジュアリーカラーシステム
   ======================================== */
:root {
    /* メインカラー - 深いブルー */
    --primary-navy: #0a2540;              /* ディープネイビー */
    --primary-blue: #1a4d7a;              /* メインブルー */
    --primary-blue-light: #2e6ba0;        /* ライトブルー */
    
    /* アクセントカラー - ゴールド */
    --accent-gold: #b8986f;                /* シャンパンゴールド */
    --accent-gold-dark: #9d7a4f;           /* ダークゴールド */
    --accent-copper: #d4a574;              /* カッパー */
    
    /* ナチュラルカラー - アースカラー */
    --natural-wood: #8b7355;               /* ウッドブラウン */
    --natural-stone: #d4cfc9;              /* ストーングレー */
    --natural-sand: #f5f2ed;               /* サンドベージュ */
    
    /* ニュートラル */
    --white: #ffffff;
    --off-white: #fafaf8;
    --light-gray: #f8f6f3;
    --mid-gray: #e8e5e0;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #8c8c8c;
    --border-light: #e8e5e0;
    
    /* シャドウ - より柔らかく */
    --shadow-soft: 0 4px 16px rgba(10, 37, 64, 0.06);
    --shadow-medium: 0 8px 24px rgba(10, 37, 64, 0.08);
    --shadow-strong: 0 12px 40px rgba(10, 37, 64, 0.12);
    --shadow-hover: 0 16px 48px rgba(10, 37, 64, 0.15);
    
    /* トランジション */
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   エレガントタイポグラフィ
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-medium);
    letter-spacing: 0.02em;
}

.text-serif {
    font-family: 'Noto Serif JP', serif;
}

.text-large {
    font-size: 1.125rem;
    line-height: 2.2;
}

.text-small {
    font-size: 0.875rem;
}

/* ========================================
   共通レイアウト
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 80px);
}

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 60px);
}

.section {
    padding: clamp(80px, 12vw, 160px) 0;
}

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

.section-sand {
    background-color: var(--natural-sand);
}

/* ========================================
   ラグジュアリーヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-soft);
    border-bottom-color: transparent;
}

.header-main {
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    gap: 32px;
    max-width: 100%;
}

/* エレガントロゴ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity var(--transition-base);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.75;
}

.logo-image {
    width: 38px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-navy);
    letter-spacing: 0.08em;
}

/* ミニマルナビゲーション */
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-dark);
    padding: 12px 8px;
    position: relative;
    letter-spacing: 0.08em;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

/* エレガント予約ボタン */
.btn-reserve {
    background: var(--primary-navy) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.1em !important;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-navy) !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-reserve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transition: left var(--transition-smooth);
    z-index: -1;
}

.btn-reserve:hover::before {
    left: 0;
}

.btn-reserve:hover {
    color: var(--white) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: var(--shadow-medium);
}

.btn-reserve::after {
    display: none;
}

/* ヘッダー右側 */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 12px;
    border-radius: 0;
    transition: opacity var(--transition-base);
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--primary-navy);
    border-radius: 0;
    transition: all var(--transition-base);
}

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

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

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

/* ========================================
   ラグジュアリーヒーローセクション
   ======================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 96px;
    overflow: hidden;
}

/* スライドショー背景 */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenBurns 20s ease-out infinite;
}

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

/* ケンバーンズエフェクト（ゆっくりズームイン） */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* グラデーションオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 37, 64, 0.75) 0%,
        rgba(26, 77, 122, 0.65) 50%,
        rgba(46, 107, 160, 0.55) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(184, 152, 111, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(184, 152, 111, 0.08) 0%, transparent 60%);
    animation: shimmerLuxury 10s ease-in-out infinite;
    z-index: 2;
}

@keyframes shimmerLuxury {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 32px;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero-content h1 {
    font-family: 'Noto Serif JP', serif;
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5),
                 0 4px 16px rgba(0, 0, 0, 0.4),
                 0 8px 32px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 56px;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6),
                 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

/* エレガントボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-decoration: none;
    letter-spacing: 0.12em;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold-dark);
    transition: left var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-navy) !important;
    border: 2px solid var(--primary-navy);
    font-weight: 600;
    text-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 77, 122, 0.3);
}

/* ヒーローセクション用の白いアウトラインボタン */
.btn-outline-white {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 1);
    color: var(--primary-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 248, 0.98) 50%, rgba(255, 255, 255, 0.95) 100%);
    color: var(--text-dark);
    text-align: center;
    padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 152, 111, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--primary-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 48px;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-weight: 500;
}

/* ========================================
   エレガントセクションタイトル
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: clamp(60px, 10vw, 100px);
}

.section-title h2 {
    font-family: 'Noto Serif JP', serif;
    color: var(--primary-navy);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.12em;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
}

.section-title p {
    color: var(--text-medium);
    font-size: 1rem;
    max-width: 700px;
    margin: 32px auto 0;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* ========================================
   ラグジュアリー特徴カード
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(32px, 5vw, 56px);
}

.feature-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: #f5f2ed;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    border: 1px solid #b8986f;
}

.feature-icon i {
    font-size: 32px;
    color: #b8986f;
}

.feature-card h3 {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 2;
    margin: 0;
    letter-spacing: 0.03em;
}

/* ========================================
   ラグジュアリークリニックカード
   ======================================== */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: clamp(40px, 6vw, 64px);
}

.clinic-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.clinic-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-hover);
}

.clinic-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.clinic-card:hover .clinic-image img {
    transform: scale(1.05);
}

.clinic-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-soft);
}

.clinic-content {
    padding: 40px;
}

.clinic-content h3 {
    font-family: 'Noto Serif JP', serif;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.clinic-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-medium);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.clinic-info-item i {
    color: var(--accent-gold);
    margin-top: 6px;
    flex-shrink: 0;
}

/* 詳しく見るボタン */
.btn-clinic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
    color: var(--primary-navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(184, 152, 111, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-clinic:hover {
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--accent-gold) 100%);
    border-color: var(--dark-gold);
    color: var(--primary-navy) !important;
    box-shadow: 0 6px 20px rgba(184, 152, 111, 0.5);
    transform: translateY(-2px);
    gap: 14px;
}

.btn-clinic::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-clinic:hover::after {
    transform: translateX(4px);
}

.clinic-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-navy);
    font-weight: 500;
    padding: 0;
    transition: all var(--transition-base);
    letter-spacing: 0.08em;
}

.clinic-link:hover {
    gap: 16px;
    color: var(--accent-gold);
}

.clinic-link i {
    transition: transform var(--transition-base);
}

.clinic-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   ニュースセクション
   ======================================== */
.news {
    background: var(--light-gray);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px;
    background: var(--white);
    border-radius: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.news-category {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #000000;
    color: var(--white);
}

.news-content h4 {
    font-family: 'Noto Serif JP', serif;
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-navy);
    font-weight: 600;
    border: 2px solid var(--primary-navy);
    transition: all var(--transition-base);
    letter-spacing: 0.08em;
}

.btn-more:hover {
    background: var(--primary-navy);
    color: var(--white);
    gap: 14px;
}

.btn-more::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-more:hover::after {
    transform: translateX(4px);
}

/* ========================================
   エレガントフッター
   ======================================== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: clamp(80px, 10vw, 120px) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(48px, 8vw, 80px);
    margin-bottom: clamp(60px, 8vw, 80px);
}

.footer-section h3 {
    font-family: 'Noto Serif JP', serif;
    color: var(--white);
    margin-bottom: 28px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 1つ目のセクション（会社情報）はアイコンなし */
.footer-section:first-child h3 {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.footer-section:first-child h3::before {
    display: none;
}

/* 2つ目以降のセクションにアイコンを追加 */
.footer-section:not(:first-child) h3::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* 各セクションごとのアイコン設定 */
.footer-section:nth-child(2) h3::before {
    content: '\f3c5'; /* fa-map-marker-alt - クリニック情報用 */
}

.footer-section:nth-child(3) h3::before {
    content: '\f0f8'; /* fa-stethoscope - 診療メニュー用 */
}

.footer-section:nth-child(4) h3::before {
    content: '\f0c9'; /* fa-bars - その他用 */
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 30px; /* 見出しアイコン分のインデント */
}

/* 1つ目のセクション（会社情報）はpタグなのでulスタイル不要 */
.footer-section:first-child p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.03em;
    position: relative;
}

.footer-section a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.footer-section a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-section a:hover::before {
    background: var(--accent-gold);
    transform: scale(1.5);
}

.footer-section a i {
    font-size: 0.8rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.05em;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* 中間サイズ - タブレット・小型ノートPC */
@media (max-width: 1280px) {
    .nav-menu {
        gap: clamp(12px, 2vw, 20px);
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 12px 6px;
        letter-spacing: 0.06em;
    }
    
    .btn-reserve {
        padding: 10px 24px !important;
        font-size: 0.8rem !important;
    }
    
    .header-content {
        gap: 24px;
    }
    
    .logo-image {
        width: 38px;
    }
    
    .logo-title {
        font-size: 1.15rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
        padding: 10px 4px;
    }
    
    .btn-reserve {
        padding: 10px 20px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 96px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        box-shadow: var(--shadow-medium);
        gap: 0;
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        height: 75vh;
        min-height: 600px;
        margin-top: 80px;
    }
    
    .header-right .translate-wrapper {
        display: none;
    }
    
    .header-content {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
        margin-top: 80px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 3rem);
        margin-bottom: 24px;
        letter-spacing: 0.03em;
        max-width: 100%;
        padding: 0 16px;
        word-break: keep-all;
        line-height: 1.5;
    }
    
    .hero-content .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .features-grid,
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* モバイルではインデントを減らす */
    .footer-section ul {
        padding-left: 24px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section:not(:first-child) h3::before {
        font-size: 1rem;
    }
    
    /* ニュースセクションのレスポンシブ */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .news-date {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        font-size: 0.85rem;
    }
    
    .news-category {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .news-content h4 {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .btn-more {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* ========================================
   極小デバイス対応（〜400px）
   ======================================== */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: clamp(1.4rem, 7vw, 2rem);
        letter-spacing: 0.02em;
        padding: 0 12px;
        line-height: 1.4;
    }
    
    .hero-content .subtitle {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    /* ニュースセクションの極小対応 */
    .news-item {
        padding: 16px;
        gap: 12px;
    }
    
    .news-date {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .news-category {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
    
    .news-content h4 {
        font-size: 0.95rem;
    }
    
    .btn-more {
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }
}

/* ========================================
   アニメーション & エフェクト
   ======================================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

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

.slide-in-up {
    animation: slideInUp 1s ease-out;
}

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

/* スクロールアニメーション用 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   追加の洗練された要素
   ======================================== */
.divider {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin: 32px auto;
}

.text-accent {
    color: var(--accent-gold);
}

.text-navy {
    color: var(--primary-navy);
}

.bg-pattern {
    position: relative;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(184, 152, 111, 0.02) 20px,
            rgba(184, 152, 111, 0.02) 40px
        );
    pointer-events: none;
}
