/* ===================================================
   あいくる訪問看護ステーション - メインスタイルシート
   カラーパレット: サーモンピンク系
   =================================================== */

/* === リセット・ベース === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: #fff9f8;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #4a3a42;
    line-height: 1.8;
    overflow-x: hidden;
}

/* === ページ全体のコンテナ === */
.page-wrap {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    position: relative;
}

/* === CSS変数 === */
:root {
    --primary: #e8899a;
    --primary-light: #f5c6d0;
    --primary-lighter: #fce8ec;
    --primary-dark: #d4697c;
    --primary-deep: #c05068;
    --bg-warm: #fff9f8;
    --bg-white: #ffffff;
    --bg-pink: #fef3f5;
    --text-dark: #4a3a42;
    --text-medium: #6b5b63;
    --text-light: #9a8a92;
    --text-white: #ffffff;
    --border-light: #f0e0e4;
    --shadow-sm: 0 2px 8px rgba(232, 137, 154, 0.1);
    --shadow-md: 0 4px 16px rgba(232, 137, 154, 0.15);
    --shadow-lg: 0 8px 32px rgba(232, 137, 154, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --transition: all 0.3s ease;
}

/* ======================================== */
/* 固定サイドナビゲーション（PC） */
/* ======================================== */
.side-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-right: 8px;
}

.side-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-light);
    font-size: 11px;
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(232, 137, 154, 0.25);
    transition: var(--transition);
}

.side-nav-item:hover {
    background: var(--primary-lighter);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(232, 137, 154, 0.35);
}

.side-nav-item.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(232, 137, 154, 0.45);
}

.side-nav-item.contact-btn {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.side-nav-item.contact-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.side-nav-item.instagram-btn {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(232, 137, 154, 0.3);
    padding: 8px;
}

.side-nav-item.instagram-btn:hover {
    transform: scale(1.08);
}

.side-nav-instagram-icon {
    width: 42px;
    height: 42px;
    display: block;
    pointer-events: none;
}

/* ======================================== */
/* フローティングボタン（スマホ） */
/* ======================================== */
.float-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 999;
}

.float-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(232, 137, 154, 0.5);
    transition: var(--transition);
}

.float-btn a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 60%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 137, 154, 0.35) 0%, rgba(212, 105, 124, 0.25) 50%, rgba(245, 198, 208, 0.2) 100%);
    z-index: 1;
}

.sakura-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    max-width: 70%;
    margin: 0 auto;
}

.hero-content {
    color: var(--text-white);
}

/* hero-subtitle-top 削除済み */

.hero-title {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 2.64rem; /* 2.2rem × 120% */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-title-highlight {
    color: #fff;
    font-size: 3.12rem; /* 2.6rem × 120% */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1.56rem; /* 1.3rem × 120% */
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ロゴ：一番上・中央・固定 */
.hero-logo-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.hero-logo {
    width: 222px; /* 185px × 120% */
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.15));
}

/* 3つの特徴 */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    width: 180px;
    transition: var(--transition);
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.hero-feature-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-feature-item p {
    font-size: 0.75rem;
    opacity: 0.85;
}

.hero-buttons {
    margin-top: 10px;
}

/* ボタン共通 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

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

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

/* スクロールダウン */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    text-align: center;
    opacity: 0.8;
    animation: scrollBounce 2s infinite;
}

