:root {
  --navy: #082a41;
  --navy-deep: #001c30;
  --text: #26383f;
  --green: #00685a;
  --green-deep: #163f3e;
  --mint: #b5d5cb;
  --bronze: #b4712e;
  --gold-line: #c49865;
  --blue-line: #cbdde8;
  --soft-blue: #eef7fb;
  --soft-green: #e8eee8;
  --line-green: #16ad3b;
  --serif: "Yu Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --sans: "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--serif);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  border: 0;
}

figure,
blockquote,
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

.section {
  position: relative;
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1290px);
  margin-inline: auto;
  padding-inline: 32px;
}

.section-inner--wide {
  width: min(100%, 1490px);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  color: var(--navy-deep);
  font-size: clamp(42px, 4.35vw, 70px);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.32;
}

.section-heading > p {
  margin-top: 20px;
  color: #344650;
  font-size: clamp(20px, 2.05vw, 34px);
  letter-spacing: 0.035em;
}

.media-slot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.25) 45%),
    linear-gradient(145deg, #e5eef1, #f8faf8 52%, #dce8ee);
}

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

.media-slot.is-missing-media img {
  display: none;
}

.media-card {
  border-radius: 10px;
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(135deg, #18b936 0%, #079e42 50%, #07883c 100%);
  border: 1px solid rgba(0, 118, 40, 0.34);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  transition: filter 160ms ease, transform 160ms ease;
}

.line-button:hover {
  filter: brightness(1.04);
}

.line-button:active {
  transform: translateY(1px);
}

.line-button:focus-visible,
a:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid #f0b851;
  outline-offset: 3px;
}

.line-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 45px;
  color: #0aa642;
  background: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.line-mark::after {
  position: absolute;
  right: 4px;
  bottom: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
}

.line-button__copy {
  display: grid;
  gap: 2px;
}

.line-button__copy strong {
  font-size: 20px;
  line-height: 1.25;
}

