*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---------- パレット ---------- */
  --cream-50:    #FEFAF1;
  --cream-100:   #FBF3E0;
  --cream-200:   #F4E8CD;
  --cream-300:   #E9D9B5;

  --butter:      #F5CE6E;
  --butter-soft: #FBE3A3;
  --butter-deep: #E5AE3B;
  --ochre:       #B98624;

  --leaf-50:     #EDF1E0;
  --leaf-100:    #D6DEC0;
  --leaf:        #9DAE7B;
  --leaf-deep:   #6B8253;
  --leaf-shade:  #4D6238;

  --brown:       #2E2516;
  --brown-mid:   #4A3D26;
  --brown-soft:  #8A7A60;
  --brown-pale:  #CFC1A8;

  --coral:       #E89A78;
  --coral-soft:  #F5C7AE;
  --rest-red:    #D34D3E;

  --line:        #E5DBC8;
  --line-soft:   #F0E8D8;

  --white:       #FFFFFF;
  --shadow:      0 2px 24px rgba(74,61,42,0.06);
  --shadow-deep: 0 8px 40px rgba(74,61,42,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--cream-50);
  color: var(--brown);
  font-weight: 400;
  font-size: 17px;
  line-height: 2.05;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 84px;
  background: rgba(254,250,241,0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; gap: 1px; line-height: 1; }

.nav-logo-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brown);
}

.nav-logo-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brown-mid);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--butter-deep);
  border-radius: 2px;
  transition: width 0.35s ease, left 0.35s ease;
}

.nav-links a:hover { color: var(--leaf-deep); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-tel:hover { color: var(--leaf-deep); }
.nav-tel svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-reserve {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--leaf-deep);
  color: var(--cream-50);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(107,130,83,0.25);
}

.nav-reserve:hover {
  background: var(--leaf-shade);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(107,130,83,0.35);
}

.nav-reserve svg { width: 14px; height: 14px; }

/* ============================================
   MV (Main Visual)
   ============================================ */
.mv {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  overflow: hidden;
  background: var(--cream-50);
}

/* 写真側（右） */
.mv-photo {
  background-image: url('images/mv2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}

.mv-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,240,200,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 80%, rgba(107,130,83,0.06) 0%, transparent 45%);
  pointer-events: none;
}

/* subtle noise */
.mv-photo::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.mv-photo-label {
  position: absolute;
  bottom: 36px; right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(254,250,241,0.92);
  backdrop-filter: blur(8px);
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(74,61,42,0.18);
  z-index: 3;
}

.mv-photo-label-icon {
  width: 26px; height: 26px;
  background: var(--butter);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown);
  flex-shrink: 0;
}

.mv-photo-label-text {
  font-size: 14px;
  color: var(--brown);
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.mv-photo-label-text strong {
  font-weight: 500;
  color: var(--leaf-deep);
}

/* 左の曲線シェイプ + コンテンツ */
.mv-shape {
  position: absolute;
  top: 84px;
  left: 0;
  width: 56%;
  height: calc(100% - 84px);
  pointer-events: none;
  z-index: 1;
}

.mv-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mv-content {
  position: relative;
  z-index: 5;
  width: 56%;
  min-height: calc(100vh - 84px);
  padding: 56px 56px 56px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ロゴ大 - イラストと文字の間隔を詰める */
.mv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.mv-brand-mark { width: 76px; height: 76px; flex-shrink: 0; }

.mv-brand-text { display: flex; flex-direction: column; gap: 4px; }

.mv-brand-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brown);
  line-height: 1.15;
}

.mv-brand-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-top: 4px;
}

/* 診療科目バッジ */
.mv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--brown-mid);
  letter-spacing: 0.1em;
}

.mv-tags span {
  padding: 0 14px;
  border-right: 1px solid var(--brown-pale);
}
.mv-tags span:first-child { padding-left: 0; }
.mv-tags span:last-child { border-right: none; }

/* 大見出し */
.mv-headline {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin-bottom: 24px;
}

.mv-headline em {
  font-style: normal;
  color: var(--leaf-deep);
  position: relative;
}

.mv-sub {
  font-size: 17px;
  color: var(--brown-mid);
  line-height: 2.15;
  margin-bottom: 44px;
  max-width: 580px;
}

/* 6つのクイックリンクカード */
.mv-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  max-width: 540px;
}

.quick-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px 14px 14px;
  text-align: center;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--butter);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--butter);
  box-shadow: 0 10px 26px rgba(229,174,59,0.16);
}

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

.quick-card-icon {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
}

.quick-card-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.06em;
}

.quick-card-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brown-mid);
  text-transform: uppercase;
  margin-top: 3px;
  display: none
}

/* CTA */
.mv-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 540px;
}

.btn-primary, .btn-tel {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: all 0.35s ease;
}

