/* =========================================
   CSS変数 & 基本設定
   ========================================= */
:root {
  /* Brand Colors - 優しいトーンに調整 */
  --green-700: #2a7a52;
  --green-600: #3a9469;
  --green-500: #4aab7a;
  --green-400: #5ec48f;
  --green-200: #b8e8d0;
  --green-100: #d8f2e6;
  --green-50:  #f0faf5;

  /* Neutral - 温かみのあるグレー */
  --gray-900: #1a1f1c;
  --gray-700: #3d4a42;
  --gray-500: #6b7a70;
  --gray-300: #c4d0c8;
  --gray-200: #e0e9e3;
  --gray-100: #f0f4f1;
  --gray-50:  #f7faf8;
  --white:    #ffffff;

  /* Text */
  --text-primary:   #1a1f1c;
  --text-secondary: #556060;
  --text-tertiary:  #8fa89a;

  /* Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);

  --header-h: 72px;
  --header-top-h: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
}

/* =========================================
   共通ユーティリティ
   ========================================= */
.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
}

.section-head {
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-head.in-view { opacity: 1; transform: none; }

.section { padding: 88px 0; }

/* =========================================
   ボタン
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn .material-symbols-outlined { font-size: 18px; }

.btn--primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58,148,105,0.28);
}
.btn--primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,148,105,0.36);
}

.btn--outline {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-300);
}
.btn--outline:hover {
  background: var(--green-50);
  border-color: var(--green-400);
}

.btn--white {
  background: var(--white);
  color: var(--green-700);
  border: 1.5px solid var(--green-200);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  background: var(--green-50);
  border-color: var(--green-300);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-600);
  text-decoration: none;
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }
.link-arrow .material-symbols-outlined { font-size: 17px; transition: transform var(--transition); }
.link-arrow:hover .material-symbols-outlined { transform: translateX(4px); }

/* =========================================
   ヘッダー — 2段構造（病院サイト風）
   ========================================= */

/* 上段を独立した fixed 要素として最上部に固定 */
.header-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--green-700);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  height: 40px;
  /* transform のみで表示/非表示 → レイアウト変化ゼロ */
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.header-top.is-hidden { transform: translateY(-100%); }

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.header-top-left { display: flex; align-items: center; gap: 20px; }
.header-top-right { display: flex; align-items: center; gap: 12px; }

.header-top-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 0.7rem;
}
.header-top-item .material-symbols-outlined { font-size: 13px; opacity: 0.7; }
@media (max-width: 700px) {
  .header-top-left .header-top-item:last-child { display: none; }
}
@media (max-width: 480px) { .header-top { display: none; } }

.header-top-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-top-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.header-top-link .material-symbols-outlined { font-size: 12px; }

/* 下段：sticky で上段のぶんだけ下に配置 */
.site-header {
  position: sticky;
  top: 40px; /* 上段の高さ分だけ下にずらす */
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 上段が隠れたら sticky の top を 0 に戻す */
.site-header.top-hidden { top: 0; box-shadow: var(--shadow-md); }

/* 下段 — ロゴ・ナビ */
.header-main { background: var(--white); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--transition);
}
.site-header.scrolled { --header-h: 64px; }

/* ロゴ */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.5s ease, background var(--transition);
}
.logo-link:hover .logo-mark { transform: rotate(20deg) scale(1.05); background: var(--green-100); }
.logo-mark--sm { width: 34px; height: 34px; font-size: 18px; }

.logo-text-group { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-700);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ナビ */
.header-nav { display: none; gap: 0; }
@media (min-width: 960px) { .header-nav { display: flex; } }

.nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0 18px;
  height: var(--header-h);
  position: relative;
  transition: color var(--transition);
  overflow: hidden;
}
/* ホバー：下から塗りつぶし */
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-50);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-item:hover { color: var(--green-700); }
.nav-item:hover::before { transform: translateY(0); }
.nav-item:hover::after,
.nav-item.active::after { transform: scaleX(1); }
.nav-item.active { color: var(--green-700); font-weight: 700; }

