/* ============================================
   VET DENTAL TEMPLATE
   動物病院・歯科に強い — 白×墨×コーラル、薄ミントの面
   ヒーローは写真なしの文字の大組み。太いゴシックと大きな数字で言い切る
============================================ */

:root {
  /* Color */
  --white: #fbfbf8; /* 地の白 */
  --ink: #1f2421; /* 墨（文字・濃い面） */
  --ink-soft: #59615c;
  --coral: #e5736a; /* アクセント（歯ぐきの色） */
  --coral-dark: #c95a51;
  --mint: #e8f1ec; /* 薄ミントの面 */
  --mint-line: #c9dcd1;
  --line: #dcdcd5;

  /* Font */
  --font: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.pc {
  display: none;
}
@media (min-width: 900px) {
  .pc {
    display: inline;
  }
  .sp {
    display: none;
  }
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}
.skip-link:focus {
  left: 8px;
}

.h2 {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--coral {
  background: var(--coral);
  color: #fff;
}
.btn--coral:hover {
  background: var(--coral-dark);
}
.btn--ghost {
  border-color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover {
  background: #3a423d;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter);
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav ul {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}
.nav ul a {
  text-decoration: none;
}
.nav ul a:hover {
  color: var(--coral-dark);
}
.nav__cta {
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.menu {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.menu__bar {
  width: 26px;
  height: 10px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: height 0.3s var(--ease);
}
.menu[aria-expanded="true"] .menu__bar {
  height: 2px;
  border-bottom: 0;
}
@media (max-width: 1080px) {
  .menu {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    background: var(--ink);
    color: #fff;
    padding: 32px var(--gutter);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
    font-size: 22px;
  }
  .nav ul a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav__cta {
    text-align: center;
    font-size: 16px;
    padding: 16px;
  }
}

/* ---------- Hero（文字の大組み） ---------- */
.hero {
  padding: clamp(48px, 8vw, 110px) var(--gutter) 0;
  max-width: 1440px;
  margin: 0 auto;
  color: var(--ink);
}
.hero__kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.hero__title {
  font-size: clamp(30px, 9.4vw, 124px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero__title .ln {
  display: block;
}
.hero__title .ln:nth-child(2) {
  color: var(--coral);
  padding-left: 1em;
}
.hero__foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.hero__stat {
  font-weight: 900;
  line-height: 0.9;
  display: flex;
  align-items: flex-end;
}
.hero__stat b {
  font-size: clamp(80px, 10vw, 140px);
  letter-spacing: -0.04em;
}
.hero__stat span {
  font-size: 28px;
  margin: 0 0 8px 4px;
}
.hero__statnote {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 36em;
}
.hero__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__teeth {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: clamp(40px, 6vw, 72px);
  color: var(--coral);
}
@media (max-width: 900px) {
  .hero__foot {
    grid-template-columns: auto 1fr;
  }
  .hero__btns {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 520px) {
  .hero__foot {
    grid-template-columns: 1fr;
  }
  .hero__title .ln:nth-child(2) {
    padding-left: 0.5em;
  }
  .hero__btns .btn {
    width: 100%;
  }
}

/* ---------- News ---------- */
.news {
  background: var(--mint);
  padding: 28px var(--gutter);
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.news h2 {
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  border-left: 2px solid var(--ink);
  padding-left: 10px;
}
.news ul {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news li {
  font-size: 14px;
}
.news time {
  display: block;
  font-weight: 900;
  font-size: 22px;
  color: var(--coral-dark);
  line-height: 1.3;
}
@media (max-width: 800px) {
  .news ul {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
  }
  .news time {
    font-size: 18px;
  }
}

/* ---------- サイン ---------- */
.signs {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: content-box;
}
.signs__photo img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 0 120px 0 0;
}
.signs__photo p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px;
}
.signs__list {
  counter-reset: s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.signs__list li {
  counter-increment: s;
  padding: 18px 0 18px 52px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
}
.signs__list li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-weight: 900;
  font-size: 26px;
  color: var(--coral);
  line-height: 1.2;
}
.signs__list b {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}
@media (max-width: 860px) {
  .signs {
    grid-template-columns: 1fr;
    box-sizing: border-box;
  }
  .signs__photo img {
    aspect-ratio: 16 / 10;
    border-radius: 0 72px 0 0;
  }
  .signs__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 年齢別ケア ---------- */
.age {
  background: var(--ink);
  color: #f1f1ec;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}
.age > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.tabs {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 40px;
  overflow-x: auto;
}
.tabs button {
  flex: 1;
  min-width: 110px;
  min-height: 64px;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  line-height: 1.3;
}
.tabs button small {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--coral);
}
.panel {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  animation: panelIn 0.4s var(--ease);
}
.panel[hidden] {
  display: none;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.panel h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  margin-bottom: 16px;
}
.panel p {
  font-size: 15px;
  color: #c9ccc6;
}
.panel__check li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  font-size: 15px;
}
.panel__check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--coral);
  border-bottom: 3px solid var(--coral);
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .panel {
    grid-template-columns: 1fr;
  }
}

/* ---------- 歯石除去の流れ ---------- */
.flow {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: content-box;
}
.flow__head {
  align-self: start;
  position: sticky;
  top: 100px;
}
.flow__head p {
  color: var(--ink-soft);
  font-size: 15px;
}
.flow__steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 2px solid var(--ink);
}
.flow__no {
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--mint-line);
  -webkit-text-stroke: 1.5px var(--ink);
}
.flow__steps h3 {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}
.flow__steps em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  background: var(--mint);
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 10px;
  white-space: nowrap;
}
.flow__steps p {
  font-size: 15px;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .flow {
    grid-template-columns: 1fr;
    box-sizing: border-box;
  }
  .flow__head {
    position: static;
  }
}
@media (max-width: 480px) {
  .flow__steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .flow__steps em {
    display: inline-block;
    margin: 4px 0 0;
  }
}

/* ---------- 無麻酔について ---------- */
.note {
  padding: 0 var(--gutter);
}
.note__in {
  max-width: var(--max);
  margin: 0 auto;
  border: 2px solid var(--coral);
  padding: clamp(28px, 5vw, 64px);
  position: relative;
}
.note__label {
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 14px;
  margin-bottom: 12px;
}
.note h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 24px;
}
.note__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 15px;
}
@media (max-width: 760px) {
  .note__cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- 歯みがき ---------- */
.brush {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head photos"
    "list photos"
    "list class";
  gap: 24px clamp(32px, 5vw, 80px);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: content-box;
}
.brush__head {
  grid-area: head;
}
.brush__head p {
  color: var(--ink-soft);
}
.brush__list {
  grid-area: list;
}
.brush__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.brush__list b {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}
.brush__list li:last-child b {
  background: var(--coral);
  color: #fff;
}
.brush__list p {
  font-weight: 700;
  font-size: 16px;
}
.brush__list small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
}
.brush__photos {
  grid-area: photos;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: start;
}
.brush__photos img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 50% 8px 8px;
}
.brush__photos img:last-child {
  margin-top: 48px;
}
.brush__class {
  grid-area: class;
  background: var(--mint);
  padding: 24px 28px;
  border-radius: 8px;
  align-self: start;
  font-size: 15px;
}
.brush__class h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .brush {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "photos" "list" "class";
    box-sizing: border-box;
  }
}