.btn-primary {
  background: var(--leaf-deep);
  color: var(--cream-50);
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(107,130,83,0.28);
}

.btn-primary:hover {
  background: var(--leaf-shade);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(107,130,83,0.4);
}

.btn-primary svg { width: 16px; height: 16px; }

.btn-tel {
  background: var(--brown);
  color: var(--cream-50);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-tel:hover {
  background: #2f261a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(74,61,42,0.3);
}

.btn-tel svg { width: 16px; height: 16px; }

/* 診療時間ミニテーブル - 囲いを控えめに（PDF指摘「囲いが多すぎる」）*/
.mv-hours {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 18px 4px 6px;
  max-width: 540px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.mv-hours-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--leaf-deep);
  letter-spacing: 0.18em;
  line-height: 1.4;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.mv-hours-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.mv-hours-mini th, .mv-hours-mini td {
  padding: 4px 6px;
  text-align: center;
  color: var(--brown-mid);
  font-weight: 400;
}

.mv-hours-mini th {
  color: var(--brown);
  font-weight: 500;
  font-size: 14px;
}

.mv-hours-mini th.sat { color: #6B8AAE; }
.mv-hours-mini th.sun { color: var(--coral); }

.mv-hours-mini .ok { color: var(--leaf-deep); font-size: 17px; }
.mv-hours-mini .ng { color: var(--rest-red); font-weight: 600; }

/* 散らした菜の花 */
.mv-flower {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.mv-flower svg { width: 100%; height: 100%; display: block; }

/* 個別配置 */
.nf-1  { top: 5%;   left: 3%;   width: 60px; transform: rotate(-12deg); opacity: 0.8; }
.nf-2  { top: 12%;  left: 28%;  width: 38px; transform: rotate(20deg);  opacity: 0.65; }
.nf-3  { top: 38%;  left: 2%;   width: 46px; transform: rotate(15deg);  opacity: 0.55; }
.nf-4  { bottom: 8%; left: 8%;  width: 52px; transform: rotate(-25deg); opacity: 0.7; }
.nf-5  { bottom: 22%; left: 35%; width: 34px; transform: rotate(40deg); opacity: 0.5; }
.nf-6  { top: 8%;  right: 38%; width: 44px; transform: rotate(-8deg);  opacity: 0.65; z-index: 4; }
.nf-7  { top: 28%; right: 5%;  width: 56px; transform: rotate(28deg);  opacity: 0.5;  z-index: 4; }
.nf-8  { bottom: 30%; right: 25%; width: 40px; transform: rotate(-18deg); opacity: 0.45; z-index: 4; }
.nf-9  { bottom: 12%; right: 12%; width: 64px; transform: rotate(8deg); opacity: 0.45; z-index: 4; }
.nf-10 { top: 60%; left: 24%; width: 30px; transform: rotate(60deg); opacity: 0.55; }
.nf-11 { top: 22%; left: 14%; width: 28px; transform: rotate(-40deg); opacity: 0.5; }
.nf-12 { bottom: 45%; right: 4%; width: 36px; transform: rotate(-22deg); opacity: 0.4; z-index: 4; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(calc(var(--rot, 0deg) + 3deg)); }
}

.mv-flower {
  animation: float-soft 7s ease-in-out infinite;
}

.nf-1 { --rot: -12deg; animation-delay: 0s; }
.nf-2 { --rot: 20deg; animation-delay: 1.2s; }
.nf-3 { --rot: 15deg; animation-delay: 2.4s; }
.nf-4 { --rot: -25deg; animation-delay: 0.6s; }
.nf-5 { --rot: 40deg; animation-delay: 1.8s; }
.nf-6 { --rot: -8deg; animation-delay: 3s; }
.nf-7 { --rot: 28deg; animation-delay: 0.3s; }
.nf-8 { --rot: -18deg; animation-delay: 2.1s; }
.nf-9 { --rot: 8deg; animation-delay: 1.5s; }
.nf-10 { --rot: 60deg; animation-delay: 2.7s; }
.nf-11 { --rot: -40deg; animation-delay: 4s; }
.nf-12 { --rot: -22deg; animation-delay: 3.3s; }

/* ============================================
   共通：セクション
   ============================================ */
section { padding: 120px 0; position: relative; }

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

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.section-head-en::before,
.section-head-en::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--leaf);
}

.section-head-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brown);
  line-height: 1.4;
}

.section-head-jp .accent {
  position: relative;
  display: inline-block;
}

.section-deco-flower {
  width: 36px;
  height: 36px;
  margin: 0 auto 20px;
  opacity: 0.85;
}

/* ============================================
   NEWS & NOTICE
   ============================================ */
.news-notice {
  background: var(--cream-100);
  padding: 110px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}

.news-block, .notice-block {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: var(--shadow);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}

.block-title-icon {
  width: 36px; height: 36px;
  background: var(--butter-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.block-title-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brown);
}

