/* ============================================
   VET CLEAN TEMPLATE
   動物病院・清潔感ブルー — ブルー×白の王道医療コーポレート
   やわらかい角丸、明るい白基調、ふわっと控えめなフェード
============================================ */

:root {
  /* Color */
  --blue: #1f6fb2; /* メインの青 */
  --blue-dark: #155489;
  --blue-deep: #0f3f68;
  --blue-pale: #eaf3fb; /* 薄い水色の面 */
  --blue-line: #cfe2f3; /* 罫線 */
  --sky: #f5f9fd;
  --ink: #1d2b3a; /* 本文 */
  --ink-soft: #566778;
  --white: #ffffff;
  --line-green: #06c755; /* LINEボタン */
  --alert: #c8553d; /* 緊急・注意（赤すぎない朱） */
  --alert-pale: #fbefec;
  --short: #e0912f; /* ▲の色 */

  /* Font */
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Nunito", "Noto Sans JP", sans-serif;

  /* Shape — やわらかい角丸 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow: 0 8px 28px rgba(31, 111, 178, 0.1);
  --shadow-sm: 0 3px 12px rgba(29, 43, 58, 0.06);

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

  --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-weight: 400;
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.85;
  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;
}

h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.45;
  font-feature-settings: "palt";
}

:focus-visible {
  outline: 3px solid #f2b33d;
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 400;
  padding: 8px 16px;
  background: var(--blue-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.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;
}

.sp-only {
  display: none;
}

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

.container--narrow {
  max-width: 820px;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

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

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(31, 111, 178, 0.28);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue-line);
}

.btn--ghost:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}

.text-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: translateX(4px) rotate(45deg);
}

/* ---------- Section title（左に青い短いバー） ---------- */
.sec-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.sec-title__bar {
  width: 6px;
  height: 1.3em;
  border-radius: 3px;
  background: var(--blue);
}

.sec-title small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.sec-title--white {
  color: var(--white);
}

.sec-title--white .sec-title__bar {
  background: #8fc3ec;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-deep);
  color: #dcebf7;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fa3b5;
}

.is-open-now .status-dot {
  background: #5fd39a;
  box-shadow: 0 0 0 3px rgba(95, 211, 154, 0.25);
}

.topbar__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 8px 0;
}

/* ---------- Header（ぼかしは使わず白の面で） ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header.is-scrolled {
  border-color: var(--blue-line);
  box-shadow: 0 4px 18px rgba(29, 43, 58, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo__mark svg {
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.logo__text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
}

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

.nav__link {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav__link--cta {
  margin-left: 8px;
  padding: 10px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav__link--cta:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.nav__tel {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-deep);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease;
}

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

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

.nav-toggle span:nth-child(3) {
  top: 30px;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--white) 55%, var(--sky) 55%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero__title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero__lead {
  margin-top: 22px;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  padding-bottom: 36px;
}

.hero__photo {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  box-shadow: var(--shadow);
}

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

/* 本日の診療カード（写真の左下に重ねる） */
.today-card {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: min(300px, 80%);
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.today-card__date {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.today-card__state {
  margin-top: 4px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
}

.today-card__state .badge {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  vertical-align: 2px;
  background: #e8f7ef;
  color: #1f7a4d;
}

.today-card__state .badge--closed {
  background: #eef1f4;
  color: var(--ink-soft);
}

.today-card__state .badge--short {
  background: #fdf1e1;
  color: #9a5a10;
}

.today-card__note {
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* よく見られる3つへの近道 */
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-line);
  overflow: hidden;
}

.quick li + li {
  border-left: 1px solid var(--blue-line);
}

.quick__item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 22px 26px;
  color: var(--blue);
  transition: background-color 0.25s ease;
}

.quick__item:hover {
  background: var(--blue-pale);
}

.quick__item svg {
  flex: none;
}

.quick__item span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.quick__item strong {
  font-size: 16px;
  color: var(--ink);
}

.quick__item--alert {
  color: var(--alert);
}

/* ---------- 診療時間 ＋ お知らせ ---------- */
.hours-news {
  background: var(--sky);
  padding-top: clamp(56px, 7vw, 88px);
}

.hours-news__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.hours__table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--blue-line);
}

