/* ============================================
   VET FOREST TEMPLATE
   森のそばの動物病院 — セージ×生成り×木の茶
   明朝の縦書き見出し、有機的な丸い写真マスク、葉がゆれる静かな動き
============================================ */

:root {
  /* Color */
  --kinari: #f4efe4; /* 生成り（背景） */
  --kinari-deep: #ebe3d2;
  --paper: #faf7f0;
  --sage: #8a9a7b; /* セージ */
  --sage-soft: #c5cdb8;
  --sage-pale: #dfe4d6;
  --moss: #5f6f52; /* 濃いセージ（ボタン） */
  --forest: #2f3a2c; /* 深い森（夜間の帯・フッター） */
  --wood: #8b6a4a; /* 木の茶 */
  --wood-soft: #c4a984;
  --wood-pale: #e7d9c3;
  --ink: #33382f; /* 文字 */
  --ink-soft: #5e6458;
  --line: rgba(51, 56, 47, 0.16);
  --white: #ffffff;

  /* Font */
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;

  /* Shape — 角ではなく、石や葉のような丸み */
  --radius: 14px;
  --radius-full: 999px;
  --blob-1: 58% 42% 55% 45% / 46% 54% 46% 54%;
  --blob-2: 44% 56% 38% 62% / 55% 40% 60% 45%;
  --blob-3: 62% 38% 48% 52% / 40% 58% 42% 60%;
  --blob-4: 50% 50% 62% 38% / 60% 46% 54% 40%;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  /* ゆっくり止まるイージング */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--kinari);
  color: var(--ink);
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--kinari);
  border-radius: var(--radius-full);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section--kinari {
  background: var(--paper);
}

.section--sage {
  background: var(--sage-pale);
}

/* ---------- 有機的な写真マスク ---------- */
.blob {
  overflow: hidden;
  border-radius: var(--blob-1);
  background: var(--sage-soft);
}

.blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blob--2 {
  border-radius: var(--blob-2);
}

.blob--3 {
  border-radius: var(--blob-3);
}

.blob--4 {
  border-radius: var(--blob-4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn--moss {
  background: var(--moss);
  color: var(--kinari);
}

.btn--moss:hover {
  background: var(--forest);
}

.btn--line {
  border: 1px solid var(--moss);
  color: var(--moss);
}

.btn--line:hover {
  background: var(--moss);
  color: var(--kinari);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: box-shadow 0.4s ease;
}

/* 背景は疑似要素に（ヘッダー本体に背景効果を付けると中の固定メニューが閉じ込められるため） */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 239, 228, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
  z-index: -1;
}

.header.is-scrolled::before {
  background: rgba(244, 239, 228, 0.96);
  border-bottom-color: var(--line);
}

.header__inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moss);
}

.logo__mark {
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.logo__text small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-block;
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--cta {
  margin-left: 10px;
  padding: 10px 20px;
  background: var(--moss);
  color: var(--kinari);
  border-radius: var(--radius-full);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--forest);
}

.nav__tel {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 19px;
}

.nav-toggle span:nth-child(2) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(30deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 23px;
  transform: rotate(-30deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
}

/* 背景の大きな木の影のような形 */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -12%;
  width: 52%;
  height: 90%;
  background: var(--sage-pale);
  border-radius: var(--blob-3);
  z-index: -1;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  grid-template-areas: "text photo title";
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}

.hero__title {
  grid-area: title;
  align-self: start;
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.hero__line {
  display: block;
}

.hero__line--sub {
  padding-top: 1.6em; /* 二行目を少し下げて、木の幹のようにずらす */
  color: var(--moss);
}

.hero__photo {
  grid-area: photo;
  aspect-ratio: 7 / 8;
  overflow: hidden;
  border-radius: var(--blob-1);
  background: var(--sage-soft);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero__text {
  grid-area: text;
  padding-bottom: 12px;
}

.hero__lead {
  font-size: 16px;
  line-height: 2.1;
  margin-bottom: 28px;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--paper);
}

.status-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wood-soft);
}