.block-title-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-left: auto;
}

.news-list { display: flex; flex-direction: column; }

.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px 16px;
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  transition: padding 0.3s, background 0.3s;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

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

.news-item:hover {
  background: var(--cream-100);
  padding-left: 12px;
  padding-right: 12px;
}

.news-date {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-tag {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 50px;
  white-space: nowrap;
  width: 80px;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
}

.tag-info { background: var(--butter-soft); color: var(--ochre); }
.tag-news { background: var(--leaf-50); color: var(--leaf-deep); }
.tag-imp  { background: var(--coral-soft); color: #B5613A; }

.news-text {
  font-size: 16px;
  color: var(--brown-mid);
  line-height: 1.85;
}


/* ---------- PocketCMS embed (np-*) のスタイルをサイトのトーンに統一 ---------- */
/* embed.js のCSSは .np-card など単一クラスで書かれているため、
   こちらは #news-list .np-* (ID+クラス) で詳細度勝ちさせる */

#news-list .np-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

#news-list .np-item {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
}
#news-list .np-item:last-child {
  border-bottom: none;
}

/* embed.js が当てている padding/flex/gap を上書き */
#news-list .np-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 8px;
  padding: 20px 4px;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "date    cat"
    "title   title"
    "more    more";
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  transition: padding 0.3s, background 0.3s;
  position: relative;
  cursor: pointer;
}

/* TOPでは詳細テキスト不要 */
#news-list .np-summary { display: none; }
#news-list .np-item:hover .np-card {
  background: var(--cream-100);
  padding-left: 12px;
  padding-right: 12px;
}

/* li 全体をクリック可能に：np-more のクリック領域を card 全体に拡張 */
#news-list .np-more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
#news-list .np-card > *:not(.np-more) {
  position: relative;
  z-index: 0;
}

/* .np-meta は中の date / category を直接 grid に配置するため透明化 */
#news-list .np-meta {
  display: contents;
}

#news-list .np-date {
  grid-area: date;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0;
}

#news-list .np-category {
  grid-area: cat;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  background: var(--butter-soft);
  color: var(--ochre);
  border: none;
  margin: 0;
  justify-self: start;
}
#news-list .np-category[data-category="新着"],
#news-list .np-category[data-tag="新着"] {
  background: var(--leaf-50);
  color: var(--leaf-deep);
}
#news-list .np-category[data-category="重要"],
#news-list .np-category[data-tag="重要"] {
  background: var(--coral-soft);
  color: #B5613A;
}

/* .np-card .np-title (クラス2個) に勝つため、こちらも詳細度を確保 */
#news-list .np-card .np-title {
  grid-area: title;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin: 0;
  padding: 0;
}

#news-list .np-summary {
  grid-area: summary;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  color: var(--brown-soft);
  line-height: 1.85;
  font-weight: 400;
  word-break: break-word;
  margin: 0;
  padding: 0;
}

#news-list .np-more {
  grid-area: more;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ochre);
  text-decoration: none;
  padding: 2px 0;
  margin: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
#news-list .np-more:hover {
  color: var(--butter-deep);
  border-bottom-color: var(--butter-deep);
  text-decoration: none;
}

#news-list .np-empty,
#news-list .np-loading {
  padding: 24px 0;
  color: var(--brown-soft);
  font-size: 14.5px;
  text-align: center;
}


/* お知らせボックス */
.notice-list { display: flex; flex-direction: column; gap: 16px; }

.notice-card {
  background: var(--cream-100);
  border-radius: 16px;
  padding: 22px 24px;
  border-left: 4px solid var(--butter-deep);
  transition: transform 0.3s, box-shadow 0.3s;
}

.notice-card:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 18px rgba(229,174,59,0.18);
}

.notice-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.notice-card-icon {
  width: 22px; height: 22px;
  color: var(--butter-deep);
  flex-shrink: 0;
}

.notice-card-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.06em;
}

.notice-card-text {
  font-size: 16px;
  color: var(--brown-mid);
  line-height: 1.95;
}

/* ============================================
   HOURS
   ============================================ */
.hours-section {
  background: var(--cream-50);
}

.hours-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.hours-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 17px;
}

.hours-table th, .hours-table td {
  padding: 14px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hours-table thead th {
  background: var(--cream-100);
  color: var(--brown);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--cream-300);
}

.hours-table thead th:first-child { border-top-left-radius: 12px; }
.hours-table thead th:last-child { border-top-right-radius: 12px; }

