:root {
  --white: #ffffff;
  --base: #f7f7f4;
  --soft: #efefea;
  --soft-blue: #e5ecee;

  --navy: #314850;
  --navy-dark: #223237;

  --text: #222b2e;
  --muted: #717b7e;
  --blue-gray: #84989e;

  --line: #d9dcd9;

  --header-height: 88px;

  --container:
    min(1320px, calc(100vw - 96px));

  --ease:
    cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==================================================
   RESET
================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--text);
  background: var(--base);

  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;

  font-size: 15px;
  line-height: 1.8;

  letter-spacing: 0.02em;

  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;

  letter-spacing: -0.035em;

  /*
    Chromeでは日本語をなるべく
    文節単位で折り返す。
  */
  word-break: normal;
  word-break: auto-phrase;

  overflow-wrap: normal;
  line-break: strict;

  text-wrap: balance;
}

p {
  color: var(--muted);
}


/* ==================================================
   HEADING CONTROL
================================================== */

/*
  HTML側で2行指定している見出しは
  その位置から絶対に崩さない。
*/

.heading-two-lines > span,
.home-hero-title > span {
  display: block;

  white-space: nowrap;
}


/* ==================================================
   COMMON
================================================== */

.button {
  display: inline-flex;

  min-height: 52px;
  padding: 0 26px;

  align-items: center;
  justify-content: center;

  border-radius: 999px;

  cursor: pointer;

  transition:
    transform 0.3s var(--ease),
    background 0.3s ease,
    color 0.3s ease;
}

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

.button-primary,
.button-reserve {
  color: var(--white);
  background: var(--navy);
}

.button-light {
  border: 1px solid var(--line);

  background: var(--white);
}

.button-white {
  color: var(--navy-dark);
  background: var(--white);
}

.button-outline {
  border: 1px solid var(--line);

  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy);
}


.section-en,
.eyebrow {
  display: block;

  margin-bottom: 10px;

  color: var(--blue-gray);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.2em;
}


.simple-link,
.text-link {
  display: inline-flex;

  margin-top: 26px;

  gap: 20px;

  align-items: center;

  color: var(--text);

  font-size: 13px;
  font-weight: 600;
}

.simple-link span,
.text-link span {
  transition: transform 0.3s var(--ease);
}

.simple-link:hover span,
.text-link:hover span {
  transform: translateX(6px);
}


.home-section,
.section {
  width: var(--container);

  margin: 0 auto;

  padding: 82px 0;
}


.muted-section {
  width: 100%;

  padding:
    76px
    max(48px, calc((100vw - 1320px) / 2));

  background: var(--soft);
}


.compact-heading,
.section-head {
  max-width: 720px;

  margin-bottom: 34px;
}

.compact-heading h2,
.section-head h2,
.rehab-facility-head h2 {
  margin-bottom: 12px;

  font-size:
    clamp(31px, 2.9vw, 44px);

  line-height: 1.3;
}

.compact-heading p,
.section-head p:last-child,
.rehab-facility-head p {
  max-width: 560px;

  margin-bottom: 0;
}


.section-head-row {
  display: flex;

  max-width: none;

  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
  position: fixed;

  z-index: 100;

  top: 0;
  right: 0;
  left: 0;

  height: var(--header-height);

  background:
    rgba(247, 247, 244, 0.96);

  border-bottom:
    1px solid transparent;

  transition:
    border 0.3s ease,
    box-shadow 0.3s ease;

  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);

  box-shadow:
    0 4px 20px
    rgba(20, 30, 34, 0.04);
}


.header-inner {
  display: flex;

  width: calc(100% - 56px);
  height: 100%;

  margin: 0 auto;

  align-items: center;

  gap: 28px;
}


.brand {
  display: flex;

  flex-shrink: 0;
  flex-direction: column;

  line-height: 1.25;
}

.brand-en {
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.brand-ja {
  margin-top: 5px;

  color: var(--muted);

  font-size: 10px;
}


.desktop-nav {
  display: flex;

  margin-left: auto;

  gap: 30px;
}

.desktop-nav a {
  position: relative;

  font-size: 12px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;

  right: 0;
  bottom: -7px;
  left: 0;

  height: 1px;

  background: var(--navy);

  content: "";

  transform: scaleX(0);
  transform-origin: right;

  transition:
    transform 0.3s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  transform: scaleX(1);

  transform-origin: left;
}


.header-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}

.button-reserve {
  min-height: 48px;

  padding: 0 23px;

  font-size: 12px;
}


.menu-button {
  display: none;
}


/* ==================================================
   MOBILE MENU
================================================== */