.scroll-down span {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ======================================== */
/* 画像セクション共通 */
/* ======================================== */
.section-img-wrap {
    width: 100%;
}

.section-img {
    width: 100%;
    line-height: 0;
}

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

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

.section-inner {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.section-subtitle {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ======================================== */
/* 訪問看護とは セクション */
/* ======================================== */
.about-nursing {
    background: var(--bg-pink);
}

.about-nursing-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-nursing-text {
    flex: 1;
}

.about-nursing-text p {
    font-size: 0.95rem;
    color: #706d6d;
    line-height: 2;
    margin-bottom: 16px;
    text-align: left;
}

.about-nursing-text p:first-child {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1.43rem; /* 1.1rem × 130% */
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-nursing-text p:last-child {
    margin-bottom: 0;
}

.about-nursing-illusts {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.about-nursing-illust-family {
    width: 259px;
    height: auto;
}

/* 家族イラスト + テキスト画像ラッパー */
.about-nursing-family-wrap {
    position: relative;
    display: inline-block;
}

/* --- 笑顔切り替えアニメーション --- */
.family-before,
.family-after {
    transition: opacity 1.2s ease;
}

.family-after {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* アニメーション発火時 */
.about-nursing-family-wrap.smile .family-before {
    opacity: 0;
}

.about-nursing-family-wrap.smile .family-after {
    opacity: 1;
}

/* --- フワッとキラキラエフェクト --- */
.family-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 195, 202, 0.9) 0%, rgba(244, 195, 202, 0) 70%);
    opacity: 0;
    transform: scale(0);
}

.about-nursing-family-wrap.smile .sparkle {
    animation: sparkle-appear 1s ease-out forwards;
}

.about-nursing-family-wrap.smile .sparkle.floating {
    animation: sparkle-float 2.5s ease-in-out infinite;
}

.sparkle-1 { top: 5%;  left: -5%;   animation-delay: 0.3s; }
.sparkle-2 { top: -8%; left: 45%;  animation-delay: 0.5s; width: 14px; height: 14px; }
.sparkle-3 { top: 15%; right: -8%; animation-delay: 0.4s; }
.sparkle-4 { top: 55%; left: -12%;  animation-delay: 0.6s; width: 8px; height: 8px; }
.sparkle-5 { top: 40%; right: -14%; animation-delay: 0.7s; width: 12px; height: 12px; }
.sparkle-6 { bottom: 5%; left: 25%; animation-delay: 0.8s; width: 8px; height: 8px; }

/* 最初の出現アニメーション */
@keyframes sparkle-appear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
        transform: scale(1.4);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

/* フワフワ浮遊アニメーション（ずっと残る） */
@keyframes sparkle-float {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) translateY(-6px);
    }
}

.about-nursing-family-text {
    position: absolute;
    top: -35px;
    left: -15px;
    width: 187px;
    height: auto;
    pointer-events: none;
}

.about-nursing-illust-house {
    width: 195px;
    height: auto;
}

/* ストライプバー */
.about-nursing-stripe {
    margin-top: 50px;
    text-align: center;
}

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

/* ======================================== */
/* ご利用の流れセクション */
/* ======================================== */
.flow-subtitle {
    font-size: 1.14rem; /* 0.95rem × 120% */
}

.flow {
    background: var(--bg-pink);
}

.flow-routes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.flow-route {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.flow-route-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-white);
    font-size: 14px;
}