/* TELボタン */
.tel-btn-header {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-600);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.tel-btn-header::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-700);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.tel-btn-header:hover::before { transform: translateX(0); }
.tel-btn-header:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tel-btn-header .material-symbols-outlined { font-size: 18px; position: relative; z-index: 1; }
.tel-btn-texts { display: flex; flex-direction: column; position: relative; z-index: 1; }
.tel-btn-num { font-size: 0.95rem; font-family: 'Noto Serif JP', serif; letter-spacing: 0.04em; line-height: 1.2; }
.tel-btn-sub { font-size: 0.6rem; opacity: 0.8; font-weight: 400; letter-spacing: 0.04em; }
@media (min-width: 760px) { .tel-btn-header { display: flex; } }

/* ハンバーガー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.is-open { max-height: 400px; padding: 10px 0; }
@media (min-width: 960px) { .mobile-nav { display: none; } }

.mobile-nav-item {
  padding: 14px 28px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.mobile-nav-item:hover { color: var(--green-600); background: var(--green-50); padding-left: 34px; }

.mobile-nav-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  color: var(--green-600);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
}
.mobile-nav-tel .material-symbols-outlined { font-size: 18px; }

/* =========================================
   ヒーロー — フルスクリーン・シネマティック
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 12s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* オーバーレイ：左寄りのグラデーション */
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 40, 24, 0.82) 0%,
    rgba(10, 40, 24, 0.60) 45%,
    rgba(10, 40, 24, 0.20) 75%,
    transparent 100%
  );
}

/* 装飾ライン */
.hero-deco-line {
  position: absolute;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero-deco-line--v {
  top: 0; bottom: 0;
  left: 55%;
  width: 1px;
  animation: fadeIn 1.5s 0.8s both;
}
.hero-deco-line--h {
  left: 0; right: 0;
  bottom: 140px;
  height: 1px;
  animation: fadeIn 1.5s 1s both;
}

/* コンテンツレイアウト */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 100px 0 180px;
}
@media (min-width: 900px) {
  .hero-inner { flex-direction: row; justify-content: space-between; }
}

/* 左：テキスト */
.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.2} }
.hero-eyebrow span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.48;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.35s ease both;
}
.hero-title em {
  color: var(--green-400);
  font-style: normal;
  position: relative;
}

.hero-lead {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.95;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.5s ease both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.65s ease both;
}

/* ヒーローボタン */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-btn .material-symbols-outlined { font-size: 18px; }
.hero-btn-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
  margin-left: 2px;
}
.hero-btn:hover .hero-btn-arrow { transform: translateX(5px); }

.hero-btn--primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(78,171,122,0.45);
}
.hero-btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-600);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.hero-btn--primary:hover::before { transform: translateX(0); }
.hero-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(78,171,122,0.5); }
.hero-btn--primary > * { position: relative; z-index: 1; }

.hero-btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.hero-btn--ghost::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.hero-btn--ghost:hover::before { transform: translateX(0); }
.hero-btn--ghost:hover { border-color: rgba(255,255,255,0.8); transform: translateY(-2px); }
.hero-btn--ghost > * { position: relative; z-index: 1; }

/* 右：スタット縦並び */
.hero-aside {
  display: none;
  animation: fadeUp 0.8s 0.5s ease both;
}
@media (min-width: 900px) { .hero-aside { display: flex; align-items: center; } }

.hero-stats-v {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 10px 0;
  backdrop-filter: blur(10px);
  min-width: 160px;
}
.hero-stat-v {
  padding: 18px 28px;
  text-align: center;
  transition: background var(--transition);
}
.hero-stat-v:hover { background: rgba(255,255,255,0.08); }
.hero-stat-v-num {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-v-label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.hero-stat-v-sep {
  height: 1px;
  margin: 0 20px;
  background: rgba(255,255,255,0.12);
}

/* 下部：クイックリンクバー */
.hero-quicklinks {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  animation: fadeUp 0.8s 0.8s ease both;
}
.hero-quicklinks-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 3px solid var(--green-500);
}
@media (max-width: 760px) {
  .hero-quicklinks-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-quicklinks-inner { grid-template-columns: 1fr 1fr; }
}

.hero-quicklink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text-primary);
  border-right: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: color var(--transition);
}
.hero-quicklink:last-child { border-right: none; }

/* ホバー：左から緑が流れる */
.hero-quicklink::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-50);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.hero-quicklink:hover::before { transform: translateX(0); }
.hero-quicklink:hover { color: var(--green-700); }
.hero-quicklink > * { position: relative; z-index: 1; }