.mobile-menu {
  position: fixed;

  z-index: 90;

  inset: 0;

  display: flex;

  padding:
    120px
    28px
    100px;

  flex-direction: column;
  justify-content: space-between;

  background: var(--base);

  opacity: 0;

  pointer-events: none;

  transform: translateY(-10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;

  pointer-events: auto;

  transform: none;
}

.mobile-menu nav {
  display: flex;

  flex-direction: column;
}

.mobile-menu nav a {
  padding: 19px 0;

  border-bottom:
    1px solid var(--line);

  font-size: 18px;
}


/* ==================================================
   PHOTO FALLBACK
================================================== */

.clinic-hero-photo,
.rehab-room-photo,
.rehab-training-photo,
.rehab-physical-photo,
.photo-reception,
.photo-waiting,
.photo-rehab,
.photo-xray,
.photo-exterior {
  position: relative;

  overflow: hidden;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.clinic-hero-photo {
  background-image:
    linear-gradient(
      135deg,
      rgba(242, 239, 232, 0.22),
      rgba(56, 75, 81, 0.05)
    ),
    url("../assets/images/clinic-hero.jpg");

  background-color: #e3e2dc;
}


.rehab-room-photo,
.photo-rehab {
  background-image:
    linear-gradient(
      135deg,
      rgba(238, 238, 232, 0.14),
      rgba(49, 72, 80, 0.08)
    ),
    url("../assets/images/rehab-room.jpg");

  background-color: #dfe2df;
}


.rehab-training-photo {
  background-image:
    linear-gradient(
      135deg,
      rgba(237, 236, 229, 0.12),
      rgba(49, 72, 80, 0.1)
    ),
    url("../assets/images/rehab-training.jpg");

  background-color: #d5dbda;
}


.rehab-physical-photo,
.photo-xray {
  background-image:
    linear-gradient(
      135deg,
      rgba(230, 232, 228, 0.14),
      rgba(49, 72, 80, 0.12)
    ),
    url("../assets/images/rehab-physical-therapy.jpg");

  background-color: #cbd4d5;
}


.photo-reception {
  background-image:
    linear-gradient(
      135deg,
      rgba(239, 235, 226, 0.18),
      rgba(80, 91, 91, 0.08)
    ),
    url("../assets/images/clinic-reception.jpg");

  background-color: #ddd9cf;
}


.photo-waiting {
  background-image:
    linear-gradient(
      135deg,
      rgba(237, 235, 229, 0.18),
      rgba(92, 103, 101, 0.08)
    ),
    url("../assets/images/clinic-waiting.jpg");

  background-color: #d7d8d2;
}


.photo-exterior {
  background-image:
    linear-gradient(
      135deg,
      rgba(222, 225, 219, 0.18),
      rgba(49, 72, 80, 0.1)
    ),
    url("../assets/images/clinic-exterior.jpg");

  background-color: #d0d4d0;
}


.photo-caption {
  position: absolute;

  right: 22px;
  bottom: 18px;

  color:
    rgba(255, 255, 255, 0.92);

  font-size: 8px;

  letter-spacing: 0.18em;

  text-shadow:
    0 1px 8px
    rgba(0, 0, 0, 0.16);
}


/* ==================================================
   HOME HERO
================================================== */

.home-hero {
  display: grid;

  min-height: 680px;

  padding:
    calc(var(--header-height) + 24px)
    clamp(18px, 1.8vw, 28px)
    28px;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap:
    clamp(16px, 1.5vw, 22px);
}


/*
  ここが今回の重要部分。

  左カラムそのものを基準に
  文字サイズを決める。
*/

.home-hero-copy {
  display: flex;

  min-width: 0;

  padding:
    46px
    clamp(30px, 4.2vw, 68px);

  flex-direction: column;
  justify-content: center;

  background: var(--white);

  container-type: inline-size;
}


.hero-kicker {
  margin-bottom: 18px;

  color: var(--blue-gray);

  font-size: 11px;
  font-weight: 600;
}


/*
  cqw = HERO左カラムの幅。

  モニターが変わると
  左カラムに合わせて自動縮小する。
*/

.home-hero-title,
.home-hero h1 {
  width: 100%;
  max-width: 100%;

  margin-bottom: 24px;

  font-size:
    clamp(34px, 8.2cqw, 50px);

  font-weight: 400;

  line-height: 1.34;

  letter-spacing: -0.045em;
}


.hero-description {
  max-width: 520px;

  margin-bottom: 28px;

  line-height: 1.95;
}


.hero-actions {
  display: flex;

  gap: 12px;
}


.hero-specialties {
  display: flex;

  margin-top: 34px;

  flex-wrap: wrap;

  gap: 8px;
}

.hero-specialties span {
  padding: 6px 12px;

  border:
    1px solid var(--line);

  border-radius: 999px;

  color: var(--muted);

  background: var(--base);

  font-size: 10px;
}


.home-hero-photo {
  min-width: 0;
  min-height: 550px;
}


/* ==================================================
   CLINIC SUMMARY
================================================== */

.clinic-summary {
  display: grid;

  width: var(--container);

  margin: 14px auto 0;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(3, 1fr)
    1.05fr;
}


.clinic-summary-item,
.clinic-summary-reserve {
  min-height: 108px;

  padding: 18px 22px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);
}


.clinic-summary-item {
  display: flex;

  min-width: 0;

  flex-direction: column;
  justify-content: center;

  background: var(--white);
}


.summary-label {
  margin-bottom: 4px;

  color: var(--blue-gray);

  font-size: 9px;
  font-weight: 600;
}


.clinic-summary-item strong {
  font-size: 14px;
}


.clinic-summary-item > span:last-child,
.clinic-summary-item a {
  margin-top: 3px;

  color: var(--muted);

  font-size: 10px;
}


.clinic-summary-reserve {
  display: grid;

  color: var(--white);
  background: var(--navy);

  text-align: left;

  cursor: pointer;

  grid-template-columns:
    1fr auto;
}


.clinic-summary-reserve > span:first-child {
  grid-column: 1 / 3;

  color:
    rgba(255, 255, 255, 0.6);

  font-size: 9px;
}


.clinic-summary-reserve strong {
  align-self: end;

  font-size: 18px;
}


.summary-arrow {
  align-self: end;
}


/* ==================================================
   NEWS
================================================== */

.home-news {
  display: grid;

  padding-top: 64px;
  padding-bottom: 64px;

  grid-template-columns:
    220px 1fr;

  gap: 55px;

  border-bottom:
    1px solid var(--line);
}


.home-section-title h2 {
  margin: 0;

  font-size: 27px;
}


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


.home-news-list a {
  display: grid;

  padding: 17px 4px;

  border-bottom:
    1px solid var(--line);

  align-items: center;

  grid-template-columns:
    100px
    90px
    1fr
    auto;

  gap: 18px;
}


.home-news-list time {
  color: var(--muted);

  font-size: 11px;
}


.news-category {
  padding: 3px 8px;

  border:
    1px solid var(--line);

  border-radius: 999px;

  text-align: center;

  font-size: 9px;
}


.home-news-list p {
  margin: 0;

  color: var(--text);

  font-size: 13px;
}


.news-arrow {
  transition:
    transform 0.3s var(--ease);
}

.home-news-list a:hover .news-arrow {
  transform: translateX(5px);
}


/* ==================================================
   MEDICAL HOME
================================================== */

.medical-home {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 68px;

  align-items: center;
}


.medical-home-image {
  overflow: hidden;

  aspect-ratio: 4 / 3;

  background: var(--soft);
}


.medical-home-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


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


.medical-list a {
  display: flex;

  min-height: 82px;

  padding: 15px 4px;

  border-bottom:
    1px solid var(--line);

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  transition:
    padding 0.3s var(--ease);
}

.medical-list a:hover {
  padding-left: 10px;
}


.medical-list div {
  display: flex;

  min-width: 0;

  flex-direction: column;
}


.medical-list strong {
  margin-bottom: 2px;

  font-size: 17px;
}


.medical-list div span {
  color: var(--muted);

  font-size: 11px;
}


/* ==================================================
   SYMPTOMS
================================================== */

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


.symptom-grid {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(3, 1fr);
}


.symptom-grid a {
  position: relative;

  display: flex;

  min-width: 0;
  min-height: 140px;

  padding: 21px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  flex-direction: column;

  background: var(--white);

  transition:
    background 0.3s ease;
}

.symptom-grid a:hover {
  background: var(--soft-blue);
}


.symptom-grid a > span {
  margin-bottom: auto;

  color: var(--blue-gray);

  font-size: 9px;
}


.symptom-grid strong {
  margin-top: 22px;

  font-size: 18px;
}


.symptom-grid small {
  margin-top: 3px;

  padding-right: 30px;

  color: var(--muted);

  font-size: 10px;
}


.symptom-grid b {
  position: absolute;

  right: 19px;
  bottom: 19px;

  font-weight: 400;
}


/* ==================================================
   DOCTOR HOME
================================================== */

.doctor-home {
  display: grid;

  border-top:
    1px solid var(--line);

  grid-template-columns:
    minmax(300px, 0.72fr)
    minmax(0, 1.28fr);

  gap: 68px;

  align-items: center;
}


.doctor-home-image {
  overflow: hidden;

  max-height: 540px;

  background: var(--soft);
}


.doctor-home-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.doctor-home-copy {
  max-width: 650px;

  min-width: 0;
}


.doctor-position {
  margin-bottom: 3px;

  color: var(--blue-gray);

  font-size: 11px;
}


.doctor-home-copy h2 {
  margin-bottom: 20px;

  font-size:
    clamp(35px, 3vw, 48px);
}


.doctor-home-copy h3 {
  margin-bottom: 20px;

  font-size:
    clamp(22px, 2.4vw, 31px);

  line-height: 1.55;
}


/* ==================================================
   HOME REHAB
================================================== */

.rehab-teaser {
  display: grid;

  min-height: 520px;

  grid-template-columns:
    1.1fr 0.9fr;

  background: var(--soft-blue);
}


.rehab-teaser-photo {
  min-height: 520px;
}


.rehab-teaser-copy {
  display: flex;

  min-width: 0;

  padding:
    65px 7vw;

  flex-direction: column;
  justify-content: center;
}


.rehab-teaser-copy h2 {
  margin-bottom: 18px;

  font-size:
    clamp(35px, 4vw, 54px);
}


.rehab-teaser-copy > p {
  max-width: 480px;
}


.rehab-mini-list {
  display: flex;

  margin-top: 23px;

  flex-wrap: wrap;

  gap: 7px;
}


.rehab-mini-list span {
  padding: 6px 11px;

  border:
    1px solid
    rgba(49, 72, 80, 0.18);

  border-radius: 999px;

  font-size: 10px;
}


/* ==================================================
   FIRST HOME
================================================== */

.first-home {
  border-bottom:
    1px solid var(--line);
}


.first-home-flow {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(4, 1fr);
}


.first-home-flow article {
  min-height: 135px;

  padding: 20px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.first-home-flow span {
  display: block;

  margin-bottom: 24px;

  color: var(--blue-gray);

  font-size: 9px;
}


.first-home-flow strong {
  display: block;

  font-size: 17px;
}


.first-home-flow p {
  margin: 4px 0 0;

  font-size: 10px;
}


/* ==================================================
   HOME ACCESS
================================================== */

.home-access {
  display: grid;

  grid-template-columns:
    minmax(420px, 0.82fr)
    minmax(0, 1.18fr);

  background: var(--soft);
}


.home-access-info {
  min-width: 0;

  padding:
    70px
    max(45px, 7vw);
}


.home-hours {
  margin: 28px 0 35px;
}


.home-hours table {
  width: 100%;

  border-collapse: collapse;

  text-align: center;

  font-size: 11px;
}


.home-hours th,
.home-hours td {
  padding: 11px 7px;

  border-bottom:
    1px solid var(--line);
}


.home-hours th:first-child {
  text-align: left;
}


.home-hours p {
  margin-top: 11px;

  font-size: 10px;
}


.home-address strong {
  display: block;

  margin-bottom: 11px;

  font-size: 16px;
}


.home-address address {
  margin-bottom: 13px;
}


.home-address p {
  margin-bottom: 22px;

  font-size: 12px;
}


.home-map {
  min-height: 570px;
}


.home-map iframe,
.access-page-map iframe {
  width: 100%;
  height: 100%;

  border: 0;

  filter:
    grayscale(0.7)
    contrast(0.95);
}


/* ==================================================
   COMPACT CTA
================================================== */

.compact-cta {
  display: flex;

  padding:
    44px
    max(48px, calc((100vw - 1320px) / 2));

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  color: var(--white);
  background: var(--navy-dark);
}


.compact-cta > div:first-child {
  display: flex;

  min-width: 0;

  flex-direction: column;

  gap: 5px;
}


.compact-cta > div:first-child span {
  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;

  letter-spacing: 0.18em;
}


.compact-cta > div:first-child strong {
  font-size: 21px;
  font-weight: 500;
}


.compact-cta-actions {
  display: flex;

  flex-shrink: 0;

  align-items: center;

  gap: 24px;
}


.compact-cta-actions > a {
  color: var(--white);

  font-size: 17px;
  font-weight: 600;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  padding:
    52px
    max(48px, calc((100vw - 1320px) / 2))
    34px;

  background: var(--base);
}


.footer-main,
.footer-top {
  display: flex;

  padding-bottom: 46px;

  justify-content: space-between;

  gap: 50px;
}


.footer-nav {
  display: flex;

  flex-wrap: wrap;

  gap: 18px 32px;
}


.footer-nav a {
  font-size: 11px;
}


.footer-bottom {
  display: flex;

  padding-top: 19px;

  border-top:
    1px solid var(--line);

  justify-content: space-between;

  gap: 20px;
}


.footer-bottom p {
  margin: 0;

  font-size: 9px;
}


/* ==================================================
   COMMON SUB PAGE HERO
================================================== */

.page-hero {
  display: grid;

  min-height: 600px;

  padding:
    calc(var(--header-height) + 22px)
    28px
    28px;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  gap: 20px;
}


.page-hero-copy {
  display: flex;

  min-width: 0;

  padding: 48px 5vw;

  flex-direction: column;
  justify-content: center;

  background: var(--white);

  container-type: inline-size;
}


.page-hero-copy h1 {
  margin-bottom: 22px;

  font-size:
    clamp(38px, 10cqw, 58px);

  line-height: 1.2;
}


.page-hero-copy p:last-child {
  max-width: 480px;
}


.page-hero-image {
  min-height: 490px;

  background-position: center;
  background-size: cover;
}


.doctor-exam-bg {
  background-image:
    url("../assets/images/doctor-exam.png");
}


.simple-page-hero {
  width: var(--container);

  margin: 0 auto;

  padding:
    155px
    0
    65px;

  border-bottom:
    1px solid var(--line);
}


.simple-page-hero h1 {
  max-width: 100%;

  margin-bottom: 18px;

  font-size:
    clamp(40px, 4.8vw, 64px);

  line-height: 1.25;
}


.simple-page-hero > p:last-child {
  max-width: 560px;
}


/* ==================================================
   DETAIL CARDS
================================================== */

.detail-card-grid {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}


.detail-card {
  min-width: 0;
  min-height: 230px;

  padding: 27px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.detail-card > span {
  color: var(--blue-gray);

  font-size: 9px;
}


.detail-card > p:first-of-type {
  margin:
    36px
    0
    3px;

  color: var(--blue-gray);

  font-size: 8px;

  letter-spacing: 0.14em;
}


.detail-card h3 {
  margin-bottom: 12px;

  font-size: 24px;
}


.detail-card p:last-child {
  margin-bottom: 0;

  font-size: 12px;
}


.symptom-detail-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 10px;
}


.symptom-detail {
  min-width: 0;

  padding: 27px;

  background: var(--white);
}


.symptom-detail h3 {
  margin-bottom: 17px;

  font-size: 21px;
}


.symptom-detail ul {
  margin: 0;
  padding: 0;

  list-style: none;
}


.symptom-detail li {
  padding: 7px 0;

  border-bottom:
    1px solid var(--line);

  color: var(--muted);

  font-size: 12px;
}


/* ==================================================
   WIDE IMAGE
================================================== */

.wide-image-section {
  width: var(--container);

  max-height: 590px;

  margin:
    15px
    auto
    85px;

  overflow: hidden;
}


.wide-image-section img {
  min-height: 410px;

  object-fit: cover;
}


/* ==================================================
   TWO COLUMN
================================================== */

.two-column-copy {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);

  gap: 75px;
}


.two-column-copy h2 {
  margin-bottom: 16px;

  font-size:
    clamp(32px, 3.5vw, 48px);

  line-height: 1.42;
}


.large-body {
  color: var(--text);

  font-size: 18px;

  line-height: 1.9;
}


.horizontal-flow {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}


.horizontal-flow article {
  min-width: 0;
  min-height: 200px;

  padding: 23px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.horizontal-flow span {
  color: var(--blue-gray);

  font-size: 9px;
}


.horizontal-flow h3 {
  margin:
    50px
    0
    8px;

  font-size: 20px;
}


/* ==================================================
   REHABILITATION PAGE
================================================== */

.rehab-page-hero {
  display: grid;

  min-height: 650px;

  padding:
    calc(var(--header-height) + 24px)
    28px
    28px;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  gap: 20px;
}


.rehab-page-hero-copy {
  display: flex;

  min-width: 0;

  padding: 52px 5vw;

  flex-direction: column;
  justify-content: center;

  background: var(--white);

  container-type: inline-size;
}


.rehab-page-hero-copy h1 {
  margin-bottom: 22px;

  font-size:
    clamp(34px, 10cqw, 54px);

  line-height: 1.25;
}


.rehab-hero-lead {
  max-width: 500px;

  margin-bottom: 14px;

  color: var(--text);

  font-size: 18px;

  line-height: 1.8;
}


.rehab-page-hero-copy > p:last-of-type {
  max-width: 500px;
}


.rehab-hero-note {
  display: flex;

  margin-top: 28px;

  flex-wrap: wrap;

  align-items: center;

  gap: 10px;
}


.rehab-hero-note span {
  padding: 6px 11px;

  border:
    1px solid var(--line);

  border-radius: 999px;

  color: var(--muted);

  font-size: 10px;
}


.rehab-hero-note b {
  color: var(--blue-gray);

  font-weight: 400;
}


.rehab-page-hero-photo {
  min-width: 0;
  min-height: 530px;
}


/* REHAB TARGET */

.rehab-target {
  padding-top: 76px;
  padding-bottom: 76px;
}


.rehab-target-grid {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

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


.rehab-target-grid article {
  min-width: 0;
  min-height: 155px;

  padding: 22px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.rehab-target-grid span {
  display: block;

  margin-bottom: 34px;

  color: var(--blue-gray);

  font-size: 9px;
}


.rehab-target-grid strong {
  font-size: 18px;
  font-weight: 500;

  line-height: 1.55;
}


/* REHAB PROGRAM */

.rehab-program {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  background: var(--soft);
}


.rehab-program-photo {
  min-width: 0;
  min-height: 650px;
}


.photo-label {
  position: absolute;

  right: 24px;
  bottom: 24px;
  left: 24px;

  padding: 22px;

  color: var(--white);

  background:
    rgba(34, 50, 55, 0.82);

  backdrop-filter: blur(8px);
}


.photo-label span {
  display: block;

  margin-bottom: 8px;

  color:
    rgba(255, 255, 255, 0.6);

  font-size: 8px;

  letter-spacing: 0.18em;
}


.photo-label strong {
  font-size: 18px;
  font-weight: 500;

  line-height: 1.6;
}


.rehab-program-content {
  min-width: 0;

  padding: 64px 6vw;
}


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


.rehab-program-list article {
  display: grid;

  padding: 22px 0;

  border-bottom:
    1px solid var(--line);

  grid-template-columns:
    50px
    minmax(0, 1fr);

  gap: 10px;
}


.rehab-program-list article > span {
  color: var(--blue-gray);

  font-size: 9px;
}


.rehab-program-list h3 {
  margin-bottom: 5px;

  font-size: 20px;
}


.rehab-program-list p {
  max-width: 520px;

  margin-bottom: 0;

  font-size: 12px;
}


/* REHAB FLOW */

.rehab-flow {
  padding-top: 76px;
  padding-bottom: 76px;
}


.rehab-flow-grid {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}


.rehab-flow-grid article {
  min-width: 0;
  min-height: 190px;

  padding: 23px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.rehab-flow-grid span {
  display: block;

  margin-bottom: 43px;

  color: var(--blue-gray);

  font-size: 9px;

  letter-spacing: 0.08em;
}


.rehab-flow-grid strong {
  display: block;

  margin-bottom: 7px;

  font-size: 17px;
}


.rehab-flow-grid p {
  margin-bottom: 0;

  font-size: 11px;
}


/* REHAB FACILITY */

.rehab-facility {
  padding:
    76px
    max(48px, calc((100vw - 1320px) / 2));

  background: var(--soft-blue);
}


.rehab-facility-head {
  margin-bottom: 36px;
}


.rehab-gallery {
  display: grid;

  min-height: 430px;

  grid-template-columns:
    1.4fr
    1fr
    1fr;

  gap: 12px;
}


.rehab-gallery-item {
  position: relative;

  min-width: 0;
  min-height: 430px;
}


.rehab-gallery-item span {
  position: absolute;

  right: 16px;
  bottom: 15px;
  left: 16px;

  padding-top: 11px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.6);

  color: var(--white);

  font-size: 11px;

  text-shadow:
    0 1px 8px
    rgba(0, 0, 0, 0.2);
}


.rehab-faq {
  padding-top: 76px;
  padding-bottom: 76px;
}


/* ==================================================
   DOCTOR PAGE
================================================== */

.doctor-page-hero {
  display: grid;

  min-height: 700px;

  padding-top:
    var(--header-height);

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);
}


.doctor-page-photo {
  min-width: 0;
  min-height: 610px;

  background: var(--soft);
}


.doctor-page-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.doctor-page-copy {
  display: flex;

  min-width: 0;

  padding: 65px 8vw;

  flex-direction: column;
  justify-content: center;

  container-type: inline-size;
}


.doctor-page-copy h1 {
  margin-bottom: 26px;

  font-size:
    clamp(40px, 8cqw, 64px);

  line-height: 1.2;
}


.doctor-page-copy h2 {
  margin-bottom: 22px;

  font-size:
    clamp(22px, 4.1cqw, 32px);

  line-height: 1.52;
}


.doctor-message .heading-two-lines {
  font-size:
    clamp(30px, 3.3vw, 45px);

  line-height: 1.45;
}


.profile-list {
  max-width: 900px;
}


.profile-list > div {
  display: grid;

  padding: 18px 0;

  border-bottom:
    1px solid var(--line);

  grid-template-columns:
    150px 1fr;
}


.profile-list dt {
  color: var(--blue-gray);

  font-size: 11px;
}


.profile-list dd {
  margin: 0;
}


/* ==================================================
   CLINIC GALLERY
================================================== */

.clinic-gallery {
  display: grid;

  grid-template-columns:
    1.5fr
    1fr
    1fr;

  grid-template-rows:
    250px
    250px;

  gap: 12px;
}


.clinic-photo {
  position: relative;

  min-width: 0;

  overflow: hidden;
}


.clinic-photo::after {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(32, 40, 43, 0.32),
      transparent 50%
    );

  content: "";
}


.clinic-photo span {
  position: absolute;

  z-index: 2;

  bottom: 16px;
  left: 18px;

  color: var(--white);

  font-size: 9px;

  letter-spacing: 0.14em;
}


.clinic-photo-large {
  grid-row: 1 / 3;
}


/* ==================================================
   FIRST VISIT
================================================== */

.visit-flow-large {
  border-top:
    1px solid var(--line);
}


.visit-flow-large article {
  display: grid;

  padding: 27px 0;

  border-bottom:
    1px solid var(--line);

  grid-template-columns:
    90px
    minmax(0, 1fr);
}


.visit-flow-large article > span {
  color: var(--blue-gray);

  font-size: 10px;
}


.visit-flow-large h3 {
  margin-bottom: 7px;

  font-size: 22px;
}


.visit-flow-large p {
  max-width: 680px;

  margin: 0;
}


.bring-grid {
  display: grid;

  border-top:
    1px solid var(--line);

  border-left:
    1px solid var(--line);

  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}


.bring-grid article {
  min-width: 0;
  min-height: 165px;

  padding: 21px;

  border-right:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background: var(--white);
}


.bring-grid span {
  color: var(--blue-gray);

  font-size: 9px;
}


.bring-grid h3 {
  margin-top: 38px;

  font-size: 16px;
}


.bring-grid p {
  font-size: 10px;
}


/* ==================================================
   FAQ
================================================== */

.faq-list {
  max-width: 980px;

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


.faq-list details {
  border-bottom:
    1px solid var(--line);
}


.faq-list summary {
  position: relative;

  padding:
    22px
    50px
    22px
    0;

  cursor: pointer;

  font-size: 15px;

  list-style: none;
}


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


.faq-list summary::after {
  position: absolute;

  top: 19px;
  right: 7px;

  color: var(--blue-gray);

  content: "+";

  font-size: 20px;
}


.faq-list details[open] summary::after {
  content: "−";
}


.faq-list details p {
  max-width: 700px;

  margin-bottom: 0;

  padding-bottom: 22px;
}


/* ==================================================
   ACCESS PAGE
================================================== */

.hours-wrap {
  max-width: 1000px;
}


.hours-table {
  width: 100%;

  border-collapse: collapse;

  text-align: center;
}


.hours-table th,
.hours-table td {
  padding: 16px 12px;

  border-bottom:
    1px solid var(--line);
}


.hours-table th:first-child {
  text-align: left;
}


.hours-note {
  margin-top: 13px;

  font-size: 11px;
}


.access-page-grid {
  display: grid;

  min-height: 570px;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  background: var(--soft);
}


.access-page-info {
  min-width: 0;

  padding:
    65px
    max(45px, 6vw);
}


.access-page-info h2 {
  margin-bottom: 25px;

  font-size:
    clamp(34px, 4vw, 52px);

  line-height: 1.3;
}


.access-page-info address {
  margin-bottom: 27px;
}


.access-list {
  margin-bottom: 28px;
}


.access-list > div {
  display: grid;

  padding: 11px 0;

  border-bottom:
    1px solid var(--line);

  grid-template-columns:
    90px
    1fr;
}


.access-list dt {
  color: var(--blue-gray);

  font-size: 10px;
}


.access-list dd {
  margin: 0;

  font-size: 12px;
}


.parking-panel {
  display: flex;

  min-height: 390px;

  padding: 30px;

  align-items: flex-end;

  color: var(--white);
}


.parking-panel > div {
  max-width: 470px;

  padding: 25px;

  background:
    rgba(34, 50, 55, 0.9);
}


.parking-panel p {
  color:
    rgba(255, 255, 255, 0.8);
}


/* ==================================================
   FINAL CTA
================================================== */

.final-cta {
  padding:
    72px
    max(48px, calc((100vw - 1320px) / 2));

  color: var(--white);
  background: var(--navy-dark);
}


.final-cta .eyebrow {
  color:
    rgba(255, 255, 255, 0.5);
}


.final-cta h2 {
  max-width: 820px;

  margin-bottom: 38px;

  font-size:
    clamp(30px, 3.3vw, 46px);

  line-height: 1.42;

  word-break: normal;
  word-break: auto-phrase;

  text-wrap: balance;
}


.final-actions {
  display: grid;

  max-width: 760px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.2);

  border-left:
    1px solid
    rgba(255, 255, 255, 0.2);

  grid-template-columns:
    1fr 1fr;
}


.final-action {
  display: grid;

  min-height: 105px;

  padding: 19px 21px;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.2);

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.2);

  color: var(--white);

  text-align: left;

  background: transparent;

  cursor: pointer;

  grid-template-columns:
    1fr auto;
}