.flow-route-header.kaigo {
    background: linear-gradient(135deg, #e8899a, #d4697c);
}

.flow-route-header.iryo {
    background: linear-gradient(135deg, #7bc8c4, #5aada8);
}

.flow-route-header i {
    font-size: 1.4rem;
}

.flow-route-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.flow-steps-vertical {
    padding: 24px;
}

.flow-step-v {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.flow-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--primary-lighter);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.flow-step-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.flow-step-content p {
    font-size: 0.78rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.flow-arrow-v {
    text-align: center;
    padding: 8px 0 8px 14px;
    color: var(--primary-light);
    font-size: 14px;
}

/* 共通ゴール */
.flow-goal {
    text-align: center;
    margin-bottom: 30px;
}

.flow-goal-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 16px;
    animation: goalBounce 2s infinite;
}

@keyframes goalBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.flow-goal-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.flow-goal-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.flow-goal-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-goal-box p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 補足情報 */
.flow-note {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
}

.flow-note-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

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

.flow-note p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.flow-note-right {
    flex-shrink: 0;
}

.flow-note-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.flow-note-btn:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

.flow-note-finger {
    width: 24px;
    height: auto;
    flex-shrink: 0;
    animation: fingerBounce 1.5s ease-in-out infinite;
}

@keyframes fingerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.flow-note-btn-img {
    width: 220px;
    height: auto;
    border-radius: 40px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.flow-note-btn:hover .flow-note-btn-img {
    box-shadow: 0 6px 24px rgba(232, 137, 154, 0.4);
    transform: scale(1.03);
}

/* ======================================== */
/* あいくるができること セクション */
/* ======================================== */
.features {
    background: #f1e8e8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* --- 窓枠型カード --- */
.feature-card {
    text-align: center;
    transition: var(--transition);
    overflow: visible;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 8px 20px rgba(232, 137, 154, 0.18));
}

/* アーチ（窓の上部・山型） */
.feature-card-arch {
    position: relative;
    width: 100%;
    background: var(--bg-white);
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
    border: 3px solid #f4c3ca;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
}

.feature-card-arch-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 10px;
}

.feature-card-illust {
    width: 100px;
    height: auto;
    transition: var(--transition);
}

.feature-card-illust-lg {
    width: 120px;
}

.feature-card:hover .feature-card-illust {
    transform: scale(1.08);
}

/* カード本体（下部・四角） */
.feature-card-body {
    background: var(--bg-white);
    border: 3px solid #f4c3ca;
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 18px 16px 28px;
}

.feature-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.feature-card-desc {
    font-size: 0.85rem;
    color: #817e7e;
    line-height: 1.8;
}

/* ======================================== */
/* サービスセクション */
/* ======================================== */
.services {
    background: var(--bg-white);
    padding-bottom: 300px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 24px;
    grid-auto-rows: 1fr;
}

/* 上下段共通 */
.services-row {
    display: contents;
}

/* 全カード同一サイズ */
.services-row .service-card {
    display: flex;
    flex-direction: column;
}

/* 下段: イラストエリアもカードと同じグリッドセル */
.services-row-bottom .services-illusts {
    display: flex;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    min-height: 280px;
    z-index: 1;
}

.service-card:has(.service-details.open),
.service-card.card-open {
    z-index: 50;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

.service-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: var(--transition);
    margin-top: auto;
    align-self: center;
}

.service-toggle:hover {
    background: var(--primary-lighter);
}

.service-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.service-toggle.active i {
    transform: rotate(180deg);
}

.service-details {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: var(--bg-white);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
    text-align: left;
    z-index: 100;
    pointer-events: none;
}

.service-details.open {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 16px 20px;
    pointer-events: auto;
}

.service-details ul {
    list-style: none;
    padding: 16px 0 0;
}

.service-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.82rem;
    color: var(--text-medium);
}

.service-details li i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* ======================================== */
/* サービスセクション イラスト＋花 */
/* ======================================== */
/* ターミナルケア + イラスト横並び（旧レイアウト削除） */

.services-illusts {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    overflow: visible;
}

.services-illust-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    z-index: 1;
}

.services-illust {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

/* への字配置：左右は下、真ん中は上 */
.si-left {
    transform: translateY(12px);
}

.si-center {
    transform: translateY(-18px);
}

.si-right {
    transform: translateY(12px);
}

/* 花デコレーション */
.services-flower {
    position: absolute;
    width: 45px;
    height: auto;
    pointer-events: none;
    opacity: 0.65;
    z-index: 0;
    animation: svc-flower-float 3.5s ease-in-out infinite;
}

.sf-1 { top: 2%;    left: 3%;    width: 32px; animation-delay: 0s; }
.sf-2 { top: 8%;    right: 4%;   width: 36px; animation-delay: 0.7s; }
.sf-3 { bottom: 8%; left: 8%;    width: 28px; animation-delay: 1.4s; }
.sf-4 { top: 50%;   left: -2%;   width: 30px; animation-delay: 0.3s; }
.sf-5 { bottom: 2%; right: 8%;   width: 34px; animation-delay: 1.0s; }
.sf-6 { top: 20%;   right: 18%;  width: 26px; animation-delay: 1.8s; }

@keyframes svc-flower-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.55;
    }
    33% {
        transform: translateY(-7px) rotate(4deg);
        opacity: 0.85;
    }
    66% {
        transform: translateY(-3px) rotate(-3deg);
        opacity: 0.7;
    }
}

/* ======================================== */
/* PDFダウンロードブロック */
/* ======================================== */
.pdf-download-block {
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-download-header {
    background: #d5f0e3;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
}

.pdf-download-header h3 {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

.pdf-download-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    padding: 16px 20px 12px;
    line-height: 1.6;
}

.pdf-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.pdf-download-link:hover {
    opacity: 0.7;
}

.pdf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* ======================================== */
/* FAQセクション */
/* ======================================== */
.faq {
    background: var(--bg-pink);
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
}

.faq-tab {
    padding: 8px 20px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--bg-white);
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

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

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: var(--transition);
}

.faq-q-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
}

.faq-q-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 20px 18px 20px;
}

.faq-a-badge {
    flex-shrink: 0;
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: #7bc8c4;
    color: var(--text-white);
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
}

.faq-a-text {
    flex: 1;
    padding: 0;
}