.hours-table thead th.sat { color: #6B8AAE; }
.hours-table thead th.sun { color: var(--coral); }
.hours-table thead th.hol { color: var(--coral); }

.hours-table .time-cell {
  background: var(--cream-50);
  text-align: left;
  padding-left: 18px;
  font-size: 15px;
  color: var(--brown);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hours-table .ok { color: var(--leaf-deep); font-size: 20px; font-weight: 500; }
.hours-table .ng { color: var(--rest-red); font-size: 16px; letter-spacing: 0.05em; font-weight: 600; }

.hours-table tbody tr:last-child td { border-bottom: none; }

.hours-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--butter-soft);
  border-radius: 12px;
  font-size: 15px;
  color: var(--brown);
  line-height: 1.95;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hours-note-icon {
  width: 18px; height: 18px;
  color: var(--butter-deep);
  flex-shrink: 0;
  margin-top: 3px;
}

/* 連絡カード */
.contact-card {
  background: linear-gradient(160deg, var(--leaf-deep) 0%, var(--leaf-shade) 100%);
  color: var(--cream-50);
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card::before, .contact-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(254,250,241,0.15);
}

.contact-card::before {
  width: 240px; height: 240px;
  top: -90px; right: -90px;
}

.contact-card::after {
  width: 140px; height: 140px;
  top: -50px; right: -50px;
  border-color: rgba(254,250,241,0.25);
}

.contact-card-label {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 14px;
}

.contact-card-tel {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.contact-card-tel svg { width: 32px; height: 32px; flex-shrink: 0; }

.contact-card-sub {
  font-size: 14.5px;
  color: rgba(254,250,241,0.78);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.contact-card-info {
  font-size: 16px;
  line-height: 2.05;
  color: rgba(254,250,241,0.92);
}

/* ============================================
   GREETING
   ============================================ */
.greeting-section {
  background: var(--cream-100);
  position: relative;
  overflow: hidden;
}

.greeting-bg-deco {
  position: absolute;
  top: 0; right: -100px;
  width: 480px; height: 480px;
  opacity: 0.07;
  pointer-events: none;
}

.greeting-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.doctor-card {
  position: relative;
}

.doctor-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, #d8c4a8 0%, #b89878 50%, #806248 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 16px 16px 0 var(--cream-200);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.doctor-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,240,200,0.2) 0%, transparent 60%),
    linear-gradient(to bottom, transparent 60%, rgba(74,61,42,0.25));
}

.doctor-photo-frame {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(254,250,241,0.95);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
}

.doctor-photo-frame-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.12em;
}

.doctor-photo-frame-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--leaf-shade);
  letter-spacing: 0.2em;
  margin-top: 2px;
}

.doctor-deco {
  position: absolute;
  top: -24px; left: -24px;
  width: 72px; height: 72px;
  color: var(--butter);
  opacity: 0.85;
}

.greeting-text {
  padding-top: 12px;
}

.greeting-eyebrow {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.greeting-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--leaf-deep);
}

.greeting-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brown);
  line-height: 1.75;
  margin-bottom: 32px;
}

.greeting-title em {
  font-style: normal;
  color: var(--leaf-deep);
  position: relative;
}

.greeting-body p {
  font-size: 17px;
  color: var(--brown-mid);
  line-height: 2.35;
  margin-bottom: 22px;
}

.greeting-sign {
  margin-top: 32px;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* 経歴ボタン */
.greeting-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  background: transparent;
  border: 1.5px solid var(--leaf-shade);
  color: var(--leaf-shade);
  padding: 11px 22px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.greeting-profile-btn:hover {
  background: var(--leaf-shade);
  color: var(--cream-50);
}

.greeting-profile-btn .profile-arrow {
  transition: transform 0.25s ease;
}

.greeting-profile-btn:hover .profile-arrow {
  transform: translateX(3px);
}

.greeting-sign-role {
  font-size: 14px;
  color: var(--brown-soft);
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-align: right;
}

.greeting-sign-name {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.16em;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
  background: var(--cream-50);
}

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

.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 36px 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--butter), var(--butter-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
  border-color: var(--butter-soft);
}

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

.service-card-en {
  position: absolute;
  top: 32px; right: 28px;
  writing-mode: vertical-rl;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--ochre);
  text-transform: uppercase;
}

.service-icon {
  width: 96px; height: 96px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}

.service-num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brown-mid);
  margin-bottom: 8px;
}

.service-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  line-height: 1.5;
}

.service-line {
  width: 32px; height: 2px;
  background: var(--butter-deep);
  border-radius: 2px;
  margin-bottom: 18px;
  transition: width 0.4s ease;
}

.service-card:hover .service-line { width: 56px; }

.service-desc {
  font-size: 16px;
  color: var(--brown-mid);
  line-height: 2.1;
}

/* ============================================
   ACCESS
   ============================================ */
.access-section {
  background: var(--cream-100);
}