.is-open .status-dot {
  background: #6f9a5a;
  box-shadow: 0 0 0 4px rgba(111, 154, 90, 0.18);
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 葉（装飾）。動かさず、置いてあるだけ */
.leaf {
  position: absolute;
  fill: var(--sage);
  opacity: 0.55;
  pointer-events: none;
}

.leaf--a {
  width: 46px;
  top: 22%;
  right: 6%;
}

.leaf--b {
  width: 30px;
  bottom: 18%;
  left: 4%;
  fill: var(--wood-soft);
}

.leaf--c {
  width: 22px;
  top: 62%;
  right: 30%;
}

/* ---------- News（木の札） ---------- */
.news {
  padding: 0 0 24px;
}

.news__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: start;
}

.news__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  padding: 18px 10px;
  color: var(--kinari);
  background: var(--wood);
  border-radius: 6px 6px 18px 18px;
}

.news__list {
  border-top: 1px solid var(--line);
}

.news__list li {
  display: grid;
  grid-template-columns: 100px 52px 1fr;
  gap: 4px 18px;
  align-items: baseline;
  padding: 16px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.news__list time {
  font-family: var(--font-mincho);
  color: var(--wood);
  letter-spacing: 0.06em;
}

.news__tag {
  display: inline-block;
  text-align: center;
  font-size: 12px;
  padding: 1px 0;
  border: 1px solid var(--moss);
  color: var(--moss);
  border-radius: var(--radius-full);
}

.news__tag--wood {
  border-color: var(--wood);
  color: var(--wood);
}

/* ---------- 縦書き見出し ---------- */
.v-title {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.3em;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  padding-top: 48px;
}

/* 見出しの上に小さな若葉 */
.v-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 28px;
  margin-left: -9px;
  background: var(--sage);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  clip-path: ellipse(50% 50% at 50% 50%);
  transform: rotate(-18deg);
}

/* ---------- 横書き見出し ---------- */
.sec-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.sec-head--left {
  text-align: left;
}

.sec-head__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.14em;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sec-head__lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Greeting ---------- */
.greeting__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.greeting__catch {
  font-family: var(--font-mincho);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 28px;
  color: var(--moss);
  word-break: keep-all;
}

.greeting__body p + p {
  margin-top: 1.1em;
}

.greeting__sign {
  margin-top: 28px !important;
  font-family: var(--font-mincho);
  font-size: 17px;
  text-align: right;
}

.greeting__sign small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  margin-left: 4px;
}

.greeting__photo {
  aspect-ratio: 5 / 4;
  margin-top: 80px;
}

/* ---------- Animals（小径に並ぶ丸い写真） ---------- */
.animals__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.animal {
  text-align: center;
}

/* 互い違いに上下させて、小径を歩くリズムに */
.animal:nth-child(even) {
  margin-top: 56px;
}

.animal__photo {
  aspect-ratio: 1;
  margin-bottom: 16px;
}

