/*
Theme Name: kusunoki-test
Theme URI: https://kusunoki-ah.com/
Author: Kusunoki Animal Hospital
Description: くすの木動物病院専用テーマ
Version: 1.0.0
Text Domain: kusunoki-test
*/
/* 基本リセット：最下位のレイヤーに置き、各ページの CSS（lower.css のレイヤー含む）が必ず上書きできるようにする */
@layer theme-reset {
  * {
    box-sizing: border-box
  }
  a {
    color: inherit;
    text-decoration: none
  }
  img {
    display: block
  }
  .page-body {
    height: 686px;
    background: #ebf6f5
  }
  .page-content,
  main {
    background: #fff
  }
}

:root {
  --deep: #033632;
  --green: #0f988c;
  --aqua: #00a99a;
  --mint: #58c6af;
  --pink: #ffa8a8;
  --coral: #f25f5f;
  --orange: #f1953b;
  --yellow: #fbb958;
  --footer: #007066;
  --brown: #5e4935;
  --body-text: #495a6a;
  --heading: #00786b;
  --line: #b8d8d3;
  --section-mint: #f2f9f8;
  --gold: #baad8a;
  --content-width: 1200px
}

html {
  scroll-behavior: smooth
}

html,
body {
  margin: 0
}

body {
  color: var(--deep);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: .05em
}

.site-header {
  position: relative;
  height: 400px;
  background: #fff url("../img/new-asset-01-1600x710_933.png") center/cover no-repeat
}

.site-header:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .6);
  pointer-events: none
}

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 400px;
  padding: 18px 24px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.header-left {
  flex: 0 1 480px;
  min-width: 0
}

.header-right {
  flex: 0 0 1040px;
  display: flex;
  flex-direction: column;
  align-items: stretch
}

.brand {
  display: block;
  margin: 1px 0 0 1px
}

.brand .brand-logo {
  width: 100%;
  height: auto;
}

.header-tools {
  position: absolute;
  top: 20px;
  right: 24px;
  height: 60px;
  display: flex
}

.header-phone {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0 14px 0 4px;
  border-right: 1px solid #a3a3a3
}

.header-phone-number {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap
}

.header-phone-number img {
  width: 24px;
  height: 31px;
  flex: none
}

.header-phone strong,
.header-phone small {
  display: block
}

.header-phone strong {
  font-family: Jost, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1
}

.header-phone small {
  margin: 5px 0 0 34px;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1;
  white-space: nowrap
}

.header-station {
  width: 225px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 13px
}

.header-station>img {
  width: 21px;
  height: 26px
}

.header-station small,
.header-station strong {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700
}

.header-station small {
  font-size: 13px
}

.header-station strong {
  margin-top: 2px;
  font-size: 17px;
  white-space: nowrap
}

.tool-button {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .15em
}

.tool-button img {
  object-fit: contain
}

.tool-button--shop {
  width: 137px;
  background: var(--coral)
}

.tool-button--shop img {
  width: 28px;
  height: 24px;
  opacity: .51
}

.tool-button--web {
  width: 216px;
  margin-left: 10px;
  background: var(--green)
}

.tool-button--web img {
  width: 26px;
  height: 25px;
  opacity: .6
}

.global-nav {
  position: absolute;
  top: 113px;
  right: 24px;
  width: 1040px;
  display: grid;
  grid-template-columns: 55px 120px 275px 210px 145px 112px 100px;
  align-items: start
}

.global-nav a,
.footer-nav a {
  text-align: center
}

.global-nav strong,
.global-nav small,
.footer-nav strong,
.footer-nav small {
  display: block
}

.global-nav strong {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap
}

.global-nav small {
  margin-top: 3px;
  color: var(--aqua);
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  opacity: .75;
  white-space: nowrap
}

.home-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: 0;
  background: none
}

.global-nav .home-icon {
  filter: none
}

.page-title {
  position: absolute;
  top: 232px;
  left: 640px;
  width: 320px;
  text-align: center
}

.page-title h1 {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .15em
}

.page-title p {
  margin: 4px 0 0;
  color: var(--aqua);
  font-family: Jost, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em
}

.fixed-actions {
  position: fixed;
  z-index: 10;
  right: 0;
  top: 255px;
  width: 61px
}

.fixed-actions a {
  display: flex;
  width: 61px;
  color: #fff;
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900
}

.fixed-web {
  height: 187px;
  border-radius: 10px 0 0 10px;
  background: var(--green);
  flex-direction: column;
  align-items: center;
  padding-top: 21px
}

.fixed-web img {
  width: 26px;
  height: 25px;
  margin-bottom: 10px;
  opacity: .6
}

.fixed-web span {
  font-size: 19px;
  line-height: 19px
}

.fixed-web b {
  font-size: 18px;
  line-height: 22px
}

.fixed-form {
  height: 153px;
  margin-top: 10px;
  border-radius: 10px 0 0 10px;
  background: var(--yellow);
  flex-direction: column;
  align-items: center;
  padding-top: 18px
}

.clipboard-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 27px;
  margin-bottom: 8px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 2px;
  font-size: 14px
}

