@charset "UTF-8";

/* ============================================================
   いそのこどもクリニック  TOP
   - DesignBaseWidth : 1440px
   - MaxWidth        : 1920px
   - Breakpoints     : PC>=1024 / Tablet 768-1023 / SP <=767
============================================================ */

/* ====== CSS Variables ====== */
:root {
  /* color */
  --c-bg-cream:        #FFFAE8;   /* ヘッダー背景・ベース */
  --c-catch-bg:        #FFF4D9;   /* キャッチコピー黄色帯 */
  --c-catch-shadow:    #E6A100;   /* キャッチコピーのドロップシャドウ */
  --c-primary:         #F1A900;   /* メイン（濃い山吹色） */
  --c-text:            #3F3F3F;   /* 本文 */
  --c-white:           #FFFFFF;
  --c-banner-phone:    #FFC53D;   /* フローティング電話 */
  --c-banner-reserve:  #FF805D;   /* フローティングWEB予約 */
  --c-banner-hours:    #7EC051;   /* フローティング診察時間 */
  --c-line:            #F1A900;   /* ナビ区切り線 */

  /* font */
  --ff-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;

  /* layout */
  --max-width: 1920px;
  --base-width: 1440px;
  --header-h: 123px;
  --floating-w: 110px;          /* フローティングバナー幅 */

  /* z-index */
  --z-header: 100;
  --z-floating: 90;
  --z-spmenu: 200;
}

/* ====== Reset / Base ====== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { max-width: 100%; height: auto; vertical-align: bottom; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

button {
  font: inherit; color: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
}

/* ====== Scroll reveal animation ====== */
.is-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.is-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .is-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ====== Layout Wrapper ====== */
.site-header__inner,
.mv__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
}

/* MAX 1920を超えたとき左右が崩れないようサイト全体を中央寄せ */
body {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Header
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-header);
  width: 100%;
  max-width: var(--max-width);
  background: var(--c-bg-cream);
  height: var(--header-h);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
}

.site-header__inner {
  position: relative;
  height: 100%;
  padding: 0 clamp(20px, 8vw, 116px) 0 clamp(20px, 8vw, 116px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
}
.site-header__logo a { display: block; }
.site-header__logo img {
  width: 161px;
  height: 86px;
  display: block;
}

main {
  padding-top: var(--header-h);
}

/* ====== Global Nav (PC) ====== */
.global-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-left: 35px;
}
.global-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}
.global-nav__item {
  position: relative;
  padding: 0 28px;
}
/* === ナビ項目間の縦区切り線（Figma: Line rotation -90°）=== */
.global-nav__item + .global-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 54px;
  background: var(--c-line);
  opacity: .41;
}

.global-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  transition: opacity .2s ease;
}
.global-nav__link:hover { opacity: .7; }

.global-nav__icon {
  display: block;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.global-nav__icon img {
  width: auto;
  max-height: 40px;
  display: block;
}

.global-nav__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}
.global-nav__label-jp {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .04em;
}
.global-nav__label-en {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: .08em;
  margin-top: 2px;
  text-transform: lowercase;
}
.global-nav__caret {
  font-size: 10px;
  color: var(--c-primary);
  margin-left: 2px;
}

/* ====== Hamburger (SP only) ====== */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: calc(var(--z-spmenu) + 1);
}
.hamburger span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ====== SP Menu ====== */
.sp-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100dvh;
  background: var(--c-bg-cream);
  z-index: var(--z-spmenu);
  padding: 80px 24px 40px;
  transition: right .3s ease;
  overflow-y: auto;
}
.sp-menu.is-open { right: 0; }
.sp-menu__close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(241, 169, 0, .18);
}
.sp-menu__close span {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 20px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 999px;
}
.sp-menu__close span:nth-child(1) { transform: rotate(45deg); }
.sp-menu__close span:nth-child(2) { transform: rotate(-45deg); }
.sp-menu__list { display: flex; flex-direction: column; gap: 4px; }
.sp-menu__link {
  display: block;
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(241, 169, 0, .25);
}
.sp-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: calc(var(--z-spmenu) - 1);
}
.sp-menu-overlay.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   MV (Hero)
============================================================ */
.mv {
  position: relative;
  background: var(--c-bg-cream);
  overflow: hidden;
}

.mv__inner {
  position: relative;
  padding: 0 clamp(15px, 2vw, 29px);
}

.mv__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1382 / 708;     /* Figma基準 */
  border-radius: 85px;
  overflow: hidden;
  isolation: isolate;
}

.mv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ====== キャッチコピー ====== */
.mv__catch {
  position: absolute;
  left: clamp(16px, 6.3%, 87px);   /* Figma 116-29=87px */
  top: clamp(40px, 65%, 459px);
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.mv__catch-line {
  display: inline-block;
  background: var(--c-catch-bg);
  border-radius: 8px;
  padding: 4px 24px;
  font-size: clamp(20px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-primary);
  width: fit-content;
  letter-spacing: .03em;
  /* Figma: DROP_SHADOW #E6A100 / offset(4,4) / blur:0 / spread:0 */
  box-shadow: 4px 4px 0 var(--c-catch-shadow);
  max-width: 100%;
  box-sizing: border-box;
}
.mv__catch-text { display: inline-block; }

/* ====== 連絡先ボックス ====== */
.mv__contact {
  position: absolute;
  right: clamp(16px, 6%, 87px);
  bottom: 0;
  z-index: 3;
  background: var(--c-white);
  padding: 18px 28px 20px;
  width: clamp(280px, 32%, 385px);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.mv__contact-name {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.mv__contact-address {
  margin-top: 4px;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--c-text);
  line-height: 1.6;
  letter-spacing: .02em;
}
.mv__contact-tel {
  margin-top: 4px;
}
.mv__contact-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-primary);
}
.mv__contact-tel-icon {
  width: clamp(28px, 2.6vw, 40px);
  height: auto;
}
.mv__contact-tel-num {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
}