.animal__name {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.animal__name span {
  font-size: 13px;
  margin-left: 2px;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.animal__note {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.v-title--right {
  order: 2;
}

.services__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
}

.svc-list {
  border-top: 1px solid var(--line);
}

.svc {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.svc__no {
  font-family: var(--font-mincho);
  font-size: 22px;
  color: var(--wood);
  line-height: 1.4;
  text-align: center;
}

.svc__name {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.svc p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.services__photos {
  display: grid;
  gap: 28px;
}

.svc-photo {
  position: relative;
}

/* キャプションを切り抜かないよう、形は写真そのものに付ける */
.svc-photo.blob {
  overflow: visible;
  background: none;
  border-radius: 0;
}

.svc-photo img {
  height: auto;
  border-radius: var(--blob-3);
  background: var(--sage-soft);
}

.svc-photo--2 img {
  border-radius: var(--blob-1);
}

.svc-photo--3 img {
  border-radius: var(--blob-4);
}

.svc-photo img {
  aspect-ratio: 8 / 9;
}

.svc-photo--2 {
  width: 82%;
  margin-left: auto;
}

.svc-photo--2 img,
.svc-photo--3 img {
  aspect-ratio: 8 / 7;
}

.svc-photo--3 {
  width: 76%;
}

.svc-photo figcaption {
  margin-top: 10px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--wood-soft);
}

/* ---------- Hours（木の板の表） ---------- */
.hours__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas:
    "head head"
    "board memo";
  gap: 32px 48px;
  align-items: start;
}

.hours__head {
  grid-area: head;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}

.hours__now {
  font-size: 15px;
  color: var(--moss);
}

.hours__now.is-open {
  font-weight: 700;
}

.board {
  grid-area: board;
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  background: var(--paper);
  border-radius: 24px 8px 24px 8px;
  border: 1px solid rgba(139, 106, 74, 0.28);
  box-shadow: 0 1px 0 rgba(139, 106, 74, 0.2), 0 18px 30px -24px rgba(47, 58, 44, 0.5);
}

.board__hint {
  display: none;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 6px;
}

.board__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hours-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  text-align: center;
  font-size: 16px;
}

.hours-table th,
.hours-table td {
  padding: 16px 6px;
  border-bottom: 1px solid rgba(139, 106, 74, 0.25);
}

.hours-table thead th {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 17px;
  color: var(--wood);
  border-bottom: 2px solid var(--wood-soft);
}

.hours-table tbody th {
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 16px;
  position: sticky;
  left: 0;
  background: var(--paper);
}

.hours-table tbody th small {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
}

.hours-table td {
  font-size: 18px;
  color: var(--moss);
}

.hours-table .is-off {
  color: #b4ab9b;
}

.hours-table .is-limited {
  color: var(--wood);
}

/* 今日の列（JSで付与） */
.hours-table .is-today {
  background: var(--sage-pale);
}

.hours-table thead .is-today {
  color: var(--forest);
  position: relative;
}

.hours-table thead .is-today::after {
  content: "今日";
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0.1em;
}

.board__legend {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

.board__legend b {
  font-weight: 500;
  margin-right: 6px;
  color: var(--moss);
}

.board__legend .is-limited {
  color: var(--wood);
}

.board__legend .is-off {
  color: #b4ab9b;
}

.hours__memo {
  grid-area: memo;
  position: relative;
  padding: 28px 24px 22px;
  background: var(--wood-pale);
  border-radius: 6px 22px 6px 22px;
  font-size: 15px;
  line-height: 1.9;
}

/* 麻ひもで留めたような小さな丸 */
.hours__memo::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--wood);
}

.hours__memo-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
}

.hours__memo-who {
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  color: var(--wood);
}

/* ---------- First visit（つるの点線でつながるステップ） ---------- */
.vine {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: vine;
}

/* つる：波打つ点線 */
.vine::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background-image: radial-gradient(circle, var(--sage) 1.4px, transparent 1.6px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.vine__step {
  position: relative;
}

.vine__step:nth-child(even) {
  margin-top: 40px;
}

.vine__no {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 600;
  color: var(--kinari);
  background: var(--moss);
  border-radius: var(--blob-2);
}

.vine__step:nth-child(even) .vine__no {
  background: var(--wood);
  border-radius: var(--blob-3);
}

.vine__step h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  word-break: keep-all;
}

.vine__step p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.first__photo {
  margin: 64px auto 0;
  max-width: 760px;
  aspect-ratio: 12 / 7;
}

/* ---------- Facility ---------- */
.facility__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.facility__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px 28px;
}

.fac {
  grid-column: span 2;
}

.fac--wide {
  grid-column: 1 / span 4;
}

.fac:nth-child(2) {
  grid-column: 5 / span 2;
  align-self: end;
}

.fac:nth-child(4) {
  margin-top: 48px;
}

.fac__img {
  aspect-ratio: 8 / 7;
  margin-bottom: 14px;
}

.fac--wide .fac__img {
  aspect-ratio: 12 / 7;
}