.fixed-form b {
  font-size: 18px;
  line-height: 22px
}

.back-top {
  position: fixed;
  z-index: 10;
  right: 20px;
  top: 865px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--coral)
}

.back-top:after {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg)
}

.access-section {
  position: relative;
  height: 1344px;
  padding-top: 102px;
  overflow: hidden;
  background: #f7e8e2
}

.access-section:before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("../img/new-asset-14-2289_087x1344.jpg") center/cover;
  filter: blur(22px);
  opacity: .2
}

.access-card,
.calendar-panel {
  position: relative
}

.access-card {
  width: 1200px;
  height: 730px;
  margin: auto;
  display: grid;
  grid-template-columns: 600px 600px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff
}

.access-copy {
  padding: 67px 100px 40px
}

.access-brand {
  width: 400px;
  height: auto;
}

.access-brand .brand-logo {
  width: 420px;
  height: auto;
}

.address {
  margin: 15px 0 25px;
  padding: 17px 0;
  border-block: 1px dotted #a3a3a3;
  font-size: 13px
}

.route {
  margin: 0 0 21px
}

.route h2 {
  position: relative;
  margin: 0 0 6px;
  padding-left: 17px;
  color: var(--green);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px
}

.route h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green)
}

.route p {
  margin: 0;
  padding-left: 17px;
  font-size: 12px;
  line-height: 1.7
}

.route a {
  color: var(--green);
  text-decoration: underline
}

.contact-line {
  margin-top: 28px;
  padding: 27px 4px 0;
  border-top: 1px dotted #a3a3a3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px
}

.contact-line small {
  font-size: 12px
}

.contact-line>a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Jost, sans-serif;
  font-size: 30px;
  letter-spacing: .04em
}

.contact-line>a img {
  width: 24px;
  height: 31px
}

.access-actions {
  margin-top: 25px;
  display: flex
}

.access-actions .tool-button--shop {
  width: 137px
}

.access-actions .tool-button--web {
  width: 305px
}

.payment-label {
  margin: 26px 0 13px;
  text-align: center;
  font-size: 12px
}

.payment-logos {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center
}

.payment-logos img {
  width: 330px;
  height: 42px;
  object-fit: contain
}

.access-media {
  display: grid;
  grid-template-rows: 459px 271px
}

.clinic-photo {
  width: 600px;
  height: 459px;
  object-fit: cover
}

.hours {
  padding: 34px 66px 20px;
  background: #fffbf7;
  color: var(--brown)
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px
}

.hours th,
.hours td {
  height: 43px;
  border-bottom: 1px solid #d7cdc4;
  text-align: center
}

.hours thead th:first-child,
.hours tbody th {
  text-align: left
}

.hours thead th:first-child {
  font-size: 16px
}

.hours tbody th {
  font-size: 14px
}

.hours tbody td {
  color: var(--orange);
  font-size: 17px
}

.hours p {
  margin: 11px 0 4px;
  font-size: 10px;
  line-height: 1.5
}

.hours p span {
  color: var(--orange)
}

.hours>small {
  font-size: 9px
}

.calendar-panel {
  width: 800px;
  height: 350px;
  margin: 43px auto 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  color: #000;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .14em
}

.map-frame {
  width: 100%;
  height: 510px;
  overflow: hidden;
  background: #eee
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 510px;
  border: 0
}

.site-footer {
  position: relative;
  height: 525px;
  background: var(--footer);
  color: #fff
}

.footer-nav {
  position: absolute;
  top: 61px;
  left: 50%;
  width: 670px;
  margin: 0;
  display: grid;
  grid-template-columns: 70px repeat(4, 150px);
  transform: translateX(-50%)
}

.footer-nav strong {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px
}

.footer-nav small {
  margin-top: 3px;
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  opacity: 0.5;
}

.footer-nav .home-icon {
  filter: brightness(0) invert(1)
}

.banners {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%)
}

.banners a {
  display: block;
  overflow: hidden
}

.banners img {
  width: 100%;
  height: 100%;
  object-fit: fill
}

.banners--top {
  top: 167px;
  width: 974px;
  height: 60px;
  gap: 14px
}

.banners--top a {
  width: 184px;
  height: 60px;
  border-radius: 6px
}

.banners--bottom {
  top: 250px;
  width: 1110px;
  height: 60px;
  gap: 14px
}

.banners--bottom a {
  height: 60px;
  border-radius: 6px;
  background: #fff
}

.banners--bottom a:nth-child(1) {
  width: 135px
}

.banners--bottom a:nth-child(2) {
  width: 185px
}

.banners--bottom a:nth-child(3) {
  width: 135px
}

.banners--bottom a:nth-child(4) {
  width: 135px
}

.banners--bottom a:nth-child(5) {
  width: 124px
}

.banners--bottom a:nth-child(6) {
  width: 150px
}

.banners--bottom a:nth-child(7) {
  width: 183px
}

.interview {
  position: absolute;
  top: 373px;
  left: 50%;
  display: block;
  width: 250px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  transform: translateX(-50%)
}

.interview img {
  width: 250px;
  height: 80px
}