.hero-quicklink .material-symbols-outlined:first-child {
  font-size: 24px;
  color: var(--green-500);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.hero-quicklink:hover .material-symbols-outlined:first-child { transform: scale(1.15); }

.hero-quicklink div {
  flex: 1;
  min-width: 0;
}
.hero-quicklink strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-quicklink span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-quicklink-arrow {
  font-size: 16px;
  color: var(--green-400);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.hero-quicklink:hover .hero-quicklink-arrow { transform: translateX(4px); }

.hero-quicklink--tel .material-symbols-outlined:first-child { color: var(--green-600); }

/* スクロールヒント */
.hero-scroll-hint {
  position: absolute;
  bottom: 160px; right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: fadeIn 1s 1.2s both;
  z-index: 2;
}
@media (max-width: 760px) { .hero-scroll-hint { display: none; } }

.hero-scroll-line {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%,100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: bottom; }
}
.hero-scroll-text {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  writing-mode: vertical-rl;
}

/* =========================================
   フィーチャーカード — ホバー強化版
   ========================================= */
.features { background: var(--white); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 42px;
}

.feat-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s calc(var(--card-delay, 0ms)) ease,
    transform 0.55s calc(var(--card-delay, 0ms)) ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.feat-card.in-view { opacity: 1; transform: none; }
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
  transform: translateY(-6px);
}

/* 背景：左下から緑が広がる */
.feat-card::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 160px; height: 160px;
  background: var(--green-50);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.feat-card:hover::before { transform: scale(4); }

.feat-card > * { position: relative; z-index: 1; }

.feat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feat-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-100);
  line-height: 1;
  user-select: none;
  transition: color var(--transition);
}
.feat-card:hover .feat-number { color: var(--green-200); }

.feat-icon-wrap {
  width: 52px; height: 52px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.feat-icon-wrap .material-symbols-outlined { font-size: 26px; }
.feat-card:hover .feat-icon-wrap {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
  transform: rotate(-5deg) scale(1.1);
}

.feat-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.feat-card:hover .feat-title { color: var(--green-700); }

.feat-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* 下線：左から右へ */
.feat-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.feat-card:hover .feat-line { transform: scaleX(1); }

.feat-cta { text-align: center; }

/* =========================================
   アバウトバンド — 淡い緑背景
   ========================================= */
.about-band {
  background: var(--green-50);
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.about-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(94,196,143,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.about-band-inner.in-view { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .about-band-inner { grid-template-columns: 1fr auto; }
}

.about-band-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 18px;
}
.about-band-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 30px;
  max-width: 540px;
}

.about-band-visual { display: none; align-items: center; justify-content: center; }
@media (min-width: 900px) { .about-band-visual { display: flex; } }

.about-band-circle {
  width: 190px; height: 190px;
  border: 1.5px solid var(--green-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: rotateRing 22s linear infinite;
}
.about-band-circle::before {
  content: '';
  position: absolute;
  width: 230px; height: 230px;
  border: 1px dashed var(--green-100);
  border-radius: 50%;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.about-band-icon { font-size: 60px; animation: rotateRing 22s linear infinite reverse; }

/* =========================================
   アクセス・営業時間
   ========================================= */
.access { background: var(--gray-50); }

.access-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .access-layout { grid-template-columns: 1fr 1fr; }
}

.access-hours,
.access-map {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.access-hours.in-view, .access-map.in-view { opacity: 1; transform: none; }
.access-map { transition-delay: 100ms; }

.access-sub-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.hours-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.hours-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hours-table thead th {
  background: var(--green-600);
  color: var(--white);
  padding: 12px 5px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}
.hours-th-time { text-align: left; padding-left: 14px !important; width: 108px; }
.hours-table tbody tr { background: var(--white); }
.hours-table tbody tr:nth-child(even) { background: var(--gray-50); }
.hours-time {
  padding: 13px 5px 13px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-700);
}
.hours-table td {
  text-align: center;
  padding: 13px 4px;
  border-bottom: 1px solid var(--gray-100);
}
.hours-table tbody tr:last-child td { border-bottom: none; }

.dot {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
}
.dot--open { background: var(--green-50); border: 2px solid var(--green-400); }
.dot--open::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}
.dot--closed { background: var(--gray-100); border: 2px solid var(--gray-200); }
.dot--sm { width: 14px; height: 14px; }
.dot--sm.dot--open::after { width: 5px; height: 5px; }

.hours-note { display: flex; gap: 20px; margin: 12px 0 14px; padding: 0 4px; }
.hours-note-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.77rem;
  color: var(--text-secondary);
}

