:root {
  --ink: #263d3a;
  --muted: #46615d;
  --green: #326a63;
  --deep: #21504a;
  --paper: #edf6f5;
  --line: #cbe2de;
  --white: #fff;
  --sans: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 18px/1.85 var(--sans); overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #9a622b; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.45; }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-size: 1.14em; }
p + p { margin-top: .85em; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 102px); }
.sub { margin-top: .6em; color: var(--muted); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; background: white; padding: 10px; transform: translateY(-140%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 98px; }
.brand { flex: none; display: block; }
.brand img { width: 192px; height: auto; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2.5vw, 37px); }
.nav a { font-size: 16px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.nav a:hover, .textlink:hover { text-decoration-thickness: 2px; }
.nav a:hover { text-decoration-line: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 22px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.btn.primary { background: var(--green); color: white; }
.btn.primary:hover { background: var(--deep); }
.btn.secondary { border-color: #739d97; background: white; color: var(--deep); }
.btn.secondary:hover { background: #eef7f6; }
.btn.sm { min-height: 47px; padding-inline: 15px; font-size: 15px; white-space: nowrap; }
.textlink { color: var(--green); font-weight: 700; }
.actions, .hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; }

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(32px, 5vw, 75px) 0 0;
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-landscape) center / cover no-repeat;
  opacity: .05;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 5vw, 76px); }