.access-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.map-card {
  background: linear-gradient(135deg, #e8d8c0, #c8b094);
  border-radius: 24px;
  height: 460px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}


.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.map-pin-circle {
  width: 70px; height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  box-shadow:
    0 0 0 8px rgba(229,174,59,0.18),
    0 8px 24px rgba(74,61,42,0.18);
  animation: pin-pulse 2.4s ease-in-out infinite;
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(229,174,59,0.18), 0 8px 24px rgba(74,61,42,0.18); }
  50%      { box-shadow: 0 0 0 18px rgba(229,174,59,0.05), 0 12px 32px rgba(74,61,42,0.22); }
}

.map-pin-label {
  background: rgba(254,250,241,0.95);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.12em;
}

.access-info-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.access-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.access-table tr {
  border-bottom: 1px solid var(--line);
}

.access-table tr:last-child { border-bottom: none; }

.access-table th {
  text-align: left;
  padding: 16px 0;
  width: 110px;
  vertical-align: top;
  font-size: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  letter-spacing: 0.18em;
  color: var(--leaf-shade);
  font-weight: 600;
  text-transform: uppercase;
}

.access-table td {
  padding: 16px 0;
  font-size: 16px;
  color: var(--brown-mid);
  line-height: 1.95;
}

.access-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brown);
  color: var(--cream-50);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.access-link:hover {
  background: var(--leaf-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74,61,42,0.2);
}

/* ============================================
   FACILITY
   ============================================ */
.facility-section {
  background: var(--cream-50);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.facility-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
}

.facility-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.facility-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.facility-photo-inner {
  width: 100%; height: 100%;
  transition: transform 0.7s ease;
  display: flex; align-items: center; justify-content: center;
  position: relative;
    background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.facility-item:hover .facility-photo-inner {
  transform: scale(1.05);
}

.ph-1 .ph-num,
.ph-2 .ph-num,
.ph-3 .ph-num,
.ph-4 .ph-num {
  /* 写真背景時は番号を控えめなバッジに */
}


/*.ph-1 { background: linear-gradient(135deg, #e1e5d9 0%, #a8b88c 60%, #e3e77f 100%); }*/
.ph-1 { 
  background-image:  url(https://shineikai-nanohanaclinic.jp/images/shisetsu01.jpg);
}
.ph-2 { 
  background-image:  url(https://shineikai-nanohanaclinic.jp/images/shisetsu02.jpg);
}
.ph-3 { 
  background-image:  url(https://shineikai-nanohanaclinic.jp/images/shisetsu03.jpg);
}
.ph-4 { 
  background-image:  url(https://shineikai-nanohanaclinic.jp/images/shisetsu04.jpg);
}

/*
.ph-2 { background: linear-gradient(135deg, #d4dcc4 0%, #a8b88c 60%, #788858 100%); }
.ph-3 { background: linear-gradient(135deg, #d8d8d4 0%, #b8b8b0 60%, #88887c 100%); }
.ph-4 { background: linear-gradient(135deg, #e4d4c0 0%, #c4a888 60%, #94785c 100%); }*/

.ph-num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 56px;
  font-weight: 700;
  color: rgba(254,250,241,0.7);
  letter-spacing: 0.02em;
}

.facility-caption {
  padding: 22px 24px;
}

.facility-caption-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.facility-caption-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--leaf-shade);
  text-transform: uppercase;
}

/* ============================================
   CTA BAND（フッター直前の予約バナー）
   ============================================ */
.cta-band {
  padding: 90px 0;
  background:
    linear-gradient(135deg, var(--butter-soft) 0%, var(--cream-200) 100%);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta-flower {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
}

.cta-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.1em;
  line-height: 1.65;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 16px;
  color: var(--brown-mid);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--brown);
  color: rgba(254,250,241,0.5);
  padding: 80px 0 36px;
  position: relative;
  overflow: hidden;
}

.footer-deco {
  position: absolute;
  top: 30px; right: 6%;
  width: 200px; height: 200px;
  opacity: 0.06;
  pointer-events: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

/* フッター上端のライン（PDF指摘「両端にもライン」） */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(245,206,110,0.4) 8%,
    rgba(245,206,110,0.85) 50%,
    rgba(245,206,110,0.4) 92%,
    transparent 100%);
  z-index: 3;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(254,250,241,0.12);
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-brand-mark { width: 52px; height: 52px; flex-shrink: 0; }

.footer-brand-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(254,250,241,0.94);
  line-height: 1.2;
}

.footer-brand-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--butter);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-tagline {
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  line-height: 2.05;
  color: rgba(254,250,241,0.7);
  letter-spacing: 0.08em;
}

.footer-col-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(254,250,241,0.12);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15.5px;
  color: rgba(254,250,241,0.78);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--butter);
  opacity: 0.6;
  transition: width 0.3s;
}

.footer-links a:hover {
  color: var(--butter);
  transform: translateX(3px);
}

.footer-links a:hover::before { width: 18px; opacity: 1; }

.footer-info {
  font-size: 15px;
  line-height: 2.15;
  color: rgba(254,250,241,0.7);
  letter-spacing: 0.04em;
}