/* ============================================================
   Floating CTA  （MV右側に追従）
============================================================ */
.floating-cta {
  position: fixed;
  top: 20%;
  right: 0;
  z-index: var(--z-floating);
  pointer-events: none;     /* 子のリンクのみ受ける */
}
.floating-cta__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: auto;
}
.floating-cta__item {}
.floating-cta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: var(--floating-w);
  height: 99px;
  color: var(--c-white);
  text-align: center;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: transform .2s ease, filter .2s ease;
}
.floating-cta__link:hover {
  transform: translateX(-4px);
  filter: brightness(1.05);
}
.floating-cta__icon {
  width: 40px;
  height: auto;
  filter: brightness(0) invert(1);   /* SVGを白くする */
}
.floating-cta__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.floating-cta__item--phone   .floating-cta__link { background: var(--c-banner-phone); }
.floating-cta__item--reserve .floating-cta__link { background: var(--c-banner-reserve); }
.floating-cta__item--hours   .floating-cta__link { background: var(--c-banner-hours); }
.floating-cta__link--disabled {
  background: #B8B8B8 !important;
  cursor: default;
  pointer-events: none;
}
.floating-cta__link--disabled:hover {
  transform: none;
  filter: none;
}


/* ============================================================
   News  （お知らせ）
============================================================ */
.news {
  padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 9vw, 120px);
  background: var(--c-bg-cream);
}
.news__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 8vw, 84px);
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 30px;
  align-items: start;
}

/* === News上の装飾ライン（波線/草模様） === */
.news-deco {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: var(--c-bg-cream);
}
.news-deco img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 1440px;            /* 細部が潰れないよう保持 */
  margin-left: 50%;
  transform: translateX(-50%);  /* 1920超過時も中央揃え */
}

/* === 左：見出しカード === */
.news__heading {
  background: var(--c-primary);
  border-radius: 8px;
  width: 365px;
  height: 201px;
  position: relative;
  overflow: hidden;
}
.news__heading-deco {
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-53%);
  width: 465px;
  pointer-events: none;
  z-index: 1;
  margin-top:-30px;
}
.news__heading-deco img {
  width: 100%;
  display: block;
  opacity: .85;
  mix-blend-mode: screen;     /* 黄色背景にクリームの音符を馴染ませる */
}
.news__heading-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: .04em;
  z-index: 2;
}
.news__heading-jp {
  display: block;
  font-size: 26px;
  font-weight: 700;
}
.news__heading-en {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-top: 2px;
  text-transform: lowercase;
}

/* === 右：リストエリア === */
.news__main {
  --news-list-h: 203px;
  --news-thumb-h: 35px;
  --news-thumb-top: 156px;
  position: relative;
  padding-right: 14px;        /* 縦線分のスペース */
}

/* 右端の縦線アクセント（上=薄／下=濃） */
.news__bar {
  position: absolute;
  right: 0;
  width: 5px;
  border-radius: 8px;
  touch-action: none;
  user-select: none;
}
.news__bar--top {
  top: 0;
  height: var(--news-list-h);
  background: #FFDEA0;
}
.news__bar--bottom {
  top: var(--news-thumb-top);
  height: var(--news-thumb-h);
  background: var(--c-primary);
  transition: top .16s ease-out, height .16s ease-out;
}

/* リスト */
.news__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: var(--news-list-h);
  overflow-y: hidden;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-width: none;
}
.news__list::-webkit-scrollbar { display: none; }
.news__main.is-scrollable .news__list {
  overflow-y: auto;
}
.news__main.is-scrollable .news__bar--top { cursor: pointer; }
.news__main.is-scrollable .news__bar--bottom { cursor: grab; }
.news__main.is-scrollable .news__bar--bottom.is-dragging { cursor: grabbing; }
.news__item {
  background: #fff;
  border-radius: 8px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.news__item:hover {
  box-shadow: 0 4px 14px rgba(241, 169, 0, .15);
  transform: translateY(-1px);
}
.news__row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 13px 28px;
  min-height: 57px;
  color: var(--c-text);
}
.news__category {
  flex-shrink: 0;
  width: 104px;
  height: 31px;
  background: #FFF5DE;
  color: #E67332;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
}
.news__date {
  flex-shrink: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: .04em;
}
.news__title {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === 「お知らせ一覧 →」ボタン === */
.news__more {
  margin-top: 88px;
  display: flex;
  justify-content: flex-end;       /* Figma: リスト右下に配置 */
}
.news__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 222px;
  height: 64px;
  padding: 0 28px;
  background: var(--c-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 8px;
  /* Figma: DROP_SHADOW #000 offset(4,4) blur:4 alpha控えめ */
  box-shadow: 4px 4px 4px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.news__more-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 6px rgba(0, 0, 0, .25);
  filter: brightness(1.05);
}
.news__more-arrow { font-size: 18px; }

/* === キャラクター（Figma: x:1245 / y:1257 / 95×145） ===
   お知らせセクションのframe基準で
   - frame右(1440)からx:1245+95=1340 → 100px余白
   - main右端はinnerのpadding(84px)分内側 → diff = 16px
   - キャラ下端 y:1402, ボタン下端 y:1394 → ボタンより8px下にはみ出す */
.news__character {
  position: absolute;
  width: 95px;
  height: 145px;
  right: -29px;
  bottom: -10px;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   Greeting  （ごあいさつ）
============================================================ */
.greeting {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 0;
  /* Figma Mask group: グラデーション+背景画像 を再現 */
  background-color: var(--c-bg-cream);
  background-image:
    linear-gradient(180deg, rgba(255, 250, 232, .35) 0%, rgba(255, 250, 232, .85) 90%),
    url('../assets/img/bg-greeting.png');
  background-position: center top, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  overflow: hidden;
}
.greeting__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 8vw, 124px);
  display: grid;
  grid-template-columns: 1fr minmax(360px, 512px);
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* === 左：テキスト === */
.greeting__text {
  padding-top: 30px;
  min-width: 0;
}
.greeting__en {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #E67332;
  text-transform: uppercase;
}
.greeting__title {
  margin: 4px 0 22px;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .06em;
  line-height: 1.4;
}
.greeting__lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 2.5;          /* Figma: 250% */
  color: var(--c-text);
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.greeting__signature {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  color: #E67332;
  letter-spacing: .08em;
}

/* === 右：写真＋装飾円 === */
.greeting__photo {
  position: relative;
  width: 100%;
  max-width: 512px;
  aspect-ratio: 1 / 1;
  justify-self: end;
}
/* 装飾円（オレンジ）—— 写真の右下にオフセット */
.greeting__photo-deco {
  position: absolute;
  left: 14px;
  top: 11px;
  width: 100%;
  height: 100%;
  background: var(--c-primary);
  border-radius: 50%;
  z-index: 1;
}
.greeting__photo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* === 下部装飾（音符＆ひまわり） === */
/* 院長署名の少し下に配置（テキスト本文と重ねない） */
.greeting__deco {
  position: relative;
  margin-top: clamp(-100px, -3vw, -100px);   /* 控えめに重ねる */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--base-width);
  padding: 0 clamp(0, 8vw, 0);
  height: clamp(150px, 19vw, 280px);
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
  box-sizing: border-box;
}
.greeting__deco img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* テキスト・写真は装飾より前面に */
.greeting__text,
.greeting__photo {
  position: relative;
  z-index: 2;
}