.hours-remarks { display: flex; flex-direction: column; gap: 6px; }
.hours-remarks p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  color: var(--text-secondary);
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--green-300);
}
.hours-remarks .material-symbols-outlined { font-size: 14px; color: var(--green-500); flex-shrink: 0; }

.map-frame {
  width: 100%; height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; }

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}
.address-icon {
  width: 40px; height: 40px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}
.address-icon .material-symbols-outlined { font-size: 22px; }
.address-text { display: flex; flex-direction: column; gap: 4px; }
.address-text strong { font-weight: 700; font-size: 0.94rem; color: var(--text-primary); }
.address-text span  { font-size: 0.85rem; color: var(--text-secondary); }
.address-tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 4px;
  transition: color var(--transition);
}
.address-tel:hover { color: var(--green-700); }
.address-tel .material-symbols-outlined { font-size: 16px; }

/* =========================================
   CTAセクション
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 60px; }
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-desc { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.9; max-width: 500px; }
.cta-contact { flex-shrink: 0; }

.cta-tel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-xl);
  padding: 22px 28px;
  text-decoration: none;
  transition: all var(--transition);
}
.cta-tel-link:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.cta-tel-link > .material-symbols-outlined { font-size: 30px; color: rgba(255,255,255,0.85); }
.cta-tel-link > div { display: flex; flex-direction: column; gap: 4px; }
.cta-tel-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.cta-tel-hours { font-size: 0.7rem; color: rgba(255,255,255,0.55); }

/* =========================================
   フッター
   ========================================= */
.footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 52px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 760px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand .logo-link { margin-bottom: 10px; }
.footer-address { font-size: 0.8rem; color: var(--text-tertiary); padding-left: 2px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) { .footer-nav { text-align: right; } }
.footer-nav a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--green-600); }

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (min-width: 760px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p { font-size: 0.77rem; color: var(--text-tertiary); }
.footer-copy-en { font-size: 0.67rem !important; }

/* =========================================
   ページ共通ヒーロー（group / home-care）
   ========================================= */
.page-hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--green-50) 70%, var(--green-100) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--green-100);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-circle { position: absolute; border-radius: 50%; }
.page-hero-circle--1 {
  width: 480px; height: 480px;
  top: -180px; right: -100px;
  background: radial-gradient(circle, rgba(94,196,143,0.09) 0%, transparent 70%);
}
.page-hero-circle--2 {
  width: 240px; height: 240px;
  bottom: -70px; left: -60px;
  background: radial-gradient(circle, rgba(94,196,143,0.07) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.42;
  margin: 10px 0 16px;
  animation: fadeUp 0.7s ease both;
}
.page-hero-lead {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 540px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.page-hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--green-50));
  pointer-events: none;
}

/* =========================================
   店舗カード（group.html）
   ========================================= */
.stores-section { background: var(--gray-50); }
.stores-section .container { display: flex; flex-direction: column; gap: 28px; }

.store-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s calc(var(--card-delay, 0ms)) ease,
    transform 0.55s calc(var(--card-delay, 0ms)) ease,
    box-shadow var(--transition);
}
.store-card.in-view { opacity: 1; transform: none; }
.store-card:hover { box-shadow: var(--shadow-lg); }
@media (min-width: 800px) { .store-card { flex-direction: row; min-height: 300px; } }

.store-card-img {
  width: 100%; min-height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
@media (min-width: 800px) { .store-card-img { width: 320px; min-height: auto; } }
.store-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.20) 100%);
}