.hero-copy { padding-block: 7px; }
.eyebrow { margin-bottom: 10px; font-size: 17px; font-weight: 800; color: var(--green); }
.hero-copy { container-type: inline-size; }
.hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDMincho", "Noto Serif CJK JP", "MS PMincho", serif;
  font-size: clamp(28px, 4vw, 62px);
  font-size: clamp(26px, 10.5cqi, 62px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .04em;
}
.hero .lead { margin-top: 18px; line-height: 1.75; }
.hero-photo { position: relative; overflow: hidden; min-width: 0; border-radius: 20px 90px 20px 20px; background: #d4eae7; }
.hero-photo img { width: 100%; aspect-ratio: 1.28; object-fit: cover; object-position: 52% center; }
.location-chip { position: absolute; right: 15px; bottom: 15px; left: 15px; width: fit-content; padding: 5px 13px; border-radius: 5px; background: white; font-size: 15px; font-weight: 700; text-decoration: none; }
.location-chip:hover { text-decoration: underline; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }
.booking .btn { flex-direction: column; align-items: flex-start; min-height: 76px; padding: 10px 13px; padding-inline-start: calc(13px + 2pt); font-size: 17px; }
.booking small { font-size: 16px; }
.booking .btn.secondary { font-size: 21px; }
.booking .btn.secondary small { font-size: 17px; }
.telnum { font-size: clamp(18px, 2vw, 25px); white-space: nowrap; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 16px; }
.hero-links { font-size: 16px; margin-top: 12px; }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 22px; margin-top: clamp(25px, 5vw, 57px); padding: 16px 2px; border-top: 1px solid #a9cec9; font-size: 16px; text-decoration: none; }
.notice span:first-child { color: var(--green); font-weight: 700; }
.notice:hover strong { text-decoration: underline; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 10px 25px; margin-bottom: 28px; }
.section-head h2:not(.accent-heading)::before { display: block; width: 38px; margin-bottom: 12px; border-top: 3px solid #85c2ba; content: ""; }
.section-head .actions { margin-top: 0; }
.symptom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.symptom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 96px; padding: 13px 6px; border-block-end: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.symptom:hover { background: var(--paper); }
.symptom strong { display: block; line-height: 1.5; }
.symptom small { display: block; color: var(--muted); font-size: 15px; }
.symbol { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: var(--paper); color: var(--green); }
.catalog-card { grid-template-columns: minmax(0, 1fr) auto; }
.tint, .access { background: var(--paper); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.card { padding: clamp(19px, 3vw, 31px); border: 1px solid var(--line); border-radius: 9px; background: white; min-width: 0; }
.card h3 { margin-bottom: 7px; }
.card p { color: var(--muted); }
.development-card, .home-counseling { margin-top: 26px; border: 0; border-left: 3px solid #85c2ba; border-radius: 0 8px 8px 0; background: #f2f8f7; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps { gap: 12px; }
.steps li {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
#first .steps {
  padding: 12px;
  border-radius: 16px;
  background: var(--paper);
}
.step-no {
  display: inline-grid;
  place-content: center;
  justify-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #06384a;
  color: #fff;
  line-height: 1;
}
.step-no span { font-size: 13px; font-weight: 700; }
.step-no strong { margin-top: 3px; font-size: 25px; font-weight: 600; }
.steps h3 { margin: 6px 0 9px; }
.steps p, .first-transfer-note { color: var(--muted); font-size: 16px; }
.first-transfer-note { margin-top: 12px; font-size: .85em; line-height: 1.7; }
.doctor { display: grid; grid-template-columns: minmax(0, 150px) 1fr; align-items: center; gap: 20px; }
.doctor img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; border-radius: 5px; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; height: clamp(160px, 18vw, 240px); object-fit: cover; }
.photo-card .pad { padding: 18px 22px; }
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: clamp(13px, 2vw, 16px); line-height: 1.45; margin-top: 12px; }
.hours th, .hours td { padding: 11px 2px; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--paper); }
.hours tbody th { text-align: left; white-space: nowrap; }
.access-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: 14px; }
.access-card img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 5px; }
.access-card address { font-style: normal; margin-block: 9px; color: var(--muted); }
.news { border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 125px 1fr auto; align-items: center; gap: 8px 18px; padding: 17px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news a:hover strong { text-decoration: underline; }
.news time, .updated { color: var(--muted); font-size: 15px; }
.footer { background: #e0efed; padding-block: 39px; }
.footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 52px; align-items: start; }
.footer strong { font-size: 21px; }
.footer p, .footlinks { font-size: 15px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.detail-banner { padding-block: clamp(24px, 4vw, 58px); background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb { margin-bottom: 15px; font-size: 15px; color: var(--muted); }
.detail-banner h1 { font-size: clamp(30px, 4.3vw, 52px); }
.detail-banner .sub { max-width: 52em; }
.detail-content { padding-block: clamp(36px, 5vw, 64px) clamp(58px, 8vw, 100px); }
.detail-content h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 13px; }
.detail-content .block { margin-top: 38px; }
.detail-content .block:first-child { margin-top: 0; }
.readable { max-width: 820px; }
.fact, .review, .greeting-message { background: var(--paper); padding: clamp(18px, 3vw, 32px); border-left: 3px solid #85c2ba; margin-top: 18px; }
.review, .legal { font-size: 15px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding-block: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--green); }
details > p { padding-block: 8px 4px; }
.taglist { display: flex; flex-wrap: wrap; list-style: none; gap: 9px; padding: 0; }
.taglist li { background: var(--paper); padding: 5px 12px; border-radius: 4px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 324/235; object-fit: cover; border-radius: 6px; }
.gallery figcaption { margin-top: 5px; font-size: 15px; }
.info-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.info-list dt { font-weight: 700; }
.info-list dd { margin: 0; }
.access-photo img { width: 100%; height: auto; }
.counselor-intro { margin: 12px 0 32px; padding: 24px 0; color: var(--deep); border-block: 1px solid var(--line); }
.counselor-quote { font-size: clamp(23px, 3vw, 35px); font-weight: 700; }
.counselor-name { font-size: 23px; font-weight: 700; }
.counselor-name span { font-size: 15px; font-weight: 400; }
.counselor-feature { background: var(--paper); }
.counselor-article p + p, .greeting-message p + p { margin-top: 1.35em; }
#counselor h3 { margin: 1.3em 0 .4em; }
.counselor-end-photo { width: min(100%, 600px); margin-top: 32px; }
.counselor-end-photo img { width: 100%; height: auto; }
.first-subnav { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 12px; }
.first-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.first-subnav a:hover { text-decoration: underline; }
.mobile-menu, .mobile-book { display: none; }

@media (max-width: 960px) {
  html { scroll-padding-top: 92px; }
  .head { min-height: 78px; }
  .head > .nav, .head > .btn { display: none; }
  .brand img { width: 165px; }
  .mobile-menu { display: block; padding: 0; border: 0; }
  .mobile-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { width: 18px; text-align: center; }
  .menu-close, .mobile-menu[open] .menu-open { display: none; }
  .mobile-menu[open] .menu-close { display: inline; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: calc(100dvh - 160px); overflow: auto; padding: 8px 14px; border: 1px solid var(--line); background: white; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 45px; padding: 6px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; }
  .mobile-menu nav a:hover { background: var(--paper); }
  .symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 15px; }
  .access-card { grid-template-columns: minmax(0, 1fr); }
  .access-card img { height: 150px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 34px); }
  .brand img { width: clamp(145px, 43vw, 164px); }
  .head { gap: 9px; }
  .hero-grid, .cols, .footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 20px; }
  .hero-copy { padding: 0; }
  .hero .lead { margin-top: 12px; }
  .eyebrow { font-size: 15px; }
  .hero-photo { border-radius: 12px 45px 12px 12px; }
  .hero-photo img { aspect-ratio: 1.95; }
  .location-chip { bottom: 9px; left: 9px; right: 9px; font-size: 13px; }
  .booking { margin-top: 16px; gap: 7px; }
  .booking .btn { min-height: 68px; padding-inline: calc(8px + 2pt) 8px; font-size: 16px; }
  .booking small { font-size: 15px; }
  .booking .btn.secondary { font-size: clamp(17px, 4.7vw, 20px); }
  .booking .btn.secondary small { font-size: 16px; }
  .hero-links { gap: 5px 15px; }
  .notice { gap: 8px 12px; font-size: 15px; }
  .section-head { display: grid; margin-bottom: 18px; }
  .symptom-grid { grid-template-columns: minmax(0, 1fr); }
  .symptom { min-height: 68px; }
  .steps li { padding-inline: 12px; }
  .doctor { grid-template-columns: minmax(0, 105px) 1fr; gap: 13px; }
  .news a { grid-template-columns: 1fr auto; gap: 1px 8px; }
  .news time { grid-column: 1 / -1; }
  .mobile-book { position: fixed; z-index: 6; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: white; }
  .mobile-book .btn { min-height: 48px; padding-inline: 4px; font-size: 15px; text-align: center; }
}
@media (max-width: 360px) {
  .info-list { grid-template-columns: 1fr; gap: 0; }
  .info-list dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.home-counseling.doctor { grid-template-columns: 136px minmax(0, 1fr); }
.home-counseling img { aspect-ratio: auto; height: auto; object-fit: contain; }
.accent-heading { display: flex; align-items: flex-start; gap: 12px; }
.accent-heading::before {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin: .32em 10px 0 0;
  background: #85c2ba;
  box-shadow: 10px 8px #555;
}
@media (max-width: 680px) {
  .home-counseling.doctor { grid-template-columns: minmax(0, 1fr); }
  .home-counseling img { width: min(100%, 96px); }
}

/* Home symptom cards and their individual icon palettes. */
#symptoms .symptom-grid { gap: 10px 14px; }
#symptoms .symptom {
  padding-inline: 12px;
  border: 1px solid #739d97;
  border-radius: 10px;
}
#symptoms .symbol {
  background: var(--symbol-tint);
  color: var(--symbol-ink);
}
#symptoms .symptom:active,
#symptoms .symptom.is-selected {
  border-color: #fff;
  background: var(--paper);
}
#symptoms .symptom:active .symbol,
#symptoms .symptom.is-selected .symbol {
  background: var(--symbol-ink);
  color: var(--symbol-tint);
}
.symptom-sleep { --symbol-tint: #e9ecf9; --symbol-ink: #424e85; }
.symptom-mood { --symbol-tint: #f7e9ee; --symbol-ink: #89465e; }
.symptom-panic { --symbol-tint: #faeee1; --symbol-ink: #864d23; }
.symptom-social { --symbol-tint: #e7f0fa; --symbol-ink: #365d82; }
.symptom-check { --symbol-tint: #e5f2ef; --symbol-ink: #27665c; }
.symptom-focus { --symbol-tint: #f7f0d9; --symbol-ink: #715a22; }
.symptom-dialogue { --symbol-tint: #f0e9f7; --symbol-ink: #684b81; }
.symptom-growth { --symbol-tint: #eaf1e2; --symbol-ink: #4e6635; }
.symptom-listening { --symbol-tint: #f5eae6; --symbol-ink: #844d3d; }

/* Link arrows share a shaft and a single-sided arrowhead. */
.link-arrow {
  display: inline-block;
  flex: none;
  width: 1.02em;
  height: .46em;
  vertical-align: .09em;
  background: currentColor;
  clip-path: polygon(0 59%, 86% 59%, 72% 16%, 78% 4%, 100% 59%, 100% 77%, 0 77%);
}
.link-arrow--up-right { transform: rotate(-45deg); }
.link-arrow--down { transform: rotate(90deg); }
.btn > .link-arrow { margin-inline-start: .45em; }
.footer .copyright { grid-column: 1 / -1; margin: 0; }
.updated { display: inline-block; margin-inline-start: .4em; }

:is(#first, #doctor, #counselor) .detail-banner { position: relative; isolation: isolate; overflow: clip; }
#first .first-banner-image,
#doctor .doctor-banner-image,
#counselor .counselor-banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
  opacity: .2;
}
@media (max-width: 680px) {
  #first .first-banner-image { height: 145%; object-position: center top; }
}
:is(#first, #doctor, #counselor) .detail-banner > .wrap { position: relative; z-index: 1; }
#doctor .doctor-banner-image { object-position: center 70%; }
#counselor .counselor-banner-image { object-position: center 76%; }
#doctor-greeting-title { margin-bottom: 13px; }
#doctor .detail-content > .block:first-child + .doctor { margin-top: 38px; }
#counselor .counselor-opening {
  margin: clamp(36px, 5vw, 56px) auto 28px;
  max-width: 34em;
  text-align: center;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.8;
  color: var(--deep);
}
#counselor .counselor-opening::before,
#counselor .counselor-opening::after {
  content: "";
  display: block;
  width: min(102px, 25%);
  height: 5px;
  margin-inline: auto;
  background: #85c2ba;
}
#counselor .counselor-opening::before { margin-bottom: 20px; }
#counselor .counselor-opening::after { margin-top: 20px; }
#counselor .counselor-article p + p { margin-top: 1.6em; }
#counselor .counselor-article h3 { margin-top: 2em; margin-bottom: .85em; }
#counselor .counselor-article .counselor-numbered-heading {
  width: fit-content;
  max-width: 100%;
  padding-bottom: .35em;
  border-bottom: 2px solid #85c2ba;
}
#counselor .counselor-desktop-break { display: none; }
@media (min-width: 961px) {
  #counselor .counselor-desktop-break { display: revert; }
  #counselor .counselor-article > p:not(.counselor-opening) { max-width: 39em; text-wrap: pretty; }
}
#first .detail-content h2 {
  width: fit-content;
  max-width: 100%;
  padding-bottom: .35em;
  border-bottom: 2px solid #85c2ba;
}
.faq-pair { display: grid; gap: 14px; margin-block: 24px 32px; }
.faq-turn { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.faq-answer { flex-direction: row-reverse; }
.faq-badge {
  box-sizing: border-box;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #739d97;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.faq-answer .faq-badge { background: var(--green); color: white; }
.faq-bubble {
  position: relative; max-width: 86%; min-width: 0;
  padding: .65em .85em; margin: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); line-height: 1.7;
}
.faq-question .faq-bubble { font-size: 1em; }
.faq-answer .faq-bubble { background: var(--white); }
.faq-bubble::before {
  content: ""; position: absolute; top: 15px; left: -5px;
  width: 8px; height: 8px; background: inherit;
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.faq-answer .faq-bubble::before { left: auto; right: -5px; transform: rotate(225deg); }

#first-items .visit-items { display: grid; gap: 20px; margin-top: 18px; }
#first-items .visit-panel { padding: clamp(16px, 3vw, 26px); background: var(--paper); }
#first-items .visit-panel h3 { margin: 0 0 .55em; }
#first-items .visit-panel ul { margin: .65em 0 0; padding-inline-start: 1.3em; }
#first-items .insurance-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); align-items: center; gap: 16px; }
#first-items .questionnaire-preview {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; margin: 20px 0 0;
}
.questionnaire-preview figure { margin: 0; }
.questionnaire-page {
  aspect-ratio: 368 / 520;
  background: var(--questionnaire-art) var(--page-position) 85.07% / 252.17% 142.5% no-repeat;
  border: 1px solid var(--line); border-radius: 5px;
}
.questionnaire-preview figcaption { margin-top: 5px; text-align: center; font-size: .85em; }
@media (max-width: 620px) {
  #first-items .insurance-grid, #first-items .questionnaire-preview { grid-template-columns: minmax(0, 1fr); }
  .questionnaire-preview figure { width: min(100%, 340px); margin-inline: auto; }
}

#first-items .visit-panel { background: var(--white); }
#first-items .insurance-grid { padding: clamp(12px, 2vw, 20px); background: var(--paper); border-radius: 8px; }
#first-items .visit-panel h4 { margin: 0 0 .35em; font-size: 1em; }
#first-items .visit-checklist { list-style: none; padding: 0; margin: 0; }
#first-items .visit-checklist li { padding-inline-start: 1.4em; position: relative; }
#first-items .visit-checklist li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); }
#first-items .visit-note { margin-block-start: .4em; font-size: .87em; }
#first-items .visit-card-photo { margin: 0 auto; max-width: 220px; text-align: center; }
#first-items .visit-card-photo img { width: 100%; height: auto; }
#first-items .visit-card-photo figcaption { font-size: .78em; color: var(--muted); }
#first-items .visit-extra { margin-block: 18px; }
.questionnaire-open {
  display: block; padding: 6px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--green); text-align: center;
}
.questionnaire-open:hover { border-color: var(--green); }
.questionnaire-zoom { display: grid; place-items: center; min-height: 44px; font-weight: 700; }
@media (max-width: 620px) {
  #first-items .visit-card-photo { max-width: 166px; }
}
.brand-name { display: none; color: var(--deep); font-size: clamp(16px, 5vw, 21px); font-weight: 700; }
.hero-title-logo { display: none; }
@media (max-width: 680px) {
  .head .brand img { display: none; }
  .head .brand-name { display: inline; }
  .hero-title-text { display: none; }
  .hero-title-logo { display: block; width: min(100%, 322px); height: auto; }
}
main :is(h2, h3, h4).accent-heading {
  width: fit-content;
  max-width: 100%; padding-bottom: .35em; border-bottom: 2px solid #85c2ba; }
@media (max-width: 680px) {
  main :is(h2, h3, h4).accent-heading,
  #first .detail-content h2,
  #counselor .counselor-article .counselor-numbered-heading {
    border-bottom: 0;
    padding-bottom: calc(.35em + 2px);
    background: linear-gradient(#85c2ba, #85c2ba) left bottom / min(78%, 12em) 2px no-repeat;
  }
}
#counselor .accent-heading::before { content: none; }
@media (max-width: 960px) {
  #counselor .counselor-balanced-sentence { text-wrap: balance; }
  #counselor .counselor-balanced-sentence span { white-space: nowrap; }
}
@media (max-width: 680px) {
  #access h3.accent-heading { display: block; padding-bottom: 0; border-bottom: 0; background: none; }
  #access h3.accent-heading::before { content: none; }
}

/* Size and align heading ornaments in the page 44 preview. */
main :is(h2, h3, h4).accent-heading {
  display: flex !important;
  align-items: flex-start !important;
  gap: .65em !important;
}

main :is(h2, h3, h4).accent-heading::before {
  position: static !important;
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 13px !important;
  width: 13px !important;
  height: 13px !important;
  margin: .34em 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #85c2ba !important;
  box-shadow: 8px 7px 0 #555 !important;
  transform: none !important;
}

@media (max-width: 680px) {
  main #access h3.accent-heading {
    display: block !important;
  }
}

/* Restore the type scale of the standalone design inside the page 44 preview. */
main#main {
  color: var(--ink);
  font: 18px/1.85 var(--sans);
}

:where(main#main, header.header, footer.footer) :is(div, dl, dt, dd, ul, ol, li, p) {
  font: inherit;
}

main#main h2 {
  font-size: clamp(27px, 3vw, 38px);
}

main#main .detail-banner h1 {
  width: auto;
  font-size: clamp(30px, 4.3vw, 52px);
  font-weight: 700;
}

main#main h2#development-heading,
main#main .home-counseling h3 {
  font-size: 1.35rem;
}

main#main h3:not(.accent-heading) {
  font-size: 1.14em;
}

@media (max-width: 680px) {
  main#main {
    font-size: 17px;
  }
}