.footer-info strong {
  color: rgba(254,250,241,0.85);
  font-weight: 500;
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--butter);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin: 8px 0 14px;
  transition: color 0.3s;
}

.footer-tel:hover { color: var(--butter-soft); }
.footer-tel svg { color: var(--butter); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: rgba(254,250,241,0.65);
  letter-spacing: 0.08em;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.95s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* MV内コンテンツの初期登場 */
.mv-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: mv-rise 0.95s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.mv-content > *:nth-child(1) { animation-delay: 0.1s; }
.mv-content > *:nth-child(2) { animation-delay: 0.22s; }
.mv-content > *:nth-child(3) { animation-delay: 0.34s; }
.mv-content > *:nth-child(4) { animation-delay: 0.46s; }
.mv-content > *:nth-child(5) { animation-delay: 0.58s; }
.mv-content > *:nth-child(6) { animation-delay: 0.7s; }
.mv-content > *:nth-child(7) { animation-delay: 0.82s; }

@keyframes mv-rise {
  to { opacity: 1; transform: none; }
}

.mv-flower {
  opacity: 0 !important;
  animation: nf-appear 1.2s ease forwards, float-soft 7s ease-in-out infinite 1.2s;
}

.nf-1  { animation-delay: 0.6s, 0s; }
.nf-2  { animation-delay: 0.8s, 1.2s; }
.nf-3  { animation-delay: 1.0s, 2.4s; }
.nf-4  { animation-delay: 1.2s, 0.6s; }
.nf-5  { animation-delay: 1.4s, 1.8s; }
.nf-6  { animation-delay: 1.6s, 3s; }
.nf-7  { animation-delay: 0.7s, 0.3s; }
.nf-8  { animation-delay: 0.9s, 2.1s; }
.nf-9  { animation-delay: 1.1s, 1.5s; }
.nf-10 { animation-delay: 1.3s, 2.7s; }
.nf-11 { animation-delay: 1.5s, 4s; }
.nf-12 { animation-delay: 1.7s, 3.3s; }

@keyframes nf-appear {
  0%   { opacity: 0; transform: scale(0.5) rotate(var(--rot, 0deg)); }
  60%  { opacity: 1; transform: scale(1.08) rotate(var(--rot, 0deg)); }
  100% { opacity: var(--target-op, 0.65); transform: scale(1) rotate(var(--rot, 0deg)); }
}

.nf-1  { --target-op: 0.8; }
.nf-2  { --target-op: 0.65; }
.nf-3  { --target-op: 0.55; }
.nf-4  { --target-op: 0.7; }
.nf-5  { --target-op: 0.5; }
.nf-6  { --target-op: 0.65; }
.nf-7  { --target-op: 0.5; }
.nf-8  { --target-op: 0.45; }
.nf-9  { --target-op: 0.45; }
.nf-10 { --target-op: 0.55; }
.nf-11 { --target-op: 0.5; }
.nf-12 { --target-op: 0.4; }

/* ============================================
   TOP BUTTON
   ============================================ */
.totop {
  position: fixed; bottom: 36px; right: 36px;
  width: 54px; height: 54px;
  background: var(--leaf-deep);
  color: var(--cream-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
  z-index: 50; text-decoration: none;
  box-shadow: 0 6px 20px rgba(107,130,83,0.3);
}

.totop.show { opacity: 1; }
.totop:hover { background: var(--leaf-shade); transform: translateY(-3px); }
.totop svg { width: 18px; height: 18px; }

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.25s;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger:hover { background: var(--cream-200); }

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.2s ease,
              width 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* モバイルメニューオーバーレイ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(46, 37, 22, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--cream-50);
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 70px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-menu-logo svg { width: 32px; height: 32px; }

.mobile-menu-logo-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brown);
}

.mobile-menu-close {
  width: 36px; height: 36px;
  background: var(--cream-200);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown);
}

.mobile-menu-nav {
  flex: 1;
  padding: 22px 0;
  display: block;
  height: auto;
  background: transparent;
  position: static;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brown-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.mobile-menu-nav a:first-child { border-top: 1px solid var(--line-soft); }

.mobile-menu-nav a:hover {
  color: var(--leaf-deep);
  background: var(--leaf-50);
  padding-left: 34px;
}

.mobile-menu-nav a .mn-arrow {
  width: 18px; height: 18px;
  color: var(--leaf);
  flex-shrink: 0;
}

/* 訪問診療ハイライトリンク */
.mobile-menu-nav a.mn-visit {
  background: var(--leaf-50);
  color: var(--leaf-deep);
  font-weight: 700;
  border-left: 4px solid var(--leaf-deep);
  padding-left: 24px;
}

.mobile-menu-nav a.mn-visit:hover {
  background: var(--leaf-100);
  padding-left: 28px;
}

.mobile-menu-footer {
  padding: 22px 24px 36px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brown);
  color: var(--cream-50);
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s;
}