.store-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.store-badge .material-symbols-outlined { font-size: 13px; }
.store-badge--flagship { background: rgba(255,255,255,0.90); color: var(--green-700); }
.store-badge--blue     { background: rgba(58,134,255,0.82); color: #fff; }
.store-badge--orange   { background: rgba(220,90,20,0.82); color: #fff; }

.store-card-body { padding: 26px 28px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.store-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.store-number {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-500);
  margin-bottom: 4px;
}
.store-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.42;
}
.store-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  padding: 7px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
}
.store-tel-btn:hover { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.store-tel-btn .material-symbols-outlined { font-size: 15px; }

.store-info-rows { display: flex; flex-direction: column; gap: 8px; }
.store-info-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65;
}
.store-info-row .material-symbols-outlined { font-size: 17px; color: var(--green-500); flex-shrink: 0; margin-top: 1px; }
.store-info-row a { color: var(--green-600); text-decoration: none; font-weight: 700; transition: color var(--transition); }
.store-info-row a:hover { color: var(--green-700); }

.store-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.73rem; font-weight: 700; }
.tag--green { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.tag--gray  { background: var(--gray-100); color: var(--text-secondary); border: 1px solid var(--gray-200); }

.store-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); height: 190px; }
.store-map iframe { display: block; }

.sp-only { display: inline; }
@media (min-width: 800px) { .sp-only { display: none; } }

/* =========================================
   在宅ページ（home-care.html）
   ========================================= */
.hc-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hc-split.in-view { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .hc-split { grid-template-columns: 1fr 1fr; }
  .hc-split--reverse .hc-split-text   { order: 2; }
  .hc-split--reverse .hc-split-visual { order: 1; }
}
.hc-split .section-title { margin-top: 6px; margin-bottom: 18px; }

.hc-body { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.92; margin-bottom: 14px; }

.hc-points { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.hc-point { display: flex; align-items: flex-start; gap: 14px; }
.hc-point-icon {
  width: 42px; height: 42px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600); flex-shrink: 0;
}
.hc-point-icon .material-symbols-outlined { font-size: 21px; }
.hc-point strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.hc-point p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; }

.hc-split-visual { display: flex; align-items: center; justify-content: center; }
.hc-visual-box {
  width: 100%; max-width: 340px; aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; position: relative; overflow: hidden;
  border: 1px solid var(--green-100);
}
.hc-visual-box--green { background: linear-gradient(135deg, var(--green-100) 0%, var(--green-50) 100%); }
.hc-visual-box--blue  { background: linear-gradient(135deg, #dbeafe 0%, #f0f6ff 100%); border-color: #bfdbfe; }
.hc-visual-icon { font-size: 64px; color: var(--green-500); }
.hc-visual-box--blue .hc-visual-icon { color: #3b82f6; }
.hc-visual-label { font-family: 'Noto Serif JP', serif; font-size: 0.95rem; font-weight: 700; color: var(--green-700); letter-spacing: 0.08em; }
.hc-visual-box--blue .hc-visual-label { color: #1d4ed8; }

.hc-target-section { background: var(--white); }
.hc-target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .hc-target-grid { grid-template-columns: repeat(4, 1fr); } }

.hc-target-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 26px 14px; text-align: center;
  opacity: 0; transform: translateY(18px);
  transition:
    opacity 0.5s calc(var(--card-delay, 0ms)) ease,
    transform 0.5s calc(var(--card-delay, 0ms)) ease,
    box-shadow var(--transition), background var(--transition);
}
.hc-target-card.in-view { opacity: 1; transform: none; }
.hc-target-card:hover { box-shadow: var(--shadow-md); background: var(--white); }
.hc-target-icon {
  width: 52px; height: 52px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green-600); margin: 0 auto 12px;
}
.hc-target-icon .material-symbols-outlined { font-size: 26px; }
.hc-target-card p { font-size: 0.84rem; font-weight: 700; color: var(--text-primary); line-height: 1.55; }

.hc-steps-section { background: var(--gray-50); }
.hc-steps { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (min-width: 800px) { .hc-steps { flex-direction: row; align-items: stretch; gap: 0; } }

.hc-step {
  flex: 1; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden;
  opacity: 0; transform: translateY(18px);
  transition:
    opacity 0.5s calc(var(--card-delay, 0ms)) ease,
    transform 0.5s calc(var(--card-delay, 0ms)) ease;
}
.hc-step.in-view { opacity: 1; transform: none; }
.hc-step-num {
  background: var(--green-50); color: var(--green-600);
  border-bottom: 1px solid var(--green-100);
  font-family: 'Noto Serif JP', serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; padding: 10px 20px;
}
.hc-step-body { padding: 22px 22px 26px; }
.hc-step-icon-wrap {
  width: 46px; height: 46px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--green-600); margin-bottom: 14px;
}
.hc-step-icon-wrap .material-symbols-outlined { font-size: 23px; }
.hc-step-title { font-family: 'Noto Serif JP', serif; font-size: 1.02rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.hc-step-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.82; }

.hc-step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 8px; color: var(--green-300);
  opacity: 0; transition: opacity 0.5s calc(var(--card-delay, 0ms)) ease;
  transform: rotate(90deg);
}
@media (min-width: 800px) { .hc-step-arrow { transform: rotate(0deg); padding: 0 4px; } }
.hc-step-arrow.in-view { opacity: 1; }
.hc-step-arrow .material-symbols-outlined { font-size: 26px; }