/* ============================================================
   Medical Menu  （診療メニュー）
============================================================ */
:root {
  --c-menu-1: #F1A900;    /* 小児科一般診療 */
  --c-menu-2: #E67332;    /* 小児アレルギー */
  --c-menu-3: #9CC781;    /* 予防接種 */
  --c-menu-4: #EBAACA;    /* 乳幼児健診 */
  --c-menu-5: #88B0D2;    /* 新生児内科 */
  --c-menu-6: #B48EC1;    /* 頭痛/起立性 */
}

.menu {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  background-color: var(--c-bg-cream);
  background-image: url('../assets/img/background_menu1.png'), url('../assets/img/background_menu2.png');
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom;
  background-size: 100% auto, 100% auto;
  overflow: hidden;
}
.menu__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 8vw, 112px);
  position: relative;
}

/* === 見出し === */
.menu__head {
  position: relative;
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
  z-index: 10;
}
.menu__en {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #E67332;
  text-transform: uppercase;
}
.menu__title {
  margin: 4px 0 12px;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .08em;
  line-height: 1.3;
}
.menu__sub {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: .04em;
}
/* Figma: x:1224, y:2276, 160×175
   - 見出し上端(MEDICAL MENU)から +55px 下
   - 右端は inner の padding 外（viewport 右端から 56px 余白） */
.menu__character {
  position: absolute;
  top: clamp(20px, 4vw, 55px);
  /* head 右端(viewport - 112)からさらに右へ56pxの位置 (= viewport右-56) */
  right: clamp(25px, -5vw, -16px);
  bottom: auto;
  width: clamp(120px, 11vw, 160px);
  height: auto;
  pointer-events: none;
  z-index: 20;
}

/* === グリッド === */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}
.menu__item { list-style: none; }

/* === カード === */
.menu__card {
  display: block;
  position: relative;
  padding: 14px 14px 40px;
  border-radius: 8px;
  background: var(--card-color, var(--c-menu-1));
  color: #fff;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.menu__photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 352 / 235;
  border-radius: 6px;
  overflow: visible;       /* moreボタンがはみ出す */
  margin-bottom: 46px;     /* moreボタンの突出分 */
  background: #FFFAE8;
}
.menu__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* === 「もっと見る」白い丸ボタン === */
.menu__more {
  position: absolute;
  right: 14px;
  bottom: 155px;           /* photoの下に半分突出 */
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  color: var(--card-color, var(--c-menu-1));
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  transition: transform .2s ease;
  z-index: 2;
}
.menu__card:hover .menu__more { transform: scale(1.05); }

.menu__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}
.menu__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
}
.menu__status {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
}

/* 各カードの色付け */
.menu__item--color1 .menu__card { --card-color: var(--c-menu-1); }
.menu__item--color2 .menu__card { --card-color: var(--c-menu-2); }
.menu__item--color3 .menu__card { --card-color: var(--c-menu-3); }
.menu__item--color4 .menu__card { --card-color: var(--c-menu-4); }
.menu__item--color5 .menu__card { --card-color: var(--c-menu-5); }
.menu__item--color6 .menu__card { --card-color: var(--c-menu-6); }

/* ============================================================
   First Visit  （初診の方へ）
============================================================ */
.first-visit {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px);
  background-color: var(--c-white);
  background-image: url('../assets/img/background_first.png');
  background-repeat: no-repeat;
  /* 背景画像はセクション下端寄り（DLボタンの周辺〜下に薄く敷く） */
  background-position: center bottom;
  background-size: 100% auto;
  overflow: hidden;
}
.first-visit__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}

/* === 見出し === */
.first-visit__head {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.first-visit__en {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #E67332;
  text-transform: uppercase;
}
.first-visit__title {
  margin: 4px 0 12px;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .08em;
  line-height: 1.3;
}
.first-visit__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: .04em;
}

