/* 
==========================================
  キービジュアル 空色グラデーション設定
==========================================

カスタマイズガイド：
1. 色の調整：--sky-blue-1 から --sky-blue-6 の値を変更
2. 角度の調整：--hero-gradient-angle を変更（0deg～360deg）
3. アニメーション速度：--hero-animation-duration を変更（秒数）

サンプル設定：
- 垂直グラデーション：--hero-gradient-angle: 180deg;
- 水平グラデーション：--hero-gradient-angle: 90deg;
- 速いアニメーション：--hero-animation-duration: 8s;
- 遅いアニメーション：--hero-animation-duration: 25s;
- アニメーション停止：animation: none; を .hero-background に追加

*/

:root {
    /* 新しいカラーパレット */
    --navy-primary: #2C3E50;      /* メインネイビー */
    --navy-secondary: #34495E;    /* セカンダリネイビー */
    --gold-primary: #D4AF37;      /* メインゴールド */
    --gold-secondary: #FFD700;    /* セカンダリゴールド */
    --yellow-primary: #F4D03F;    /* メインイエロー */
    --yellow-secondary: #F7DC6F;  /* セカンダリイエロー */
    --grey-primary: #BDC3C7;      /* メイングレー */
    --grey-secondary: #95A5A6;    /* セカンダリグレー */
    --red-primary: #E74C3C;       /* メインレッド */
    --red-secondary: #C0392B;     /* セカンダリレッド */
    
    /* グラデーション設定 */
    --hero-gradient-angle: 135deg;          /* グラデーション角度 */
    --hero-animation-duration: 15s;         /* アニメーション時間 */
    
    /* カラー設定 */
    --accent-gold: var(--gold-primary);
    --text-primary: var(--navy-primary);    /* ネイビー */
    --text-secondary: var(--navy-primary);  /* 墨色（text-primaryと同じ色に変更） */
    
    /* フォント設定 */
    --font-primary: 'Noto Sans JP', sans-serif;        /* メインフォント：Noto Sans JP */
    --font-secondary: 'Noto Sans JP', sans-serif;         /* サブフォント：Noto Sans JP */
    --font-display: 'Noto Sans JP', sans-serif;     /* ディスプレイフォント：Noto Sans JP */
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

/* 医療アドバイザーとCEOセクション専用の広いコンテナ */
.medical-advisor .container,
.ceo-section .container {
    max-width: 1400px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    font-style: normal;
    color: #333;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0) !important;
}

.header .container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-subtitle {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-title {
    font-family: 'Tsukushi A Round Gothic', var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-text:hover .logo-subtitle,
.logo-text:hover .logo-title {
    color: #ccab53;
}


.phone-btn {
    font-family: var(--font-secondary);
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    color: #1e2758;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
}

.phone-btn .phone-number {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    color: #1e2758;
    transform: translateY(1px);
    margin-bottom: 0px;
}

.phone-btn .phone-text {
    font-family: var(--font-secondary);
    color: #1e2758;
}

.phone-btn i {
    font-size: 1.1rem;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
}

/* PC画面では電話番号、スマートフォンでは電話相談テキストを表示 */
.phone-btn .phone-number {
    display: inline;
}

.phone-btn .phone-text {
    display: none;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    justify-content: space-between;
}

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

/* ヒーローセクション */
.hero {
    position: relative;
    height: min(86vh, 760px);
    background: #111F4B;
    display: flex;
    align-items: center;
    overflow: visible;
    border-bottom: 6px solid #a1191c;
    margin-bottom: 0;
}

/* キービジュアル下部のグラデーションライン - 新しいアプローチ */
.hero-gradient-line {
    position: relative;
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    z-index: 3;
    display: flex;
    align-items: center;
    margin-bottom: 120px;
}

.hero-gradient-line .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* ゴールド帯内のナビゲーション */
.nav-in-gold-band {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.nav-in-gold-band a {
    font-family: var(--font-secondary);
    text-decoration: none;
    color: var(--navy-primary);
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-in-gold-band a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -20px;
    color: var(--navy-primary);
    font-weight: 400;
}

.nav-in-gold-band a:hover {
    color: #ccab53;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ヘッダー内のナビゲーション（スクロール時に表示） */
.nav-in-header {
    display: none;
    gap: 30px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-in-header.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.nav-in-header a {
    font-family: var(--font-secondary);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-in-header a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.nav-in-header a:hover {
    color: #ccab53;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* キービジュアルのアニメーション効果 */
@keyframes skyGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: image-set(url('img/background03.avif') type('image/avif'), url('img/background03.webp') type('image/webp'), url('img/background03.jpg') type('image/jpeg')); background-image: url('img/background03.jpg'); /* フォールバック */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

.hero-nurse-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: image-set(url('img/nurse_v4.avif') type('image/avif'), url('img/nurse_v4.webp') type('image/webp'), url('img/nurse_v4.png') type('image/png'));
    background-image: url('img/nurse_v4.png'); /* フォールバック */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(52, 73, 94, 0.6) 50%,
        rgba(44, 62, 80, 0.9) 100%
    );
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(135, 206, 235, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="rgba(255,255,255,0.1)" cx="30" cy="30" r="1.5"/></g></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-left-column {
    position: absolute;
    bottom: -120px;
    left: 0;
    z-index: 5;
    width: 1500px;
    height: auto;
    max-width: 70vw;
    pointer-events: none;
}

.hero-center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 2;
    padding: 20px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.hero-right-column {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 3;
    width: 30vw;
    min-width: 200px;
    pointer-events: none;
}

.hero-copy-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copy-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-homemore-logo {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 3;
}

.hero-homemore-logo picture {
    display: flex;
    justify-content: flex-end;
}

.homemore-logo-image {
    width: auto;
    max-height: 70vh;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    margin-left: auto;
    display: block;
}

.hero-image-container {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-nurse-image {
    width: 100%;
    max-width: 1500px;
    height: auto;
    object-fit: contain;
    object-position: bottom left;
    transform: none;
    z-index: 1;
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

/* 旧スタイル（削除予定または非表示） */
.hero-text {
    display: none;
}

.hero-subtitle {
    font-family: var(--font-primary);
    display: inline-block;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.hero-main {
    font-family: 'Tsukushi A Old Mincho', serif;
    display: block;
    font-size: clamp(36px, 4.5vw, 80px);
    font-weight: 400;
    font-style: normal;
    color: white;
    margin-bottom: 35px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hero-description {
    font-family: 'Tsukushi A Old Mincho', serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 45px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10; /* CTAボタンを最前面に配置 */
    justify-content: center;
    width: 100%;
}


/* 新しいヒーローCTAボタン */
.hero-cta-button {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    color: var(--navy-primary);
    text-decoration: none;
    padding: 20px 25px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    min-width: 160px;
    min-height: 160px;
    width: 160px;
    height: 160px;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 100; /* ボタンを確実に最前面に配置 */
    pointer-events: auto; /* ボタンのクリックを確実に有効にする */
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
}

.hero-cta-button:hover::before {
    opacity: 1;
}

.hero-cta-consultation {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
}

.hero-cta-materials {
    background: transparent;
    color: var(--gold-primary);
    border: 3px solid var(--gold-primary);
}

.hero-cta-materials:hover {
    background: transparent;
    border-color: var(--gold-secondary);
    border-width: 4px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.btn-primary {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    color: var(--navy-primary);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
}

.btn-secondary {
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-primary);
    text-decoration: none;
    padding: 20px 25px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0px;
    transition: all 0.3s ease;
    border: 3px solid var(--navy-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    min-height: 160px;
    width: 160px;
    height: 160px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    flex-direction: column;
    text-align: center;
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-primary);
}



/* 共感セクション */
.empathy-section {
    background: image-set(url('img/background10.avif') type('image/avif'), url('img/background10.webp') type('image/webp'), url('img/background10.png') type('image/png')) center/cover no-repeat; background: url('img/background10.png') center/cover no-repeat; /* フォールバック */
    position: relative;
}

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

.empathy-section .container {
    position: relative;
    z-index: 2;
}

.empathy-intro {
    text-align: center;
    margin-bottom: 50px;
}

.empathy-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.empathy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.empathy-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.empathy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.empathy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empathy-icon i {
    font-size: 35px;
    color: white;
}

/* 横長画像用のスタイル */
.empathy-image-full {
    width: 100%;
    height: 200px;
    margin: 0 0 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.worries-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.worries-image:hover {
    transform: scale(1.05);
}

.empathy-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

.empathy-card p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.empathy-card ul {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    padding-left: 20px;
    text-align: left;
}

.empathy-card li {
    margin-bottom: 8px;
    list-style-type: disc;
    padding-left: 5px;
}

.empathy-voice {
    background: rgba(241, 196, 15, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
}

.empathy-voice span {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.empathy-message {
    background: transparent;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
}

.message-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

.message-content p {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 700;
    font-style: normal;
    color: var(--navy-primary);
}

/* 視線誘導用の逆三角形 */
.section-arrow-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
}

.arrow-down {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--yellow-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(241, 196, 15, 0.3),
        0 3px 10px rgba(241, 196, 15, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    animation: bounce 2s infinite;
}

.arrow-down:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(241, 196, 15, 0.4),
        0 5px 15px rgba(241, 196, 15, 0.3);
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--yellow-primary) 50%, var(--yellow-secondary) 100%);
}

.arrow-down i {
    font-size: 1.8rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* バウンスアニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 信用セクション */
.trust-section {
    background: linear-gradient(135deg, #F5E6D3 0%, #FFF8DC 50%, #FAEBD7 100%);
    position: relative;
    padding: 80px 0 160px;
}

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

.trust-section .container {
    position: relative;
    z-index: 2;
}

/* ホームモアが選ばれる理由のタイトルを上に移動 */
.trust-section .section-title {
    margin-top: 0px;
    margin-bottom: 20px;
}

/* ホームモアが選ばれる理由セクション - 星形レイアウト */
.star-reasons-container {
    position: relative;
    width: 900px;
    height: 900px;
    margin: 120px auto 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-center {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-logo {
    width: 220px;
    height: 220px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    animation: none;
}

.center-logo h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 0;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.center-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary), var(--yellow-primary));
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 10s linear infinite;
    z-index: -1;
}

.star-reason {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance))) rotate(calc(-1 * var(--angle)));
    z-index: 5;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 15px 40px rgba(212, 175, 55, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            0 20px 50px rgba(212, 175, 55, 0.6),
            0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.reason-item {
    background: white;
    padding: 20px 18px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
    width: 280px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
}

.card-center-logo {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: none;
}

.mini-homemore-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--yellow-primary) 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    margin-bottom: 15px;
}

.mini-homemore-logo span {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--navy-primary);
    text-align: center;
    line-height: 1;
    letter-spacing: 0.02em;
}

.reason-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.reason-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(241, 196, 15, 0.2);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 25px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reason-icon-full {
    width: calc(100% + 38px);
    height: 160px;
    margin: 0 -19px 20px -19px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-content {
    padding: 0 8px 8px 8px;
    text-align: center;
}

.reason-icon i {
    font-size: 30px;
    color: white;
}

.reason-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reason-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
    line-height: 1.3;
    padding: 0 5px;
}

.reason-item p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.customer-voice {
    background: rgba(241, 196, 15, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    margin-top: 15px;
}

.customer-voice span {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.trust-item {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.trust-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy-primary);
}

.trust-icon {
    width: 70px;
    height: 70px;
    margin: 20px auto 25px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    font-size: 30px;
    color: white;
}

.trust-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
    text-align: center;
}

.trust-item p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 20px;
}

.trust-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-details li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.trust-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #87CEEB;
    font-weight: bold;
}

.medical-advisor {
    margin: 40px 0;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

/* 2カラムレイアウト */
.advisor-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* 左カラム - 写真と肩書 */
.advisor-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 右カラム - メッセージ */
.advisor-right {
    display: flex;
    flex-direction: column;
}

.advisor-message h5 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.4;
}

.advisor-message p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    text-align: justify;
}

.advisor-image {
    width: 300px;
    height: 300px;
    position: relative;
    flex-shrink: 0;
}

.doctor-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* 半円形の上部スタイル - 上部が半円、下部が直線 */
    border-radius: 150px 150px 0 0;
}

/* プロフィール情報 */
.doctor-profile {
    margin-top: 20px;
}

.doctor-profile p {
    font-family: var(--font-primary);
    margin: 8px 0;
    line-height: 1.5;
    font-weight: 500;
}

.doctor-profile p:first-child {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 12px;
}

.doctor-name {
    font-family: var(--font-display);
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 15px 0 !important;
}

.doctor-profile p:not(:first-child):not(.doctor-name) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 6px 0;
}

/* CEOセクション */
.ceo-section {
    margin: 60px 0 40px 0;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.ceo-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center center; /* 画像の位置を元の中央位置に戻す */
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* 小川先生と同じ半円形スタイル */
    border-radius: 150px 150px 0 0;
}

.ceo-profile {
    margin-top: 20px;
    text-align: center;
}

.ceo-title {
    font-family: var(--font-primary);
    font-size: 1.0rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    margin: 10px 0 5px 0 !important;
    line-height: 1.5;
}

.ceo-name {
    font-family: var(--font-display);
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 5px 0 15px 0 !important;
}

/* 想像パート（ライフスタイルセクション） */
.lifestyle-section {
    background-image: image-set(url('img/background13.avif') type('image/avif'), url('img/background13.webp') type('image/webp'), url('img/background13.png') type('image/png'));
    background-image: url('img/background13.png'); /* フォールバック */
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    position: relative;
}

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

.lifestyle-section .container {
    position: relative;
    z-index: 2;
}

.lifestyle-intro {
    text-align: center;
    margin-bottom: 50px;
}

.lifestyle-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}





/* 医療の質がこう変わるセクション */
.medical-quality-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 25px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.medical-quality-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(135, 206, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(135, 206, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.medical-quality-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.medical-quality-header h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.03em;
}

.medical-approach-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.approach-item {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}

.approach-item.traditional {
    border-left: 5px solid #e74c3c;
}

.approach-item.new {
    border-left: 5px solid #27ae60;
}

.approach-label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.approach-item p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.approach-arrow {
    color: #87CEEB;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.medical-features {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.medical-features h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

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

.medical-feature-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(135, 206, 235, 0.1);
}

.medical-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #87CEEB, #5DADE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.medical-feature-item h5 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.medical-feature-item p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.medical-result {
    position: relative;
    z-index: 2;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(135, 206, 235, 0.1) 0%, 
        rgba(135, 206, 235, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.result-text h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.result-text p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.result-image {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.change-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.change-image:hover {
    transform: scale(1.05);
}

/* 利用者様の声 - 漫画風吹き出しデザイン */
.user-testimonials {
    background: transparent;
    padding: 50px 0;
    border-radius: 0;
    position: relative;
    overflow: visible;
    border: none;
}

.user-testimonials::before {
    display: none;
}

.user-testimonials h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.user-testimonials h3::after {
    display: none;
}

.testimonial-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
    backdrop-filter: none;
    border: none;
}

.testimonial-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.testimonial-highlight::before {
    display: none;
}

.quote-mark {
    font-size: 5rem;
    background: linear-gradient(135deg, #87CEEB, #5DADE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(135, 206, 235, 0.2));
    font-family: var(--font-display);
    font-weight: 700;
}

.speech-bubble .testimonial-text {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: transparent;
    padding: 0;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.testimonial-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.testimonial-content .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 20px;
    background: rgba(135, 206, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid #87CEEB;
}

.testimonial-content .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    text-align: left;
    margin-bottom: 10px;
}

.testimonial-author .name {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.testimonial-author .service {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #5DADE2;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

.testimonial-image {
    width: 150px;
    height: 150px;
    background: #F5F5DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
}

.user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-image::before {
    display: none;
}

.testimonial-highlight:hover .testimonial-image::before {
    display: none;
}

.testimonial-image i {
    font-size: 45px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 漫画風吹き出しスタイル - 白背景デザイン */
.speech-bubble {
    position: relative;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 25px 30px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 15px 0;
    border-color: transparent white transparent transparent;
    z-index: 2;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 27px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 25px 18px 0;
    border-color: transparent #e0e0e0 transparent transparent;
    z-index: 1;
}

.speech-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 右向きの吹き出し - 三角形を右側に配置 */
.speech-bubble.right {
    margin-left: 0;
}

.speech-bubble.right::before {
    left: auto;
    right: -20px;
    border-width: 15px 0 15px 20px;
    border-color: transparent transparent transparent white;
}

.speech-bubble.right::after {
    left: auto;
    right: -25px;
    top: 27px;
    border-width: 18px 0 18px 25px;
    border-color: transparent transparent transparent #e0e0e0;
}

.testimonial-secondary {
    margin-top: 30px;
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    border: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.testimonial-secondary.testimonial-reverse {
    grid-template-columns: 1fr auto;
}

.testimonial-secondary::before {
    display: none;
}

/* 医療の質がこう変わる - 新デザイン */
.medical-transformation {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* 社会とのつながりがこう変わる - 同じデザイン */
.social-transformation {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* 自分らしさの可能性がこう変わる - 同じデザイン */
.self-identity-transformation {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* ご家族の支える力がこう変わる - 同じデザイン */
.family-support-transformation {
    margin: 60px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.medical-transformation::before,
.social-transformation::before,
.self-identity-transformation::before,
.family-support-transformation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(135, 206, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(135, 206, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.medical-transformation > *,
.social-transformation > *,
.self-identity-transformation > *,
.family-support-transformation > * {
    position: relative;
    z-index: 2;
}

.medical-transformation h3,
.social-transformation h3,
.self-identity-transformation h3,
.family-support-transformation h3 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* Before & After 比較 */
.before-after-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.comparison-item {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.before-item {
    border-top: 5px solid var(--grey-secondary);
}

.after-item {
    border-top: 5px solid var(--gold-primary);
}

.comparison-header h4 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.02em;
}

.before-item .comparison-header h4 {
    color: var(--grey-secondary);
}

.after-item .comparison-header h4 {
    color: var(--gold-primary);
}

.comparison-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.flow-step {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: normal;
    font-size: 1.1rem;
    color: var(--text-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    letter-spacing: 0.02em;
}

.before-item .flow-step {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--grey-secondary);
}

.after-item .flow-step {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--navy-primary);
}

.flow-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #87CEEB;
}

.before-item .flow-arrow {
    color: var(--grey-secondary);
}

.after-item .flow-arrow {
    color: var(--gold-primary);
}

/* Arrow Divider */
.arrow-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 3rem;
    font-weight: 700;
}

/* Beforeカード内の効果 */
.before-effects {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(149, 165, 166, 0.3);
}

.before-effects .effect-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

.before-effects .effect-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(149, 165, 166, 0.3);
}

.before-effects .effect-item:last-child {
    margin-bottom: 0;
}

.before-effects .effect-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--grey-secondary), var(--grey-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
    flex-shrink: 0;
    margin: 0;
}

.before-effects .effect-item span {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-style: normal;
    color: var(--grey-secondary);
    letter-spacing: 0.02em;
}

/* Afterカード内の効果 */
.after-effects {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.after-effects .effect-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fef9e7 0%, #f5e6d3 100%);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.after-effects .effect-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.after-effects .effect-item:last-child {
    margin-bottom: 0;
}

.after-effects .effect-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
    margin: 0;
}

.after-effects .effect-item span {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    font-style: normal;
    color: var(--gold-primary);
    letter-spacing: 0.02em;
}

/* キーメッセージ */
.key-message {
    margin-top: 40px;
    background: linear-gradient(135deg, 
        rgba(135, 206, 235, 0.12) 0%, 
        rgba(135, 206, 235, 0.06) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.key-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(135, 206, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.message-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.message-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.message-icon i {
    font-size: 25px;
    color: white;
}

.message-content h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.message-content p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin: 0;
}

/* 家族の声 */
.family-testimonial {
    margin-top: 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.family-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(135, 206, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.family-testimonial .testimonial-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.family-testimonial .quote-mark {
    font-size: 4rem;
    background: linear-gradient(135deg, #87CEEB, #5DADE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(135, 206, 235, 0.2));
    font-family: var(--font-display);
    font-weight: 700;
}

.family-testimonial .testimonial-text {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.family-testimonial .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    padding: 15px;
    background: rgba(135, 206, 235, 0.08);
    border-radius: 12px;
    border-left: 4px solid #87CEEB;
}

.family-testimonial .testimonial-author .name {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.family-testimonial .testimonial-author .service {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #5DADE2;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

/* 漫画コーナー */
.comics-section {
    margin-top: 50px;
    background: transparent;
    padding: 40px;
    border-radius: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.comics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.comics-section h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.comics-section h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
}

.comics-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.comics-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.comics-img {
    max-width: 800px;
    width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .comics-section {
        margin-top: 30px;
        padding: 30px 20px;
    }
    
    .comics-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .comics-img {
        width: 95%;
        max-width: 100%;
    }
}

/* お試し利用相談ボタンセクション */
.trial-consultation-section {
    margin-top: 50px;
    background: transparent;
    padding: 40px;
    border-radius: 0;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.trial-consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(135, 206, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(135, 206, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.trial-cta-content {
    position: relative;
    z-index: 2;
}

.trial-cta-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.trial-cta-content > p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
}

.btn-trial-consultation {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    color: #2C2C2C;
    text-decoration: none;
    padding: 20px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    border: none;
    cursor: pointer;
    min-width: 280px;
    justify-content: center;
    white-space: nowrap;
    margin-bottom: 15px;
}

.btn-trial-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
}

.btn-trial-consultation i {
    font-size: 1.2rem;
}

.trial-note {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* 比較パート */
.comparison-section {
    background: image-set(url('img/background10.avif') type('image/avif'), url('img/background10.webp') type('image/webp'), url('img/background10.png') type('image/png')) center/cover no-repeat; background: url('img/background10.png') center/cover no-repeat; /* フォールバック */
    position: relative;
}

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

.comparison-section .container {
    position: relative;
    z-index: 2;
}

.comparison-intro {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.comparison-table-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 25px 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-style: normal;
    font-size: 1.4rem;
    text-align: center;
}

.feature-column {
    background: #f8f9fa;
    color: var(--text-primary);
    width: 25%;
}

.insurance-column {
    background: rgba(149, 165, 166, 0.1);
    color: var(--grey-secondary);
    width: 37.5%;
}

.homemore-column {
    background: rgba(241, 196, 15, 0.2);
    color: var(--gold-primary);
    width: 37.5%;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.feature-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    background: #f8f9fa;
    text-align: center;
    font-size: 1.3rem;
}

.insurance-service, .homemore-service {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 1.2rem;
}

.insurance-service {
    background: rgba(149, 165, 166, 0.05);
}

.homemore-service {
    background: rgba(241, 196, 15, 0.05);
}

.text-red { color: var(--red-primary); }
.text-green { color: #27ae60; }
.text-yellow { color: var(--gold-primary); }
.text-blue { color: var(--navy-primary); }

.insurance-service i, .homemore-service i {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.comparison-highlight {
    background: rgba(241, 196, 15, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.highlight-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

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

.value-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 25px;
    color: white;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

.value-item p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 古いレイアウトのスタイルは削除済み */

/* 購入理由パート */
.reasons-section {
    background: linear-gradient(135deg, #F5E6D3 0%, #FFF8DC 50%, #FAEBD7 100%);
    position: relative;
}

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

.reasons-section .container {
    position: relative;
    z-index: 2;
}

.reasons-intro {
    text-align: center;
    margin-bottom: 50px;
}

.reasons-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-card.urgency {
    border-top: 5px solid var(--gold-primary);
}

.reason-card.investment {
    border-top: 5px solid var(--gold-primary);
}

.reason-card.family {
    border-top: 5px solid var(--gold-primary);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgency .reason-icon {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
}

.investment .reason-icon {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
}

.family .reason-icon {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
}

.reason-icon i {
    font-size: 35px;
    color: white;
}

.reason-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

.reason-number {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-right: 12px;
}

.reason-main {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.reason-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.reason-points li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.reason-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #87CEEB;
    font-weight: bold;
}

.action-motivation {
    background: transparent;
    padding: 50px 40px;
    border-radius: 0;
    text-align: center;
}

.motivation-content h3 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

.motivation-text {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.motivation-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-primary.large {
    font-size: 1.3rem;
    padding: 20px 35px;
    min-width: 250px;
}

.cta-note {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 行動促進パート */
.flow-action {
    background-image: image-set(url('img/background13.avif') type('image/avif'), url('img/background13.webp') type('image/webp'), url('img/background13.png') type('image/png'));
    background-image: url('img/background13.png'); /* フォールバック */
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    position: relative;
}

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

.flow-action .container {
    position: relative;
    z-index: 2;
}

.flow-intro {
    text-align: center;
    margin-bottom: 50px;
}

.flow-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.flow-steps-new {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.flow-step-new {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.flow-step-new:hover {
    transform: translateY(-3px);
}

.step-number-new {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

.step-content p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.step-time {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gold-primary);
    font-weight: 500;
}

.final-cta {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
}

.cta-description {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
}

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-tertiary {
    font-family: var(--font-primary);
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 250px;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4D03F 100%);
    color: #2C2C2C;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
}

.btn-cta-secondary {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 50%, var(--grey-secondary) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.btn-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4);
    background: linear-gradient(135deg, var(--navy-secondary) 0%, var(--grey-secondary) 50%, var(--grey-primary) 100%);
}

.btn-cta-tertiary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-primary);
    border: 2px solid rgba(241, 196, 15, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta-tertiary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-primary);
}



/* お客様の声 */
.testimonials {
    background: image-set(url('img/background06.avif') type('image/avif'), url('img/background06.webp') type('image/webp'), url('img/background06.png') type('image/png')) center/cover no-repeat; background: url('img/background06.png') center/cover no-repeat; /* フォールバック */
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(135, 206, 235, 0.05);
    z-index: 1;
}

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

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

/* 引用符は吹き出しデザインでは不要なので削除 */

.author-name {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

/* 不安解消パート（FAQ） */
.faq-anxiety {
    background: image-set(url('img/background10.avif') type('image/avif'), url('img/background10.webp') type('image/webp'), url('img/background10.png') type('image/png')) center/cover no-repeat; background: url('img/background10.png') center/cover no-repeat; /* フォールバック */
    position: relative;
}

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

.faq-anxiety .container {
    position: relative;
    z-index: 2;
}

.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-subtitle {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-title {
    background: rgba(241, 196, 15, 0.1);
    padding: 25px 30px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.faq-list {
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

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

.faq-question {
    padding: 25px 30px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    margin: 0;
    letter-spacing: 0.02em;
}

.faq-question i {
    color: var(--gold-primary);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

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

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

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 300px;
}

.faq-answer p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-answer li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    font-family: var(--font-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

/* お問い合わせセクション */
.contact {
    background: linear-gradient(135deg, #F5E6D3 0%, #FFF8DC 50%, #FAEBD7 100%);
    position: relative;
}

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

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

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

.contact-info > p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-top: 5px;
}

.contact-method h4 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
}

.phone-number {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: -6px;
    letter-spacing: 0.05em;
}

.phone-hours {
    color: #666;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.contact-form .btn-primary {
    display: block;
    margin: 0 auto;
    text-align: center;
}

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

.form-group label {
    font-family: var(--font-primary);
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: left;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-primary);
    width: 100%;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    letter-spacing: 0.02em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

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

/* ラジオボタングループのスタイル */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    justify-content: flex-start;
}

/* 住所入力セクションのスタイル */
.address-section {
    background: linear-gradient(135deg, 
        rgba(135, 206, 235, 0.08) 0%, 
        rgba(135, 206, 235, 0.04) 100%);
    border: 2px solid rgba(135, 206, 235, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.address-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(135, 206, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.address-section > * {
    position: relative;
    z-index: 2;
}



.address-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.postal-code-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.postal-code-group input {
    flex: 1;
    min-width: 0;
}

.btn-address-lookup {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--navy-primary);
    border: none;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(241, 196, 15, 0.3);
    letter-spacing: 0.02em;
    height: 64px;
    margin-top: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-address-lookup:hover {
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--yellow-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

.btn-address-lookup:active {
    transform: translateY(0);
}

/* 住所フィールドのアニメーション */
.address-section.show {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.address-section.hide {
    animation: slideUp 0.3s ease-in;
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

/* フォームフィールドの必須マーク */
.form-group label[for="name"]::after,
.form-group label[for="phone"]::after,
.address-section .form-group label[for="postal-code"]::after,
.address-section .form-group label[for="address"]::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* 住所入力フィールドのフォーカス効果 */
.address-section input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    vertical-align: middle;
}

.radio-item:hover {
    color: var(--gold-primary);
}

.radio-item input[type="radio"] {
    display: none;
}

.radiomark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 3px solid #e1e5e9;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.radio-item:hover .radiomark {
    border-color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}

.radio-item input[type="radio"]:checked + .radiomark {
    border-color: var(--gold-primary);
    background-color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.4);
}

.radio-item input[type="radio"]:checked + .radiomark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
}

/* チェックボックスグループのスタイル（既存のフォームで使用される場合のため残す） */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    color: var(--gold-primary);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-item:hover .checkmark {
    border-color: var(--gold-primary);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 30px 0;
}

.footer-bottom {
    text-align: center;
    color: #ccc;
}

.footer-bottom p {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* バックトゥトップボタンのスタイル（JSで作成されるため） */
.back-to-top {
    background: var(--navy-primary) !important;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3) !important;
}

.back-to-top:hover {
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4) !important;
}

/* 中間サイズ画面での調整 */
@media (min-width: 1024px) and (max-width: 1399px) {
    .hero-nurse-background {
        background-size: cover;
        background-position: center center;
    }

    .hero-left-column {
        width: 1200px;
        bottom: -100px;
        left: 0;
        max-width: 65vw;
    }

    .hero-nurse-image {
        max-width: 1200px;
    }

    .hero-center-column {
        margin-left: 0;
    }

    .copy-image {
        max-width: 700px;
    }

    .hero-right-column {
        width: 28vw;
        min-width: 180px;
    }

    .homemore-logo-image {
        max-height: 75vh;
    }
}

/* 大きな画面での調整 */
@media (min-width: 1400px) {
    .hero-nurse-background {
        background-size: cover;
        background-position: center center;
    }

    .hero-left-column {
        width: 1600px;
        max-width: 72vw;
    }

    .copy-image {
        max-width: 800px;
    }

    .hero-right-column {
        width: 32vw;
        min-width: 200px;
    }

    .homemore-logo-image {
        max-height: 80vh;
    }
}

/* タブレット用レスポンシブデザイン - ヒーローセクション対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .header .container {
        padding: 0 60px;
    }
    
    .hero {
        margin-bottom: 0;
    }

    .hero-left-column {
        width: 1000px;
        bottom: -90px;
        left: 0;
        max-width: 62vw;
    }

    .hero-nurse-image {
        max-width: 1000px;
    }

    .hero-center-column {
        margin-left: 0;
        gap: 30px;
    }

    .copy-image {
        max-width: 600px;
    }

    .hero-right-column {
        width: 28vw;
        min-width: 180px;
    }

    .homemore-logo-image {
        max-height: 70vh;
    }

    .hero-cta-button {
        min-width: 140px;
        min-height: 140px;
        width: 140px;
        height: 140px;
        font-size: 16px;
    }
}

/* タブレット用レスポンシブデザイン - カード型レイアウト対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .reasons-grid-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .reasons-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
    }
    
    .reason-item {
        max-width: 300px;
        padding: 30px 20px;
    }

    .hero-gradient-line {
        margin-top: 0;
        margin-bottom: 100px;
    }
}

/* ヒーローセクション - モバイル用レスポンシブデザイン */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 70vh;
        padding-top: 70px;
        margin-bottom: 0;
        overflow: visible;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
        position: relative;
    }

    .hero-left-column {
        position: absolute;
        bottom: -80px;
        left: 0;
        width: 800px;
        order: 1;
        z-index: 5;
        max-width: 78vw;
    }

    .hero-nurse-image {
        max-width: 800px;
    }

    .hero-center-column {
        order: 2;
        gap: 30px;
        padding: 10px 0;
        margin-left: 0;
        margin-top: 20px;
    }

    .hero-right-column {
        display: none; /* モバイルでは非表示 */
    }

    .copy-image {
        max-width: 85%;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-cta-button {
        min-width: min(220px, 80%);
        min-height: min(220px, 80%);
        width: min(220px, 80%);
        height: min(220px, 80%);
        font-size: 16px;
        padding: 15px 20px;
    }

    .hero-gradient-line {
        margin-top: 0;
        margin-bottom: 80px;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .nav-in-gold-band {
        display: none;
    }
    
    .nav-in-header {
        display: none !important;
    }
    
    .header-cta {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .phone-btn {
        padding: 10px 16px;
        font-size: 18px;
    }
    
    .phone-btn .phone-number {
        display: none;
    }
    
    .phone-btn .phone-text {
        display: inline;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    
    .header {
        padding: 10px 0;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .logo-title {
        font-size: 1.7rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero-main {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 50px;
        padding-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* 星形レイアウト - モバイル対応 */
@media (max-width: 480px) {
    .star-reasons-container {
        width: 300px;
        height: 300px;
        margin: 20px auto 30px;
    }

    .center-logo {
        width: 100px;
        height: 100px;
    }

    .center-logo h3 {
        font-size: 1.1rem;
    }

    .star-reason {
        --distance: 110px;
    }

    .reason-item {
        width: 160px;
        padding: 12px 10px;
        padding-top: 18px;
        min-height: 140px;
        font-size: 0.85rem;
    }

    .reason-item h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .reason-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .card-center-logo {
        top: 10px;
    }

    .mini-homemore-logo {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }

    .mini-homemore-logo span {
        font-size: 0.5rem;
    }

    .reason-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .reason-icon i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-image-space {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-text {
        margin: 0;
        margin-left: 0;
        padding: 0;
        max-width: 95%;
        text-align: center;
        align-items: center;
    }
    
    .hero-main {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        padding: 18px 25px;
        font-size: 1rem;
        min-width: 220px;
        max-width: 280px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .empathy-grid,
    .trust-grid,
    .reasons-grid,
    .unique-values,
    .cta-buttons-grid,
    .testimonials-grid,
    .reasons-grid-top,
    .reasons-grid-bottom {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid-bottom {
        max-width: none;
    }
    
    .reason-item {
        max-width: 350px;
        margin: 0 auto;
    }

    /* 星形レイアウト - タブレット対応 */
    .star-reasons-container {
        width: 650px;
        height: 650px;
        margin: 30px auto 60px;
    }

    .center-logo {
        width: 180px;
        height: 180px;
    }

    .center-logo h3 {
        font-size: 1.8rem;
    }

    .star-reason {
        --distance: 260px;
    }

    .reason-item {
        width: 220px;
        padding: 18px 14px;
        padding-top: 20px;
        min-height: 170px;
    }

    .mini-homemore-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }

    .mini-homemore-logo span {
        font-size: 0.6rem;
    }
    
    .medical-quality-section {
        padding: 40px 25px;
        margin-bottom: 40px;
    }
    
    .medical-approach-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .approach-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .medical-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .result-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .result-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .user-testimonials {
        padding: 40px 25px;
    }
    
    .testimonial-highlight {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 30px 25px;
    }
    
.testimonial-image-section {
        order: -1;
        margin-bottom: 20px;
    }
    
    .testimonial-secondary {
        margin-top: 20px;
        padding: 20px;
        text-align: center;
        grid-template-columns: 1fr;
    }
    
    .testimonial-secondary.testimonial-reverse {
        grid-template-columns: 1fr;
    }
    
    .testimonial-secondary.testimonial-reverse .testimonial-image-section {
        order: 1;
    }
    
    .testimonial-secondary.testimonial-reverse .testimonial-content {
        order: 0;
    }
    
    /* 医療の質がこう変わる・社会とのつながりがこう変わる・自分らしさの可能性がこう変わる・ご家族の支える力がこう変わる - モバイル対応 */
    .medical-transformation,
    .social-transformation,
    .self-identity-transformation,
    .family-support-transformation {
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .medical-transformation h3,
    .social-transformation h3,
    .self-identity-transformation h3,
    .family-support-transformation h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .key-message {
        margin-top: 30px;
        padding: 25px 20px;
    }
    
    .message-content h4 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .message-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .message-icon i {
        font-size: 18px;
    }
    
    .family-testimonial {
        margin-top: 30px;
        padding: 25px 20px;
    }
    
    .family-testimonial .quote-mark {
        font-size: 3rem;
        margin-bottom: 12px;
    }
    
    .family-testimonial .testimonial-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .family-testimonial .testimonial-author {
        padding: 12px;
    }
    
    .family-testimonial .testimonial-author .name {
        font-size: 1rem;
    }
    
    .family-testimonial .testimonial-author .service {
        font-size: 0.85rem;
    }
    
    .before-after-comparison {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .arrow-divider {
        font-size: 2rem;
        margin: 0 auto;
        transform: rotate(90deg);
    }
    
    .comparison-flow {
        flex-direction: column;
        gap: 10px;
    }
    
    .flow-step {
        min-width: auto;
        width: 100%;
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .comparison-header h4 {
        font-size: 1.5rem;
    }
    
    .before-effects,
    .after-effects {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .before-effects .effect-item,
    .after-effects .effect-item {
        padding: 10px 12px;
        margin-bottom: 8px;
    }
    
    .before-effects .effect-icon,
    .after-effects .effect-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .before-effects .effect-item span,
    .after-effects .effect-item span {
        font-size: 0.9rem;
    }
    
    /* モバイルでは1カラムに変更 */
    .advisor-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advisor-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .doctor-photo {
        width: 250px;
        height: 250px;
        border-radius: 125px 125px 0 0;
    }
    
    .doctor-name {
        font-size: 1.4rem !important;
    }
    
    .doctor-profile p:first-child {
        font-size: 0.9rem;
    }
    
    .doctor-profile p:not(:first-child):not(.doctor-name) {
        font-size: 0.85rem;
    }
    
    /* モバイルでのメッセージフォントサイズ調整 */
    .advisor-message h5 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .advisor-message p {
        font-size: 1rem;
    }
    
    /* CEOセクションのモバイル対応 */
    .ceo-photo {
        width: 250px;
        height: 250px;
        object-position: center center; /* 画像の位置を元の中央位置に戻す */
        border-radius: 125px 125px 0 0;
    }
    
    .ceo-title {
        font-size: 0.9rem !important;
    }
    
    .ceo-name {
        font-size: 1.4rem !important;
    }
    
    .flow-step-new {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-table-container {
        overflow-x: auto;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    /* お試し利用相談ボタン - モバイル対応 */
    .trial-consultation-section {
        margin-top: 30px;
        padding: 30px 20px;
    }
    
    .trial-cta-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .trial-cta-content > p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .btn-trial-consultation {
        font-size: 1.1rem;
        padding: 18px 25px;
        min-width: 250px;
        margin-bottom: 12px;
    }
    
    .trial-note {
        font-size: 0.85rem;
    }
    
    /* 視線誘導用の逆三角形 - モバイル対応 */
    .section-arrow-indicator {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .arrow-down {
        width: 50px;
        height: 50px;
    }
    
    .arrow-down i {
        font-size: 1.5rem;
    }
    
    /* ラジオボタングループ - モバイル対応 */
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-item {
        padding: 15px 0;
        white-space: normal;
        align-items: center;
        line-height: 1;
    }
    
    /* 住所入力セクション - モバイル対応 */
    .address-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .postal-code-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .postal-code-group input {
        width: 100%;
    }
    
    .btn-address-lookup {
        width: 100%;
        padding: 20px;
        font-size: 1rem;
        height: 64px;
    }
    
    /* 横長画像のモバイル対応 */
    .empathy-image-full {
        height: 150px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
}

/* Before/After画像スタイル */
.comparison-image {
    margin-top: 20px;
    text-align: center;
}

.before-after-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.before-after-image:hover {
    transform: scale(1.02);
}

.after-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.after-image:hover {
    transform: scale(1.02);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-image {
        margin-top: 15px;
    }
    
    .before-after-image,
    .after-image {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}