.hc-sterile-features { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hc-sterile-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; font-weight: 700; color: var(--text-primary);
  padding: 11px 16px;
  background: var(--gray-50); border-radius: var(--radius-md); border: 1px solid var(--gray-200);
}
.hc-sterile-item .material-symbols-outlined { font-size: 19px; color: var(--green-600); flex-shrink: 0; }

/* =========================================
   汎用フェードアップ & レスポンシブ補正
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s calc(var(--card-delay, 0ms)) ease,
    transform 0.55s calc(var(--card-delay, 0ms)) ease;
}
.fade-up.in-view { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .section { padding: 64px 0; }

  /* ヒーロー：スマホはクイックリンク分の余白を確保 */
  .hero { min-height: auto; }
  .hero-inner { padding-top: 72px; padding-bottom: 240px; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 1.55rem; line-height: 1.5; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-lead { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-btns { gap: 10px; }
  .hero-btn { padding: 11px 18px; font-size: 0.85rem; }

  /* クイックリンク：スマホは2列・コンパクト */
  .hero-quicklinks-inner { grid-template-columns: 1fr 1fr; }
  .hero-quicklink { padding: 12px 10px; gap: 7px; }
  .hero-quicklink .material-symbols-outlined:first-child { font-size: 20px; }
  .hero-quicklink strong { font-size: 0.72rem; }
  .hero-quicklink span { font-size: 0.62rem; }
  .hero-quicklink-arrow { display: none; } /* 矢印は非表示 */
  /* 2列のとき右ボーダーをリセット */
  .hero-quicklink:nth-child(2) { border-right: none; }
  .hero-quicklink:nth-child(3) { border-top: 1px solid var(--gray-200); }
  .hero-quicklink:nth-child(4) { border-top: 1px solid var(--gray-200); border-right: none; }

  .hero-stats { padding: 14px 16px; }
  .hero-stat-num { font-size: 1.1rem; }
  .hours-th-time { width: 88px; font-size: 0.7rem; }
  .hours-time { font-size: 0.68rem; padding-left: 10px; }
  .cta-tel-num { font-size: 1.3rem; }
  .page-hero { padding: 72px 0 60px; }
  .page-hero-title { font-size: 1.8rem; }
}

/* =========================================
   医療DXセクション
   ========================================= */
.dx-section { background: var(--gray-50); }

.section-lead {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-top: 14px;
  max-width: 640px;
}
.section-head .section-lead { margin-bottom: 0; }

.dx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.dx-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition);
}
.dx-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dx-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dx-card-icon .material-symbols-outlined { font-size: 24px; }
.dx-card-icon--blue   { background: #eff6ff; color: #3b82f6; }
.dx-card-icon--green  { background: var(--green-50); color: var(--green-600); }
.dx-card-icon--purple { background: #f5f3ff; color: #7c3aed; }
.dx-card-icon--orange { background: #fff7ed; color: #ea580c; }
.dx-card-icon--teal   { background: #f0fdfa; color: #0d9488; }
.dx-card-icon--red    { background: #fef2f2; color: #dc2626; }

.dx-card-body { flex: 1; }
.dx-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.dx-card-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.dx-card-body p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* DX告知ボックス（掲載義務） */
.dx-notice {
  background: var(--white);
  border: 1.5px solid var(--green-200);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.dx-notice-icon {
  width: 36px; height: 36px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}
.dx-notice-icon .material-symbols-outlined { font-size: 20px; }
.dx-notice-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.dx-notice-body p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* =========================================
   かかりつけ薬剤師セクション
   ========================================= */
.kakari-section { background: var(--white); }

.kakari-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .kakari-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.kakari-lead {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 16px 0 24px;
  padding: 16px 18px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--green-400);
}

.kakari-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.kakari-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}
.kakari-list .material-symbols-outlined { font-size: 18px; color: var(--green-500); flex-shrink: 0; }

.kakari-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.kakari-note .material-symbols-outlined { font-size: 16px; color: var(--text-tertiary); flex-shrink: 0; margin-top: 2px; }
.kakari-note p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.75; }

.kakari-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kakari-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--transition), background var(--transition);
}
.kakari-card:hover { background: var(--white); box-shadow: var(--shadow-md); }

.kakari-card-icon {
  width: 44px; height: 44px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}
.kakari-card-icon .material-symbols-outlined { font-size: 22px; }

.kakari-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.5;
}
.kakari-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.7; }