.mobile-menu-tel:hover { background: var(--brown-mid); }
.mobile-menu-tel svg { width: 16px; height: 16px; flex-shrink: 0; }

.mobile-menu-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--leaf-deep);
  color: var(--cream-50);
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: background 0.3s;
}

.mobile-menu-reserve:hover { background: var(--leaf-shade); }
.mobile-menu-reserve svg { width: 15px; height: 15px; }

/* ============================================
   訪問診療 ハイライトバナー
   ============================================ */
.visit-band {
  background: linear-gradient(135deg, var(--leaf-shade) 0%, var(--leaf-deep) 55%, #5a7844 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.visit-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.visit-band::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 5%;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}

.visit-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.visit-band-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.visit-band-icon svg { width: 44px; height: 44px; }

.visit-band-text {}

.visit-band-eyebrow {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 8px;
}

.visit-band-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.12em;
  line-height: 1.45;
  margin-bottom: 8px;
}

.visit-band-desc {
  font-size: 15px;
  color: rgba(254,250,241,0.82);
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.visit-band-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--butter);
  color: var(--brown);
  padding: 16px 28px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  white-space: nowrap;
  flex-shrink: 0;
}

.visit-band-cta:hover {
  background: var(--butter-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.visit-band-cta svg { width: 16px; height: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  /* NAV — 早めにハンバーガーへ切替 */
  .nav-links { display: none; }
  .nav-tel { display: none; }
  .nav-reserve { display: none; }
  .hamburger { display: flex; }

  .mv-photo { width: 50%; }
  .mv-content { width: 56%; padding: 56px 40px; }
  .mv-quick { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .visit-band-inner { gap: 28px; }
}

@media (max-width: 768px) {
  /* NAV */
  nav { padding: 0 16px; height: 64px; }
  .mv-cta {
    display: none!important;
  }
  /* MV */
  .mv { min-height: auto; padding-top: 64px; display: flex; flex-direction: column; }
  .mv-shape { display: none; }
  /* 写真はheroバナーとして表示 */
  .mv-photo {
    position: relative;
    width: 100%;
    height: 220px;
    order: -1;
  }
  .mv-photo-label {
    bottom: 14px; right: 14px;
    padding: 10px 14px;
  }
  .mv-photo-label-text { font-size: 12px; line-height: 1.5; }
  .mv-content { width: 100%; padding: 32px 20px 48px; min-height: auto; }
  .mv-brand { margin-bottom: 22px; }
  .mv-brand-mark { width: 52px; height: 52px; }
  .mv-brand-jp { font-size: 22px; }
  .mv-brand-en { font-size: 11px; }
  .mv-tags { font-size: 13px; margin-bottom: 22px; }
  .mv-headline { font-size: clamp(28px, 8vw, 38px); margin-bottom: 18px; }
  .mv-sub { font-size: 15px; margin-bottom: 28px; line-height: 2; }

  /* クイックリンク - 2列 */
  .mv-quick {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .quick-card { padding: 14px 10px 12px; border-radius: 14px; }
  .quick-card-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .quick-card-label { font-size: 13px; }
  .quick-card-en { font-size: 10px; }

  /* CTA ボタン - 縦積み */
  .mv-cta { flex-direction: column; gap: 10px; margin-bottom: 24px; max-width: 100%; }
  .btn-primary { font-size: 14px; padding: 16px 20px; }
  .btn-tel { font-size: 20px; padding: 16px 20px; }

  /* 診療時間ミニ */
  .mv-hours { grid-template-columns: auto 1fr; gap: 10px; padding: 14px 16px; }
  .mv-hours-mini th, .mv-hours-mini td { padding: 3px 3px; font-size: 12px; }
  .mv-hours-label { font-size: 12px; padding-right: 10px; }

  /* セクション共通 */
  section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 44px; }
  .section-head-jp { font-size: 26px; }
  .section-head-en { font-size: 12px; letter-spacing: 0.3em; }

  /* 訪問診療バンド */
  .visit-band { padding: 40px 0; }
  .visit-band-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 18px;
    text-align: center;
  }
  .visit-band-icon { width: 60px; height: 60px; margin: 0 auto; }
  .visit-band-title { font-size: 22px; }
  .visit-band-desc { font-size: 14px; }
  .visit-band-cta { justify-content: center; }

  /* NEWS */
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-block, .notice-block { padding: 30px 22px; border-radius: 18px; }
  .news-item { grid-template-columns: auto auto 1fr; gap: 8px 10px; }
  .news-date { font-size: 13px; }
  .news-tag { font-size: 11px; padding: 3px 9px; }
  .news-text { font-size: 14px; }

  /* HOURS */
  .hours-wrap { grid-template-columns: 1fr; gap: 24px; }
  .hours-card { padding: 26px 18px; border-radius: 18px; }
  .hours-table { font-size: 14px; }
  .hours-table th, .hours-table td { padding: 10px 4px; }
  .hours-table .time-cell { font-size: 13px; padding-left: 10px; }
  .contact-card { padding: 30px 24px; border-radius: 18px; }
  .contact-card-tel { font-size: 34px; }

  /* GREETING */
  .greeting-inner { grid-template-columns: 1fr; gap: 32px; }
  .doctor-card { max-width: 240px; margin: 0 auto; }
  .greeting-title { font-size: 24px; }
  .greeting-body p { font-size: 15px; line-height: 2.1; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 30px 24px 26px; border-radius: 18px; }
  .service-title { font-size: 20px; }
  .service-desc { font-size: 14px; line-height: 1.95; }

  /* サービスカードの訪問診療 強調 */
  .service-card.highlight-visit {
    background: linear-gradient(150deg, var(--leaf-50) 0%, var(--cream-50) 100%);
    border-color: var(--leaf-deep);
    border-width: 2px;
  }

  .service-card.highlight-visit::before {
    transform: scaleX(1);
  }

  /* ACCESS */
  .access-inner { grid-template-columns: 1fr; }
  .map-card { height: 260px; border-radius: 18px; }
  .access-info-card { padding: 26px 20px; border-radius: 18px; }
  .access-table th { font-size: 11px; width: 75px; }
  .access-table td { font-size: 14px; }

  /* FACILITY */
  .facility-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facility-caption { padding: 14px 14px; }
  .facility-caption-jp { font-size: 14px; }

  /* CTA BAND */
  .cta-band { padding: 60px 0; }
  .cta-title { font-size: 24px; }
  .cta-buttons { flex-direction: column; gap: 12px; align-items: center; }
  .cta-buttons .btn-primary, .cta-buttons .btn-tel { width: 100%; max-width: 320px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-inner { padding: 0 20px; }
  footer { padding: 56px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-brand-jp { font-size: 18px; }

  /* TOTOP */
  .totop { bottom: 20px; right: 16px; width: 46px; height: 46px; }
}

/* サービスカード 訪問診療 強調（全画面） */
.service-card.highlight-visit {
  background: linear-gradient(150deg, var(--leaf-50) 0%, var(--cream-50) 100%);
  border-color: var(--leaf);
  border-width: 2px;
}

.service-card.highlight-visit::before {
  transform: scaleX(1);
  background: linear-gradient(to right, var(--leaf), var(--leaf-deep));
}

.service-card.highlight-visit .service-title { color: var(--leaf-shade); }
.service-card.highlight-visit .service-line { background: var(--leaf-deep); width: 48px; }

.visit-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--leaf-deep);
  color: var(--cream-50);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ============================================
   MODAL（訪問診療 詳細）
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(46, 37, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--cream-50);
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(46, 37, 22, 0.35);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: var(--cream-200);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown);
  transition: background 0.25s, transform 0.25s;
  z-index: 2;
}

.modal-close:hover {
  background: var(--cream-300);
  transform: rotate(90deg);
}

.modal-close svg { width: 16px; height: 16px; }

.modal-header {
  padding: 48px 48px 28px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--leaf-50) 0%, var(--cream-50) 100%);
  border-radius: 24px 24px 0 0;
}