.fac figcaption {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.fac figcaption b {
  display: block;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* ---------- Staff ---------- */
.director {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: 72px;
}

.director__photo {
  aspect-ratio: 8 / 9;
}

.director__role,
.crew__role {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--wood);
}

.director__name {
  font-family: var(--font-mincho);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 4px 0 18px;
}

.director__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.director__dl {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.director__dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.director__dl dt {
  color: var(--moss);
}

.crew {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 900px;
  margin-left: auto;
}

.crew__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.crew__photo {
  aspect-ratio: 1;
}

.crew__name {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.crew__word {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- Night（深い森の帯） ---------- */
.night {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0;
  background: var(--forest);
  color: #e9e6da;
  overflow: hidden;
}

/* 帯の端に大きな葉影 */
.night::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 420px;
  background: rgba(138, 154, 123, 0.14);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: rotate(28deg);
}

.night__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

.night__head svg {
  color: var(--wood-soft);
  margin-bottom: 16px;
}

.night__title {
  font-family: var(--font-mincho);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.12em;
  word-break: keep-all;
}

.night__body > p {
  font-size: 15px;
}

.night__dl {
  margin-top: 24px;
  border-top: 1px solid rgba(233, 230, 218, 0.25);
}

.night__dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(233, 230, 218, 0.25);
  font-size: 15px;
}

.night__dl dt {
  color: var(--wood-soft);
}

.night__dl a {
  display: inline-block;
  margin: 4px 0;
  font-family: var(--font-mincho);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #fff;
  border-bottom: 1px solid var(--wood-soft);
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__lead {
  margin: 16px 0 28px;
  font-size: 15px;
  color: var(--ink-soft);
}

.ways {
  display: grid;
  gap: 14px;
}

.way {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "label main"
    "label sub";
  align-items: center;
  column-gap: 16px;
  padding: 16px 22px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 40px 14px 40px 14px;
  background: var(--paper);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.way:hover {
  border-color: var(--moss);
  background: var(--white);
}

.way__label {
  grid-area: label;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--wood);
}

.way__main {
  grid-area: main;
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.way__sub {
  grid-area: sub;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.way--tel {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--kinari);
}

.way--tel .way__label,
.way--tel .way__sub {
  color: var(--sage-pale);
}

.way--tel .way__main {
  font-size: 24px;
}

.way--tel:hover {
  background: var(--forest);
}

.form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border-radius: 28px 10px 28px 10px;
  border: 1px solid var(--line);
}

.form__title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.form__note {
  margin: 6px 0 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field__label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.field__label em {
  font-style: normal;
  font-size: 11px;
  margin-left: 8px;
  padding: 1px 8px;
  color: var(--kinari);
  background: var(--wood);
  border-radius: var(--radius-full);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px;
  background: var(--white);
  border: 1px solid rgba(51, 56, 47, 0.22);
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.field textarea {
  resize: vertical;
  line-height: 1.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(95, 111, 82, 0.18);
}

.form__submit {
  width: 100%;
  margin-top: 4px;
}

.form__msg {
  margin-top: 14px;
  font-size: 15px;
  color: var(--moss);
  min-height: 1.6em;
}

/* ---------- Access ---------- */
.access__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.access__dl {
  border-top: 1px solid var(--line);
}

.access__dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.access__dl dt {
  color: var(--moss);
}

.access__dl a {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
  border-bottom: 1px solid var(--wood-soft);
}

.access__memo {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.access__map {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--blob-4);
  background: var(--sage-pale);
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.6) sepia(0.15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest);
  color: #d9d6c9;
  padding: 56px 0 24px;
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
}

.footer__name {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 6px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer__nav a {
  display: inline-block;
  padding: 11px 2px;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__copy {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- Page top ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--kinari);
  background: var(--moss);
  border-radius: var(--blob-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0.4s;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- Scroll reveal（芽吹くように、静かに立ち上がる） ----------
   html.js-forest のときだけ隠す＝JSが動かなければ最初から見える */
.js-forest [data-grow] {
  opacity: 0;
  transform: translateY(20px);
}

.js-forest [data-grow].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ヒーローは開いた直後にすっと（ローダーなし。JSのタイマーでも必ず付く） */
.js-forest .hero__title,
.js-forest .hero__text {
  opacity: 0;
  transform: translateY(12px);
}

.js-forest .hero__photo img {
  opacity: 0;
  transform: scale(1.04);
}

.js-forest .is-hero-in .hero__title,
.js-forest .is-hero-in .hero__text {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-forest .is-hero-in .hero__text {
  transition-delay: 0.15s;
}

.js-forest .is-hero-in .hero__photo img {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease-out, transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 日本語の組版 ---------- */
.night__title,
.greeting__catch,
.director__name,
.svc__name,
.vine__step h3,
.fac figcaption b {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.pc-only {
  display: inline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 16px) 32px 40px;
    background: var(--kinari);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease-out,
      transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .nav__link {
    font-family: var(--font-mincho);
    font-size: 20px;
    padding: 10px 0;
  }

  .nav__link::after {
    left: 0;
    right: 0;
  }

  .nav__link--cta {
    margin: 16px 0 0;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 16px;
  }

  .nav__tel {
    display: block;
    margin-top: 28px;
    font-size: 14px;
    color: var(--ink-soft);
  }

  .nav__tel a {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-mincho);
    font-size: 22px;
    color: var(--moss);
  }

  .nav-open {
    overflow: hidden;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "photo title"
      "text text";
    align-items: start;
  }

  .greeting__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .greeting__photo {
    grid-column: 2;
    margin-top: 0;
    max-width: 520px;
  }

  .animals__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .animal:nth-child(even) {
    margin-top: 0;
  }

  .animal:nth-child(3n + 2) {
    margin-top: 40px;
  }

  .services__body {
    grid-template-columns: 1fr;
  }

  .services__photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .svc-photo--2,
  .svc-photo--3 {
    width: 100%;
  }

  .svc-photo img,
  .svc-photo--2 img,
  .svc-photo--3 img {
    aspect-ratio: 1;
  }


  .hours__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "board"
      "memo";
  }

  .hours__memo {
    max-width: 520px;
  }

  .vine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .vine::before {
    display: none;
  }

  .vine__step:nth-child(even) {
    margin-top: 0;
  }

  .facility__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .fac,
  .fac--wide,
  .fac:nth-child(2) {
    grid-column: auto;
  }

  .fac--wide {
    grid-column: 1 / -1;
  }

  .fac:nth-child(4) {
    margin-top: 0;
  }

  .access__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .access__map {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-radius: 40% 60% 46% 54% / 30% 30% 70% 70%;
  }
}

@media (max-width: 820px) {
  .contact__inner,
  .night__inner,
  .director {
    grid-template-columns: 1fr;
  }

  .director__photo {
    max-width: 360px;
  }

  .crew {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .news__inner {
    grid-template-columns: 1fr;
  }

  .news__title {
    writing-mode: horizontal-tb;
    justify-self: start;
    padding: 6px 22px;
    border-radius: 18px 6px 18px 6px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .pc-only {
    display: none;
  }

  .logo__text {
    font-size: 17px;
  }

  .logo__text small {
    font-size: 10px;
  }

  .hero {
    padding: calc(var(--header-h) + 24px) 0 64px;
  }

  .hero::before {
    width: 80%;
    height: 60%;
  }

  .hero__inner {
    gap: 16px;
  }

  .hero__title {
    font-size: 30px;
    letter-spacing: 0.16em;
  }

  .hero__lead {
    font-size: 15px;
    margin-top: 8px;
  }

  .hero__btns .btn {
    flex: 1 1 100%;
  }

  .leaf--c {
    display: none;
  }

  .leaf--a {
    top: auto;
    bottom: 30%;
    right: 5%;
    width: 34px;
  }

  .news__list li {
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    font-size: 14px;
  }

  .news__list li p {
    grid-column: 1 / -1;
  }

  .news__tag {
    padding: 0 12px;
    justify-self: start;
  }

  .greeting__inner,
  .facility__inner,
  .access__inner {
    gap: 18px;
  }

  .greeting__photo,
  .access__info,
  .facility__grid {
    grid-column: 1 / -1;
  }

  .v-title {
    font-size: 24px;
    padding-top: 40px;
  }

  .animals__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .animal:nth-child(3n + 2) {
    margin-top: 0;
  }

  .animal:nth-child(even) {
    margin-top: 32px;
  }

  .animal:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
    width: 100%;
  }

  .services__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .svc {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .services__photos {
    grid-template-columns: 1fr 1fr;
  }

  .svc-photo--1 {
    grid-column: 1 / -1;
  }

  .svc-photo--1 img {
    aspect-ratio: 4 / 3;
  }

  .board__hint {
    display: block;
  }

  .hours-table th,
  .hours-table td {
    padding: 14px 4px;
  }

  .vine {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 8px;
  }

  /* スマホではつるを縦に */
  .vine::before {
    display: block;
    top: 28px;
    bottom: 28px;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
    background-size: 2px 10px;
    background-repeat: repeat-y;
  }

  .vine__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
  }

  .vine__no {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .facility__grid {
    grid-template-columns: 1fr;
  }

  .crew__item {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .night__dl > div,
  .director__dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .form__row--half {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .way {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "main"
      "sub";
    padding: 14px 20px;
  }

  .way--tel .way__main {
    font-size: 22px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .js-forest [data-grow],
  .js-forest .hero__title,
  .js-forest .hero__text,
  .js-forest .hero__photo img {
    opacity: 1 !important;
    transform: none !important;
  }
}