/* === body 2カラム === */
.first-visit__body {
  display: grid;
  grid-template-columns: minmax(420px, 640px) 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

/* === 左カラム（DLボタン2つを縦並び。各ボタンに雲ラベルが乗る） === */
.first-visit__left {
  position: relative;
  padding-top: 50px;   /* 第1ボタンの上にキャラ＋雲が乗るためのスペース */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* DLボタンと雲ラベルを重ねるラッパー */
.first-visit__btn-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
}

/* キャラ：1番目のボタンの左上、雲の左上に重ねる */
.first-visit__chara {
  position: absolute;
  left: -95px;
  top: -145px;
  width: clamp(180px, 6vw, 180px);
  height: auto;
  pointer-events: none;
  z-index: 1;          /* 雲の後ろ */
  display: block;
}

/* 雲ラベル：DLボタンの左上にぶら下げる */
.first-visit__cloud {
  position: absolute;
  left: -16px;
  top: -32px;
  width: clamp(96px, 9vw, 127px);
  height: auto;
  z-index: 2;
  display: block;
  transition: transform .2s ease;
}
.first-visit__cloud:hover { transform: scale(1.05) rotate(-2deg); }

/* === DLボタン === */
/* DLボタン共通 */
.first-visit__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 93px;
  padding: 0 28px 0 clamp(118px, 9vw, 118px);
  color: #fff;
  font-size: clamp(18px, 1.3vw, 20px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  border-radius: 8px;
  border: 2px solid transparent;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  text-align: left;
  overflow-wrap: anywhere;
}
.first-visit__btn-text,
.first-visit__btn-status {
  display: block;
}
.first-visit__btn-status {
  margin-top: 4px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: .04em;
}
.first-visit__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 8px rgba(0, 0, 0, .18);
  filter: brightness(1.05);
}
/* 第1ボタン：問診票（初診の方）  ＝ オレンジ #F1A900 */
.first-visit__btn--primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
/* 第2ボタン：問診票（診察券をお持ちの方） ＝ 濃いオレンジ #E67332 */
.first-visit__btn--secondary {
  background: #E67332;
  border-color: #E67332;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, .15);
}
.first-visit__btn--disabled {
  background: #B8B8B8;
  border-color: #B8B8B8;
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.first-visit__btn--disabled:hover {
  transform: none;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, .15);
  filter: none;
}

/* === 右カラム：持参物（Figma準拠：クリーム背景+オレンジ枠線） === */
.first-visit__items {
  position: relative;
  background: var(--c-bg-cream);
  border: 1px solid var(--c-primary);     /* Figma: stroke #F1A900 1px */
  border-radius: 8px;
  padding: 40px 24px 24px;
  min-height: 245px;
}
.first-visit__items-head {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-bg-cream);
  border: 1px solid var(--c-primary);     /* Figma: stroke #F1A900 1px */
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  line-height: 1.4;
}
.first-visit__items-list {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.first-visit__item {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}
/* イラスト表示（Figmaにはオレンジ円なし。画像を直接表示） */
.first-visit__item-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 11vw, 160px);
  height: clamp(120px, 11vw, 160px);
  background: transparent;       /* オレンジ円削除 */
  border-radius: 0;
}
.first-visit__item-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* 各持参物のラベル（オレンジピル型・白文字） */
.first-visit__item-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 40px;
  padding: 0 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 20px;     /* Figma: cornerRadius:20 ピル型 */
  border: 1px solid var(--c-primary);
  line-height: 1;
}

/* ============================================================
   Features  （クリニックの特徴）
============================================================ */
.features {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(70px, 9vw, 120px);
  background-color: #FFFFFF;
  /* 白の半透明レイヤーをストライプの上に重ねて、より薄い背景に */
  background-image:
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)),
    url('../assets/img/features-bg.png');
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, auto;
  background-attachment: scroll, scroll;
  overflow: hidden;
}
.features__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}

/* === 見出し === */
.features__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.features__en {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #E67332;
  text-transform: uppercase;
}
.features__title {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .08em;
  line-height: 1.3;
}

/* === リスト === */
.features__list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === 各行（写真＋本文） === */
.features__row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.features__row--photo-left  { grid-template-columns: 1fr 1fr; }
.features__row--photo-right .features__photo { grid-column: 2; grid-row: 1; }
.features__row--photo-right .features__body  { grid-column: 1; grid-row: 1; }

/* === 写真 === */
.features__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.features__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === 本文ブロック === */
.features__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
  min-width: 0;
}

/* === 帯＋キャラのラッパー === */
.features__badge-wrap {
  position: relative;
  width: 100%;
}

/* === 帯 === */
.features__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
}
.features__badge-img {
  display: block;
  width: 100%;
  height: auto;
}
.features__badge-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  white-space: nowrap;
}

/* === キャラクター（Figma準拠の位置） === */
.features__chara {
  position: absolute;
  pointer-events: none;
  height: auto;
  z-index: 2;
}
/* 1番目：青い小鳥 → 帯の右上 */
.features__chara--bird {
  right: -10px;
  top: -24px;
  width: clamp(85px, 5vw, 86px);
}
/* 2番目：クマ → 帯の左上（Figma通り） */
.features__chara--bear {
  left: -28px;
  top: -42px;
  right: auto;
  width: clamp(72px, 6vw, 96px);
}
/* 3番目：音符（ト音記号）→ 帯の右上 */
.features__chara--music {
  right: -8px;
  top: -24px;
  width: clamp(38px, 3.5vw, 58px);
}