.final-action small {
  grid-column: 1 / 3;

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;
}


.final-action strong,
.final-action span {
  align-self: end;
}


.final-action strong {
  font-size: 19px;
}


.final-action-primary {
  color: var(--navy-dark);

  background: var(--white);
}


.final-action-primary small {
  color:
    rgba(34, 50, 55, 0.5);
}


/* ==================================================
   MODAL
================================================== */

.reservation-modal {
  position: fixed;

  z-index: 300;

  inset: 0;

  display: flex;

  padding: 24px;

  align-items: center;
  justify-content: center;

  background:
    rgba(20, 30, 34, 0.65);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.3s ease;

  backdrop-filter: blur(10px);
}


.reservation-modal.is-open {
  opacity: 1;

  pointer-events: auto;
}


.reservation-panel {
  position: relative;

  width: min(540px, 100%);

  padding: 44px;

  background: var(--base);

  transform: translateY(14px);

  transition:
    transform 0.3s var(--ease);
}


.reservation-modal.is-open
.reservation-panel {
  transform: none;
}


.reservation-close {
  position: absolute;

  top: 18px;
  right: 18px;

  width: 36px;
  height: 36px;

  border:
    1px solid var(--line);

  border-radius: 50%;

  background: transparent;

  cursor: pointer;
}


