/* Keep the owner's page-specific styles; add only independent interactions. */
html { scroll-behavior: smooth; }
body { margin:0; }
.voucher-section {scroll-margin-top:152px;display:block;position:relative;z-index:1;box-sizing:border-box;width:min(1040px,calc(100% - 40px));max-width:100%;margin:64px auto 80px;padding:44px;border:2px solid #f1d1af;border-radius:24px;background:#fffcf8;color:#695544;font-family:'Zen Maru Gothic',sans-serif;line-height:1.9;text-align:left;}
.voucher-section p,.voucher-section h2,.voucher-section h3 {display:block;margin:0;}
.voucher-section .voucher-eyebrow {color:#b95708;font-size:17px;font-weight:700;text-align:center;}
.voucher-section h2 {margin:8px 0 20px;font-size:30px;font-weight:900;line-height:1.5;text-align:center;color:#695544;}
.voucher-mobile-break {display:none;}
.voucher-intro {font-size:17px;}
.voucher-free-visit {margin:28px 0;padding:24px 16px;border:2px solid #e58a38;border-radius:18px;background:#fff0dd;color:#a74c06;text-align:center;}
.voucher-free-visit p {font-size:18px;font-weight:700;}
.voucher-free-visit > strong {color:#b95708;display:block;font-size:40px;font-weight:900;line-height:1.4;}
.voucher-free-visit > strong > span {font-size:72px;}
.voucher-free-visit .voucher-free-message {margin:8px 0;color:#695544;font-size:20px;line-height:1.7;}
.voucher-free-visit > small {display:block;margin-top:10px;font-size:14px;color:#695544;}
.voucher-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.voucher-card {padding:24px 16px;border:1px solid #ecd4bd;border-radius:16px;background:#fff;text-align:center;}
.voucher-card h3 {color:#b95708;font-size:26px;font-weight:900;}
.voucher-card .voucher-eligibility {margin:4px 0 18px;font-size:15px;}
.voucher-price > span {display:block;font-size:15px;}
.voucher-price > strong {display:block;color:#a74c06;font-size:44px;font-weight:900;line-height:1.4;}
.voucher-price small {font-size:22px;}
.voucher-quota {font-size:17px;}
.voucher-age-note {margin-top:14px!important;font-size:15px;}
.voucher-details {margin-top:32px;font-size:17px;}
.voucher-details h3 {margin:24px 0 10px;font-size:22px;font-weight:900;color:#a74c06;}
.voucher-details ul,.voucher-details ol {display:block;list-style-position:outside;margin:0 0 20px;padding-left:1.5em;}
.voucher-details ul {list-style-type:disc;}
.voucher-details ol {list-style-type:decimal;}
.voucher-details li {display:list-item;margin:8px 0;}
.voucher-details ol li {margin:16px 0;}
.voucher-actions {display:flex;align-items:stretch;justify-content:center;gap:16px;margin-top:28px;}
.voucher-actions a {display:flex;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;min-height:64px;padding:16px 24px;border-radius:32px;color:#fff;font-weight:700;line-height:1.6;text-align:center;text-decoration:none;}
.voucher-call {flex:1;background:#b95708;font-size:16px;}
.voucher-call strong {font-size:28px;font-weight:900;white-space:nowrap;}
.voucher-line {flex:1;background:#087d36;font-size:18px;}
.voucher-actions a:hover {filter:brightness(.92);}
.voucher-section .voucher-source {margin-top:24px;color:#786d62;font-size:13px;line-height:1.8;}
.voucher-source a {color:#995007;text-decoration:underline;}
@media (max-width:600px) {
  .voucher-section {width:calc(100% - 24px);margin:32px auto 40px;padding:24px 16px;border-radius:18px;}
  .voucher-section h2 {font-size:23px;}
  .voucher-mobile-break {display:inline;}
  .voucher-intro,.voucher-details {font-size:16px;}
  .voucher-grid {grid-template-columns:1fr;gap:16px;}
  .voucher-free-visit {padding:20px 8px;}
  .voucher-free-visit > strong {font-size:34px;}
  .voucher-free-visit > strong > span {font-size:60px;}
  .voucher-free-visit .voucher-free-message {font-size:17px;}
  .voucher-actions {flex-direction:column;gap:12px;}
}
/* Captured text gradients must have a readable solid-color fallback. */
.sd.site-gradient-copy {color:var(--g-color-0,#b95708)!important;-webkit-text-fill-color:currentColor;background:none!important;background-clip:border-box!important;}
.sd.site-visible-cta,
.sd.site-visible-cta:focus-visible {color:#fff!important;-webkit-text-fill-color:#fff;background:linear-gradient(90deg,#b95708,#ad6008)!important;background-clip:border-box!important;border-color:#b95708;box-shadow:0 3px 8px rgb(151 78 18 / 12%);}
.sd.site-visible-cta:hover {color:#fff!important;-webkit-text-fill-color:#fff;background:linear-gradient(90deg,#a84a04,#995007)!important;background-clip:border-box!important;}
.site-phone-number, .sd.site-phone-number {color:#d56b15!important;-webkit-text-fill-color:currentColor!important;font-family:'Zen Maru Gothic',sans-serif!important;font-size:32px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:.02em!important;white-space:nowrap;text-decoration:none;background:none!important;background-clip:border-box!important;}
.site-phone-number .sd {color:inherit!important;font-size:inherit!important;line-height:inherit!important;-webkit-text-fill-color:currentColor!important;}
.sd.site-header-row {gap:20px;}
.site-header-phone {display:flex;flex:none;flex-direction:column;align-items:center;gap:2px;}
.site-header-phone-caption {font-family:'Zen Maru Gothic',sans-serif;font-size:12px;font-weight:700;line-height:1.3;color:#695544;}
@media (max-width:1279px) {
  body:has(.site-header) {padding-top:52px;}
  .sd.site-header {height:132px;}
  .sd.site-header-row {display:flex;flex-wrap:wrap;height:132px;width:100%;max-width:100%;margin:0;padding:0 16px;gap:0;align-content:center;justify-content:space-between;box-sizing:border-box;}
  .site-header-row > a:first-child {order:0;}
  .site-header-row > nav {order:1;}
  .site-header-phone {order:2;width:calc(100% + 32px);max-width:none;margin:10px -16px 0;padding:6px 12px;flex-direction:row;justify-content:center;gap:12px;background:#fff3e8;box-sizing:border-box;}
  .site-phone-number, .sd.site-phone-number {font-size:30px!important;}
  .site-header-phone-caption {font-size:11px;}
}
@media (max-width:1023px) {
  .sd.site-header-links {display:none;}
  .sd.site-menu-toggle {display:flex;}
}
@media (max-width:540px) {
  .sd.site-header-row {padding:0 8px;}
  .site-header-phone {width:calc(100% + 16px);margin-left:-8px;margin-right:-8px;gap:8px;}
  .site-header-phone-caption {max-width:64px;text-align:center;}
}
@media (max-width:320px) {
  body:has(.site-header) {padding-top:68px;}
  .site-phone-number, .sd.site-phone-number {font-size:26px!important;}
}
.site-menu-dialog { position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;background:#fff; }
.site-menu-dialog::backdrop {background:rgba(0,0,0,.35);}
.site-menu-dialog iframe {width:100%;height:100%;display:block;border:0;}
.site-form-status,.site-preview-note {display:block!important;flex:none!important;width:100%!important;font-family:'Zen Maru Gothic',sans-serif;font-size:15px;line-height:1.8;color:#695544;white-space:pre-line;text-align:left;padding:12px 16px;box-sizing:border-box;}
.site-form-status:empty {display:none!important;}
.site-form-status:not(:empty) {border:1px solid #edbb81;border-radius:8px;background:#fff8ef;}
.site-preview-note {border:1px solid #e9dfd4;border-radius:8px;background:#fff9f2;margin:0 0 16px;}
.site-honeypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;}
button:disabled {cursor:wait;opacity:.6;}
input,textarea,select {font-family:'Zen Maru Gothic',sans-serif!important;}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {outline:3px solid #d76b16;outline-offset:4px;}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto;}*,*::before,*::after{animation:none!important;transition:none!important;}}

.site-header button:hover .site-gradient-copy, .site-header button:focus .site-gradient-copy {color:#fff!important;}

.voucher-section p, .voucher-section li {line-height:1.85;}
.voucher-details ul > li {list-style-type:disc;}
.voucher-details ol > li {list-style-type:decimal;}

/* Add a matching voucher benefit to both captured hero layouts. */
.sd.hero-benefits-desktop {width:900px;max-width:none;gap:30px;justify-content:flex-start;}
.sd.hero-voucher-title {font-size:32px;white-space:nowrap;}
@media (max-width:1140px) {
  .sd.hero-benefits-desktop {width:680px;padding-left:30px;padding-right:30px;gap:30px;}
  .sd.hero-voucher-title {font-size:22px;}
}
@media (max-width:900px) {
  .sd.hero-benefits-desktop {width:510px;padding-left:24px;padding-right:24px;gap:21px;}
  .sd.hero-voucher-title {font-size:17px;}
}
@media (min-width:541px) and (max-width:819px) {
  .sd.hero-stage {height:950px;}
  .sd.hero-content-overlay {bottom:140px;}
}
@media (max-width:540px) {
  .sd.hero-mobile {width:100vw;max-width:none;align-self:center;}
  .sd.hero-mobile-photo {position:relative;width:100%;height:clamp(240px,42svh,350px);}
  .sd.hero-mobile-photo-image {width:100%;height:100%;object-fit:cover;object-position:center;}
  .sd.hero-mobile-content {flex-direction:column;align-items:stretch;gap:0;width:100%;padding:0;}
  .sd.hero-benefits-mobile {--hero-badge-size:min(116px,calc((100vw - 40px)/3));position:absolute;inset:auto 12px 14px;z-index:1;flex-flow:row nowrap;justify-content:center;align-items:center;width:calc(100% - 24px);max-width:100%;height:auto;gap:8px;padding:0;}
  .sd.hero-benefits-mobile > .sd {flex:0 0 var(--hero-badge-size);width:var(--hero-badge-size);height:var(--hero-badge-size);margin:0;box-shadow:0 3px 5px #0005;}
  .sd.hero-benefit-treatment {flex-direction:column;gap:2px;}
  .sd.hero-benefit-note-row, .sd.hero-benefit-treatment {margin-bottom:2px;}
  .sd.hero-benefits-mobile p {font-weight:700;text-shadow:0 1px 1px #0003;}
  .sd.hero-benefits-mobile .hero-benefit-title {font-size:clamp(11.8px,3.7vw,14.5px);line-height:1.2;white-space:nowrap;}
  .sd.hero-benefits-mobile .hero-trial-badge:not(.hero-voucher-badge) .hero-benefit-title {font-size:clamp(13px,4.1vw,16px);}
  .sd.hero-benefits-mobile .hero-benefit-status {font-size:clamp(14.2px,4.1vw,16px);line-height:1.3;}
  .sd.hero-benefits-mobile .hero-benefit-note {font-size:clamp(10.5px,2.9vw,11.5px);line-height:1.2;white-space:nowrap;}
  .sd.hero-benefits-mobile .hero-benefit-treatment-label {font-size:clamp(11px,3.2vw,12.5px);line-height:1.1;}
  .sd.hero-benefits-mobile .hero-benefit-price {font-size:clamp(12.5px,3.6vw,14px);line-height:1.2;}
  .sd.hero-mobile-details {width:100%;max-width:100%;align-items:stretch;padding:0;}
  .sd.hero-mobile-heading {width:100%;align-items:center;gap:12px;padding:14px 16px;}
  .sd.hero-mobile-brand {width:100%;align-items:center;gap:4px;}
  .sd.hero-mobile-eyebrow {font-size:clamp(16px,4.6vw,20px);padding:0;text-align:center;}
  .sd.hero-mobile-clinic-name {width:100%;font-size:clamp(26px,7.6vw,36px);line-height:1.3;padding:0;white-space:nowrap;text-align:center;justify-content:center;}
  .sd.hero-mobile-topics {width:100%;justify-content:center;flex-wrap:wrap;gap:6px;padding:0;}
  .sd.hero-mobile-mascot {top:14px;right:4px;width:72px;height:46px;}
  .sd.hero-mobile-phone {width:100%;max-width:100%;padding:14px 16px;}
  .sd.hero-mobile-phone-title {font-size:18px;text-align:center;}
  .sd.hero-mobile-phone-copy {width:100%;font-size:12px;line-height:1.6;text-align:center;justify-content:center;margin:6px 0 10px;}
  .sd.hero-mobile-call-button {width:min(100%,280px);min-height:44px;justify-content:center;padding:10px 20px;}
  .sd.hero-mobile-call-label {font-size:16px;}
}

/* Keep the family message readable inside its rounded card. */
.sd.family-message-card {gap:0;padding:0;border-radius:30px 0;overflow:hidden;scroll-margin-top:160px;}
.sd.family-message-header {box-sizing:border-box;width:100%;max-width:100%;padding:18px 24px;border-radius:30px 0 0;}
.sd.family-message-title {display:block;width:100%;max-width:100%;margin:0;font-size:clamp(18px,2.3vw,28px);line-height:1.6;text-align:center;}
.sd.family-message-body {box-sizing:border-box;width:100%;max-width:100%;padding:28px 32px;}
.sd.family-message-copy {display:block;width:100%;max-width:100%;margin:0;font-size:clamp(16px,1.6vw,22px);line-height:1.9;letter-spacing:.03em;}
@media (max-width:540px) {
  .sd.family-message-card {border-radius:24px 0;}
  .sd.family-message-header {padding:18px 16px;border-radius:24px 0 0;}
  .sd.family-message-body {padding:20px;}
}

/* Keep the home flow heading above its underline at every screen width. */
.sd.home-flow-heading {width:640px;max-width:100%;height:auto;margin:50px 0 0;scroll-margin-top:160px;}
.sd.home-flow-title {height:auto;white-space:nowrap;}
@media (max-width:540px) {
  .sd.home-flow-heading {margin-top:20px;}
}

/* Give the About-page introduction a full-width heading on desktop. */
@media (min-width:901px) {
  .sd.about-intro-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;row-gap:24px;align-items:start;}
  .sd.about-intro-media {display:contents;}
  .sd.about-intro-heading {grid-column:1 / -1;white-space:nowrap;font-size:clamp(26px,calc((100vw - 180px) / 26.4),37px);}
}

/* An additional benefit card within the existing About-page section. */
.about-voucher-block {display:flex;position:relative;flex-direction:column;align-items:center;box-sizing:border-box;width:70%;max-width:70%;margin:30px 0 0;padding:36px 24px;background:#fff;border:5px double #695544;border-radius:80px 0;z-index:0;color:#695544;font-family:'Zen Maru Gothic',sans-serif;text-align:center;scroll-margin-top:152px;}
.about-voucher-block * {font-family:inherit;color:inherit;box-sizing:border-box;}
.about-voucher-block h3 {display:block;margin:0;font-size:22px;font-weight:500;line-height:1.8;letter-spacing:.05em;color:#db7111;}
.about-voucher-block h3 strong {display:block;font-size:32px;font-weight:700;line-height:1.6;border-bottom:2px dotted #db7111;}
.about-voucher-block .about-edogawa-logo {display:block;margin:22px auto 0;max-width:100%;line-height:0;text-decoration:none;}
.about-edogawa-logo img {display:block;width:125px;height:125px;max-width:100%;object-fit:contain;}
.about-voucher-block p {display:block;line-height:1.9;}
.about-voucher-block .about-voucher-free {margin:18px 0 0;font-size:18px;font-weight:700;}
.about-voucher-block .about-voucher-conditions {margin:12px 0 18px;font-size:14px;}
.about-voucher-block a {display:inline-block;font-size:16px;font-weight:700;line-height:1.8;color:#b95708;text-decoration:underline;text-underline-offset:4px;}
.about-voucher-block a:hover {color:#995007;}
.sd.about-concerns-row {flex-direction:column;align-items:stretch;gap:18px;padding:8px 12px 0;}
.sd.about-concerns-row > div:first-child {width:100%;max-width:100%;}
.about-mobility-scene {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;width:100%;}
.about-mobility-scene img {display:block!important;width:100%!important;max-width:100%!important;height:230px!important;object-fit:contain;object-position:center bottom;}
.about-mobility-scene .about-wheelchair-photo {height:150px!important;}
@media(max-width:600px) {
  .sd.about-concerns-row {gap:16px;padding:0;}
  .about-mobility-scene {gap:4px;}
  .about-mobility-scene img {height:170px!important;}
  .about-mobility-scene .about-wheelchair-photo {height:110px!important;}
  .about-voucher-block {margin-top:20px;padding:24px 12px;border-radius:30px 0;}
  .about-voucher-block h3 {font-size:16px;}
  .about-voucher-block h3 strong {font-size:23px;letter-spacing:0;}
  .about-voucher-block .about-voucher-free {font-size:14px;}
  .about-voucher-block .about-voucher-conditions {font-size:12px;}
  .about-voucher-block a {font-size:13px;}
}
@media(max-width:360px) {
  .about-mobility-scene img {height:140px!important;}
  .about-mobility-scene .about-wheelchair-photo {height:90px!important;}
}

/* Keep mobile booking visible without covering the hero's benefit badges. */
@media(max-width:540px) {
  .sd[data-s-cca8a02b-1fe6-4ba6-84a4-939953ce124d] {z-index:1;top:148px;}
  .sd[data-s-4d70c2cd-991b-44fb-86bd-1883a797bb5e] {display:none!important;}
}