.line-button__copy small {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.line-button__arrow {
  margin-left: auto;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

/* 1. First view */
.hero {
  min-height: 980px;
  color: var(--text);
  background: #eef5f8;
}

.hero__header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 145px;
  padding: 18px clamp(28px, 5.6vw, 82px);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: grid;
  color: #153f3d;
  line-height: 1.25;
}

.brand__eyebrow {
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand__name {
  font-size: clamp(31px, 2.9vw, 43px);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero__contacts {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.header-phone {
  color: #153f3d;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.45;
}

.header-phone__number {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.1;
  text-decoration: none;
}

.header-phone__number span {
  font-size: 0.75em;
  transform: rotate(-12deg);
}

.header-phone p {
  margin-left: 52px;
  font-size: 14px;
  white-space: nowrap;
}

.line-button--header {
  width: min(262px, 21vw);
  min-height: 82px;
}

.hero__stage {
  position: relative;
  display: grid;
  min-height: min(65vw, 950px);
  place-items: center;
  overflow: hidden;
}

.hero__background,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__background {
  bottom: auto;
  height: 360px;
  background-color: #eaf3f7;
  background-image: url("./assets/hero-before-after-background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 360px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(240, 247, 251, 0.1), rgba(255, 255, 255, 0.02) 29%, rgba(255, 255, 255, 0.02) 71%, rgba(235, 244, 249, 0.12)),
    linear-gradient(180deg, rgba(239, 247, 251, 0) 0%, rgba(255, 255, 255, 0.1) 28%, rgba(255, 255, 255, 0.96) 62%, rgba(219, 235, 244, 0.97) 100%);
  backdrop-filter: blur(0.4px);
}

.hero__background-note {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 14px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 3px;
  color: rgba(12, 49, 80, 0.78);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.hero__message {
  position: relative;
  z-index: 2;
  width: min(94%, 850px);
  margin-top: 18%;
  text-align: center;
}

.hero__lead {
  display: inline-block;
  padding: 9px 32px;
  color: #fff;
  background: rgba(18, 62, 59, 0.94);
  font-size: clamp(20px, 2.45vw, 35px);
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.hero__title {
  display: grid;
  margin-top: 16px;
  color: #27363b;
  font-size: clamp(54px, 6.05vw, 90px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.19;
}

.hero__title span {
  display: block;
}

.hero__title em {
  position: relative;
  z-index: 0;
  color: #006f5b;
  font-style: normal;
}

.hero__title em::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 7px;
  left: -8px;
  height: 11px;
  background: rgba(166, 207, 194, 0.82);
  border-radius: 999px;
  content: "";
}

.hero__description {
  margin-top: 22px;
  color: #234445;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.65;
}

/* 2. Voices */
.voices {
  min-height: 1024px;
  background:
    radial-gradient(circle at 3% 3%, rgba(231, 237, 233, 0.72), transparent 28%),
    radial-gradient(circle at 97% 4%, rgba(233, 236, 230, 0.72), transparent 27%),
    #fff;
}

.voices .section-inner {
  padding-top: 24px;
  padding-bottom: 32px;
}

.section-heading--line-top::before {
  display: block;
  width: min(32vw, 490px);
  height: 1px;
  margin: 0 auto 12px;
  background: var(--navy);
  content: "";
}

.section-heading--line-top h2 {
  font-size: clamp(42px, 4.35vw, 68px);
}

.voices__subtitle {
  width: min(78%, 866px);
  margin: 8px auto 20px !important;
  padding: 2px 30px 4px;
  background: linear-gradient(90deg, #e0e5de, #f0f1ed 48%, #e1e5df);
  border-radius: 999px;
  font-size: clamp(21px, 2.35vw, 36px) !important;
  line-height: 1.5;
}

.voices__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 20px;
  align-items: stretch;
}

.voices__customer {
  min-height: 740px;
}

.voices__customer img {
  object-position: 50% 42%;
}

.voices__right {
  display: grid;
  grid-template-rows: auto auto auto;
  min-width: 0;
}

.testimonial {
  position: relative;
  min-height: 455px;
  padding: 14px 28px 12px;
  color: #233a50;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c8d1cf;
  border-radius: 10px;
}

.testimonial::before,
.testimonial::after {
  position: absolute;
  top: -4px;
  color: #a9b6a9;
  font-family: Georgia, serif;
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
}

.testimonial::before {
  left: 18px;
  content: "“";
}

.testimonial::after {
  right: 18px;
  content: "”";
}

.testimonial h3 {
  position: relative;
  z-index: 0;
  width: fit-content;
  margin: 0 auto 16px;
  color: var(--navy-deep);
  font-size: clamp(27px, 2.55vw, 39px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.testimonial h3::after {
  position: absolute;
  z-index: -1;
  right: -9px;
  bottom: 0;
  left: -9px;
  height: 15px;
  background: #fff0d2;
  content: "";
}

.testimonial__body {
  font-size: clamp(15px, 1.45vw, 21px);
  line-height: 1.55;
}

.testimonial__body p + p {
  margin-top: 10px;
}

.testimonial footer {
  margin-top: 5px;
  font-size: 17px;
  text-align: right;
}

.comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 12px 0;
}

.comparison__item {
  overflow: hidden;
  background: #fff;
  border: 2px solid #898784;
  border-radius: 10px;
}

.comparison__item--after {
  border-color: #708a70;
}

.comparison__item figcaption {
  padding: 2px 8px;
  color: #fff;
  background: #817d79;
  font-size: clamp(17px, 1.8vw, 26px);
  text-align: center;
  line-height: 1.25;
}

.comparison__item--after figcaption {
  background: #6f846e;
}

.comparison__photo {
  height: clamp(160px, 15.5vw, 225px);
  border: 3px solid #fff;
  border-radius: 9px;
}

.comparison__arrow {
  width: 0;
  height: 0;
  margin: auto;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 29px solid #7f917e;
}

.voices__note {
  margin-top: 9px;
  color: #314759;
  font-size: clamp(11px, 1.2vw, 17px);
  text-align: right;
}

/* 3 & 5. Videos */
.video-story,
.care-video,
.practitioner {
  background:
    radial-gradient(ellipse at 0% 15%, rgba(218, 235, 245, 0.7), transparent 30%),
    radial-gradient(ellipse at 100% 5%, rgba(224, 238, 247, 0.7), transparent 32%),
    radial-gradient(ellipse at 45% 100%, rgba(224, 238, 247, 0.84), transparent 34%),
    #fff;
}

.video-story {
  min-height: 940px;
}

.video-story .section-inner {
  padding-top: 67px;
  padding-bottom: 65px;
}

.section-heading--accent-green h2 span {
  color: var(--green);
}

.section-heading--accent-green h2::after,
.section-heading--access h2::after {
  display: block;
  width: 92px;
  height: 4px;
  margin: 19px auto 15px;
  background: #a8cec6;
  content: "";
}

.section-heading--accent-green > p {
  margin-top: 4px;
}

.video-frame {
  position: relative;
  width: min(100%, 1115px);
  aspect-ratio: 1.93 / 1;
  margin: 37px auto 0;
  overflow: hidden;
  background: #f7fafb;
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(34, 67, 85, 0.18);
}

.video-frame video,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-frame video {
  z-index: 2;
  object-fit: cover;
  background: transparent;
}

.video-frame.is-missing-video video {
  visibility: hidden;
}

.video-placeholder {
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #050505;
  background:
    linear-gradient(180deg, rgba(237, 243, 245, 0.7), rgba(255, 255, 255, 0.98) 47%, #f8f9f8 90%),
    #fff;
  font-family: var(--sans);
  text-align: center;
}

.video-placeholder__missing {
  display: grid;
  gap: 10px;
  max-width: 650px;
  padding: 24px;
  color: #365165;
}

.video-placeholder__missing strong {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
}

.video-placeholder__missing span {
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.6;
}

.video-placeholder__hair-grid {
  position: absolute;
  inset: 0 0 49%;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 24.8%, rgba(255, 255, 255, 0.92) 25%, transparent 25.3%, transparent 49.8%, rgba(255, 255, 255, 0.92) 50%, transparent 50.3%, transparent 74.8%, rgba(255, 255, 255, 0.92) 75%, transparent 75.3%),
    linear-gradient(130deg, #dfe8ea, #f4f5f2 27%, #d6e1e5 52%, #eef1ed 76%, #d7e3e7);
}

.video-placeholder__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 11%;
}

.video-placeholder__copy small {
  font-size: clamp(18px, 2vw, 29px);
}

.video-placeholder__copy strong {
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.24;
}

.video-placeholder__copy span {
  font-size: clamp(18px, 2vw, 28px);
}

.video-placeholder__play {
  position: absolute;
  z-index: 3;
  top: 49%;
  left: 50%;
  display: grid;
  width: 80px;
  height: 80px;
  padding-left: 6px;
  color: #fff;
  background: rgba(36, 42, 45, 0.76);
  border-radius: 50%;
  place-items: center;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 36px;
}

.care-video {
  min-height: 1086px;
}

.care-video .section-inner {
  width: min(100%, 1300px);
  padding-top: 86px;
  padding-bottom: 76px;
}

.section-heading--care {
  border-top: 1px solid #afbdc8;
  padding-top: 27px;
}

.section-heading--care h2 span {
  color: #bf6d12;
}

.section-heading--care > p {
  margin-top: 18px;
}

.section-heading__video-prompt {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 17px 0 0;
  color: var(--navy-deep);
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-heading__video-prompt::before,
.section-heading__video-prompt::after {
  flex: 1;
  height: 1px;
  background: #99adbc;
  content: "";
}

.video-frame--care {
  width: min(100%, 1220px);
  margin-top: 21px;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(72, 111, 140, 0.22);
}

.video-placeholder--care {
  background:
    radial-gradient(ellipse at 5% 15%, rgba(195, 216, 232, 0.72), transparent 35%),
    radial-gradient(ellipse at 95% 82%, rgba(190, 214, 231, 0.8), transparent 36%),
    #f8fbfc;
}

.video-placeholder--care .video-placeholder__copy {
  margin-top: 0;
}

.video-placeholder--care .video-placeholder__copy small {
  padding-bottom: 12px;
  border-bottom: 2px solid #b97b36;
}

.video-placeholder--care .video-placeholder__copy em {
  color: #c36e0e;
  font-style: normal;
}

/* 4. Diagnosis */
.diagnosis {
  min-height: 1086px;
  background:
    radial-gradient(ellipse at 1% 50%, rgba(252, 232, 223, 0.72), transparent 28%),
    radial-gradient(ellipse at 98% 92%, rgba(252, 230, 222, 0.72), transparent 29%),
    #fffefd;
}

.diagnosis .section-inner {
  padding-top: 15px;
  padding-bottom: 12px;
}

.diagnosis__heading {
  text-align: center;
}

.diagnosis__eyebrow {
  width: min(100%, 910px);
  margin: 0 auto;
  padding-bottom: 13px;
  border-bottom: 1px solid #e4a178;
  color: #3c2822;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.diagnosis__heading h2 {
  margin-top: 4px;
  color: #111b1e;
  font-size: clamp(46px, 4.55vw, 66px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.diagnosis__heading h2 span {
  color: var(--bronze);
}

.diagnosis__heading > p:last-child {
  color: #654c43;
  font-size: clamp(16px, 1.55vw, 21px);
}

.diagnosis__content {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 24px;
  margin-top: 20px;
}

.diagnosis__photo {
  min-height: 545px;
}

.diagnosis__cards {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 12px 28px 9px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e3d8d1;
  border-radius: 12px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #1b1f20;
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 600;
  line-height: 1.35;
}

.info-card h3::after {
  flex: 1;
  height: 1px;
  background: #dd996c;
  content: "";
}

.numbered-list {
  list-style: none;
}

.numbered-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 53px;
}

.numbered-list li + li {
  border-top: 1px dashed #dfd5ce;
}

.numbered-list__index {
  display: grid;
  width: 37px;
  height: 37px;
  color: #472f27;
  background: #f4c9bc;
  border-radius: 50%;
  place-items: center;
  font-size: 19px;
  line-height: 1;
}

.numbered-list--large li {
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 85px;
}

.numbered-list--large .numbered-list__index {
  width: 48px;
  height: 48px;
  background: #f4d9c3;
  font-size: 24px;
}

.numbered-list strong {
  display: block;
  color: #2e2927;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.35;
}

.numbered-list p {
  color: #5c4c46;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.45;
}

.info-card--compact {
  padding-top: 13px;
}

.info-card--compact .numbered-list {
  margin-top: 5px;
}

.diagnosis-cta {
  margin-top: 13px;
  padding: 12px 18px 9px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid #edb3a7;
  border-radius: 14px;
}

.diagnosis-cta__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  min-height: 65px;
  padding: 4px 20px;
  background: linear-gradient(90deg, #fae3df, #f7d9d4 54%, #f9e1dc);
  border-radius: 8px;
  color: #211f1f;
  font-size: clamp(24px, 2.5vw, 37px);
  line-height: 1.3;
}

.diagnosis-cta__price em {
  color: #c03244;
  font-size: 1.45em;
  font-style: normal;
  font-weight: 600;
}

.price-tax {
  display: inline-block;
  margin-left: 0.28em;
  font-family: var(--sans);
  font-size: 0.42em;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  vertical-align: 0.22em;
  white-space: nowrap;
}

.diagnosis-cta__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 17px;
  text-align: center;
}

.diagnosis-cta__caption::before,
.diagnosis-cta__caption::after {
  width: 185px;
  height: 1px;
  background: #d4a58c;
  content: "";
}

.diagnosis-cta__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3px;
}

.diagnosis-cta__actions > div {
  padding: 0 52px;
  text-align: center;
}

.diagnosis-cta__line {
  border-right: 1px solid #dfc5bd;
}

.diagnosis-cta__actions > div > p {
  margin-bottom: 5px;
  color: #281f1d;
  font-size: 21px;
  font-weight: 600;
}

.line-button--large {
  width: 100%;
  min-height: 78px;
  border-radius: 20px;
}

.line-button--large strong {
  font-size: clamp(24px, 2.1vw, 31px);
}

.diagnosis-cta__phone {
  display: grid;
  justify-items: center;
}

.large-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b1113;
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.15;
  text-decoration: none;
}

.large-phone span {
  color: #cf7d87;
  font-size: 0.85em;
}

.diagnosis-cta__phone > strong {
  font-family: var(--sans);
  font-size: 14px;
}

.diagnosis-cta__phone > small {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

/* 6. Practitioner */
.practitioner {
  min-height: 1086px;
}

.practitioner .section-inner {
  padding-top: 64px;
  padding-bottom: 44px;
}

.section-heading__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 0 !important;
  color: #89592b !important;
  font-size: clamp(20px, 2vw, 29px) !important;
}

.section-heading__eyebrow::before,
.section-heading__eyebrow::after {
  width: 130px;
  height: 1px;
  background: #89592b;
  content: "";
}

.section-heading--practitioner h2 {
  margin-top: 3px;
}

.section-heading--practitioner > p:last-child {
  margin-top: 3px;
  font-size: clamp(21px, 2vw, 29px);
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.04fr);
  gap: 43px;
  margin-top: 29px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 9px 28px rgba(70, 107, 133, 0.1);
}

.profile-card__photo {
  min-height: 672px;
  border-radius: 8px;
}

.profile-card__photo img {
  object-position: 50% 17%;
}

.profile-card__content {
  padding: 26px 10px 10px 0;
}

.profile-card__credentials {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #285a85;
  font-size: clamp(20px, 2.05vw, 29px);
  font-weight: 600;
}

.profile-card__credentials::after {
  flex: 1;
  height: 1px;
  background: #6f99bd;
  content: "";
}

.profile-card__content > h3 {
  padding: 13px 8px 18px;
  border-bottom: 1px solid #bb8b4f;
  color: #111921;
  font-size: clamp(42px, 4.1vw, 59px);
  font-weight: 600;
  line-height: 1.35;
}

.profile-card__content > h3 small {
  font-size: 0.47em;
  font-weight: 500;
  white-space: nowrap;
}

.profile-points {
  list-style: none;
  margin-top: 20px;
}

.profile-points li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 145px;
  padding: 18px 0;
}

.profile-points li + li {
  border-top: 1px dashed #cdd1d2;
}

.profile-icon {
  display: grid;
  width: 94px;
  height: 94px;
  background: #e3f0f9;
  border-radius: 50%;
  place-items: center;
}

.profile-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #154e7d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-points p {
  color: #252a2d;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.5;
}

/* 7. Access */
.access {
  min-height: 1024px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(226, 237, 245, 0.72), transparent 30%),
    #fff;
}

.access .section-inner {
  padding-top: 82px;
  padding-bottom: 60px;
}

.section-heading--access h2::after {
  background: #1c7e91;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 23px;
  margin-top: 112px;
  padding: 25px;
  background: #f2f8fb;
  border-radius: 8px;
}

.access-card {
  overflow: hidden;
  padding: 20px 25px 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
}

.access-card h3 {
  padding: 0 20px 16px;
  border-bottom: 1px solid #d2e1e9;
  color: var(--navy);
  font-size: clamp(40px, 3.75vw, 56px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.access-card dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 90px;
  border-bottom: 1px solid #d1e1ea;
}

.access-card dt,
.access-card dd {
  display: flex;
  align-items: center;
  padding: 15px 26px;
}

.access-card dt {
  color: #163a55;
  background: #e8f0f5;
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 700;
}

.access-card dd {
  color: #193b55;
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.55;
}

.access-card dd a {
  text-decoration: none;
}

.map-frame {
  min-height: 560px;
  overflow: hidden;
  background: #dfe9ef;
  border-radius: 10px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

/* 8. Final CTA */
.final-cta {
  min-height: 1024px;
  background:
    radial-gradient(ellipse at 48% 0%, rgba(255, 255, 255, 0.96), transparent 36%),
    linear-gradient(180deg, #eef8fc, #f8fcfe 62%, #eaf5fb);
}

.final-cta .section-inner {
  padding-top: 75px;
  padding-bottom: 65px;
}

.section-heading--final::before {
  display: block;
  width: 100px;
  height: 4px;
  margin: 0 auto 18px;
  background: #14768a;
  content: "";
}

.section-heading--final > p {
  margin-top: 10px;
  color: #4b697a;
  font-size: clamp(21px, 2.05vw, 31px);
}

.final-price {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) 1px minmax(460px, 1.25fr);
  gap: 64px;
  align-items: center;
  min-height: 190px;
  margin-top: 31px;
  padding: 25px 80px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 15px;
}

.final-price > strong {
  color: #0c3150;
  font-size: clamp(27px, 2.7vw, 40px);
  font-weight: 600;
  text-align: center;
}

.final-price__divider {
  align-self: stretch;
  background: #98afbe;
}

.final-price__amount {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 24px;
  align-items: center;
  color: #0c3150;
}

.final-price__amount > span {
  font-size: clamp(24px, 2.25vw, 34px);
  white-space: nowrap;
}

.final-price__amount i {
  color: #07566a;
  font-style: normal;
  font-size: 29px;
}

.final-price__amount em {
  color: #07566a;
  font-size: clamp(55px, 6.2vw, 88px);
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.final-price__amount small {
  grid-column: 1 / -1;
  margin-top: -7px;
  font-family: var(--sans);
  font-size: clamp(15px, 1.4vw, 21px);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
  margin-top: 25px;
}

.contact-card {
  min-height: 407px;
  padding: 35px 42px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #c6e2d8;
  border-radius: 18px;
  font-family: var(--sans);
}

.contact-card--phone {
  border-color: #c8e1ef;
  text-align: center;
}

.contact-card__heading {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #0b3250;
}

.line-app-icon {
  display: grid;
  flex: 0 0 auto;
  width: 102px;
  height: 102px;
  color: #08a841;
  background: linear-gradient(140deg, #19ca43, #00a837);
  border-radius: 23px;
  place-items: center;
  font-size: 0;
}

.line-app-icon::before {
  display: grid;
  width: 66px;
  height: 55px;
  color: #0ab03d;
  background: #fff;
  border-radius: 50%;
  content: "LINE";
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}

.contact-card h3 {
  font-size: clamp(25px, 2.2vw, 33px);
  line-height: 1.35;
}

.contact-card__heading p {
  margin-top: 5px;
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.5;
}

.line-button--final {
  width: 100%;
  min-height: 110px;
  margin-top: 28px;
  border-radius: 20px;
}

.line-button--final strong {
  font-size: clamp(29px, 2.6vw, 39px);
}

.contact-card__note {
  margin-top: 23px;
  color: #466278;
  font-size: clamp(15px, 1.5vw, 22px);
  text-align: center;
}

.contact-card__heading--phone {
  justify-content: center;
}

.phone-round {
  display: grid;
  width: 90px;
  height: 90px;
  color: #0b4175;
  background: #e1eff9;
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-size: 48px;
  transform: rotate(-10deg);
}

.contact-card__phone-number {
  display: block;
  width: fit-content;
  margin: 12px auto 7px;
  color: #092f55;
  font-family: var(--serif);
  font-size: clamp(42px, 4.35vw, 65px);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.contact-card__hours {
  padding: 9px 0;
  border-top: 1px solid #9fc2da;
  color: #183c59;
  font-size: clamp(17px, 1.6vw, 24px);
}

.contact-card__answering {
  margin-top: 14px;
  color: #385468;
  font-size: clamp(15px, 1.4vw, 21px);
  line-height: 1.5;
}

/* 9. Footer */
.site-footer {
  display: grid;
  min-height: 500px;
  padding: 100px 32px 88px;
  color: #16445d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 74%, rgba(224, 226, 220, 0.76) 100%),
    #fafaf7;
  border-top: 1px solid #e0e1de;
  place-content: center;
  text-align: center;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-link {
  padding: 0 clamp(30px, 5vw, 70px);
  color: #16445d;
  cursor: pointer;
  font-family: var(--sans);
  font-size: clamp(22px, 2.15vw, 35px);
  text-decoration: none;
  white-space: nowrap;
}

.footer-link + .footer-link {
  border-left: 1px solid #9fa8aa;
}

.site-footer > p {
  margin-top: 92px;
  color: #4c6c80;
  font-size: clamp(20px, 1.95vw, 31px);
  letter-spacing: 0.03em;
}

.config-dialog {
  width: min(calc(100% - 32px), 520px);
  padding: 0;
  color: var(--navy);
  background: #fff;
  border: 1px solid #b9ccd7;
  border-radius: 12px;
  box-shadow: 0 18px 55px rgba(0, 28, 48, 0.26);
}

.config-dialog::backdrop {
  background: rgba(5, 29, 43, 0.45);
}

.config-dialog form {
  padding: 28px;
}

.config-dialog h2 {
  font-size: 23px;
}

.config-dialog p {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 16px;
}

.config-dialog button {
  display: block;
  min-width: 120px;
  margin: 22px auto 0;
  padding: 9px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
}

@media (max-width: 1100px) {
  .desktop-only {
    display: none;
  }

  .hero__header {
    gap: 24px;
  }

  .header-phone p {
    margin-left: 38px;
    font-size: 11px;
  }

  .line-button--header {
    width: 235px;
  }

  .voices__layout,
  .diagnosis__content,
  .profile-card,
  .access-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .voices__customer {
    min-height: 620px;
  }

  .testimonial__body {
    font-size: 19px;
  }

  .diagnosis__photo {
    min-height: 510px;
  }

  .profile-card {
    gap: 28px;
  }

  .profile-card__photo {
    width: min(100%, 610px);
    min-height: 650px;
    margin: auto;
  }

  .access-panel {
    margin-top: 70px;
  }

  .final-price {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .final-price__divider {
    width: 100%;
    height: 1px;
  }

  .final-price__amount {
    justify-content: center;
  }
}

@media (min-width: 1101px) {
  .voices .section-inner,
  .access .section-inner {
    width: 100%;
    max-width: none;
    padding-inline: 24px;
  }

  .voices__layout {
    align-items: start;
  }

  .voices__customer {
    height: 740px;
    min-height: 0;
  }

  .voices__note {
    font-size: clamp(11px, 1vw, 15px);
    white-space: nowrap;
  }
}

@media (min-width: 851px) {
  .site-footer {
    min-height: 0;
    padding: 72px 32px;
    background: linear-gradient(180deg, #fff 0 43%, #fafaf7 43% 84%, #dfe1dc 100%);
  }
}

@media (max-width: 850px) {
  .site-footer nav {
    display: grid;
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .footer-link {
    padding: 17px 12px;
    white-space: normal;
  }

  .footer-link + .footer-link {
    border-top: 1px solid #b8c0c1;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .section-inner,
  .section-inner--wide {
    padding-inline: 18px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 9.2vw, 47px);
    line-height: 1.35;
  }

  .section-heading > p {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero {
    min-height: 820px;
  }

  .hero__header {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px 18px 16px;
  }

  .brand {
    justify-items: center;
  }

  .brand__eyebrow {
    font-size: 12px;
  }

  .brand__name {
    font-size: 30px;
  }

  .hero__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header-phone {
    display: grid;
    align-content: center;
  }

  .header-phone__number {
    gap: 4px;
    font-size: clamp(19px, 5.4vw, 27px);
  }

  .header-phone p {
    margin-left: 0;
    font-size: 10px;
    white-space: normal;
  }

  .line-button--header {
    width: 100%;
    min-height: 65px;
    gap: 8px;
    padding: 8px 10px;
  }

  .line-button--header .line-mark {
    width: 42px;
    height: 36px;
    font-size: 10px;
  }

  .line-button__copy strong {
    font-size: 14px;
  }

  .line-button__copy small {
    font-size: 10px;
    white-space: normal;
  }

  .hero__stage {
    min-height: 650px;
  }

  .hero__background {
    height: 430px;
    background-image: url("./assets/hero-before-after-mobile.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 410px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(240, 247, 251, 0.1), rgba(255, 255, 255, 0.03) 50%, rgba(235, 244, 249, 0.1)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 58%, rgba(255, 255, 255, 0.84) 78%, rgba(219, 235, 244, 0.96) 100%);
    backdrop-filter: none;
  }

  .hero__background-note {
    top: 7px;
    right: 8px;
    padding: 2px 5px;
    font-size: 11px;
  }

  .hero__message {
    align-self: start;
    width: calc(100% - 28px);
    margin-top: 335px;
  }

  .hero__lead {
    padding: 8px 12px;
    font-size: 15px;
  }

  .hero__title {
    margin-top: 18px;
    font-size: clamp(38px, 11.8vw, 52px);
    line-height: 1.25;
  }

  .hero__title span {
    white-space: nowrap;
  }

  .hero__title em::after {
    bottom: 3px;
    height: 7px;
  }

  .hero__description {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .voices {
    min-height: 0;
  }

  .voices .section-inner {
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .section-heading--line-top::before {
    width: 56%;
  }

  .section-heading--line-top h2 {
    font-size: 33px;
  }

  .voices__subtitle {
    width: 100%;
    padding: 6px 12px;
    font-size: 17px !important;
  }

  .voices__customer {
    min-height: 430px;
  }

  .testimonial {
    min-height: 0;
    padding: 24px 20px 18px;
  }

  .testimonial h3 {
    font-size: 25px;
    text-align: center;
  }

  .testimonial h3 span {
    display: block;
  }

  .testimonial__body {
    font-size: 15px;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-inline: 0;
  }

  .comparison__arrow {
    transform: rotate(90deg);
  }

  .comparison__photo {
    height: 320px;
  }

  .voices__note {
    font-size: 11px;
    text-align: left;
  }

  .video-story,
  .care-video,
  .practitioner,
  .diagnosis,
  .access,
  .final-cta {
    min-height: 0;
  }

  .video-story .section-inner,
  .care-video .section-inner {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .section-heading--accent-green h2::after,
  .section-heading--access h2::after {
    width: 60px;
  }

  .section-heading--accent-green h2 {
    font-size: 29px;
    letter-spacing: 0.01em;
  }

  .video-frame,
  .video-frame--care {
    aspect-ratio: 16 / 9;
    margin-top: 28px;
  }

  .video-placeholder__copy {
    gap: 4px;
  }

  .video-placeholder__copy small {
    font-size: 11px;
  }

  .video-placeholder__copy strong {
    font-size: 22px;
  }

  .video-placeholder__copy span {
    font-size: 11px;
  }

  .video-placeholder__play {
    width: 54px;
    height: 54px;
    font-size: 23px;
  }

  .diagnosis .section-inner {
    padding-top: 30px;
    padding-bottom: 45px;
  }

  .diagnosis__eyebrow {
    font-size: 16px;
  }

  .diagnosis__heading h2 {
    font-size: 38px;
  }

  .diagnosis__heading h2 span {
    display: block;
  }

  .diagnosis__heading > p:last-child {
    font-size: 14px;
  }

  .diagnosis__photo {
    min-height: 0;
    aspect-ratio: 680 / 545;
  }

  .info-card {
    padding: 17px 15px 10px;
  }

  .info-card h3 {
    font-size: 24px;
  }

  .numbered-list--large li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .numbered-list--large .numbered-list__index {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .diagnosis-cta__price {
    display: grid;
    gap: 2px;
    justify-items: center;
    font-size: 23px;
  }

  .diagnosis-cta__caption::before,
  .diagnosis-cta__caption::after {
    width: 35px;
  }

  .diagnosis-cta__actions {
    grid-template-columns: 1fr;
  }

  .diagnosis-cta__actions > div {
    padding: 14px 3px;
  }

  .diagnosis-cta__line {
    border-right: 0;
    border-bottom: 1px solid #dfc5bd;
  }

  .line-button--large,
  .line-button--final {
    gap: 10px;
    padding-inline: 12px;
  }

  .line-button--large strong,
  .line-button--final strong {
    font-size: 20px;
    white-space: nowrap;
  }

  .large-phone {
    font-size: 32px;
  }

  .section-heading__video-prompt {
    gap: 14px;
    font-size: 18px;
  }

  .section-heading--care h2 {
    font-size: 27px;
    letter-spacing: 0.01em;
  }

  .practitioner .section-inner {
    padding-top: 48px;
    padding-bottom: 55px;
  }

  .section-heading__eyebrow {
    gap: 10px;
    font-size: 15px !important;
  }

  .section-heading__eyebrow::before,
  .section-heading__eyebrow::after {
    width: 35px;
  }

  .profile-card {
    padding: 14px;
  }

  .profile-card__photo {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .profile-card__content {
    padding: 5px 0 0;
  }

  .profile-card__credentials {
    font-size: 17px;
  }

  .profile-card__content > h3 {
    font-size: 39px;
    line-height: 1.2;
  }

  .profile-card__content > h3 small {
    display: block;
    margin-top: 3px;
    line-height: 1.4;
  }

  .profile-points li {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 17px;
    min-height: 0;
  }

  .profile-icon {
    width: 70px;
    height: 70px;
  }

  .profile-icon svg {
    width: 45px;
    height: 45px;
  }

  .profile-points p {
    font-size: 16px;
  }

  .access .section-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .access-panel {
    gap: 16px;
    margin-top: 50px;
    padding: 12px;
  }

  .access-card {
    padding: 18px 12px 0;
  }

  .access-card h3 {
    padding-inline: 8px;
    font-size: 38px;
  }

  .access-card dl > div {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .access-card dt,
  .access-card dd {
    padding: 13px 12px;
  }

  .access-card dt {
    font-size: 16px;
  }

  .access-card dd {
    font-size: 17px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 420px;
  }

  .final-cta .section-inner {
    padding-top: 50px;
    padding-bottom: 55px;
  }

  .section-heading--final h2 {
    font-size: 34px;
  }

  .final-price {
    gap: 16px;
    padding: 24px 18px;
  }

  .final-price__amount {
    grid-template-columns: auto auto auto;
    gap: 9px;
  }

  .final-price__amount > span {
    font-size: 19px;
  }

  .final-price__amount i {
    font-size: 20px;
  }

  .final-price__amount em {
    font-size: 48px;
  }

  .final-price__amount .price-tax {
    display: block;
    margin: 4px 0 0;
    font-size: 11px;
    text-align: center;
    vertical-align: baseline;
  }

  .contact-card {
    min-height: 0;
    padding: 25px 18px;
  }

  .contact-card__heading {
    gap: 14px;
  }

  .line-app-icon {
    width: 78px;
    height: 78px;
  }

  .line-app-icon::before {
    width: 54px;
    height: 44px;
    font-size: 12px;
  }

  .contact-card h3 {
    font-size: 23px;
  }

  .contact-card__heading p {
    font-size: 14px;
  }

  .line-button--final {
    min-height: 86px;
  }

  .line-button--final strong {
    font-size: 20px;
  }

  .phone-round {
    width: 65px;
    height: 65px;
    font-size: 34px;
  }

  .contact-card__phone-number {
    font-size: 40px;
  }

  .site-footer {
    min-height: 0;
    padding: 48px 20px 60px;
  }

  .site-footer nav {
    display: grid;
    gap: 0;
  }

  .footer-link {
    padding: 17px 10px;
    font-size: 19px;
    white-space: normal;
  }

  .footer-link + .footer-link {
    border-top: 1px solid #b8c0c1;
    border-left: 0;
  }

  .site-footer > p {
    margin-top: 65px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .line-button--header {
    gap: 5px;
    min-width: 0;
    padding: 6px;
  }

  .line-button--header .line-mark {
    width: 34px;
    height: 30px;
    font-size: 8px;
  }

  .line-button--header .line-button__copy {
    min-width: 0;
  }

  .line-button--header .line-button__copy strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .line-button--header .line-button__arrow {
    display: none;
  }

  .final-price {
    padding-inline: 12px;
  }

  .final-price > strong {
    font-size: 23px;
  }

  .final-price__amount {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
  }

  .final-price__amount i {
    transform: rotate(90deg);
  }

  .final-price__amount small {
    grid-column: 1;
    margin-top: 2px;
  }

  .contact-card__phone-number {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