/* === 説明文 === */
.features__desc {
  margin: 0;
  font-size: clamp(16px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.9;
  color: var(--c-text);
  letter-spacing: .02em;
}

/* ============================================================
   Photo Slider  （写真スライド）
============================================================ */
.slider {
  --slider-speed: 52;
  width: 100%;
  padding: clamp(40px, 6vw, 80px) 0;
  background: #FFFFFF;
  overflow: hidden;
}
.slider__track {
  display: flex;
  gap: 16px;
  padding: 0 clamp(20px, 6vw, 60px);
  overflow: visible;
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  user-select: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__item {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 374px);
  aspect-ratio: 374 / 298;
  border-radius: 8px;
  overflow: hidden;
}
.slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Access  （アクセス・診療時間）
============================================================ */
.access {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px);
  background-color: var(--c-white);
  background-image: url('../assets/img/background_accss.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}
.access__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
  position: relative;
}

/* === 見出し === */
.access__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.access__en {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #FF8A3D;
  text-transform: uppercase;
}
.access__title {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .08em;
  line-height: 1.3;
}

/* === body：2カラム（左：情報 / 右：地図） === */
.access__body {
  display: grid;
  grid-template-columns: minmax(360px, 480px) 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: stretch;
}

/* === 左：情報カラム === */
.access__info {
  display: flex;
  flex-direction: column;
  align-items: center;        /* 中央寄せ */
  text-align: center;
  gap: 16px;
}
.access__logo {
  width: clamp(180px, 18vw, 240px);
  margin-bottom: 4px;
}
.access__logo img {
  width: 100%;
  height: auto;
  display: block;
}
.access__addr {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-text);
}
.access__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  background: var(--c-primary);
  border-radius: 50px;
  color: #fff;
  width: fit-content;
  transition: filter .2s ease, transform .2s ease;
  box-shadow: 0 4px 10px rgba(241, 169, 0, .25);
}
.access__tel:hover { filter: brightness(1.05); transform: translateY(-1px); }
.access__tel-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.access__tel-num {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

/* === 診療時間表（左カラム内） === */
.access__hours {
  width: 100%;
  margin-top: 20px;
  text-align: left;
}
.access__hours-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #E67332;
  letter-spacing: .04em;
}
.access__hours-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}
.access__hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #FFFFFF;
}
.access__hours-table th,
.access__hours-table td {
  text-align: center;
  padding: 10px 4px;
  border: 1px solid #E8DCB6;
  font-weight: 500;
  background: #FFFFFF;
  vertical-align: middle;
}
/* ヘッダー：オレンジ */
.access__hours-table thead th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  border-color: var(--c-primary);
}
/* 「午前」「午後」ラベル */
.access__hours-label {
  background: #FFF6E0 !important;
  color: var(--c-text);
  font-weight: 700;
  width: 14%;
}
/* 値セル */
.access__hours-on {
  color: var(--c-primary);
  font-weight: 700;
  font-size: 16px;
}
.access__hours-off {
  color: #C9C4B3;
  font-weight: 500;
}

/* === 注意書き === */
.access__notes {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.access__notes li {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.6;
}

/* === 右：地図 === */
.access__map {
  width: 100%;
  height: clamp(430px, 36.5vw, 530px);
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
}
.access__map img,
.access__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.access__map img {
  object-fit: cover;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  position: relative;
  background-color: var(--c-white);
  padding: clamp(50px, 6vw, 80px) 0 0;
  overflow: hidden;
}
.site-footer__inner {
  width: 100%;
  max-width: var(--base-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
  position: relative;
}

/* === 上段：情報 + ナビ === */
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
  margin-bottom: 0;
}

/* === 左：情報 === */
.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__logo {
  width: clamp(170px, 16vw, 220px);
}
.site-footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}
.site-footer__addr {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.7;
}
.site-footer__zip {
  display: inline-block;
  margin-right: 8px;
}
.site-footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-primary);
  width: fit-content;
}
.site-footer__tel-icon {
  width: 22px;
  height: 22px;
}
.site-footer__tel-num {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

/* === 右：ナビ === */
.site-footer__nav {
  padding-top: 6px;
}
.site-footer__nav-list {
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: start;
  gap: 0 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: end;
}
.site-footer__nav-list > li {
  font-size: 16px;
}
.site-footer__nav-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .04em;
  padding: 4px 0;
  transition: color .2s ease;
}
.site-footer__nav-link:hover { color: var(--c-primary); }

/* サブメニュー（診療のご案内の下） */
.site-footer__sub-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__sub-link {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  transition: color .2s ease;
}
.site-footer__sub-link::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}
.site-footer__sub-link:hover { color: var(--c-primary); }

/* === 中段：イラスト === */
.site-footer__illust {
  width: 100vw;
  height: clamp(128px, 22vw, 320px);
  margin: clamp(4px, 1vw, 16px) 0 0 50%;
  line-height: 0;
  overflow: hidden;
  transform: translateX(-50%);
}
.site-footer__illust img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-66%);
}

/* === コピーライト === */
.site-footer__copyright {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 16px 0 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: .04em;
}
.site-footer__copyright::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--c-bg-cream);
}