.hours__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  font-size: 16px;
}

.hours__table th,
.hours__table td {
  padding: 14px 4px;
  border-bottom: 1px solid var(--blue-line);
  transition: background-color 0.3s ease;
}

.hours__table tbody tr:last-child th,
.hours__table tbody tr:last-child td {
  border-bottom: none;
}

.hours__table thead th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.hours__table thead .hours__corner {
  width: 28%;
  background: var(--blue-dark);
}

.hours__holiday {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.hours__table tbody th {
  text-align: left;
  padding-left: 18px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.hours__table tbody th span {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}

/* 今日の列（JSで .is-today を付ける） */
.hours__table .is-today {
  background: #fff8e6;
}

.hours__table thead .is-today {
  background: #f2b33d;
  color: var(--ink);
}

.mk {
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.mk--ok {
  color: var(--blue);
}

.mk--off {
  color: #a4b1bd;
}

.mk--short {
  color: var(--short);
}

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

.hours__legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hours__legend .mk {
  font-size: 15px;
}

.hours__notes {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  color: var(--ink-soft);
}

.hours__notes li {
  position: relative;
  padding-left: 16px;
}

.hours__notes li + li {
  margin-top: 6px;
}

.hours__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-line);
}

/* お知らせ */
.news__list {
  border-top: 1px solid var(--blue-line);
}

.news__item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--blue-line);
  transition: background-color 0.2s ease;
}

.news__item:hover {
  background: var(--white);
}

.news__item:hover .news__text {
  color: var(--blue);
}

.news__item time {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}

.news__cat {
  padding: 1px 10px;
  border-radius: var(--radius-full);
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  justify-self: start;
}

.news__cat--info {
  background: #fdf1e1;
  color: #9a5a10;
}

.news__text {
  font-size: 15px;
  line-height: 1.65;
  transition: color 0.2s ease;
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

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

.about__title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin-bottom: 18px;
}

.about__text > p {
  color: var(--ink-soft);
}

.about__points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.about__points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--sky);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.about__points strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.about__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 800;
}

/* ---------- 診療対象動物 ---------- */
.animals {
  padding-top: 0;
}

.animals__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.animals__head .sec-title {
  margin-bottom: 0;
}

.animals__head p {
  max-width: 34em;
  font-size: 15px;
  color: var(--ink-soft);
}

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

.animal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.5;
}

.animal img {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--blue-pale);
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
}

.animal:hover img {
  border-color: var(--blue-line);
}

.animal strong {
  font-size: 16px;
}

.animal small {
  font-size: 14px;
  color: var(--ink-soft);
}

.animals__note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 診療案内 ---------- */
.services {
  background: var(--sky);
}

.services__head {
  margin-bottom: 32px;
}

.services__head p {
  color: var(--ink-soft);
  font-size: 15px;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  border-top: 1px solid var(--blue-line);
}

.service {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--blue-line);
}

.service__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.service h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* トリミング・ホテル（写真2枚＋料金の横長ブロック） */
.care {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.care__photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

.care__photos img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.care__photos img:last-child {
  margin-top: 40px;
  aspect-ratio: 3 / 4;
  height: auto;
}

.care__text h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  margin-bottom: 10px;
}

.care__text > p {
  font-size: 15px;
  color: var(--ink-soft);
}

.care__price {
  margin-top: 20px;
  border-top: 1px dashed var(--blue-line);
}

.care__price div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--blue-line);
  font-size: 15px;
}

.care__price dd {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}

.care__note {
  margin-top: 8px;
  font-size: 14px !important;
}

/* ---------- 初診の流れ ---------- */
.flow__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 8px 40px;
  margin-bottom: 40px;
}

.flow__head .sec-title {
  margin-bottom: 0;
}

.flow__head p {
  font-size: 15px;
  color: var(--ink-soft);
}

.flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

/* ステップをつなぐ細い線 */
.flow__steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-line) 0 8px, transparent 8px 14px);
}

.step {
  position: relative;
  text-align: center;
}

.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 18px;
}

.step:last-child .step__num {
  background: var(--blue);
  color: var(--white);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  text-align: left;
}

.flow__bring {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--blue-line);
}

.flow__bring li {
  flex: 1 1 320px;
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}