.reservation-panel h2 {
  margin-bottom: 14px;

  font-size: 30px;
}


.demo-note {
  padding: 15px;

  background: var(--soft);

  font-size: 11px;
}


/* ==================================================
   REVEAL
================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(16px);

  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}


.reveal.is-visible {
  opacity: 1;

  transform: none;
}


.mobile-actions {
  display: none;
}


/* ==================================================
   MID DESKTOP
   1400px以下
================================================== */

@media (max-width: 1399px) {

  :root {
    --container:
      min(1180px, calc(100vw - 64px));
  }


  .header-inner {
    width: calc(100% - 40px);
  }


  .desktop-nav {
    gap: 24px;
  }


  .home-hero {
    min-height: 620px;

    grid-template-columns:
      minmax(0, 0.92fr)
      minmax(0, 1.08fr);
  }


  .home-hero-copy {
    padding-right:
      clamp(24px, 3vw, 42px);

    padding-left:
      clamp(24px, 3vw, 42px);
  }


  .home-hero-title,
  .home-hero h1 {
    font-size:
      clamp(32px, 8cqw, 44px);
  }


  .hero-description {
    font-size: 13px;
  }


  .hero-specialties {
    margin-top: 26px;
  }


  .medical-home,
  .doctor-home {
    gap: 48px;
  }


  .rehab-teaser-copy {
    padding-right: 5vw;
    padding-left: 5vw;
  }

}