.faq-a-text p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* FAQ CTA */
.faq-cta {
    margin-top: 50px;
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 2px dashed var(--primary-light);
}

.faq-cta-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.faq-cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.faq-cta-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 24px;
}

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

/* パルスアニメーション */
.pulse {
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ======================================== */
/* わたしたちの想い セクション */
/* ======================================== */
.staff-thoughts {
    background: var(--bg-pink);
    text-align: center;
}

/* わたしたちの想い タイトル */
.staff-title {
    font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic Pro', 'BIZ UDPGothic', 'Yu Gothic', sans-serif;
    font-size: 2rem;
    color: #706d6d !important;
    font-weight: 700;
}

/* スタッフ写真 */
.staff-photo-wrap {
    margin-bottom: 36px;
    position: relative;
    display: inline-block;
}

.staff-photo {
    width: 624px; /* 520px × 120% */
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- ハートエフェクト --- */
.staff-heart {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
    z-index: 1;
    filter: saturate(1.8) brightness(0.95) hue-rotate(-5deg);
}

/* 左側3個 */
.staff-heart-l1 { top: -12%;  left: -4%;   width: 55px; }
.staff-heart-l2 { top: 30%;   left: -8%;   width: 48px; }
.staff-heart-l3 { top: 72%;   left: -3%;   width: 52px; }

/* 右側3個 */
.staff-heart-r1 { top: -12%;  right: -4%;  width: 50px; }
.staff-heart-r2 { top: 30%;   right: -8%;  width: 60px; }
.staff-heart-r3 { top: 72%;   right: -3%;  width: 46px; }

/* じわっと出現 → ふんわり浮遊 */
.staff-photo-wrap.hearts-visible .staff-heart {
    animation: heart-appear 1.5s ease-out forwards;
}

.staff-photo-wrap.hearts-visible .staff-heart.heart-floating {
    animation: heart-float 3s ease-in-out infinite;
}

.staff-heart-l1 { animation-delay: 0.3s !important; }
.staff-heart-r1 { animation-delay: 0.5s !important; }
.staff-heart-l2 { animation-delay: 0.7s !important; }
.staff-heart-r2 { animation-delay: 0.9s !important; }
.staff-heart-l3 { animation-delay: 1.1s !important; }
.staff-heart-r3 { animation-delay: 1.3s !important; }

@keyframes heart-appear {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    60% {
        opacity: 0.85;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

@keyframes heart-float {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08) translateY(-5px);
    }
}

/* メッセージ */
.staff-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 40px;
}

.staff-message p {
    text-align: left;
}

.staff-message-title {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1.8rem; /* 1.2rem × 150% */
    font-weight: 700;
    color: #706d6d;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
}

.staff-message p {
    font-size: 0.92rem;
    color: #817e7e;
    line-height: 2;
    margin-bottom: 12px;
}

.staff-signature {
    font-size: 0.95rem;
    font-weight: 600;
    color: #706d6d;
    margin-top: 20px;
}

/* 街のイラスト */
.staff-town-illust {
    margin-top: 30px;
}

.town-illust-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.85;
}