/* ============================================================
   Tablet  (768px - 1199px)
============================================================ */
@media (max-width: 1199px) {
  .global-nav__item { padding: 0 16px; }
  .global-nav__label-jp { font-size: 14px; }
  .global-nav__label-en { font-size: 10px; }

  .floating-cta { top: 25%; }
  .floating-cta__link { width: 88px; height: 88px; }
  .floating-cta__icon { width: 32px; }
  .floating-cta__label { font-size: 12px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 96px; }

  .global-nav { display: none; }
  .hamburger  { display: block; }

  .site-header__inner { padding: 0 24px; }
  .site-header__logo img { width: 130px; height: auto; }

  .mv__inner { padding: 0 16px; }

  /* === タブレット：キャッチコピーを大きく＋上半分にバランスよく配置 === */
  .mv__visual { aspect-ratio: 4 / 3; }   /* 内観写真の見える範囲を確保 */

  .mv__catch {
    left: clamp(20px, 4%, 56px);
    top: 50%;
    transform: translateY(-50%);
    gap: 14px;
  }
  .mv__catch-line {
    padding: 6px 22px;
    font-size: clamp(26px, 4vw, 36px);
    box-shadow: 4px 4px 0 var(--c-catch-shadow);
  }

  .mv__contact {
    padding: 14px 18px 16px;
    right: 104px;
    width: min(360px, calc(100% - 128px));
  }
  .mv__contact-tel-num { font-size: clamp(22px, 3.2vw, 30px); }

  /* === News (Tablet) === */
  .news__inner {
    grid-template-columns: 1fr;     /* 縦積み */
    gap: 24px;
  }
  .news__heading {
    width: 100%;
    height: 160px;
    margin: 0 auto;
    max-width: 560px;
  }
  .news__heading-deco {
    left: -62px;
    top: -6px;
    width: clamp(300px, 48vw, 430px);
    margin-top: 0;
    transform: rotate(-15deg);
    transform-origin: 22% 50%;
  }
  .news__heading-jp { font-size: 24px; }
  .news__heading-en { font-size: 18px; }

  .news__main { padding-right: 12px; }

  .news__row { padding: 12px 20px; gap: 16px; }
  .news__category { width: 92px; height: 28px; font-size: 14px; }
  .news__date  { font-size: 14px; }
  .news__title { font-size: 15px; }

  .news__character {
    right: -22px;
    bottom: -6px;
    width: 78px;
    height: 119px;     /* 95:145 のアスペクト比維持 */
  }

  /* === Greeting (Tablet) === */
  .greeting__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0px 32px 65px;
  }
  .greeting__text { padding-top: 0; }
  .greeting__photo {
    max-width: 360px;
    margin: 0 auto;
    justify-self: center;
  }
  .greeting__title { font-size: 26px; }
  .greeting__lead  { font-size: 17px; line-height: 2.2; }
  .greeting__signature { font-size: 18px; }

  /* 写真が下に縦積みになるタイミングでお花は非表示 */
  .greeting__deco { display: none; }

  /* === Medical Menu (Tablet) === */
  .menu__inner { padding: 0 32px; }
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .menu__character {
    width: 120px;
    right: 16px;
    bottom: -16px;
    top:63px;
  }
  .menu__more {
    width: 70px;
    height: 70px;
    font-size: 12px;
    bottom: 185px;
  }
  .menu__photo { margin-bottom: 48px; }
  .menu__name { font-size: 18px; }
  .menu__desc { font-size: 15px; }
  .menu__status { font-size: 13px; }

  /* === First Visit (Tablet) === */
  .first-visit__inner { padding: 0 32px; }
  .first-visit__body {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .first-visit__left {
    padding-top: 46px;
    gap: 14px;
  }
  .first-visit__btn-wrap { max-width: 100%; }
  .first-visit__chara { left: -65px; top: -118px; width: 145px; }
  .first-visit__cloud { left: -10px; top: -28px; width: 108px; }
  .first-visit__btn {
    height: 80px;
    max-width: 100%;
    font-size: 18px;
    padding: 0 24px 0 126px;
    justify-content: center;
  }
  .first-visit__items { padding: 36px 16px 20px; min-height: auto; }
  .first-visit__items-head { font-size: 14px; padding: 8px 16px; }
  .first-visit__item-circle { width: 130px; height: 130px; }
  .first-visit__item-label { min-width: 112px; height: 36px; font-size: 14px; }

  /* === Features (Tablet) === */
  .features { padding: 60px 0 80px; }
  .features__inner { padding: 0 32px; }
  .features__title { font-size: 26px; }
  .features__list { gap: 50px; }
  .features__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* 写真と本文の縦並び：全行で写真→本文の順に */
  .features__row--photo-right .features__photo { grid-column: auto; grid-row: 1; }
  .features__row--photo-right .features__body  { grid-column: auto; grid-row: 2; }
  .features__photo { aspect-ratio: 16 / 9; max-width: 560px; margin: 0 auto; }
  /* タイトル帯を中央配置に */
  .features__body {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .features__badge-wrap { width: 100%; margin-left: auto; margin-right: auto; }
  .features__badge { width: 100%; }
  .features__chara--bird { right: -8px; top: -22px; width: 68px; }
  .features__chara--bear { left: -20px; top: -38px; width: 80px; }
  .features__chara--music { right: -4px; top: -22px; width: 46px; }
  .features__desc {
    width: 100%;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
  }

  /* === Slider (Tablet) === */
  .slider__item { width: clamp(220px, 32vw, 320px); }

  /* === Access (Tablet) === */
  .access__inner { padding: 0 32px; }
  .access__title { font-size: 26px; }
  .access__body {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }
  .access__info { width: 100%; max-width: 560px; }
  .access__hours { max-width: 560px; }
  .access__map {
    width: 100%;
    max-width: 560px;
    height: clamp(300px, 58vw, 420px);
  }
  .access__hours-title { font-size: 16px; }

  /* === Footer (Tablet) === */
  .site-footer__inner { padding: 0 32px; }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }
  .site-footer__info { align-items: center; }
  .site-footer__nav-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    text-align: left;
  }
}