/* =========================================
   在宅加算告知バナー（home-care.html）
   ========================================= */
.hc-kasan-banner {
  background: linear-gradient(90deg, var(--green-50) 0%, var(--white) 100%);
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  padding: 14px 0;
}
.hc-kasan-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hc-kasan-inner .material-symbols-outlined {
  font-size: 22px;
  color: var(--green-600);
  flex-shrink: 0;
}
.hc-kasan-inner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.hc-kasan-inner strong { color: var(--green-700); font-weight: 700; }

/* 在宅加算カードグリッド */
.hc-kasan-section { background: var(--gray-50); }

.kasan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.kasan-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 22px 22px 20px;
  border-left: 4px solid var(--green-300);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.kasan-card:hover { box-shadow: var(--shadow-md); border-left-color: var(--green-500); }

.kasan-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.kasan-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* =========================================
   新着ニュースセクション
   ========================================= */
.news-section {
  background: var(--gray-50);
  overflow: hidden;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .news-layout { grid-template-columns: 240px 1fr; gap: 64px; }
}

/* 左：見出し */
.news-heading { position: relative; }
.news-heading-lead {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-top: 16px;
}
.news-clover-deco {
  font-size: 7rem;
  color: var(--green-100);
  line-height: 1;
  margin-top: 24px;
  user-select: none;
  display: none;
}
@media (min-width: 900px) { .news-clover-deco { display: block; } }

/* 右：カード一覧 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* カード */
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s calc(var(--card-delay, 0ms)) ease,
    transform 0.5s calc(var(--card-delay, 0ms)) ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.news-card.in-view { opacity: 1; transform: none; }

/* 非表示カード（もっと見る） */
.news-card--hidden {
  display: none;
}
.news-card--visible {
  display: flex;
}

/* ホバー：左から薄緑スライド */
.news-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-50);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover::before { transform: translateX(0); }
.news-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}
.news-card > * { position: relative; z-index: 1; }

.news-card-inner { flex: 1; min-width: 0; }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  white-space: nowrap;
  font-family: 'Noto Serif JP', serif;
}

/* バッジ */
.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.news-badge .material-symbols-outlined { font-size: 12px; }

.news-badge--gray   { background: var(--gray-100);  color: var(--gray-700);   border-color: var(--gray-200); }
.news-badge--green  { background: var(--green-50);  color: var(--green-700);  border-color: var(--green-100); }
.news-badge--orange { background: #fff7ed;           color: #c2410c;           border-color: #fed7aa; }
.news-badge--pink   { background: #fdf2f8;           color: #9d174d;           border-color: #fbcfe8; }

.news-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 6px;
  transition: color var(--transition);
  /* 2行で切る */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-title { color: var(--green-700); }

.news-body {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.75;
  /* 2行で切る */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 右矢印 */
.news-card-arrow {
  font-size: 20px;
  color: var(--green-300);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}
.news-card:hover .news-card-arrow {
  transform: translateX(5px);
  color: var(--green-600);
}

/* もっと見るボタン */
.news-more {
  text-align: center;
  margin-top: 32px;
}
.news-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--green-200);
  color: var(--green-700);
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.news-more-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-50);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.news-more-btn:hover::before { transform: translateY(0); }
.news-more-btn:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.news-more-btn > * { position: relative; z-index: 1; }
.news-more-btn .material-symbols-outlined { font-size: 18px; transition: transform 0.3s ease; }
.news-more-btn:hover .material-symbols-outlined { transform: translateY(3px); }