.copyright {
  position: absolute;
  top: 485px;
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700
}

/* Full-width header groups */
.header-tools {
  position: static;
  height: 60px;
  display: flex;
  justify-content: flex-end
}

.global-nav {
  position: static;
  width: 1040px;
  margin-top: 35px;
  display: grid;
  grid-template-columns: 55px 120px 275px 210px 145px 112px 100px;
  align-items: start
}

.page-title {
  left: 50%;
  transform: translateX(-50%)
}

.nav-item {
  position: relative;
  text-align: center
}

.dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 16px);
  left: 50%;
  width: 260px;
  padding: 0;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s
}

.dropdown-menu:before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px
}

.dropdown-menu a {
  display: flex;
  width: 260px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #fff;
  color: #033632;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #09a89a;
  color: #fff;
  outline: 0
}

.has-dropdown:hover>.dropdown-menu,
.has-dropdown:focus-within>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0)
}

/* Scroll-to-top visibility */
.back-top {
  top: auto;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

/* Footer navigation mirrors the header */
.footer-nav {
  top: 61px;
  width: 1040px;
  grid-template-columns: 55px 120px 275px 210px 145px 112px 100px
}

.footer-nav>.nav-item>a,
.footer-nav>a {
  color: #fff
}

.footer-nav .dropdown-menu {
  top: auto;
  bottom: calc(100% + 16px);
  background: #fff
}

.footer-nav .dropdown-menu:before {
  inset: auto 0 -16px;
  height: 16px
}

.footer-nav .dropdown-menu a {
  color: var(--deep)
}

.footer-nav .dropdown-menu a:hover,
.footer-nav .dropdown-menu a:focus-visible {
  background: #09a89a;
  color: #fff
}

/* WordPress theme integration */
.site-header {
  background-image: var(--hero-image);
  background-position: top center;
  background-size: cover;
  background-attachment: fixed
}

.site-header:after {
  background: transparent
}

.page-content {
  padding: 0;
  background: #fff
}

.content-section {
  padding: 110px 0;
  color: var(--body-text)
}

.content-section:nth-of-type(odd) {
  background: #fff
}

.content-section:nth-of-type(even) {
  background: var(--section-mint)
}

.container {
  width: min(var(--content-width), calc(100% - 80px));
  margin-inline: auto
}

.section-title {
  margin: 0 0 65px;
  text-align: center
}

.section-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  color: var(--heading);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .1em
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 92px;
  height: 1px;
  background: #86aaa5
}

.section-title p {
  margin: 9px 0 0;
  color: var(--aqua);
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center
}

.content-section:nth-of-type(even) .media-row>figure,
.media-row.reverse>figure {
  order: 2
}

.media-row figure {
  margin: 0;
  overflow: hidden
}

.media-row img {
  width: 100%;
  height: 380px;
  object-fit: cover
}

.section-intro {
  margin: 0 0 30px;
  color: var(--heading);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.7 !important;
  letter-spacing: .08em
}

.content-section h3 {
  margin: 65px 0 34px;
  padding: 17px 26px;
  border-left: 7px solid var(--gold);
  background: var(--heading);
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .08em
}

.content-section h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--heading);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .06em
}

.content-section h4:before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 5px;
  height: 1em;
  background: var(--gold)
}

.content-section h4:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line)
}

.content-section p {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em
}

.line-grid,
.simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  margin: 0;
  padding: 0;
  list-style: none
}

.line-grid li,
.simple-list li {
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8
}

.outlined-panel {
  margin-top: 50px;
  padding: 26px 38px;
  border: 1px solid #7eb3ad;
  background: rgba(255, 255, 255, .55);
  text-align: center;
  font-size: 15px;
  line-height: 2
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px
}

.vertical-flow {
  margin: 0;
  padding: 0;
  list-style: none
}

.vertical-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line)
}

.vertical-flow li>span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: Jost, sans-serif;
  font-size: 20px;
  font-weight: 400
}

.vertical-flow h4,
.vertical-flow p {
  margin-top: 0
}

.front-placeholder {
  display: grid;
  min-height: 520px;
  place-items: center;
  background: var(--section-mint);
  text-align: center
}

.front-placeholder p {
  font-size: 20px
}

.access-section:before {
  background-image: url("assets/img/new-asset-14-2289_087x1344.jpg")
}

.mobile-only,
.menu-toggle,
.mobile-nav {
  display: none
}

.content-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 5px solid var(--heading)
}

.content-list li {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em
}

.content-list li:nth-child(odd) {
  background: rgba(255, 255, 255, .35)
}

.scroll-header {
  position: fixed;
  z-index: 35;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffe8;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  box-shadow: 0 1px 30px rgba(3, 54, 50, .15);
}

.scroll-header.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.scroll-header-brand {
  display: block;
  width: 400px
}

.scroll-header-brand img {
  width: 100%;
  height: auto
}

.scroll-header-nav {
  width: 920px;
  display: grid;
  grid-template-columns: 45px 105px 245px 185px 130px 105px 95px;
  align-items: center
}

.scroll-header-nav a {
  text-align: center
}