/* ============================================================
   SP (<= 767px)
============================================================ */
@media (max-width: 767px) {
  :root { --header-h: 72px; }

  .site-header { height: var(--header-h); }
  .site-header__inner { padding: 0 16px; }
  .site-header__logo img { width: 110px; }

  .mv__inner { padding: 0; }
  .mv__visual {
    aspect-ratio: 3 / 4;          /* 縦長すぎを抑え、写真の余白を圧縮 */
    border-radius: 0;
  }

  /* === スマホ：キャッチコピーを大きく＋画像中央付近に配置 === */
  .mv__catch {
    left: 14px;
    right: 14px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    gap: 10px;
    max-width: calc(100% - 28px);
  }
  .mv__catch-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 4px 14px;
    font-size: clamp(19px, 5.8vw, 24px);
    line-height: 1.45;
    box-shadow: 3px 3px 0 var(--c-catch-shadow);
    overflow-wrap: anywhere;
  }

  .mv__contact {
    position: absolute;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 0;
    width: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 12px 14px 14px;
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
    background: var(--c-white);
  }
  .mv__visual {
    overflow: hidden;
    margin-bottom: 0;
  }
	.mv__visual .mv__bg{
		object-position: 65% center !important;
	}
  .mv__contact-name { font-size: 16px; }
  .mv__contact-address { font-size: 14px; }
  .mv__contact-tel-num { font-size: 26px; }
  .mv__contact-tel-icon { width: 26px; }

  /* === スマホ用フローティング：画面下部に固定3列 === */
  .floating-cta {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }
  .floating-cta__list {
    flex-direction: row;
    gap: 0;
  }
  .floating-cta__item { flex: 1 1 0; }
  .floating-cta__link {
    width: 100%;
    height: 60px;
    border-radius: 0;
    flex-direction: row;
    gap: 6px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.12);
  }
  .floating-cta__icon { width: 22px; }
  .floating-cta__label { font-size: 14px; }

  /* SP下部CTAでメインコンテンツが隠れないよう余白 */
  body { padding-bottom: 60px; }

  /* === News (SP) === */
  .news { padding: 56px 0 70px; }
  .news__inner { padding: 0 16px; gap: 20px; }
  .news__heading {
    height: 130px;
    border-radius: 8px;
  }
  .news__heading-deco {
    left: -49px;
    top: 5px;
    width: 310px;
    transform: rotate(-15deg);
  }
  .news__heading-jp { font-size: 22px; }
  .news__heading-en { font-size: 14px; }

  .news__main { padding-right: 12px; }
  .news__bar { display: block; width: 4px; }

  .news__list { gap: 10px; }
  .news__row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 14px;
    padding: 14px 16px;
    min-height: auto;
  }
  .news__category {
    width: auto;
    min-width: 88px;
    height: 26px;
    padding: 0 14px;
    font-size: 13px;
  }
  .news__date  { font-size: 13px; }
  .news__title {
    flex: 1 1 100%;
    font-size: 15px;
    -webkit-line-clamp: 2;
    line-height: 1.5;
  }

  .news__more {
    margin-top: 28px;
    justify-content: center;       /* SPでは中央 */
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .news__more-link {
    min-width: 0;
    width: min(285px, calc(100vw - 96px));
    height: 63px;
    padding: 0 25px 0 25px;
    font-size: 16px;
  }

  .news__character {
    width: 62px;
    height: 89px;       /* 95:145 のアスペクト比維持 */
    left: auto;
    right: -10px;
    bottom: 6px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .08));
    z-index: 3;
  }

  /* SPでも装飾は表示（高さは小さめに） */
  .news-deco img { min-width: 768px; }

  /* === Greeting (SP) === */
  .greeting { padding-top: 50px; }
  .greeting__inner {
    width: 100%;
    max-width: 100vw;
    padding:0px 20px 60px;
    gap: 28px;
    overflow: hidden;
  }
  .greeting__title { font-size: 22px; }
  .greeting__lead  {
    display: block;
    width: 100%;
    max-width: calc(100vw - 40px);
    font-size: 15px;
    line-height: 2.1;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .greeting__text {
    width: 100%;
    max-width: calc(100vw - 40px);
  }
  .greeting__signature {
    margin-top: 22px;
    font-size: 16px;
  }
  .greeting__photo {
    max-width: 280px;
    margin: 0 auto;
  }
  .greeting__photo-deco {
    left: 10px;
    top: 8px;
  }
  /* お花装飾はtabletから非表示継承 */

  /* === Medical Menu (SP) === */
  .menu { padding: 50px 0 70px; }
  .menu__inner { position: relative; padding: 0 16px; }
  .menu__title { font-size: 22px; }
  .menu__en { font-size: 13px; }
  .menu__sub { font-size: 14px; }

  /* SP: キャラクターを「小児科一般診療」カード(1枚目)の右上に重ねる */
  .menu__character {
    position: absolute;
    /* card1上端付近に上部、カードに食い込む位置 */
    top: clamp(135px, 54vw, 135px);
    right: clamp(-10px, 18vw, -10px);
    bottom: auto;
    width: clamp(120px, 22vw, 120px);
    height: auto;
    margin: 0;
    display: block;
    z-index: 50;
    transform: translateY(-50%);   /* キャラの大半がカード上に被る */
  }
  .menu__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .menu__card { padding: 12px 12px 24px; }
  .menu__photo { margin-bottom: 30px; }
  .menu__more {
    width: 84px;
    height: 84px;
    font-size: 14px;
    bottom: 125px;
    right: 12px;

  }
  .menu__name { font-size: 18px; }
  .menu__desc { font-size: 14px; }
  .menu__status { font-size: 13px; }

  /* === First Visit (SP) === */
  .first-visit { padding: 50px 0 60px; }
  .first-visit__inner { padding: 0 16px; }
  .first-visit__title { font-size: 22px; }
  .first-visit__lead { font-size: 14px; line-height: 1.7; }
  .first-visit__body { gap: 36px; }
  .first-visit__left {
    padding-top: 40px;
    gap: 12px;
  }
  .first-visit__chara { left: -45px; top: -112px; width: 122px; }
  .first-visit__cloud { left: -4px; top: -10px; width: 68px; }
  .first-visit__btn {
    min-height: 64px;
    height: auto;
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 1.35;
    /* 左に雲ラベルがあるのでテキストを右に寄せる */
    padding: 12px 8px 12px 68px;
    justify-content: center;
  }
  .first-visit__items { padding: 32px 12px 16px; }
  .first-visit__items-head {
    font-size: 12px;
    padding: 8px 12px;
    top: -20px;
    white-space: normal;
    text-align: center;
    width: 92%;
    line-height: 1.4;
  }
  .first-visit__items-list { gap: 6px; }
  .first-visit__item { gap: 0px; }
  .first-visit__item-circle { width: 90px; height: 90px; }
  .first-visit__item-label { min-width: 88px; height: 32px; font-size: 14px; padding: 0 10px; }

  /* === Features (SP) === */
  .features { padding: 50px 0 70px; }
  .features__inner { padding: 0 16px; }
  .features__title { font-size: 22px; }
  .features__en { font-size: 13px; }
  .features__list { gap: 85px; }
  .features__row { gap: 18px; }
  /* SP: テキスト(body) → 写真(photo) の順に */
  .features__row .features__body  { grid-row: 1; grid-column: 1; }
  .features__row .features__photo { grid-row: 2; grid-column: 1; }
  .features__row--photo-right .features__photo { grid-row: 2; grid-column: 1; }
  .features__row--photo-right .features__body  { grid-row: 1; grid-column: 1; }
  .features__photo { aspect-ratio: 4 / 3; max-width: 100%; }
  /* タイトル帯はSPで横幅いっぱい */
  .features__badge-wrap { width: 100%; }
  .features__badge { width: 100%; max-width: 100%; }
  .features__badge-text { font-size: 16px; }
  .features__chara--bird { right: 0; top: -20px; width: 52px; }
  .features__chara--bear { left: -4px; right: auto; top: -30px; width: 48px; }
  .features__chara--music { right: 4px; top: -18px; width: 36px; }
  .features__desc { width: 100%; font-size: 14px; line-height: 1.8; }

  /* === Slider (SP) === */
  .slider { --slider-speed: 42; padding: 30px 0 40px; }
  .slider__track { gap: 12px; padding: 0 16px; }
  .slider__item { width: 75vw; max-width: 280px; }

  /* === Access (SP) === */
  .access { padding: 50px 0 60px; }
  .access__inner { padding: 0 16px; }
  .access__title { font-size: 22px; }
  .access__body { gap: 28px; }
  .access__logo { width: 160px; }
  .access__addr { font-size: 16px; line-height: 1.7; }
  .access__tel { padding: 10px 24px; gap: 8px; }
  .access__tel-icon { width: 18px; height: 18px; }
  .access__tel-num { font-size: 20px; }
  .access__hours-title { font-size: 16px; }
  .access__hours-table { font-size: 14px; min-width: 0; }
  .access__hours-table th, .access__hours-table td { padding: 8px 2px; }
  .access__hours-on { font-size: 14px; }
  .access__notes li { font-size: 14px; }

  /* === Footer (SP) === */
  .site-footer { padding-top: 40px; }
  .site-footer__inner { padding: 0 16px; }
  .site-footer__logo { width: 150px; }
  .site-footer__addr { font-size: 14px; }
  .site-footer__tel-num { font-size: 22px; }
  .site-footer__nav-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px 10px;
    width: 100%;
    max-width: 420px;
  }
  .site-footer__nav-link { font-size: 16px; }
  .site-footer__sub-link { font-size: 14px; }
  .site-footer__copyright { font-size: 12px; padding: 12px 16px 16px; }
}