.flow__bring li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- 獣医師・スタッフ ---------- */
.staff {
  background: var(--sky);
}

.director {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 12px;
}

.director__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  max-width: 420px;
}

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

.director__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.director__name {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.director__name span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.director__msg {
  position: relative;
  margin: 22px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px;
  line-height: 1.95;
}

.director__msg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 3px;
  background: var(--blue);
}

.director__data div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--blue-line);
}

.director__data dt {
  font-weight: 700;
  color: var(--blue-dark);
}

.staff__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}

.member {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--blue-line);
}

.member img,
.member__initial {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.member__initial {
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 32px;
}

.member__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.member h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.member p:last-child {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- 院内設備 ---------- */
.facility__head {
  margin-bottom: 32px;
}

.facility__head p {
  font-size: 15px;
  color: var(--ink-soft);
}

.facility__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.fac {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
}

.fac--large {
  grid-row: span 2;
}

.fac img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.fac:hover img {
  transform: scale(1.03);
}

.fac figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.fac figcaption strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.fac:not(.fac--large):nth-child(4) {
  grid-column: 2 / span 2;
}

.fac:not(.fac--large):nth-child(4) img {
  aspect-ratio: 16 / 7;
}

.facility__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.facility__tags li {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--sky);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--blue-line);
  overflow: hidden;
}

.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 16px 56px 16px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::before {
  content: "Q";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 15px;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq__item[open]:not(.is-closing) summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__a {
  overflow: hidden;
  padding: 0 24px 20px 64px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- ご予約・お問い合わせ ---------- */
.contact {
  background: var(--blue-deep);
  color: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__lead {
  color: #cfe2f3;
  margin-bottom: 26px;
}

.tel-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-deep);
  transition: transform 0.25s ease;
}

.tel-btn:hover {
  transform: translateY(-2px);
}

.tel-btn svg {
  flex: none;
  color: var(--blue);
}

.tel-btn span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.tel-btn small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
}

.contact__links {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 15px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.link-btn::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.link-btn--line {
  background: var(--line-green);
  border-color: var(--line-green);
}

.link-btn--line:hover {
  background: #05b04b;
  border-color: #05b04b;
}

.contact__note {
  margin-top: 16px;
  font-size: 14px;
  color: #b9d3ea;
}

/* フォーム */
.form {
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
}

.form__title {
  font-size: 20px;
}

.form__desc {
  margin: 4px 0 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.form__row {
  margin-bottom: 16px;
}

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

.form label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.req {
  padding: 0 8px;
  border-radius: 4px;
  background: var(--alert-pale);
  color: var(--alert);
  font-size: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue-line);
  background: var(--sky);
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.form textarea {
  resize: vertical;
  line-height: 1.7;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form__msg {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
}

.form__msg.is-error {
  color: var(--alert);
}

/* ---------- 夜間・緊急 ---------- */
.emergency {
  padding-bottom: 0;
}

.emergency__box {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #efc8bf;
}

.emergency__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--alert-pale);
  color: var(--alert);
}

.emergency__head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
}

.emergency__body {
  padding: clamp(24px, 4vw, 44px);
}

.emergency__body > p {
  color: var(--ink-soft);
  font-size: 15px;
}

.emergency__dl {
  margin: 18px 0;
}

.emergency__dl div {
  padding: 12px 0;
  border-bottom: 1px solid #f0dcd7;
}

.emergency__dl dt {
  font-weight: 700;
}

.emergency__dl dd {
  font-size: 15px;
  color: var(--ink-soft);
}

.emergency__dl a {
  display: inline-block;
  padding: 4px 0;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 20px;
  color: var(--alert);
  letter-spacing: 0.04em;
}

.emergency__check {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--sky);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- アクセス ---------- */
.access__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

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

.access__dl dt {
  font-weight: 700;
  color: var(--blue-dark);
}

.access__dl a {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--blue);
}

.access__map {
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--blue-line);
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(64px, 9vw, 112px);
  padding: 48px 0 24px;
  background: var(--sky);
  border-top: 1px solid var(--blue-line);
}

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

.footer__name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer__brand p:last-child {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  max-width: 520px;
  font-size: 14px;
}

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