.scroll-header-nav strong,
.scroll-header-nav small {
  display: block;
  white-space: nowrap
}

.scroll-header-nav strong {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700
}

.scroll-header-nav small {
  margin-top: 2px;
  color: var(--aqua);
  font-family: Jost, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em
}

.scroll-header-nav .home-icon {
  width: 18px;
  height: 18px
}

.scroll-header-nav .dropdown-menu {
  top: calc(100% + 23px)
}

/* Editorial components for content-rich lower pages */
.page-content:not(.page-content--general-care) .content-section {
  position: relative
}

.page-content:not(.page-content--general-care) .layout-introduction {
  padding-top: 95px
}

.page-content:not(.page-content--general-care) .layout-introduction .section-title {
  margin-bottom: 48px
}

.page-content:not(.page-content--general-care) .layout-introduction .media-row {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 0;
  align-items: stretch;
  background: #fff
}

.page-content:not(.page-content--general-care) .layout-introduction .media-row figure {
  min-height: 500px
}

.page-content:not(.page-content--general-care) .layout-introduction .media-row img {
  height: 100%;
  min-height: 500px
}

.page-content:not(.page-content--general-care) .layout-introduction .media-row>div {
  display: flex;
  padding: 54px 58px;
  flex-direction: column;
  justify-content: center;
  border-block: 1px solid var(--line)
}

.page-content:not(.page-content--general-care) .layout-introduction .section-intro {
  font-size: 28px !important
}

.page-content:not(.page-content--general-care) .layout-editorial-1 .media-row {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr)
}

.page-content:not(.page-content--general-care) .layout-editorial-2 .media-row {
  grid-template-columns: 1fr;
  gap: 45px
}

.page-content:not(.page-content--general-care) .layout-editorial-2 .media-row figure {
  order: 0;
  width: min(100%, 980px);
  margin-inline: auto
}

.page-content:not(.page-content--general-care) .layout-editorial-2 .media-row img {
  height: 430px
}

.page-content:not(.page-content--general-care) .layout-editorial-2 .media-row>div {
  width: min(100%, 980px);
  margin-inline: auto
}

.page-content:not(.page-content--general-care) .layout-editorial-2 .content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px
}

.page-content:not(.page-content--general-care) .layout-editorial-3 .media-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: start
}

.page-content:not(.page-content--general-care) .layout-editorial-3 .media-row figure {
  order: 2;
  position: sticky;
  top: 110px
}

.page-content:not(.page-content--general-care) .layout-editorial-3 .media-row img {
  height: 460px
}

.content-list .content-subheading {
  grid-column: 1/-1;
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent !important
}

.content-list .content-subheading:first-child {
  margin-top: 0
}

.content-list .content-subheading h3 {
  position: relative;
  margin: 0;
  padding: 13px 20px 13px 27px;
  border-left: 6px solid var(--gold);
  background: var(--heading);
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5
}

.layout-features .content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 0
}

.page-content:not(.page-content--general-care) .layout-features:not(.layout-introduction) .media-row,
.page-content:not(.page-content--general-care) .layout-process .media-row {
  grid-template-columns: 1fr;
  gap: 42px
}

.page-content:not(.page-content--general-care) .layout-features:not(.layout-introduction) .media-row figure,
.page-content:not(.page-content--general-care) .layout-process .media-row figure {
  position: static;
  order: 0;
  width: min(100%, 820px);
  margin-inline: auto
}

.page-content:not(.page-content--general-care) .layout-features:not(.layout-introduction) .media-row>div,
.page-content:not(.page-content--general-care) .layout-process .media-row>div {
  width: 100%
}

.layout-features .content-list>li {
  min-height: 76px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  line-height: 1.75
}

.layout-features .content-list>.content-subheading {
  grid-column: auto;
  margin: 0;
  padding: 0;
  border: 0
}

.layout-features .content-list>.content-subheading h3 {
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--heading);
  font-size: 18px
}

.layout-process .content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-top: 0
}

.layout-process .process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  min-height: 150px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff
}

.layout-process .process-number {
  color: var(--aqua);
  font-family: Jost, sans-serif;
  font-size: 40px;
  line-height: 1
}

.layout-process .process-step h3 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 20px
}

.layout-process .process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85
}

.layout-process .process-note {
  grid-column: 1/-1;
  padding: 20px 28px;
  border: 1px solid var(--line);
  background: var(--section-mint);
  text-align: center
}

.layout-faq .content-list {
  border-top: 1px solid var(--line)
}

.layout-faq .content-list li {
  padding: 21px 26px;
  background: #fff
}

.layout-faq .content-list .content-subheading h3 {
  background: transparent;
  color: var(--heading);
  border-left: 5px solid var(--gold)
}

.layout-requirements .content-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line)
}

.layout-requirements .content-list li {
  margin: 0;
  padding: 17px 22px;
  border-right: 1px solid var(--line)
}

.layout-requirements .content-list li:nth-child(odd) {
  background: #e6f4f2;
  color: var(--heading);
  font-weight: 700
}

.layout-requirements .content-list li:nth-child(even) {
  background: #fff
}