.modal-eyebrow {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--leaf-shade);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brown);
  line-height: 1.5;
}

.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-body {
  padding: 32px 48px 40px;
}

.modal-body p {
  font-size: 15.5px;
  color: var(--brown-mid);
  line-height: 2.1;
  margin-bottom: 18px;
}

.modal-body p:last-child { margin-bottom: 0; }

.modal-section {
  margin-top: 28px;
}

.modal-section-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--leaf-shade);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--leaf-deep);
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  font-size: 15px;
  color: var(--brown-mid);
  line-height: 1.85;
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px dashed var(--line-soft);
}

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

.modal-list li::before {
  content: '';
  position: absolute;
  left: 6px; top: 18px;
  width: 8px; height: 8px;
  background: var(--butter-deep);
  border-radius: 50%;
}

.modal-footer {
  padding: 0 48px 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-footer .btn-primary,
.modal-footer .btn-tel {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 640px) {
  .modal-header { padding: 36px 24px 22px; }
  .modal-body { padding: 24px 24px 28px; }
  .modal-footer { padding: 0 24px 28px; }
  .modal-title { font-size: 20px; }
  .modal-body p { font-size: 14.5px; }
  .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}

.modal-list2 {
  counter-reset: cnt;
}

.modal-list2 li {
  list-style: none;
  counter-increment: cnt;
}

.modal-list2 li::before {
   content: counter(cnt) ". ";
  color: var(--butter-deep);
  font-weight: bold;
  margin-right: 0.5em;
}
.img-homon{
  width: 100%;
  margin-top: 30px;
}