@media (min-width: 681px) {
  main#main .hero .lead {
    font-size: 18px;
    line-height: 1.75;
  }

  main#main .hero .booking .btn.primary > small {
    font-size: 16px;
  }

  main#main .hero .booking .telnum {
    font-size: clamp(21px, 2.2vw, 25px);
  }
}

/* Remove inherited A-BiSU indentation on redesigned section headings. */
main#main :is(h2, h3, h4).accent-heading {
  padding-inline-start: 0 !important;
  text-indent: 0 !important;
  justify-content: flex-start !important;
  column-gap: 12px !important;
}

main#main :is(h2, h3, h4).accent-heading::before {
  margin-inline: 0 4px !important;
}

main#main #counseling .counselor-feature {
  background-color: var(--paper, #edf6f5);
  background-image:
    linear-gradient(rgb(237 246 245 / 80%), rgb(237 246 245 / 80%)),
    url("/upload/tenant_1/asakaze-preview-page44-first-visit-background.jpg");
  background-position: center, center 48%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Restore the cropped waiting-room image and the original card height. */
main#main #home .photo-card > img[src$="asakaze-preview-page44-waiting-room.jpg"] {
  display: block;
  width: 100%;
  height: clamp(160px, 18vw, 240px) !important;
  object-fit: cover !important;
  object-position: center;
}