/* Header and shared reference refinements */
.header-inner {
  display: block
}

.header-top {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px
}

.header-right {
  flex: 0 0 auto;
  align-items: flex-end
}

.header-bottom {
  display: flex;
  width: 100%;
  margin-top: 35px;
  justify-content: flex-end
}

.header-bottom .global-nav {
  margin-top: 0
}

.page-title {
  left: 0;
  width: 100%;
  padding-inline: 90px;
  transform: none
}

.page-title h1 {
  max-width: 100%;
  overflow-wrap: anywhere
}

.fixed-actions {
  top: 50%;
  transform: translateY(-50%)
}

.hours {
  font-family: "Noto Sans JP", sans-serif
}

.hours table {
  table-layout: fixed
}

.hours thead th:first-child {
  width: 145px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em
}

.hours thead th:not(:first-child) {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700
}

.hours tbody th {
  width: 145px;
  padding-left: 17px;
  font-family: Jost, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .05em
}

.hours tbody td {
  font-size: 14px;
  font-weight: 700
}

.hours p {
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .1em
}

.hours p span {
  font-weight: 700
}

.hours>small {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: .1em
}

.banners img {
  object-fit: contain;
  background: #fff
}

.banners--top a:nth-child(4) {
  width: 184px;
  height: 60px
}

.banners--bottom a:nth-child(1) {
  width: 131px
}

.banners--bottom a:nth-child(2) {
  width: 184px
}

.banners--bottom a:nth-child(3) {
  width: 114px
}

.banners--bottom a:nth-child(4) {
  width: 135px
}

.banners--bottom a:nth-child(5) {
  width: 77px
}

.banners--bottom a:nth-child(6) {
  width: 118px
}

.banners--bottom a:nth-child(7) {
  width: 183px
}

@media (max-width:1450px) and (min-width:768px) {
  .header-inner {
    padding-left: 30px;
    padding-right: 18px
  }

  .header-phone {
    border-right: 0
  }

  .header-station {
    display: none
  }
}

@media (max-width:1280px) and (min-width:768px) {
  .header-left {
    flex-basis: 400px
  }
}

/* 1120〜950px：電話・SHOP・WEB予約の幅を画面幅に合わせて少しずつ縮める（950px 以下の値につながるように）。
   ロゴはその残りの幅に合わせて縮むので、幅を変えても段差なく小さくなる */
@media (max-width:1120px) and (min-width:768px) {
  .header-phone {
    width: clamp(250px, calc(29.41vw - 29.4px), 300px)
  }

  .tool-button--shop {
    width: clamp(105px, calc(18.82vw - 73.8px), 137px)
  }

  .tool-button--web {
    width: clamp(155px, calc(35.88vw - 185.9px), 216px)
  }
}

@media (max-width:950px) and (min-width:768px) {
  .header-inner {
    padding-inline: 15px
  }

  .header-left {
    flex-basis: 360px
  }

  .header-phone {
    width: 250px;
    padding-right: 7px
  }

  .header-phone strong {
    font-size: 27px
  }

  .header-phone small {
    font-size: 9px
  }

  .tool-button--shop {
    width: 105px
  }

  .tool-button--web {
    width: 155px;
    margin-left: 6px
  }
}