@media (max-width: 535px) {
  .site-footer__illust {
    height: 24vw;
    margin-top: 0;
  }
  .site-footer__illust img {
    transform: translateY(-66%);
  }
}

/* ====== ユーティリティ：スクロール禁止 ====== */
body.is-locked { overflow: hidden; }


	@media (min-width: 1024px) {
  .access__body {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .access__map {
    max-width: 520px;
    width: 100%;
    justify-self: end;
  }
}

.access__hours-table {
  table-layout: fixed;
}

.access__hours-table thead th:first-child {
  width: 28%;
}

.access__hours-label {
  text-align: center !important;
  padding: 10px 8px !important;
  white-space: normal;
  line-height: 1.35;
}

.access__hours-label-main,
.access__hours-label-time {
  display: block;
}

.access__hours-label-main {
  font-size: 16px;
  font-weight: 500;
}

.access__hours-label-time {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.access__hours-on,
.access__hours-off {
  font-size: 18px;
  font-weight: 700;
}

.access__hours-off {
  color: var(--c-text);
}

@media (max-width: 767px) {
  .access__hours-table {
/*     min-width: 560px; */
  }

  .access__hours-table th,
  .access__hours-table td {
    padding: 8px 6px;
  }

  .access__hours-label-main {
    font-size: 16px;
  }

  .access__hours-label-time {
    font-size: 12px;
  }

  .access__hours-on,
  .access__hours-off {
    font-size: 16px;
  }
}
	

@media (max-width: 767px) {
  .access__hours-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 16px;
  }

  .access__hours-table th,
  .access__hours-table td {
    padding: 7px 2px;
  }

  .access__hours-table thead th:first-child {
    width: 32%;
  }

  .access__hours-label {
    padding: 8px 3px !important;
  }

  .access__hours-label-main {
    font-size: 15px;
    line-height: 1.25;
  }

  .access__hours-label-time {
    font-size: 11px;
    line-height: 1.25;
  }

  .access__hours-on,
  .access__hours-off {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .access__hours-table thead th:first-child,
  .access__hours-label {
    width: 25% !important;
    max-width: 25% !important;
  }

  .access__hours-label {
    padding: 8px 1px !important;
  }

  .access__hours-label-main {
    font-size: 16px !important;
  }

  .access__hours-label-time {
    font-size: 14px !important;
  }
}
	



.opening-notice {
  padding: 55px 20px 40px;
  background: #FFF8E8;
}

.opening-notice__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 24px;
/*   border: 3px solid #F1A900; */
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-align: center;
  box-shadow: 0 6px 14px rgba(241, 169, 0, .14);
}

.opening-notice__label {
  display: inline-block;
  margin-right: 16px;
  padding: 5px 14px;
  border-radius: 8px;
  background: #F1A900;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.opening-notice__text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #E67332;
}

@media (max-width: 767px) {
  .opening-notice {
    padding: 22px 16px 40px;
  }

  .opening-notice__inner {
    padding: 14px 16px;
  }

  .opening-notice__label {
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
    font-size: 16px;
  }

  .opening-notice__text {
    display: block;
    font-size: 20px;
  }
}

.floating_fontsize{
	font-size:12px;
	display: block;       /* これで自動的に改行されます */
    margin-top: -4px;      /* ★ここ！この数値を調整することで、隙間をピタッと狭められます */
}

@media (max-width: 767px) {
	.br_sp{
		display:none;
	}
	}