/* ---------- 料金 ---------- */
.price {
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  background: var(--mint);
}
.price > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ptable {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
.ptable th,
.ptable td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.ptable thead th {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.ptable th[scope="row"],
.ptable thead th:first-child {
  text-align: left;
}
.ptable td {
  font-weight: 700;
}
.price__note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- 院長 ---------- */
.doctor {
  display: grid;
  grid-template-columns: 5fr 6fr;
  grid-template-areas: "img body" "img sub";
  gap: 32px clamp(32px, 5vw, 80px);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: content-box;
}
.doctor > img {
  grid-area: img;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.doctor__body {
  grid-area: body;
}
.doctor__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-dark);
}
.doctor h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}
.doctor__body p {
  font-size: 15px;
}
.doctor__quote {
  margin-top: 20px;
  font-weight: 700;
  font-size: 17px !important;
  border-left: 4px solid var(--coral);
  padding-left: 16px;
}
.doctor__sub {
  grid-area: sub;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.doctor__sub img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 860px) {
  .doctor {
    grid-template-columns: 1fr;
    grid-template-areas: "body" "img" "sub";
    box-sizing: border-box;
  }
  .doctor > img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- 診療時間 ---------- */
.hours {
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: content-box;
}
.htable {
  width: 100%;
  min-width: 340px;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.htable th,
.htable td {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.htable thead th {
  font-size: 15px;
}
.htable tbody th {
  width: 32%;
  text-align: left;
  font-size: 15px;
  line-height: 1.35;
  padding-left: 4px;
}
.htable tbody th small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.htable td {
  font-size: 15px;
}
.htable .dent {
  color: var(--coral-dark);
  font-weight: 900;
}
.htable .is-today {
  background: var(--mint);
}
.htable thead .is-today {
  background: var(--ink);
  color: #fff;
}
.hours__note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
  max-width: 900px;
  margin: 0 auto;
  box-sizing: content-box;
}
.acc {
  border-top: 1px solid var(--line);
}
.acc:last-child {
  border-bottom: 1px solid var(--line);
}
.acc__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  min-height: 60px;
  padding: 18px 48px 18px 0;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  cursor: pointer;
}
.acc__q::before {
  content: "Q";
  font-weight: 900;
  color: var(--coral);
  margin-right: 12px;
}
.acc__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.acc__q[aria-expanded="true"]::after {
  transform: translateY(5px) rotate(-135deg);
}
.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc__a > div {
  overflow: hidden;
  min-height: 0;
}
.acc__a p {
  padding: 0 0 20px 28px;
  color: var(--ink-soft);
  font-size: 15px;
}
.acc.is-open .acc__a {
  grid-template-rows: 1fr;
}

/* ---------- 予約・お問い合わせ ---------- */
.contact {
  background: var(--coral);
  color: #fff;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.contact__lead p {
  font-size: 15px;
}
.contact__tel {
  display: block;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  text-decoration: none;
  letter-spacing: 0;
  margin: 18px 0;
  line-height: 1.1;
  white-space: nowrap;
}
.contact__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact .btn--coral {
  background: #fff;
  color: var(--coral-dark);
}
.contact .btn--ghost {
  border-color: #fff;
  color: #fff;
}
.contact .btn--ghost:hover {
  background: #fff;
  color: var(--coral-dark);
}
.form {
  background: var(--white);
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 8px;
  display: grid;
  gap: 14px;
}
.form__ttl {
  font-weight: 900;
  font-size: 18px;
}
.form label {
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}
.form input,
.form textarea {
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-size: 16px;
  font-weight: 400;
  min-height: 46px;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.form__msg {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-dark);
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* ---------- アクセス ---------- */
.access {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.access__info {
  padding: clamp(48px, 6vw, 80px) var(--gutter);
}
.access__addr {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.access li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.access iframe {
  width: 100%;
  min-height: 380px;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.8);
}
@media (max-width: 860px) {
  .access {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #bfc4bf;
  padding: 48px var(--gutter);
  font-size: 14px;
}
.footer__big {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

/* ---------- スクロール出現（JSが動いたときだけ） ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .rv.is-in {
  opacity: 1;
  transform: none;
}
html.js .hero .rv {
  transform: translateY(12px);
  transition-duration: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  html.js .rv {
    opacity: 1;
    transform: none;
  }
}

/* スマホの細かな調整 */
@media (max-width: 520px) {
  .htable {
    min-width: 480px; /* 時間帯の説明が読める幅を確保し、枠内で横スクロール */
  }
  .hours .table-wrap::after {
    content: "表は横にスクロールできます";
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 6px;
  }
  .panel h3 {
    font-size: 20px;
  }
}