@media (max-width:767px) {

  html,
  body {
    min-width: 0;
    width: 100%;
    overflow-x: hidden
  }

  body {
    font-size: 14px
  }

  .site-header {
    height: 290px;
    background-position: center
  }

  .header-inner {
    height: 290px;
    padding: 10px 15px;
    display: block
  }

  .header-left {
    width: 230px
  }

  .brand,
  .brand .brand-logo {
    width: 230px;
    height: auto
  }

  .header-right {
    display: none
  }

  .header-bottom {
    display: none
  }

  .page-title {
    top: 155px;
    left: 0;
    width: 100%;
    padding-inline: 20px;
    transform: none
  }

  .page-title h1 {
    font-size: 27px
  }

  .page-title p {
    font-size: 12px
  }

  .menu-toggle {
    position: fixed;
    z-index: 42;
    top: 0;
    right: 0;
    display: flex;
    width: 62px;
    height: 62px;
    padding: 18px 15px;
    flex-direction: column;
    justify-content: space-between;
    border: 0;
    background: var(--green);
    cursor: pointer
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(12px) rotate(45deg)
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg)
  }

  .scroll-header {
    display: none
  }

  .header-left {
    position: fixed;
    z-index: 42;
    top: 0;
    left: 0;
    width: calc(100% - 62px);
    height: 62px;
    padding: 9px 15px;
    background: #fff
  }

  .header-left .brand,
  .header-left .brand-logo {
    width: 225px;
    height: auto
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    top: 62px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 0 0 35px;
    background: #087a72;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    overflow-y: auto;
    transition: opacity .3s ease, transform .3s ease, visibility .3s
  }

  .menu-open {
    overflow: hidden
  }

  .menu-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
  }

  .mobile-nav-inner,
  .mobile-nav .nav-item {
    width: 100%;
    margin-inline: auto
  }

  .mobile-nav-inner {
    border-top: 1px solid rgba(255, 255, 255, .18)
  }

  .mobile-nav .home-link,
  .mobile-nav .nav-item>a,
  .mobile-accordion-toggle {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 10px 48px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #fff;
    text-align: center
  }

  .mobile-nav .home-icon {
    display: none
  }

  .mobile-only {
    display: inline;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700
  }

  .mobile-nav strong {
    display: block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    font-weight: 700
  }

  .mobile-nav small {
    display: none
  }

  .mobile-accordion-toggle {
    position: relative;
    cursor: pointer
  }

  .mobile-accordion-toggle i {
    position: absolute;
    right: 24px;
    width: 18px;
    height: 18px
  }

  .mobile-accordion-toggle i:before,
  .mobile-accordion-toggle i:after {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 1px;
    background: #fff;
    transition: transform .25s
  }

  .mobile-accordion-toggle i:after {
    transform: rotate(90deg)
  }

  .mobile-nav .is-open .mobile-accordion-toggle i:after {
    transform: rotate(0)
  }

  .mobile-nav .dropdown-menu {
    position: static;
    left: auto;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, .08);
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
    text-align: center;
    transition: max-height .35s ease
  }

  .mobile-nav .dropdown-menu:before {
    display: none
  }

  .mobile-nav .is-open .dropdown-menu {
    max-height: 260px
  }

  .mobile-nav .dropdown-menu a {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center
  }

  .mobile-nav .dropdown-menu a:hover,
  .mobile-nav .dropdown-menu a:focus-visible {
    background: rgba(255, 255, 255, .16);
    color: #fff
  }

  .mobile-nav .has-dropdown:hover>.dropdown-menu,
  .mobile-nav .has-dropdown:focus-within>.dropdown-menu {
    transform: none
  }

  .fixed-actions {
    display: none
  }

  .container {
    width: calc(100% - 40px)
  }

  .content-section {
    padding: 65px 0
  }

  .section-title {
    margin-bottom: 38px
  }

  .section-title h2 {
    gap: 12px;
    font-size: 24px;
    line-height: 1.45
  }

  .section-title h2:before,
  .section-title h2:after {
    width: 35px;
    flex: none
  }

  .section-title p {
    font-size: 10px
  }

  .media-row,
  .two-column {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .content-section:nth-of-type(even) .media-row>figure,
  .media-row.reverse>figure {
    order: 0
  }

  .media-row img {
    height: auto;
    max-height: 340px
  }

  .section-intro {
    font-size: 18px !important
  }

  .content-section h3 {
    margin: 38px 0 22px;
    padding: 13px 16px;
    font-size: 18px
  }

  .content-section h4 {
    font-size: 18px
  }

  .content-section p {
    font-size: 14px;
    line-height: 1.9
  }

  .content-list li,
  .line-grid li,
  .simple-list li {
    font-size: 14px
  }

  .line-grid,
  .simple-list {
    grid-template-columns: 1fr
  }

  .outlined-panel {
    margin-top: 30px;
    padding: 20px
  }

  .vertical-flow li {
    grid-template-columns: 44px 1fr;
    gap: 14px
  }

  .vertical-flow li>span {
    width: 40px;
    height: 40px
  }

  .page-content:not(.page-content--general-care) .layout-introduction {
    padding-top: 60px
  }

  .page-content:not(.page-content--general-care) .layout-introduction .media-row,
  .page-content:not(.page-content--general-care) .layout-editorial-1 .media-row,
  .page-content:not(.page-content--general-care) .layout-editorial-2 .media-row,
  .page-content:not(.page-content--general-care) .layout-editorial-3 .media-row {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .page-content:not(.page-content--general-care) .layout-introduction .media-row figure {
    min-height: 0
  }

  .page-content:not(.page-content--general-care) .layout-introduction .media-row img {
    height: auto;
    min-height: 0
  }

  .page-content:not(.page-content--general-care) .layout-introduction .media-row>div {
    padding: 28px 20px;
    border: 1px solid var(--line)
  }

  .page-content:not(.page-content--general-care) .layout-introduction .section-intro {
    font-size: 20px !important
  }

  .page-content:not(.page-content--general-care) .layout-editorial-2 .media-row figure,
  .page-content:not(.page-content--general-care) .layout-editorial-2 .media-row>div {
    width: 100%
  }

  .page-content:not(.page-content--general-care) .layout-editorial-2 .media-row img,
  .page-content:not(.page-content--general-care) .layout-editorial-3 .media-row img {
    height: auto
  }

  .page-content:not(.page-content--general-care) .layout-editorial-3 .media-row figure {
    position: static;
    order: 0
  }

  .page-content:not(.page-content--general-care) .layout-editorial-2 .content-list,
  .layout-features .content-list,
  .layout-process .content-list {
    grid-template-columns: 1fr
  }

  .content-list .content-subheading,
  .layout-features .content-list>.content-subheading {
    grid-column: 1
  }

  .content-list .content-subheading h3 {
    font-size: 16px
  }

  .layout-process .process-step {
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 20px
  }

  .layout-process .process-number {
    font-size: 32px
  }

  .layout-requirements .content-list {
    grid-template-columns: 120px 1fr
  }

  .layout-requirements .content-list li {
    padding: 14px 12px
  }

  .access-section {
    height: auto;
    padding: 60px 20px
  }

  .access-card {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px
  }

  .access-copy {
    padding: 42px 25px
  }

  .access-brand,
  .access-brand .brand-logo {
    width: 100%;
    max-width: 350px;
    height: auto
  }

  .contact-line {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap
  }

  .contact-line>a {
    font-size: 26px
  }

  .access-actions {
    gap: 8px
  }

  .access-actions .tool-button--shop,
  .access-actions .tool-button--web {
    width: 50%;
    margin: 0;
    font-size: 15px
  }

  .payment-logos img {
    max-width: 100%;
    height: auto
  }

  .access-media {
    display: block
  }

  .clinic-photo {
    width: 100%;
    height: auto
  }

  .hours {
    padding: 28px 18px
  }

  .calendar-panel {
    width: 100%;
    height: 240px;
    margin-top: 30px;
    font-size: 20px
  }

  .map-frame,
  .map-frame iframe {
    height: 390px
  }

  .site-footer {
    height: auto;
    padding: 50px 20px 35px
  }

  .footer-nav {
    display: none
  }

  .banners,
  .banners--top,
  .banners--bottom {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    transform: none
  }

  .banners--top a,
  .banners--bottom a,
  .banners--bottom a:nth-child(n) {
    width: 100%;
    height: 48px;
    border-radius: 4px
  }

  .banners--bottom {
    margin-top: 14px
  }

  .interview {
    position: static;
    width: 250px;
    height: 80px;
    margin: 28px auto 0;
    transform: none
  }

  .copyright {
    position: static;
    margin: 28px 0 0;
    font-size: 10px
  }

  .back-top {
    right: 15px;
    bottom: 15px;
    width: 48px;
    height: 48px
  }

  .back-top:after {
    left: 17px;
    top: 19px
  }
}

/* お知らせのカテゴリラベル（トップ・一覧・個別記事で共通）。色はカテゴリのスラッグで指定 */
.hp-tag {
  display: grid;
  flex: none;
  width: 132px;
  height: 30px;
  place-items: center;
  border-radius: 3px;
  background: #63bd9d;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .1em
}

.hp-tag--news {
  background: #63bd9d
}

.hp-tag--closed {
  background: #59c4d5
}

/* お知らせ一覧・個別記事 */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(52, 112, 159, .37)
}