.footer__nav a:hover {
  color: var(--blue);
}

.footer__copy {
  margin-top: 32px;
  text-align: center;
  color: var(--ink-soft);
}

.footer__copy small {
  font-size: 13px;
}

/* ---------- Page top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}

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

/* ---------- Scroll reveal（ふわっと上がる） ----------
   html.js-clean のときだけ隠す＝JSが動かなければ最初から見える */
.js-clean [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link {
    padding: 10px 8px;
    font-size: 13px;
  }

  .nav__link--cta {
    padding: 10px 14px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  /* 全画面のメニュー（ヘッダーにぼかし等を付けていないので fixed が正しく効く） */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease-out,
      transform 0.3s var(--ease),
      visibility 0.3s;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--blue-line);
  }

  .nav__link {
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 700;
  }

  .nav__list li:last-child {
    border-bottom: none;
    margin-top: 20px;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
    padding: 16px;
  }

  .nav__tel {
    display: block;
    padding: 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--blue);
    color: var(--blue);
    text-align: center;
    font-weight: 700;
    font-family: var(--font-num);
    font-size: 18px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero__inner,
  .hours-news__grid,
  .about__inner,
  .care,
  .director,
  .contact__inner,
  .access__inner,
  .emergency__box {
    grid-template-columns: 1fr;
  }

  .hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--white) 70%, var(--sky) 70%);
  }

  .hero__visual {
    max-width: 640px;
    margin-left: auto;
  }

  .today-card {
    left: 12px;
  }

  .animals__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

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

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

  .quick li + li {
    border-left: none;
    border-top: 1px solid var(--blue-line);
  }

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

  .flow__steps::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--blue-line) 0 8px, transparent 8px 14px);
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    padding-bottom: 22px;
    text-align: left;
  }

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

  .step h3 {
    padding-top: 12px;
  }

  .director__photo {
    max-width: 360px;
  }

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

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

  .fac--large {
    grid-column: span 2;
    grid-row: auto;
  }

  .fac--large img {
    aspect-ratio: 16 / 9;
  }

  .fac:not(.fac--large):nth-child(4) {
    grid-column: span 2;
  }

  .access__map,
  .access__map iframe {
    min-height: 320px;
  }
}

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

  .sp-only {
    display: inline;
  }

  .topbar__status {
    font-size: 14px;
    line-height: 1.45;
  }

  .topbar__inner {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .logo__text {
    font-size: 16px;
  }

  .logo__mark svg {
    width: 36px;
    height: 36px;
  }

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

  .hero__photo {
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 64px;
  }

  .today-card {
    position: relative;
    left: auto;
    width: auto;
    margin: -40px 12px 0;
  }

  .hero__visual {
    padding-bottom: 0;
  }

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

  .quick li + li {
    border-left: none;
    border-top: 1px solid var(--blue-line);
  }

  .quick__item {
    padding: 16px 18px;
  }

  /* 診療時間表：375pxでも8列が収まるように左列を細く */
  .hours__table {
    font-size: 15px;
  }

  .hours__table thead .hours__corner {
    width: 76px;
  }

  .hours__table th,
  .hours__table td {
    padding: 12px 2px;
  }

  .hours__table tbody th {
    padding-left: 10px;
    font-size: 14px;
  }

  .hours__table tbody th span {
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .mk {
    font-size: 16px;
  }

  .news__item {
    grid-template-columns: auto 1fr;
  }

  .news__text {
    grid-column: 1 / -1;
  }

  .animals__list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }

  .animal img {
    border-width: 4px;
  }

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

  .service__icon {
    width: 52px;
    height: 52px;
  }

  .care__photos img:last-child {
    margin-top: 24px;
  }

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

  .director__data div,
  .access__dl div {
    grid-template-columns: 5em 1fr;
  }

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

  .fac--large,
  .fac:not(.fac--large):nth-child(4) {
    grid-column: auto;
  }

  .fac img,
  .fac--large img,
  .fac:not(.fac--large):nth-child(4) img {
    aspect-ratio: 4 / 3;
  }

  .faq__a {
    padding: 0 18px 18px 20px;
  }

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

  .tel-btn {
    padding: 16px 18px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

/* ---------- 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-clean [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