/* ======================================== */
/* お問い合わせセクション */
/* ======================================== */
.contact {
    background: var(--bg-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    align-items: center;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary-lighter);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-details h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-phone,
.contact-fax {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.contact-email,
.contact-address,
.contact-area {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.contact-hours {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* フォーム */
/* マップ枠 */
.contact-map {
    margin-top: 24px;
    width: 100%;
    overflow: hidden;
}

.contact-map-inner {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    background: #f9f5f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-map-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.contact-map-placeholder {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-map-placeholder i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-map-placeholder span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-pink);
    padding: 30px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.required {
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 137, 154, 0.15);
}

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

/* ======================================== */
/* フッター */
/* ======================================== */
.footer {
    background: linear-gradient(135deg, #4a3a42, #5c4a52);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 30px 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    white-space: nowrap;
}

.footer-logo h3 i {
    color: var(--primary-light);
    margin-right: 6px;
}

.footer-logo p {
    font-size: 0.85rem;
    opacity: 0.7;
    white-space: nowrap;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    margin: 12px auto 0;
    display: block;
    opacity: 0.85;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.footer-info-item i {
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

/* フッターPDF資料 */
.footer-pdf {
    text-align: left;
}

.footer-pdf-title {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.footer-pdf-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    line-height: 1.5;
}

.footer-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-pdf-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-pdf-list li a:hover {
    color: #fff;
    opacity: 0.8;
}

.footer-pdf-list .pdf-icon {
    flex-shrink: 0;
}

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-links-row a:hover {
    color: var(--primary-light);
}

/* フッターお問い合わせボタン */
.footer-contact-btn {
    text-align: center;
    margin-top: 24px;
}

.footer-btn-img {
    width: 260px;
    height: auto;
    border-radius: 40px;
    transition: var(--transition);
}

.footer-btn-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 137, 154, 0.4);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ======================================== */
/* フェードインアニメーション */
/* ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for flow steps */
.flow-step-v {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ======================================== */
/* レスポンシブ */
/* ======================================== */
@media (max-width: 960px) {
    .side-nav {
        display: none;
    }

    .float-btn {
        display: block;
    }

    .page-wrap {
        max-width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 768px) {

    /* --- ヒーローエリア --- */
    .hero-container {
        max-width: 95%;
        padding: 40px 16px;
    }

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

    .hero-title-highlight {
        font-size: 1.9rem;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .hero-logo {
        width: 140px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-feature-item {
        width: 100%;
        max-width: 280px;
        padding: 14px;
        font-size: 0.85rem;
    }

    /* --- 共通セクション --- */
    .section {
        padding: 40px 0;
    }

    .section-inner {
        max-width: 100%;
        padding: 0 18px;
    }

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

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

    .section-subtitle {
        font-size: 0.85rem;
    }

    .section-label {
        font-size: 11px;
        padding: 3px 12px;
    }

    /* --- 訪問看護とは --- */
    .about-nursing-content {
        flex-direction: column;
        gap: 24px;
    }

    .about-nursing-text p {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.8;
    }

    .about-nursing-text p:first-child {
        font-size: 1.1rem;
    }

    .about-nursing-illusts {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .about-nursing-illust-family {
        width: 140px;
    }

    .about-nursing-family-text {
        width: 110px;
    }

    .about-nursing-illust-house {
        width: 100px;
    }

    .stripe-bar-img {
        max-width: 100%;
    }

    /* --- ご利用の流れ --- */
    .flow-routes {
        grid-template-columns: 1fr;
    }

    .flow-subtitle {
        font-size: 0.9rem;
    }

    .flow-note {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .flow-note-right {
        text-align: center;
    }

    .flow-note-btn-img {
        width: 180px;
    }

    .flow-step-content {
        font-size: 0.82rem;
    }

    /* --- あいくるができること --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        max-width: 100%;
    }

    .feature-card-arch-inner {
        width: 80px;
        height: 80px;
    }

    /* --- サービスのご紹介 --- */
    .services {
        padding-bottom: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 24px 18px;
    }

    .services-row-bottom .services-illusts {
        min-height: 160px;
        padding: 10px 0;
    }

    .services-illust {
        width: 90px;
    }

    .services-illust-row {
        gap: 8px;
    }

    .si-left { transform: translateY(8px); }
    .si-center { transform: translateY(-12px); }
    .si-right { transform: translateY(8px); }

    .services-flower {
        width: 28px;
    }

    .service-details {
        position: relative;
        top: auto;
        margin-top: 12px;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    /* --- PDFダウンロードブロック --- */
    .pdf-download-block {
        margin-top: 30px;
        max-width: 100%;
    }

    /* --- FAQ --- */
    .faq-tabs {
        gap: 6px;
    }

    .faq-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .faq-question {
        padding: 14px 16px;
        gap: 10px;
    }

    .faq-q-badge, .faq-a-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .faq-q-text {
        font-size: 0.82rem;
    }

    .faq-a-text p {
        font-size: 0.82rem;
    }

    .faq-answer-inner {
        padding: 0 16px 14px 16px;
        gap: 10px;
    }

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

    .faq-cta-title {
        font-size: 1rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* --- わたしたちの想い --- */
    .staff-title {
        font-size: 1.5rem;
    }

    .staff-photo {
        width: 100%;
        max-width: 400px;
    }

    .staff-heart {
        width: 36px;
    }

    .staff-heart-l1 { width: 40px; left: -2%; }
    .staff-heart-l2 { width: 34px; left: -5%; }
    .staff-heart-l3 { width: 38px; left: -1%; }
    .staff-heart-r1 { width: 36px; right: -2%; }
    .staff-heart-r2 { width: 42px; right: -5%; }
    .staff-heart-r3 { width: 34px; right: -1%; }

    .staff-message-title {
        font-size: 1.3rem;
    }

    .staff-message {
        max-width: 100%;
        padding: 0 10px;
    }

    .staff-message p {
        font-size: 0.85rem;
    }

    .town-illust-img {
        max-width: 100%;
    }

    /* --- お問い合わせ --- */
    .contact-content {
        gap: 30px;
    }

    .contact-map {
        width: 100%;
    }

    .contact-map-inner {
        height: 200px;
    }

    /* --- フッター --- */
    .footer-content {
        padding: 0 20px;
    }

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

    .footer-logo h3,
    .footer-logo p,
    .footer-info-item {
        white-space: normal;
    }

    .footer-pdf {
        text-align: left;
    }

    .footer-pdf-desc {
        font-size: 0.75rem;
    }

    .footer-pdf-list li a {
        font-size: 0.78rem;
    }

    .footer-links-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-links-row a {
        font-size: 0.75rem;
    }

    .footer-btn-img {
        width: 180px;
    }

    .footer-logo-img {
        width: 100px;
    }
}

@media (max-width: 480px) {

    /* --- ヒーロー --- */
    .hero-container {
        padding: 30px 12px;
    }

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

    .hero-title-highlight {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-logo {
        width: 110px;
    }

    .hero-feature-item {
        max-width: 240px;
        padding: 12px;
        font-size: 0.8rem;
    }

    /* --- 共通 --- */
    .section {
        padding: 30px 0;
    }

    .section-inner {
        padding: 0 14px;
    }

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

    .section-subtitle {
        font-size: 0.8rem;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

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

    /* --- 訪問看護とは --- */
    .about-nursing-text p:first-child {
        font-size: 1rem;
    }

    .about-nursing-text p {
        font-size: 0.8rem;
    }

    .about-nursing-illust-family {
        width: 110px;
    }

    .about-nursing-family-text {
        width: 85px;
        top: -20px;
        left: -8px;
    }

    .about-nursing-illust-house {
        width: 80px;
    }

    /* --- ご利用の流れ --- */
    .flow-route-header h3 {
        font-size: 0.9rem;
    }

    .flow-step-content {
        font-size: 0.78rem;
    }

    /* --- サービス --- */
    .service-card {
        padding: 20px 16px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-description {
        font-size: 0.8rem;
    }

    .services-illust {
        width: 75px;
    }

    /* --- FAQ --- */
    .faq-q-text {
        font-size: 0.78rem;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-tab {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* --- わたしたちの想い --- */
    .staff-title {
        font-size: 1.3rem;
    }

    .staff-message-title {
        font-size: 1.1rem;
    }

    .staff-message p {
        font-size: 0.8rem;
    }

    .staff-heart-l1, .staff-heart-l2, .staff-heart-l3,
    .staff-heart-r1, .staff-heart-r2, .staff-heart-r3 {
        width: 30px !important;
    }

    /* --- お問い合わせ --- */
    .contact-map-inner {
        height: 180px;
    }

    /* --- フッター --- */
    .footer-logo h3 {
        font-size: 0.95rem;
    }

    .footer-logo p {
        font-size: 0.75rem;
    }

    .footer-info-item {
        font-size: 0.8rem;
    }

    .footer-pdf-title {
        font-size: 0.85rem;
    }

    .footer-pdf-desc {
        font-size: 0.7rem;
    }

    .footer-pdf-list li a {
        font-size: 0.72rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================== */
/* 花イラストパーティクル */
/* ======================================== */
.flower-particle {
    position: absolute;
    pointer-events: none;
    top: -60px;
    animation: flowerFall linear infinite;
    filter: brightness(1.1);
}

@keyframes flowerFall {
    0% {
        transform: translateY(-60px) translateX(0) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
    5% {
        opacity: var(--opacity, 0.5);
    }
    50% {
        transform: translateY(50vh) translateX(var(--sway, 30px)) rotate(calc(var(--rotation, 0deg) + 180deg));
    }
    95% {
        opacity: var(--opacity, 0.5);
    }
    100% {
        transform: translateY(100vh) translateX(calc(var(--sway, 30px) * -0.5)) rotate(calc(var(--rotation, 0deg) + 360deg));
        opacity: 0;
    }
}