.news-list a {
  display: flex;
  min-height: 73px;
  padding: 14px 10px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(52, 112, 159, .37);
  transition: background .3s ease
}

.news-list a:hover {
  background: #f6fcfb
}

.news-list time,
.news-article__meta time {
  color: #00786b;
  font-family: Jost, sans-serif;
  font-size: 19px
}

.news-list__title {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .1em
}

.news-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 0 100px
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 20px
}

.news-article__title {
  margin: 18px 0 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: .08em
}

.news-article__body {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em
}

.news-article__body img {
  max-width: 100%;
  height: auto
}

/* 旧サイトと同じく、記事本文の太字は黄色いマーカー */
.news-article__body strong {
  background: linear-gradient(transparent 40%, #ff9 40%)
}

.news-article__back {
  margin-top: 60px;
  text-align: center
}

.news-article__back a {
  display: inline-block;
  padding: 12px 40px;
  border: 3px solid rgba(88, 198, 175, .3);
  border-radius: 30px;
  color: #09a89a
}

.news-pagination {
  margin-top: 50px;
  text-align: center
}

@media (max-width:767px) {
  .news-list a {
    flex-wrap: wrap;
    gap: 8px 16px
  }

  .news-list__title {
    flex-basis: 100%;
    font-size: 14px
  }

  .news-article {
    padding: 50px 0 70px
  }

  .news-article__title {
    font-size: 20px
  }
}

/* ページ内リンクの着地位置（追従ヘッダーに隠れないように） */
.content-section[id] {
  scroll-margin-top: 100px
}

@media (max-width:767px) {
  .content-section[id] {
    scroll-margin-top: 72px
  }
}

/* フッターのバナーを全て削除したため高さを詰める（2026-10-05） */
.site-footer {
  height: 190px
}

.copyright {
  top: 140px
}

.route a {
  color: var(--green);
  text-decoration: underline
}

@media (max-width:767px) {
  .site-footer {
    height: auto
  }
}

/* 追従ヘッダー：電話・住所・SHOP・WEB予約のバーも常に表示（2026-10-05） */
.scroll-header {
  height: auto;
  padding: 10px 24px 12px 48px;
  flex-direction: column;
  align-items: stretch;
  gap: 16px
}

.scroll-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

/* ロゴは通常ヘッダーと同じく、上限を決めて空きに合わせて縮む */
.scroll-header-brand {
  flex: 0 1 480px;
  width: auto;
  min-width: 0
}

.scroll-header-tools {
  flex: none
}

.scroll-header-nav {
  align-self: flex-end
}

.scroll-header-tools {
  height: 52px
}

.scroll-header-tools .tool-button {
  height: 52px
}

.scroll-header-tools .header-phone strong {
  font-size: 26px
}

@media (max-width:1450px) and (min-width:768px) {
  .scroll-header {
    padding-left: 30px;
    padding-right: 18px
  }

  .scroll-header-tools .header-station {
    display: none
  }

  .scroll-header-tools .header-phone {
    border-right: 0
  }
}

@media (max-width:1280px) and (min-width:768px) {
  .scroll-header-brand {
    flex-basis: 400px
  }
}

@media (max-width:950px) and (min-width:768px) {
  .scroll-header-brand {
    flex-basis: 360px
  }
}

/* 2026-10-06 先生修正：フッターはインタビューバナーのみ復活／ナビは文字幅に合わせて並べる（フォント差で重ならないように）
   PC のみ。SP はナビ非表示・縦積み（上の 767px 以下の指定）のまま */
@media (min-width:768px) {
  .site-footer {
    height: 350px
  }

  .interview {
    top: 190px
  }

  .copyright {
    top: 300px
  }

  .footer-nav {
    width: auto;
    display: flex;
    justify-content: center;
    column-gap: 40px;
    white-space: nowrap
  }

  .footer-nav .dropdown-menu {
    white-space: normal
  }
}

/* ヘッダー高さ380px（世田谷どうぶつ整形外科センターのみ。inc/page-meta.php の class で指定） */
@media (min-width:768px) {

  .site-header.site-header--short,
  .site-header.site-header--short .header-inner {
    height: 380px
  }
}
/* SP 画面下固定の電話・WEB予約ボタン（header.php の .sp-cta。デザイン：アートボード 9） */
.sp-cta {
  display: none
}

@media (max-width:767px) {
  .sp-cta {
    position: fixed;
    z-index: 30;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 10px
  }

  .sp-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff
  }

  .sp-cta__tel {
    width: 70px;
    height: 65px;
    border-radius: 0 30px 0 0;
    background: var(--mint)
  }

  .sp-cta__tel img {
    width: 30px;
    height: 30px
  }

  .sp-cta__web {
    width: 200px;
    height: 50px;
    gap: 11px;
    border-radius: 15px 15px 0 0;
    background: var(--green);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .15em
  }

  .sp-cta__web img {
    width: 26px;
    height: 25px;
    opacity: .6
  }

  /* 固定ボタンでフッター最下部（コピーライト）が隠れないように */
  .site-footer {
    padding-bottom: 65px
  }
}