/* ==================================================
   COMPACT DESKTOP
   1160px以下
================================================== */

@media (max-width: 1160px) {

  :root {
    --container:
      calc(100vw - 48px);
  }


  /*
    HEROはまだ横並び。
    ただし左右の比率と文字サイズを縮小。
  */

  .home-hero {
    grid-template-columns:
      minmax(0, 0.94fr)
      minmax(0, 1.06fr);
  }


  .home-hero-copy {
    padding-right:
      clamp(24px, 2.7vw, 34px);

    padding-left:
      clamp(24px, 2.7vw, 34px);
  }


  .home-hero-title,
  .home-hero h1 {
    font-size:
      clamp(31px, 7.5cqw, 39px);
  }


  .hero-specialties span {
    padding: 5px 9px;

    font-size: 9px;
  }


  .clinic-summary {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .medical-home,
  .doctor-home,
  .two-column-copy {
    gap: 38px;
  }


  .rehab-program {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1.1fr);
  }


  .bring-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* ==================================================
   HEADER MENU
   1040px以下
================================================== */

@media (max-width: 1040px) {

  .desktop-nav {
    display: none;
  }


  .menu-button {
    display: flex;

    width: 44px;
    height: 44px;

    padding: 0 11px;

    flex-direction: column;
    justify-content: center;

    gap: 7px;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;
  }


  .menu-button span {
    display: block;

    width: 100%;
    height: 1px;

    background: var(--text);

    transition:
      transform 0.3s ease;
  }


  .menu-button.is-active
  span:first-child {
    transform:
      translateY(4px)
      rotate(45deg);
  }


  .menu-button.is-active
  span:last-child {
    transform:
      translateY(-4px)
      rotate(-45deg);
  }

}


/* ==================================================
   TABLET / NARROW PC
   980px以下

   この幅になる前に横並びをやめる。
   これで文字が隣の写真へ侵入しない。
================================================== */

@media (max-width: 980px) {

  :root {
    --container:
      calc(100vw - 40px);
  }


  .home-hero,
  .page-hero,
  .rehab-page-hero {
    display: flex;

    min-height: 0;

    padding:
      calc(var(--header-height) + 20px)
      20px
      20px;

    flex-direction: column;

    gap: 0;
  }


  .home-hero-photo,
  .page-hero-image,
  .rehab-page-hero-photo {
    order: 1;

    min-height: 0;

    aspect-ratio: 16 / 9;
  }


  .home-hero-copy,
  .page-hero-copy,
  .rehab-page-hero-copy {
    order: 2;

    padding:
      40px
      20px
      28px;
  }


  .home-hero-title,
  .home-hero h1 {
    font-size:
      clamp(34px, 6vw, 46px);
  }


  .page-hero-copy h1,
  .rehab-page-hero-copy h1 {
    font-size:
      clamp(36px, 6vw, 50px);
  }


  .home-news {
    grid-template-columns:
      180px 1fr;

    gap: 32px;
  }


  .medical-home,
  .doctor-home {
    grid-template-columns:
      1fr 1fr;

    gap: 34px;
  }


  .symptom-grid,
  .rehab-target-grid,
  .symptom-detail-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .rehab-teaser,
  .rehab-program,
  .access-page-grid,
  .home-access,
  .doctor-page-hero {
    grid-template-columns: 1fr;
  }


  .rehab-teaser-photo,
  .rehab-program-photo {
    min-height: 440px;
  }


  .home-map,
  .access-page-map {
    min-height: 440px;
  }


  .doctor-page-photo {
    min-height: 620px;
  }


  .doctor-page-copy {
    padding:
      54px
      7vw
      70px;
  }


  .rehab-gallery {
    grid-template-columns:
      1.2fr
      1fr;
  }


  .rehab-gallery-item:first-child {
    grid-row: span 2;
  }


  .first-home-flow,
  .rehab-flow-grid,
  .horizontal-flow {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

  :root {
    --header-height: 68px;

    --container:
      calc(100vw - 32px);
  }


  body {
    padding-bottom: 64px;

    font-size: 14px;
  }


  .site-header {
    height: 68px;

    border-bottom:
      1px solid var(--line);
  }


  .header-inner {
    width:
      calc(100% - 24px);

    gap: 8px;
  }


  .brand-en {
    font-size: 8px;
  }


  .brand-ja {
    margin-top: 3px;

    font-size: 8px;
  }


  .button-reserve {
    min-height: 38px;

    padding: 0 14px;

    font-size: 9px;
  }


  .menu-button {
    width: 38px;
    height: 38px;

    padding: 0 9px;
  }


  .home-section,
  .section {
    padding: 60px 0;
  }


  .muted-section,
  .rehab-facility {
    padding:
      58px
      16px;
  }


  .compact-heading,
  .section-head {
    margin-bottom: 26px;
  }


  .compact-heading h2,
  .section-head h2,
  .rehab-facility-head h2 {
    font-size: 29px;
  }


  /* HERO */

  .home-hero,
  .page-hero,
  .rehab-page-hero {
    padding:
      84px
      16px
      16px;
  }


  .home-hero-photo,
  .page-hero-image,
  .rehab-page-hero-photo {
    aspect-ratio: 4 / 3;
  }


  .home-hero-copy,
  .page-hero-copy,
  .rehab-page-hero-copy {
    padding:
      32px
      4px
      20px;

    background: transparent;
  }


  /*
    SPでもHEROは2行固定。
  */

  .home-hero-title,
  .home-hero h1 {
    font-size:
      clamp(27px, 8.3vw, 34px);

    line-height: 1.42;
  }


  .home-hero-title > span {
    display: block;

    white-space: nowrap;
  }


  .page-hero-copy h1,
  .rehab-page-hero-copy h1 {
    font-size: 34px;
  }


  .hero-description {
    font-size: 13px;
  }


  .hero-actions {
    display: grid;

    grid-template-columns:
      1fr 1fr;
  }


  .hero-specialties {
    margin-top: 24px;
  }


  /* SUMMARY */

  .clinic-summary {
    grid-template-columns:
      1fr 1fr;
  }


  .clinic-summary-item,
  .clinic-summary-reserve {
    min-height: 96px;

    padding: 14px;
  }


  .clinic-summary-item strong {
    font-size: 11px;
  }


  .clinic-summary-reserve strong {
    font-size: 14px;
  }


  /* NEWS */

  .home-news {
    display: block;

    padding-top: 48px;
    padding-bottom: 48px;
  }


  .home-section-title {
    margin-bottom: 22px;
  }


  .home-news-list a {
    padding: 15px 0;

    grid-template-columns:
      82px
      1fr
      auto;

    gap: 9px;
  }


  .news-category {
    display: none;
  }


  .home-news-list p {
    font-size: 12px;
  }


  /* MEDICAL / DOCTOR */

  .medical-home,
  .doctor-home {
    display: flex;

    flex-direction: column;

    gap: 30px;
  }


  .medical-home-image,
  .doctor-home-image {
    width: 100%;
  }


  .doctor-home-image {
    max-height: none;

    aspect-ratio: 4 / 5;
  }


  .doctor-home-copy h2 {
    font-size: 38px;
  }


  .doctor-home-copy h3 {
    font-size: 23px;
  }


  /* SYMPTOMS */

  .symptom-grid,
  .rehab-target-grid,
  .symptom-detail-grid {
    grid-template-columns:
      1fr 1fr;
  }


  .symptom-grid a,
  .rehab-target-grid article {
    min-height: 126px;

    padding: 16px;
  }


  .symptom-grid strong,
  .rehab-target-grid strong {
    font-size: 15px;
  }


  .symptom-grid small {
    font-size: 9px;
  }


  /* REHAB HOME */

  .rehab-teaser {
    display: flex;

    min-height: 0;

    flex-direction: column;
  }


  .rehab-teaser-photo {
    min-height: 330px;
  }


  .rehab-teaser-copy {
    padding:
      52px
      16px;
  }


  .rehab-teaser-copy h2 {
    font-size: 31px;
  }


  /* FIRST */

  .first-home-flow,
  .rehab-flow-grid,
  .horizontal-flow,
  .bring-grid {
    grid-template-columns:
      1fr 1fr;
  }


  .first-home-flow article,
  .rehab-flow-grid article {
    min-height: 120px;
  }


  /* ACCESS */

  .home-access,
  .access-page-grid {
    display: block;
  }


  .home-access-info,
  .access-page-info {
    padding:
      58px
      16px;
  }


  .home-hours,
  .hours-wrap {
    overflow-x: auto;
  }


  .home-hours table,
  .hours-table {
    min-width: 520px;
  }


  .home-map,
  .access-page-map {
    min-height: 400px;
    height: 400px;
  }


  /* CTA */

  .compact-cta {
    display: block;

    padding:
      46px
      16px;
  }


  .compact-cta
  > div:first-child
  strong {
    font-size: 18px;
  }


  .compact-cta-actions {
    margin-top: 25px;

    align-items: flex-start;

    flex-direction: column;

    gap: 13px;
  }


  /* SIMPLE PAGE HERO */

  .simple-page-hero {
    padding:
      125px
      0
      52px;
  }


  .simple-page-hero h1 {
    font-size:
      clamp(27px, 8vw, 38px);
  }


  .section-head-row {
    display: block;
  }


  .section-head-row
  .text-link {
    margin-top: 16px;
  }


  /* DETAILS */

  .detail-card-grid {
    grid-template-columns: 1fr;
  }


  .two-column-copy {
    display: block;
  }


  .two-column-copy
  > div:first-child {
    margin-bottom: 30px;
  }


  .two-column-copy h2 {
    font-size: 30px;
  }


  .wide-image-section {
    margin-bottom: 65px;
  }


  .wide-image-section img {
    min-height: 300px;
  }


  /* REHAB */

  .rehab-program {
    display: flex;

    flex-direction: column;
  }


  .rehab-program-photo {
    min-height: 380px;
  }


  .rehab-program-content {
    padding:
      52px
      16px;
  }


  .rehab-program-list article {
    grid-template-columns:
      40px
      minmax(0, 1fr);
  }


  .rehab-gallery {
    display: grid;

    min-height: 0;

    grid-template-columns: 1fr;

    gap: 9px;
  }


  .rehab-gallery-item,
  .rehab-gallery-item:first-child {
    min-height: 300px;

    grid-row: auto;
  }


  /* DOCTOR PAGE */

  .doctor-page-hero {
    display: flex;

    min-height: 0;

    padding-top: 84px;

    flex-direction: column;
  }


  .doctor-page-photo {
    min-height: 0;

    aspect-ratio: 4 / 5;
  }


  .doctor-page-copy {
    padding:
      42px
      16px
      55px;
  }


  .doctor-page-copy h1 {
    font-size: 40px;
  }


  .doctor-page-copy h2 {
    font-size:
      clamp(20px, 6vw, 25px);
  }


  .doctor-message
  .heading-two-lines {
    font-size:
      clamp(23px, 6.8vw, 29px);
  }


  /*
    明示した2行は
    SPでもそのまま維持。
  */

  .doctor-message
  .heading-two-lines > span,

  .doctor-page-copy
  .heading-two-lines > span,

  .final-cta
  .heading-two-lines > span {
    display: block;

    white-space: nowrap;
  }


  .profile-list > div {
    grid-template-columns:
      95px 1fr;
  }


  /* CLINIC */

  .clinic-gallery {
    grid-template-columns:
      1fr 1fr;

    grid-template-rows:
      300px
      190px
      190px;
  }


  .clinic-photo-large {
    grid-column: 1 / 3;

    grid-row: auto;
  }


  /* FIRST VISIT */

  .visit-flow-large article {
    grid-template-columns:
      50px 1fr;
  }


  .bring-grid article {
    min-height: 145px;

    padding: 17px;
  }


  .bring-grid h3 {
    margin-top: 32px;

    font-size: 14px;
  }


  /* ACCESS */

  .access-page-info h2 {
    font-size: 36px;
  }


  .parking-panel {
    min-height: 340px;

    padding: 16px;
  }


  /* FINAL */

  .final-cta {
    padding:
      55px
      16px;
  }


  .final-cta h2 {
    max-width: 100%;

    margin-bottom: 32px;

    font-size:
      clamp(24px, 7vw, 31px);
  }


  .final-actions {
    grid-template-columns: 1fr;
  }


  /* FOOTER */

  .site-footer {
    padding:
      45px
      16px
      88px;
  }


  .footer-main,
  .footer-top {
    display: block;

    padding-bottom: 34px;
  }


  .footer-nav {
    display: grid;

    margin-top: 32px;

    grid-template-columns:
      1fr 1fr;
  }


  .footer-bottom {
    display: block;
  }


  .footer-bottom p + p {
    margin-top: 8px;
  }


  /* MODAL */

  .reservation-panel {
    padding:
      42px
      22px
      28px;
  }


  /* MOBILE FIXED ACTION */

  .mobile-actions {
    position: fixed;

    z-index: 200;

    right: 0;
    bottom: 0;
    left: 0;

    display: grid;

    height: 64px;

    grid-template-columns:
      1.2fr
      1fr
      1fr;

    background: var(--navy-dark);
  }


  .mobile-actions button,
  .mobile-actions a {
    display: flex;

    border-right:
      1px solid
      rgba(255, 255, 255, 0.15);

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: transparent;

    font-size: 10px;
  }


  .mobile-actions button {
    background: var(--navy);
  }

}


/* ==================================================
   VERY NARROW MOBILE
================================================== */

@media (max-width: 390px) {

  .home-hero-title,
  .home-hero h1 {
    font-size: 27px;
  }


  .doctor-page-copy h2,
  .doctor-message
  .heading-two-lines,
  .final-cta h2 {
    font-size: 22px;
  }

}