/* =========================================================
   タブレット幅（768〜1199px）のはみ出し対策（2026-10-09）
   PC の固定幅（ナビ 1040px・アクセス 1200px など）を画面幅に合わせて縮める
   ========================================================= */
@media (max-width:1100px) and (min-width:768px) {

  /* ナビ：列幅固定のグリッドをやめ、文字幅で並べて残りを均等に空ける */
  .global-nav,
  .scroll-header-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px
  }

  .header-bottom .global-nav {
    width: 100%
  }

  .global-nav strong,
  .scroll-header-nav strong {
    font-size: clamp(13px, 1.4vw, 15px)
  }

  .global-nav small,
  .scroll-header-nav small {
    font-size: clamp(8px, .95vw, 10px);
    letter-spacing: .1em
  }

  .footer-nav {
    column-gap: clamp(16px, 2.6vw, 40px)
  }

  .footer-nav strong {
    font-size: clamp(13px, 1.4vw, 16px)
  }

  .footer-nav small {
    font-size: clamp(8px, .95vw, 11px);
    letter-spacing: .1em
  }

  /* 左端の「診療案内」のメニューは中央寄せだと画面の左にはみ出すので、項目の左端にそろえる */
  .home-link+.has-dropdown>.dropdown-menu {
    left: 0;
    transform: translate(0, -8px)
  }

  .home-link+.has-dropdown:hover>.dropdown-menu,
  .home-link+.has-dropdown:focus-within>.dropdown-menu {
    transform: translate(0, 0)
  }
}

@media (max-width:1199px) and (min-width:768px) {

  /* アクセス（全ページ共通のフッター上） */
  .access-section {
    height: auto;
    padding: 80px 24px
  }

  .access-card {
    width: 100%;
    max-width: 1200px;
    height: auto;
    grid-template-columns: 1fr 1fr
  }

  .access-copy {
    padding: 48px 40px 36px
  }

  .access-brand,
  .access-brand .brand-logo {
    width: 100%;
    max-width: 400px;
    height: auto
  }

  .access-actions .tool-button--web {
    flex: 1;
    width: auto
  }

  .access-media {
    grid-template-rows: auto 1fr
  }

  .clinic-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 459
  }

  .hours {
    padding: 30px 32px 20px
  }

  .calendar-panel {
    width: min(800px, 100%)
  }
}

@media (max-width:1023px) and (min-width:768px) {

  /* アクセス：左右2列だと窮屈なので縦に積む */
  .access-card {
    grid-template-columns: 1fr
  }

  .access-copy {
    padding: 48px 56px 40px
  }

  .hours tbody th,
  .hours thead th:first-child {
    width: 130px
  }
}
