:root {
  --navy: #0a2756;
  --navy-2: #123f83;
  --teal: #155eb2;
  --teal-dark: #0c438c;
  --teal-soft: #edf4ff;
  --gold: #d2a137;
  --gold-soft: #fff5dc;
  --blue-soft: #f0f5fc;
  --ink: #172a46;
  --muted: #566d87;
  --line: #d9e2ef;
  --paper: #ffffff;
  --off-white: #f7f9fd;
}

body.ec-doctor-page .ec-doctor-site, body.ec-doctor-page .ec-doctor-site *, body.ec-doctor-page .ec-doctor-site *::before, body.ec-doctor-page .ec-doctor-site *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.ec-doctor-page { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
.ec-doctor-site a { color: inherit; text-decoration: none; }
.ec-doctor-site button, .ec-doctor-site input, .ec-doctor-site select, .ec-doctor-site textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: white; background: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; height: 74px; border-bottom: 1px solid rgba(220,232,236,.9); background: rgba(255,255,255,.93); backdrop-filter: blur(16px); }
.header-inner { width: min(1200px, calc(100% - 40px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 16px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 7px; border-radius: 10px; background: var(--navy); }
.brand-mark i { display: block; height: 9px; border-radius: 3px 3px 2px 2px; background: white; }
.brand-mark i:nth-child(2) { height: 17px; background: var(--gold); }
.brand-mark i:nth-child(3) { height: 13px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.desktop-nav a { position: relative; color: #385365; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 999px; background: var(--gold); transform: scaleX(0); transform-origin: right center; transition: transform .24s ease; }
.desktop-nav a:hover { color: var(--teal); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 9px; color: var(--navy); background: var(--gold); font-size: 14px; font-weight: 850; box-shadow: 0 8px 18px rgba(161,117,25,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.header-cta:hover { transform: translateY(-2px); background: #bc8922; box-shadow: 0 11px 24px rgba(161,117,25,.28); }

.top-promo { position: relative; scroll-margin-top: 88px; color: white; background: #061936; }
.top-promo-scroll { width: 100%; overflow: hidden; background: #061936; }
.top-promo-scroll:focus-visible { outline: 3px solid #f2b84b; outline-offset: -4px; }
.top-promo-image { width: 100%; max-width: 1831px; height: auto; margin-inline: auto; display: block; }
.top-promo-note { margin: 0; padding: 11px 20px; color: #d8e3ef; background: #061936; text-align: center; font-size: 14px; line-height: 1.7; }
.top-promo-note span { display: none; }

.msh-ec-marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(239,207,121,.65); border-bottom: 1px solid rgba(239,207,121,.65); color: white; background: linear-gradient(90deg, #061936, #0a2756 50%, #061936); }
.msh-ec-marquee__viewport { overflow: hidden; }
.msh-ec-marquee__track { display: flex; width: max-content; gap: 0; transform: translate3d(0,0,0); will-change: transform; }
.msh-ec-marquee__group { flex: 0 0 auto; width: max-content; min-width: 100vw; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-around; list-style: none; }
.msh-ec-marquee__item { flex: 0 0 auto; padding: 13px clamp(24px,3.5vw,64px); display: flex; align-items: center; color: #f7faff; font-size: clamp(14px,1.2vw,17px); line-height: 1.5; letter-spacing: .05em; font-weight: 800; white-space: nowrap; }
.msh-ec-marquee__item::before { content: "◆"; margin-right: clamp(14px,1.8vw,25px); color: #efcf79; font-size: 8px; filter: drop-shadow(0 0 5px rgba(239,207,121,.45)); }

.hero { position: relative; overflow: hidden; background: linear-gradient(124deg, #ffffff 0%, #f3f7fd 50%, #e8f0fb 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(10,41,66,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(10,41,66,.035) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to right, transparent, black 48%, transparent); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 430px; height: 430px; top: -210px; right: 8%; background: rgba(35,96,181,.13); }
.hero-glow-two { width: 300px; height: 300px; bottom: 60px; left: -160px; background: rgba(210,161,55,.10); }
.hero-inner { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 0; margin-inline: auto; padding: 56px 0 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(440px,.94fr); align-items: center; gap: clamp(38px,5vw,72px); }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--teal-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.eyebrow span { width: 24px; height: 2px; background: var(--teal); }
h1 { margin: 0; color: var(--navy); font-size: clamp(44px,5.25vw,68px); line-height: 1.19; letter-spacing: -.052em; font-weight: 850; line-break: strict; }
.hero-title-line { display: block; }
.hero-title-keep { display: inline-block; white-space: nowrap; }
h1 em { position: relative; color: var(--teal); font-style: normal; }
h1 em::after { content: ""; position: absolute; left: 1%; right: 0; bottom: -4px; height: 5px; border-radius: 10px; background: var(--gold); opacity: .62; }
.hero-lead { max-width: 635px; margin: 27px 0 0; color: #3f596a; font-size: 17px; line-height: 1.9; font-weight: 520; line-break: strict; text-wrap: pretty; }
.hero-note-line { white-space: nowrap; }
.hero-note-line { display: block; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; }
.primary-button { min-height: 58px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; border: 1px solid var(--gold); border-radius: 11px; color: var(--navy); background: var(--gold); font-weight: 850; box-shadow: 0 12px 26px rgba(165,119,24,.24); transition: transform .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-2px); background: #bc8922; }
.primary-button span { font-size: 20px; transition: transform .2s cubic-bezier(.22,1,.36,1); }
.primary-button:hover > span, .primary-button:focus-visible > span { transform: translateX(5px); }
.hero-actions p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 150px; }
.trust-list { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px 18px; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 7px; color: #435e6e; font-size: 14px; font-weight: 650; }
.trust-list li span { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; color: #7c570b; background: var(--gold-soft); font-size: 12px; font-weight: 900; }

.hero-aside { position: relative; min-width: 0; }
.price-card { position: relative; z-index: 3; width: 94%; margin-left: auto; padding: 24px 26px 22px; border: 1px solid rgba(185,211,216,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 22px 60px rgba(20,62,79,.11); }
.price-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card-head > span { color: var(--navy); font-size: 15px; font-weight: 800; }
.price-card-head small { padding: 3px 9px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: 14px; font-weight: 800; }
.price-scope { margin: 14px 0 2px; color: var(--muted); font-size: 14px; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; color: var(--navy); font-size: 34px; line-height: 1.35; font-weight: 850; letter-spacing: -.03em; }
.price > span { margin-right: 8px; font-size: 14px; letter-spacing: 0; }
.price small { width: 100%; color: #7e3d3d; font-size: 14px; letter-spacing: .02em; }
.price-rule { height: 1px; margin: 15px 0 13px; background: var(--line); }
.license-note { margin: 0; display: flex; align-items: flex-start; gap: 8px; color: #526b79; font-size: 14px; line-height: 1.7; }
.license-note > span { width: 19px; height: 19px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--teal-soft); }

.hero-visual { position: relative; min-height: 520px; }
.hero-photo-frame { position: absolute; inset: 0 32px 82px 8px; margin: 0; overflow: hidden; border: 8px solid white; border-radius: 26px 82px 26px 26px; background: #e5edf8; box-shadow: 0 30px 70px rgba(12,39,86,.20); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,35,57,0) 34%, rgba(4,35,57,.82) 100%); }
.hero-photo-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% center; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.hero-photo-frame:hover img { transform: scale(1.025); }
.hero-photo-frame figcaption { position: absolute; left: 27px; right: 27px; bottom: 23px; z-index: 1; color: white; }
.hero-photo-frame figcaption span { display: block; color: #f4d47b; font-size: 12px; font-weight: 850; letter-spacing: .17em; }
.hero-photo-frame figcaption strong { display: block; margin-top: 3px; font-size: 17px; line-height: 1.45; }
.hero-record-card { position: absolute; z-index: 4; top: 32px; left: -20px; width: 250px; padding: 17px 19px; border: 1px solid rgba(209,225,229,.94); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 15px 35px rgba(17,57,73,.18); }
.hero-record-card::after { content: ""; position: absolute; width: 9px; height: 9px; right: 16px; top: 17px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.record-status { display: flex; align-items: center; gap: 6px; color: var(--teal-dark); font-size: 14px; font-weight: 850; letter-spacing: .04em; }
.record-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-record-card strong { display: block; margin-top: 7px; color: var(--navy); font-size: 14px; }
.hero-record-card small { display: block; margin-top: 3px; color: #78909b; font-size: 14px; }
.hero-price-card { position: absolute; z-index: 5; right: 0; bottom: 12px; width: 78%; padding: 20px 22px 18px; border-top: 5px solid var(--gold); border-radius: 17px; }
.hero-price-card .price-card-head > span { font-size: 14px; }
.hero-price-card .price { font-size: 31px; }
.hero-price-card .license-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.photo-caption { position: absolute; right: 8px; bottom: -21px; margin: 0; color: #5d7482; font-size: 14px; }

.hero-feature-wrap { position: relative; z-index: 6; width: min(1120px, calc(100% - 40px)); margin: 0 auto 20px; }
.hero-feature-list { margin: 0; padding: 18px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-radius: 22px; background: linear-gradient(115deg, #081f4a, #1559a8); box-shadow: 0 18px 45px rgba(8,31,74,.23); list-style: none; }
.hero-feature-list li { min-height: 116px; display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-feature-list li:last-child { border-right: 0; }
.hero-feature-list li > span { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-content: center; border: 1px solid rgba(232,197,111,.78); border-radius: 50%; color: white; background: rgba(210,161,55,.12); text-align: center; }
.hero-feature-list small { display: block; color: #f0cd75; font-size: 12px; line-height: 1.2; letter-spacing: .1em; }
.hero-feature-list b { display: block; margin-top: 3px; font-size: 14px; line-height: 1.3; }
.hero-feature-list p { margin: 0; color: #d5e4e8; font-size: 14px; line-height: 1.65; }

.hero-disclaimer { position: relative; z-index: 4; border-top: 1px solid #d7e5e8; background: rgba(255,255,255,.72); }
.hero-disclaimer .container { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #526b79; font-size: 14px; }
.hero-disclaimer strong { flex: 0 0 auto; padding: 4px 10px; border-radius: 5px; color: var(--navy); background: #e6f0f3; font-size: 14px; }

.mobile-jump-nav { display: none; }

.trust-showcase { padding: 56px 0 0; background: white; }
.trust-showcase-panel { min-height: 520px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid #cddceb; border-radius: 28px; background: #eef4fb; box-shadow: 0 28px 70px rgba(10,39,86,.14); }
.trust-showcase-media { position: relative; min-width: 0; overflow: hidden; background: linear-gradient(145deg, #dff5fb, #dce9f9); }
.trust-showcase-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,74,0) 58%, rgba(8,31,74,.14) 100%); pointer-events: none; }
.trust-showcase-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 45% center; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.trust-showcase-panel:hover .trust-showcase-media img { transform: scale(1.025); }
.trust-showcase-copy { position: relative; padding: 52px clamp(34px,4vw,58px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #fff 0%, #f8fbff 66%, #eef4fc 100%); }
.trust-showcase-copy::after { content: ""; position: absolute; width: 190px; height: 190px; right: -75px; bottom: -90px; border: 28px solid rgba(21,94,178,.06); border-radius: 50%; pointer-events: none; }
.trust-showcase-label { margin: 0 0 14px; display: flex; align-items: center; gap: 9px; color: var(--teal-dark); font-size: 13px; line-height: 1.5; font-weight: 850; letter-spacing: .12em; }
.trust-showcase-label span { width: 24px; height: 2px; flex: 0 0 auto; background: var(--gold); }
.trust-showcase-copy h2 { margin: 0; color: var(--navy); font-size: clamp(32px,3.4vw,45px); line-height: 1.42; letter-spacing: -.04em; font-weight: 850; text-wrap: balance; }
.trust-showcase-copy h2 em { position: relative; display: inline-block; color: var(--teal); font-style: normal; white-space: nowrap; }
.trust-showcase-copy h2 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 4px; border-radius: 999px; background: rgba(210,161,55,.62); }
.trust-showcase-lead { margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.trust-showcase-offers { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-showcase-offer { position: relative; min-height: 112px; padding: 18px 14px; display: grid; place-content: center; overflow: hidden; border: 1px solid rgba(210,161,55,.72); border-radius: 18px; color: white; text-align: center; background: radial-gradient(circle at 35% 20%, #2878cb 0%, #1255a1 38%, #092f67 100%); box-shadow: inset 0 0 0 5px rgba(255,255,255,.07), 0 10px 22px rgba(8,47,103,.15); }
.trust-showcase-offer::after { content: ""; position: absolute; width: 70px; height: 70px; top: -42px; right: -28px; border: 13px solid rgba(239,207,121,.17); border-radius: 50%; }
.trust-showcase-offer small { position: relative; z-index: 1; display: block; color: #f1d78f; font-size: 14px; font-weight: 750; letter-spacing: .08em; }
.trust-showcase-offer strong { position: relative; z-index: 1; display: block; margin-top: 3px; font-size: 22px; line-height: 1.4; letter-spacing: .03em; }
.trust-showcase-note { margin: 13px 0 0; color: #617789; font-size: 14px; line-height: 1.75; }
.trust-showcase-cta { position: relative; z-index: 1; min-height: 68px; margin-top: 22px; padding: 11px 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 12px; color: white; background: linear-gradient(100deg, var(--navy), #1559a8); box-shadow: 0 14px 28px rgba(8,47,103,.20); transition: transform .2s ease, box-shadow .2s ease; }
.trust-showcase-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(8,47,103,.26); }
.trust-showcase-cta span { min-width: 0; }
.trust-showcase-cta small { display: block; color: #f2d47d; font-size: 14px; line-height: 1.4; font-weight: 750; }
.trust-showcase-cta strong { display: block; margin-top: 2px; color: #fff; font-size: 18px; line-height: 1.5; }
.trust-showcase-cta b { flex: 0 0 auto; color: #f2d47d; font-size: 24px; transition: transform .2s cubic-bezier(.22,1,.36,1); }
.trust-showcase-cta:hover b, .trust-showcase-cta:focus-visible b { transform: translateX(5px); }

.section { padding: 72px 0 48px; scroll-margin-top: 84px; }
.section-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-heading.align-left { margin-inline: 0; text-align: left; }
.section-label { margin: 0 0 15px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--teal-dark); font-size: 13px; line-height: 1.4; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-heading.align-left .section-label { justify-content: flex-start; }
.section-label span { width: 21px; height: 2px; background: currentColor; }
.section-heading h1, .section-heading h2, .contact-heading h2, .final-cta h2, .legal-section h2 { margin: 0; color: var(--navy); font-size: clamp(29px, 3.4vw, 43px); line-height: 1.45; letter-spacing: -.035em; font-weight: 820; line-break: strict; text-wrap: balance; }
.section-intro { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.align-left .section-intro { margin-inline: 0; }

.problems { background: white; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problem-card { min-height: 128px; padding: 25px 24px; display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(21,62,78,.04); }
.problem-card > span { flex: 0 0 auto; color: #718d99; font-size: 12px; line-height: 1.6; font-weight: 850; letter-spacing: .08em; }
.problem-card p { margin: 0; color: #294655; font-size: 16px; line-height: 1.8; font-weight: 700; }
.solution-band { margin-top: 28px; padding: 22px 28px; display: flex; align-items: center; justify-content: center; gap: 15px; border-radius: 13px; background: linear-gradient(100deg, var(--navy), #174f9a); color: white; }
.solution-icon { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: var(--navy); background: var(--gold); font-weight: 900; }
.solution-band p { margin: 0; font-size: 16px; line-height: 1.8; }
.solution-band strong { color: #f3d379; }

.service-section { position: relative; background: var(--off-white); }
.service-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 9% 18%, rgba(36,93,177,.07), transparent 24%), radial-gradient(circle at 91% 84%, rgba(210,161,55,.06), transparent 25%); pointer-events: none; }
.service-section .container { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 265px; padding: 28px 26px; border: 1px solid #dce8eb; border-radius: 17px; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(18,67,81,.08); }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-number { color: #718d99; font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.service-glyph { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--teal-soft); }
.service-glyph::before, .service-glyph::after, .service-glyph i { content: ""; display: block; position: absolute; border: 2px solid var(--teal); }
.glyph-01::before { width: 19px; height: 23px; border-radius: 3px; }
.glyph-01::after { width: 9px; height: 2px; border-width: 2px 0 0; box-shadow: 0 5px 0 var(--teal), 0 10px 0 var(--teal); }
.glyph-02::before { width: 18px; height: 18px; border-radius: 50%; top: 9px; }
.glyph-02::after { width: 23px; height: 10px; bottom: 7px; border-radius: 12px 12px 5px 5px; background: var(--teal-soft); }
.glyph-03::before { width: 22px; height: 26px; border-radius: 3px; }
.glyph-03::after { width: 8px; height: 8px; right: 8px; bottom: 7px; border-radius: 50%; background: #fff; box-shadow: 4px 4px 0 -2px var(--teal); }
.glyph-04::before { width: 24px; height: 24px; border-radius: 50%; }
.glyph-04::after { width: 10px; height: 5px; border-width: 0 0 2px 2px; transform: rotate(-45deg); top: 17px; }
.glyph-05::before { width: 26px; height: 19px; border-radius: 3px; }
.glyph-05::after { width: 8px; height: 8px; border-radius: 50%; left: 10px; top: 13px; background: #fff; }
.glyph-05 i { width: 9px; height: 5px; border-radius: 6px 6px 2px 2px; left: 10px; bottom: 9px; background: #fff; }
.glyph-06::before { width: 23px; height: 23px; border-radius: 50%; }
.glyph-06::after { width: 2px; height: 8px; border-width: 0 0 0 2px; top: 13px; box-shadow: 4px 6px 0 -1px var(--teal); transform: rotate(-22deg); }
.service-card h3 { margin: 31px 0 10px; color: var(--navy); font-size: 19px; line-height: 1.5; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.service-note { margin: 24px 0 0; padding-left: 18px; border-left: 3px solid var(--gold); color: #5d6f86; font-size: 14px; line-height: 1.8; }

.review-section { position: relative; overflow: hidden; color: white; background: var(--navy); }
.review-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; }
.review-section::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -210px; border-radius: 50%; background: rgba(48,104,196,.13); }
.review-section .container { position: relative; z-index: 1; }
.review-section .section-label { color: #efce78; }
.review-section .section-heading h1, .review-section .section-heading h2 { color: white; }
.review-section .section-intro { color: #b8cbd3; }
.review-intro { margin-bottom: 40px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(42px, 7vw, 82px); }
.review-intro .section-heading { margin: 0; }
.review-photo { position: relative; height: 360px; margin: 0; overflow: hidden; border: 1px solid rgba(223,197,126,.35); border-radius: 24px 72px 24px 24px; background: #173a74; box-shadow: 0 24px 55px rgba(0,0,0,.24); }
.review-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,30,48,0) 48%, rgba(4,30,48,.86) 100%); }
.review-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 62%; filter: saturate(.8) contrast(1.03); transition: transform .8s cubic-bezier(.22,1,.36,1), filter .8s ease; }
.review-photo:hover img { transform: scale(1.025); filter: saturate(.92) contrast(1.03); }
.review-photo figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 17px; color: #e3ecef; font-size: 12px; line-height: 1.7; }
.review-timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; list-style: none; counter-reset: step; }
.review-timeline li { position: relative; min-height: 180px; padding: 0; display: grid; grid-template-rows: 42px minmax(0,1fr); gap: 10px; border: 0; background: transparent; }
.review-timeline li:nth-child(5) { grid-column: 4; grid-row: 2; }
.review-timeline li:nth-child(6) { grid-column: 3; grid-row: 2; }
.review-timeline li:nth-child(7) { grid-column: 2; grid-row: 2; }
.review-timeline li:nth-child(8) { grid-column: 1; grid-row: 2; }
.review-timeline li:nth-child(-n+3)::before,
.review-timeline li:nth-child(n+5):nth-child(-n+7)::before { content: ""; position: absolute; z-index: 1; top: 19px; width: calc(50% + 14px); height: 3px; border-radius: 999px; background: linear-gradient(90deg, #d2a137, #f4d982); }
.review-timeline li:nth-child(-n+3)::before { left: 50%; }
.review-timeline li:nth-child(n+5):nth-child(-n+7)::before { right: 50%; }
.review-timeline li:nth-child(4)::before { content: ""; position: absolute; z-index: 1; top: 20px; left: 50%; width: calc(50% + 7px); height: calc(100% + 18px); box-sizing: border-box; border: solid #d2a137; border-width: 3px 3px 3px 0; border-radius: 0 18px 18px 0; }
.review-timeline li::after { content: none; display: none; }
.review-timeline li > div:last-child { position: relative; z-index: 2; padding: 19px 21px; border: 1px solid rgba(190,221,227,.15); border-radius: 14px; background: rgba(255,255,255,.055); }
.timeline-number { position: relative; z-index: 3; width: 40px; height: 40px; margin-inline: auto; display: grid; place-items: center; border: 2px solid #d2a137; border-radius: 50%; color: #f8dfa0; background: var(--navy); box-shadow: 0 0 0 5px var(--navy), 0 6px 16px rgba(0,0,0,.22); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.review-timeline li:last-child .timeline-number { color: var(--navy); background: var(--gold); }
.review-timeline h3 { margin: 0 0 7px; color: white; font-size: 16px; }
.review-timeline p { margin: 0; color: #c7d6db; font-size: 14px; line-height: 1.8; }
.change-warning { margin-top: 22px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 22px; border: 1px solid rgba(210,161,55,.42); border-radius: 12px; background: rgba(210,161,55,.10); }
.change-warning strong { flex: 0 0 auto; color: #f0cf79; font-size: 14px; }
.change-warning p { margin: 0; color: #dbe6e9; font-size: 14px; line-height: 1.8; }
.display-example { margin-top: 22px; padding: 30px 34px; border-radius: 14px; color: var(--ink); background: white; }
.example-label { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 5px; color: var(--teal-dark); background: var(--teal-soft); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.display-example blockquote { margin: 0; color: var(--navy); font-size: 17px; line-height: 1.85; font-weight: 700; }
.display-example > p { margin: 13px 0 0; color: #4d6977; font-size: 14px; line-height: 1.8; }
.display-example small { display: block; margin-top: 10px; color: #657d88; font-size: 14px; line-height: 1.75; }

.price-section { background: var(--off-white); }
.pricing-shell { overflow: hidden; display: grid; grid-template-columns: .78fr 1.22fr; border: 1px solid #cfdee2; border-radius: 20px; background: white; box-shadow: 0 24px 60px rgba(18,63,80,.08); }
.pricing-main { padding: 40px 38px; color: white; background: linear-gradient(145deg, var(--navy), #174f9a); }
.pricing-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pricing-title-row p { margin: 0 0 4px; color: #efcf79; font-size: 12px; font-weight: 850; letter-spacing: .15em; }
.pricing-title-row h3 { margin: 0; color: white; font-size: 20px; }
.pricing-title-row > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #f7dfa1; background: rgba(210,161,55,.16); font-size: 14px; font-weight: 800; }
.pricing-amount { margin-top: 35px; display: flex; align-items: baseline; flex-wrap: wrap; }
.pricing-amount small { margin-right: 8px; color: #cbd9de; font-size: 14px; }
.pricing-amount strong { font-size: clamp(37px, 4vw, 50px); line-height: 1.2; letter-spacing: -.04em; }
.pricing-amount em { width: 100%; margin-top: 2px; color: #ffd7d7; font-size: 14px; font-style: normal; }
.pricing-unit { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: #d0dde2; font-size: 14px; line-height: 1.85; }
.pricing-button { width: 100%; margin-top: 28px; background: var(--gold); box-shadow: none; font-size: 16px; }
.pricing-caveat { margin: 10px 0 0; text-align: center; color: #c1cfd5; font-size: 14px; }
.pricing-detail { padding: 35px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pricing-list h3 { margin: 0 0 19px; display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 15px; }
.pricing-list h3 > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; color: var(--teal-dark); background: var(--teal-soft); font-size: 12px; }
.pricing-list h3 em { margin-left: auto; padding: 3px 7px; border-radius: 5px; color: #536a75; background: #edf2f3; font-size: 14px; font-style: normal; }
.pricing-list ul { margin: 0; padding: 0; list-style: none; }
.pricing-list li { position: relative; margin-top: 9px; padding-left: 19px; color: #48616d; font-size: 14px; line-height: 1.75; }
.pricing-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-size: 12px; font-weight: 850; }
.pricing-list.extras { padding-left: 28px; border-left: 1px solid var(--line); }
.pricing-list.extras li::before { content: "＋"; color: #82969f; }
.renewal-note { margin-top: 18px; padding: 19px 24px; display: flex; align-items: center; gap: 15px; border: 1px solid #d5e4e7; border-radius: 13px; background: white; }
.renewal-note > span { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--teal-dark); background: var(--teal-soft); font-size: 18px; }
.renewal-note strong { color: var(--navy); font-size: 14px; }
.renewal-note p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.flow-section { background: white; }
.customer-flow { position: relative; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; list-style: none; }
.customer-flow::before { content: ""; position: absolute; z-index: 0; top: 19px; right: calc(100% / 14); left: calc(100% / 14); height: 3px; border-radius: 999px; background: linear-gradient(90deg, #d2a137 0%, #d2a137 22%, #155eb2 100%); }
.customer-flow li { position: relative; min-height: 126px; padding: 0; display: grid; grid-template-rows: 42px minmax(0,1fr); gap: 10px; border: 0; background: transparent; }
.customer-flow li::after { display: none; }
.customer-flow span { position: relative; z-index: 2; width: 40px; height: 40px; margin-inline: auto; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: #f8dfa0; background: var(--navy); box-shadow: 0 0 0 5px white, 0 6px 15px rgba(8,31,74,.15); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.customer-flow li:last-child span { color: var(--navy); background: var(--gold); }
.customer-flow p { position: relative; z-index: 1; min-height: 84px; margin: 0; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; font-size: 14px; line-height: 1.7; font-weight: 750; text-align: center; }

.faq-section { background: var(--off-white); }
.faq-layout { display: grid; grid-template-columns: .63fr 1.37fr; gap: clamp(46px, 7vw, 84px); align-items: start; }
.faq-layout .section-heading { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { border-top: 1px solid #cadde1; }
.faq-list details { border-bottom: 1px solid #cadde1; }
.faq-list summary { min-height: 82px; padding: 20px 4px; display: grid; grid-template-columns: 33px 1fr 23px; align-items: center; gap: 14px; color: var(--navy); cursor: pointer; list-style: none; font-size: 16px; line-height: 1.7; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--navy); font-family: Georgia, serif; font-size: 13px; }
.faq-list summary i { position: relative; width: 21px; height: 21px; border-radius: 50%; background: #e4efef; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 1px; background: var(--teal-dark); }
.faq-list summary i::after { transform: rotate(90deg); transition: transform .18s ease; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-answer { padding: 0 43px 23px 48px; display: flex; gap: 14px; }
.faq-answer > span { color: var(--teal); font-family: Georgia, serif; font-size: 15px; font-weight: 850; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }

.contact-section { position: relative; background: #eef3fb; }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 7%, rgba(36,91,176,.10), transparent 23%), radial-gradient(circle at 88% 92%, rgba(210,161,55,.08), transparent 22%); }
.contact-section .container { position: relative; }
.contact-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.contact-heading > p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.contact-shell { overflow: hidden; display: grid; grid-template-columns: .55fr 1.45fr; border: 1px solid #cbdfe1; border-radius: 20px; background: white; box-shadow: 0 24px 60px rgba(14,64,76,.09); }
.contact-side { padding: 39px 32px; color: white; background: linear-gradient(155deg, var(--navy), #174f9a); }
.contact-side-label { margin: 0 0 5px; color: #efcf79; font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.contact-side h3 { margin: 0; font-size: 21px; }
.contact-side ol { margin: 29px 0 0; padding: 0; list-style: none; }
.contact-side li { padding: 15px 0; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid rgba(255,255,255,.11); color: #e0e8eb; font-size: 14px; line-height: 1.7; }
.contact-side li span { color: #efcf79; font-size: 12px; font-weight: 850; letter-spacing: .09em; }
.contact-side-note { margin-top: 28px; padding: 17px; border-radius: 10px; background: rgba(255,255,255,.07); }
.contact-side-note strong { color: #f3d583; font-size: 14px; }
.contact-side-note p { margin: 6px 0 0; color: #cad9de; font-size: 14px; line-height: 1.85; }
.contact-form { padding: 40px 42px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.required-form-grid { margin-bottom: 22px; }
.optional-form-heading { margin: 5px 0 17px; display: flex; align-items: center; gap: 10px; color: #5c727d; font-size: 15px; }
.optional-form-heading strong { color: var(--navy); font-size: 16px; }
.optional-form-grid { padding-top: 2px; }
.field-wide { grid-column: 1 / -1; }
.field label { margin-bottom: 8px; display: flex; align-items: center; gap: 7px; color: #294655; font-size: 14px; font-weight: 750; }
.field label span { padding: 2px 6px; border-radius: 4px; color: #8b3434; background: #fbeded; font-size: 14px; font-weight: 850; }
.field label small { color: #657b87; font-size: 14px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #c8d9dd; border-radius: 8px; color: var(--ink); background: white; font-size: 16px; line-height: 1.55; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9cabb2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #86aaa9; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21,94,178,.12); outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b84242; }
.field-error { margin: 5px 0 0; color: #a73131; font-size: 14px; line-height: 1.6; }
.privacy-note { margin: 19px 0 0; color: #5c727d; font-size: 14px; line-height: 1.8; }
.privacy-note a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-config-warning, .form-status { margin: 16px 0 0; padding: 13px 15px; border-radius: 8px; color: #7d4c17; background: #fff5df; font-size: 14px; line-height: 1.75; }
.form-status.error { color: #8a3030; background: #fff0f0; }
.form-status.success { color: #135f55; background: #e9f8f4; }
.error-summary { margin-bottom: 25px; padding: 17px 19px; border: 1px solid #d78686; border-radius: 9px; color: #812b2b; background: #fff5f5; }
.error-summary strong { font-size: 14px; }
.error-summary ul { margin: 7px 0 0; padding-left: 19px; }
.error-summary li { font-size: 14px; }
.error-summary a { text-decoration: underline; }
.submit-button { width: 100%; min-height: 60px; margin-top: 20px; padding: 0 23px; display: flex; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 10px; color: var(--navy); background: var(--gold); cursor: pointer; font-size: 16px; font-weight: 850; box-shadow: 0 12px 25px rgba(165,119,24,.24); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.submit-button:hover { transform: translateY(-2px); background: #bc8922; box-shadow: 0 15px 30px rgba(165,119,24,.28); }
.submit-button:disabled { cursor: wait; opacity: .7; }
.submit-button span { font-size: 19px; transition: transform .2s cubic-bezier(.22,1,.36,1); }
.submit-button:hover > span, .submit-button:focus-visible > span { transform: translateX(5px); }
.submit-note { margin: 8px 0 0; text-align: center; color: #607680; font-size: 14px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.final-cta { padding: 44px 0; color: white; background: linear-gradient(110deg, #081f4a, #1559a8); }
.final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta div > span { color: #f0cf79; font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.final-cta h2 { margin-top: 5px; color: white; font-size: clamp(23px, 3vw, 33px); }
.final-cta p { margin: 4px 0 0; color: #d1e0e4; font-size: 14px; }
.ec-doctor-site .light-button { min-height: 56px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; flex: 0 0 auto; border-radius: 10px; color: var(--navy); background: white; font-size: 15px; font-weight: 850; box-shadow: 0 10px 22px rgba(0,0,0,.12); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.light-button:hover { transform: translateY(-2px); background: var(--gold-soft); box-shadow: 0 14px 28px rgba(0,0,0,.16); }
.light-button > span { transition: transform .2s cubic-bezier(.22,1,.36,1); }
.light-button:hover > span, .light-button:focus-visible > span { transform: translateX(5px); }

.site-footer { padding: 48px 0 22px; color: #b8c5d9; background: #061835; }
.footer-top { display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand .brand { color: white; }
.footer-brand p { max-width: 380px; margin: 14px 0 0; color: #a8b8bf; font-size: 14px; line-height: 1.85; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 24px; }
.footer-nav a { color: #dbe4e7; font-size: 14px; }
.footer-nav a:hover { color: #efcf79; }
.important-notes { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.important-notes h2 { margin: 0 0 16px; color: white; font-size: 14px; }
.important-notes ul { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 28px; list-style: none; }
.important-notes li { position: relative; padding-left: 14px; color: #a6b6bd; font-size: 14px; line-height: 1.8; }
.important-notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.footer-bottom { padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8fa3ac; font-size: 14px; }

.back-link { margin-left: auto; color: var(--teal-dark); font-size: 14px; font-weight: 800; }
.back-link::before { content: "←"; margin-right: 7px; }
.legal-main { padding: 56px 0 72px; background: var(--off-white); }
.legal-hero { max-width: 760px; }
.legal-hero .section-label { justify-content: flex-start; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 55px); }
.legal-hero > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.draft-alert { margin: 35px 0; padding: 20px 23px; border: 1px solid #e0c78e; border-radius: 12px; background: #fff9eb; }
.draft-alert strong { color: #714f17; font-size: 14px; }
.draft-alert p { margin: 5px 0 0; color: #765f35; font-size: 14px; line-height: 1.8; }
.legal-nav { padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.legal-nav a { color: #425e6c; font-size: 14px; font-weight: 700; }
.legal-nav a:hover { color: var(--teal); }
.legal-section { padding: 44px 0; display: grid; grid-template-columns: 70px 1fr; gap: 35px; border-bottom: 1px solid var(--line); scroll-margin-top: 74px; }
.legal-number { margin: 9px 0 0; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.legal-section h2 { font-size: clamp(25px, 3vw, 34px); }
.legal-section h2 + p { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-section dl { margin: 25px 0 0; border-top: 1px solid var(--line); }
.legal-section dl > div { padding: 16px 0; display: grid; grid-template-columns: 160px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.legal-section dt { color: var(--navy); font-size: 14px; font-weight: 800; }
.legal-section dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-note { margin: 20px 0 0; padding: 17px 19px; border-left: 3px solid var(--gold); color: #49627d; background: #eef3fb; font-size: 14px; line-height: 1.8; }
.placeholder-box { margin-top: 22px; padding: 18px; border: 1px dashed #ccb979; border-radius: 9px; background: #fffdf6; }
.placeholder-box strong { color: #735c20; font-size: 14px; }
.placeholder-box p { margin: 5px 0 0; color: #755f35; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-list { margin: 22px 0 0; padding: 0; list-style: none; }
.legal-list li { position: relative; margin-top: 11px; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 850; }
.legal-cta { margin-top: 25px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translate3d(18px, 14px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hero-card-left {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-card-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, 8px, 0) scale(1.035); }
}

@keyframes status-breathe {
  0%, 100% { opacity: .72; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes section-rise {
  from { opacity: .12; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes msh-ec-marquee-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: no-preference) {
	.msh-ec-marquee__track { animation: msh-ec-marquee-scroll 32s linear infinite; }
  .site-header { animation: hero-rise .48s cubic-bezier(.22,1,.36,1) both; }
  .hero-copy > .eyebrow { animation: hero-rise .52s cubic-bezier(.22,1,.36,1) .06s both; }
  .hero-copy > h1 { animation: hero-rise .58s cubic-bezier(.22,1,.36,1) .12s both; }
  .hero-copy > .hero-lead { animation: hero-rise .58s cubic-bezier(.22,1,.36,1) .19s both; }
  .hero-copy > .hero-actions { animation: hero-rise .58s cubic-bezier(.22,1,.36,1) .26s both; }
  .hero-copy > .trust-list { animation: hero-rise .58s cubic-bezier(.22,1,.36,1) .33s both; }
  .hero-photo-frame { animation: hero-visual-in .72s cubic-bezier(.22,1,.36,1) .16s both; }
  .hero-record-card { animation: hero-card-left .55s cubic-bezier(.22,1,.36,1) .38s both; }
  .hero-price-card { animation: hero-card-up .58s cubic-bezier(.22,1,.36,1) .46s both; }
  .photo-caption { animation: hero-rise .46s ease .58s both; }
  .hero-feature-wrap { animation: hero-rise .62s cubic-bezier(.22,1,.36,1) .55s both; }
  .hero-disclaimer { animation: hero-rise .56s cubic-bezier(.22,1,.36,1) .63s both; }
  .hero-glow-one { animation: glow-drift 11s ease-in-out 1s infinite alternate; }
  .record-status i { animation: status-breathe 2.8s ease-in-out .9s infinite; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .problems .section-heading,
    .trust-showcase-panel,
    .problem-grid,
    .solution-band,
    .service-section .section-heading,
    .service-grid,
    .service-note,
    .review-intro,
    .review-timeline,
    .change-warning,
    .display-example,
    .price-section .section-heading,
    .pricing-shell,
    .renewal-note,
    .flow-section .section-heading,
    .customer-flow,
    .faq-list,
    .contact-heading,
    .contact-shell,
    .final-cta .container {
      animation-name: section-rise;
      animation-duration: 1ms;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: view(block);
      animation-range: entry 3% cover 28%;
    }
  }
}

@media (max-width: 1100px) {
  .customer-flow { grid-template-columns: 1fr; gap: 14px; }
  .customer-flow::before { display: none; }
  .customer-flow li { min-height: 0; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: auto; align-items: start; gap: 14px; }
  .customer-flow li:not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: 28px; left: 20px; width: 3px; height: calc(100% + 14px); border-radius: 999px; background: linear-gradient(180deg, #d2a137 0%, #155eb2 100%); }
  .customer-flow span { margin: 8px auto 0; }
  .customer-flow p { min-height: 0; padding: 18px 20px; text-align: left; }
  .pricing-shell { grid-template-columns: .88fr 1.12fr; }
  .pricing-detail { grid-template-columns: 1fr; gap: 24px; }
  .pricing-list.extras { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .top-promo-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d2a137 #061936; }
  .top-promo-image { width: 1100px; max-width: none; }
  .top-promo-note span { display: block; color: #f1d58a; font-weight: 750; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 34px; gap: 34px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-list { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-aside { width: min(660px,100%); margin-inline: auto; }
  .hero-visual { min-height: 525px; }
  .hero-photo-frame { inset: 0 36px 84px 36px; }
  .hero-record-card { left: 10px; }
  .hero-price-card { width: min(430px, 76%); margin: 0; }
  .hero-feature-list { grid-template-columns: repeat(2, 1fr); padding: 20px 26px; }
  .hero-feature-list li:nth-child(2) { border-right: 0; }
  .hero-feature-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .hero-feature-list li { padding: 10px; }
  .hero-feature-wrap { margin-bottom: 18px; }
  .hero-disclaimer .container { min-height: 48px; }
  .mobile-jump-nav { position: sticky; top: 74px; z-index: 30; padding: 8px 20px; display: flex; justify-content: center; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); scrollbar-width: none; }
  .mobile-jump-nav::-webkit-scrollbar { display: none; }
  .mobile-jump-nav a { min-width: 68px; min-height: 44px; padding: 7px 14px; display: grid; place-items: center; border: 1px solid #d5e4e7; border-radius: 999px; color: #38576a; background: white; font-size: 14px; font-weight: 750; white-space: nowrap; }
  .trust-showcase-panel { grid-template-columns: 1fr; }
  .trust-showcase-media { height: 390px; }
  .trust-showcase-media::after { background: linear-gradient(180deg, rgba(8,31,74,0) 62%, rgba(8,31,74,.12) 100%); }
  .trust-showcase-copy { padding: 44px 46px 48px; }
  .trust-showcase { padding-top: 48px; }
  .section { padding: 56px 0 38px; }
  .section-heading { margin-bottom: 32px; }
  .problem-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout .section-heading { position: static; }
  .review-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 34px; }
  .review-intro .section-heading { max-width: 720px; }
  .review-photo { height: 380px; }
  .review-timeline { grid-template-columns: 1fr; gap: 14px; }
  .review-timeline li:nth-child(n) { min-height: 0; grid-column: auto; grid-row: auto; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: auto; align-items: start; gap: 14px; }
  .review-timeline li:nth-child(n)::before { content: none; }
  .review-timeline li:nth-child(n):not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: 28px; right: auto; bottom: auto; left: 20px; width: 3px; height: calc(100% + 14px); box-sizing: content-box; border: 0; border-radius: 999px; background: linear-gradient(180deg, #d2a137 0%, #155eb2 100%); }
  .review-timeline li:nth-child(n)::after { content: none; display: none; }
  .review-timeline .timeline-number { margin: 8px auto 0; }
  .review-timeline li > div:last-child { padding: 18px 20px; }
  .review-timeline h3 { margin: 0 0 5px; }
  .pricing-shell { grid-template-columns: 1fr; }
  .pricing-main { text-align: center; }
  .pricing-title-row { justify-content: center; }
  .pricing-amount { justify-content: center; }
  .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  .faq-layout .section-heading { max-width: 700px; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .contact-side-label, .contact-side h3 { grid-column: 1; }
  .contact-side ol { grid-column: 1; }
  .contact-side-note { grid-column: 2; grid-row: 1 / 4; margin-top: 0; align-self: center; }
  .contact-heading { margin-bottom: 32px; }
  .final-cta { padding: 40px 0; }
  .site-footer { padding-top: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
	.msh-ec-marquee__item { padding: 12px 24px; font-size: 14px; }
	.msh-ec-marquee__item::before { margin-right: 14px; }
  .container, .header-inner, .hero-inner { width: min(100% - 32px, 1120px); }
  .site-header { height: 66px; }
  .header-inner { gap: 12px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-cta { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .top-promo { scroll-margin-top: 76px; }
  .top-promo-image { width: 820px; }
  .top-promo-note { padding: 10px 16px 12px; text-align: left; font-size: 14px; }
  .hero-inner { padding: 36px 0 28px; gap: 28px; }
  .eyebrow { justify-content: flex-start; font-size: 14px; line-height: 1.65; text-align: left; }
  h1 { text-align: left; font-size: clamp(34px,10.8vw,48px); line-height: 1.28; }
  .hero-lead { margin-top: 22px; text-align: left; font-size: 16px; line-height: 1.85; }
  .hero-actions { display: block; margin-top: 26px; }
  .primary-button { width: 100%; min-height: 60px; gap: 14px; padding-inline: 16px; font-size: 16px; }
  .hero-actions p { max-width: none; margin-top: 11px; text-align: center; font-size: 14px; }
  .hero-lead-break { display: none; }
  .hero-note-line { display: inline; }
  .trust-list { justify-content: flex-start; gap: 8px 14px; margin-top: 24px; }
  .trust-list li { font-size: 14px; }
  .price-card { width: 100%; padding: 20px; }
  .price-card-head { align-items: flex-start; flex-wrap: wrap; }
  .price { font-size: 31px; }
  .hero-visual { min-height: 540px; }
  .hero-photo-frame { inset: 0 0 150px; border-width: 5px; border-radius: 19px 50px 19px 19px; }
  .hero-photo-frame figcaption { left: 18px; right: 18px; bottom: 17px; }
  .hero-photo-frame figcaption strong { font-size: 16px; }
  .hero-record-card { top: 16px; left: -7px; width: 230px; padding: 14px 16px; }
  .hero-price-card { right: -4px; bottom: 18px; width: 94%; padding: 18px 20px 17px; }
  .hero-price-card .price-card-head { align-items: center; }
  .hero-price-card .price-card-head > span { font-size: 14px; }
  .hero-price-card .price { font-size: 30px; }
  .hero-price-card .price-scope { margin-top: 8px; }
  .hero-price-card .license-note { font-size: 14px; }
  .photo-caption { right: 0; bottom: -25px; font-size: 14px; text-align: right; }
  .hero-feature-wrap { width: min(100% - 24px, 1120px); margin-bottom: 14px; }
  .hero-feature-list { gap: 0; padding: 14px 10px; border-radius: 17px; }
  .hero-feature-list li { min-height: 128px; gap: 10px; padding: 10px 6px; }
  .hero-feature-list li > span { width: 74px; height: 74px; }
  .hero-feature-list small { font-size: 12px; }
  .hero-feature-list b { font-size: 14px; }
  .hero-feature-list p { font-size: 14px; line-height: 1.65; }
  .hero-disclaimer .container { min-height: 0; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 14px; line-height: 1.75; }
  .mobile-jump-nav { top: 66px; justify-content: flex-start; padding: 8px 16px; }
  .trust-showcase { padding: 36px 0 0; }
  .trust-showcase-panel { min-height: 0; border-radius: 19px; }
  .trust-showcase-media { height: 245px; }
  .trust-showcase-copy { padding: 30px 22px 32px; }
  .trust-showcase-label { margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; }
  .trust-showcase-copy h2 { font-size: 28px; line-height: 1.5; }
  .trust-showcase-copy h2 em { white-space: normal; }
  .trust-showcase-lead { margin-top: 14px; font-size: 16px; }
  .trust-showcase-offers { margin-top: 21px; gap: 9px; }
  .trust-showcase-offer { min-height: 100px; padding: 15px 8px; border-radius: 14px; }
  .trust-showcase-offer small { font-size: 14px; }
  .trust-showcase-offer strong { font-size: 19px; }
  .trust-showcase-note { font-size: 14px; }
  .trust-showcase-cta { min-height: 66px; padding: 10px 17px; }
  .trust-showcase-cta small { font-size: 14px; }
  .trust-showcase-cta strong { font-size: 17px; }
  .section { padding: 42px 0 24px; }
  .section-heading { margin-bottom: 28px; text-align: left; }
  .section-label, .section-heading .section-label { justify-content: flex-start; }
  .section-heading h1, .section-heading h2, .contact-heading h2 { font-size: 28px; line-height: 1.5; }
  .flow-section .section-heading h2 { text-wrap: pretty; word-break: auto-phrase; }
  .section-intro { margin-top: 14px; font-size: 16px; }
  .problem-grid, .service-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; padding: 20px; }
  .solution-band { padding: 21px; align-items: flex-start; justify-content: flex-start; }
  .solution-band p { font-size: 16px; line-height: 1.8; }
  .service-grid { gap: 40px; }
  .service-card { position: relative; min-height: 0; padding: 20px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 44px; column-gap: 10px; row-gap: 12px; }
  .service-card-top { display: contents; }
  .service-number { grid-column: 1; grid-row: 1; align-self: center; }
  .service-glyph { position: relative; top: auto; right: auto; grid-column: 3; grid-row: 1; }
  .service-card h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: 18px; }
  .service-card p { grid-column: 1 / -1; grid-row: 2; }
  .service-card:not(:last-child)::before { content: ""; position: absolute; z-index: 2; left: 50%; bottom: -30px; width: 28px; height: 28px; border: 1px solid rgba(210,161,55,.45); border-radius: 50%; background: var(--navy); box-shadow: 0 5px 12px rgba(8,31,74,.18); transform: translateX(-50%); }
  .service-card:not(:last-child)::after { content: ""; position: absolute; z-index: 3; left: 50%; bottom: -20px; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateX(-50%) rotate(45deg); }
  .review-section .section-heading { text-align: left; }
  .review-intro { gap: 24px; margin-bottom: 26px; }
  .review-photo { height: 300px; border-radius: 18px 46px 18px 18px; }
  .review-photo figcaption { left: 16px; right: 16px; bottom: 13px; font-size: 12px; }
  .review-timeline { gap: 12px; }
  .review-timeline li:nth-child(n) { padding: 0; grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
  .review-timeline li:nth-child(n):not(:last-child)::before { top: 27px; left: 19px; height: calc(100% + 12px); }
  .review-timeline .timeline-number { width: 38px; height: 38px; }
  .review-timeline li > div:last-child { padding: 17px; }
  .review-timeline h3 { margin: 1px 0 5px; }
  .change-warning { padding: 18px; display: block; }
  .change-warning p { margin-top: 6px; }
  .display-example { padding: 24px 20px; }
  .display-example blockquote { font-size: 16px; }
  .pricing-main, .pricing-detail { padding: 29px 22px; }
  .pricing-title-row { display: block; text-align: left; }
  .pricing-title-row > span { display: inline-block; margin-top: 11px; }
  .pricing-amount { justify-content: flex-start; }
  .pricing-main { text-align: left; }
  .pricing-caveat { text-align: center; }
  .renewal-note { align-items: flex-start; }
  .customer-flow { gap: 12px; }
  .customer-flow li { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
  .customer-flow li:not(:last-child)::before { top: 27px; left: 19px; height: calc(100% + 12px); }
  .customer-flow span { width: 38px; height: 38px; }
  .customer-flow p { margin: 0; padding: 16px 17px; }
  .faq-list summary { grid-template-columns: 31px 1fr 21px; gap: 11px; font-size: 16px; }
  .faq-answer { padding: 0 8px 21px 39px; }
  .contact-heading { margin-bottom: 28px; text-align: left; }
  .contact-heading .section-label { justify-content: flex-start; }
  .contact-heading > p:last-child { font-size: 16px; }
  .contact-side { padding: 29px 22px; display: block; }
  .contact-side-note { margin-top: 24px; }
  .contact-form { padding: 29px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .optional-form-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .field-wide { grid-column: auto; }
  .final-cta { padding: 34px 0; text-align: center; }
  .final-cta .container { display: block; }
  .light-button { width: 100%; margin-top: 23px; }
  .site-footer { padding-top: 38px; }
  .footer-nav, .important-notes ul { grid-template-columns: 1fr; }
  .footer-nav { gap: 14px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-main { padding: 40px 0 56px; }
  .legal-hero h1 { text-align: left; font-size: 35px; }
  .legal-nav { gap: 10px 16px; }
  .legal-section { padding: 34px 0; grid-template-columns: 1fr; gap: 8px; }
  .legal-section dl > div { grid-template-columns: 1fr; gap: 5px; }
  .legal-cta { width: 100%; }
}

@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .site-header .brand { min-width: 0; gap: 7px; }
  .site-header .brand-mark { flex: 0 0 31px; }
  .site-header .brand > span:last-child { display: block; max-width: none; white-space: nowrap; font-size: 12px; line-height: 1.25; }
  .header-cta { flex: 0 0 auto; padding-inline: 10px; font-size: 12px; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 20px); gap: 6px; }
  .site-header .brand { gap: 5px; }
  .site-header .brand-mark { width: 29px; height: 29px; flex-basis: 29px; padding: 6px; }
  .site-header .brand > span:last-child { max-width: none; font-size: 12px; letter-spacing: -.025em; }
  .header-cta { min-height: 42px; padding-inline: 9px; font-size: 12px; letter-spacing: -.025em; }
}

/* 読みやすい日本語改行：見出し・カード・FAQは文節を優先する。 */
.ec-doctor-site :where(
  h1,
  h2,
  h3,
  .top-promo-proof,
  .problem-card p,
  .service-card p,
  .review-timeline p,
  .customer-flow p,
  .faq-list summary,
  .faq-answer p,
  .pricing-list li,
  .contact-side li
) {
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  .ec-doctor-site :where(
    h1,
    h2,
    h3,
    .top-promo-proof,
    .problem-card p,
    .service-card p,
    .review-timeline p,
    .customer-flow p,
    .faq-list summary,
    .faq-answer p,
    .pricing-list li,
    .contact-side li
  ) {
    word-break: auto-phrase;
  }
}

/* テンプレート側で意味の切れ目を指定するための共通クラス。 */
.ec-doctor-site :where(.phrase, .keep-phrase, .price-token, .term-token) {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.hero-title-primary,
.hero-title-accent { display: block; }
.top-promo-title-accent { white-space: nowrap; }
.hero-title-accent,
.hero-title-accent em,
.hero-title-keep {
  white-space: nowrap;
}
.header-cta { white-space: nowrap; }
.header-cta-label-short { display: none; }

/* 7工程はタブレット横幅以上で4＋3の蛇行ライン、スマホでは縦ラインで示す。 */
@media (min-width: 783px) {
  .customer-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .customer-flow::before { display: none; }
  .customer-flow li {
    min-height: 126px;
    grid-template-columns: 1fr;
    grid-template-rows: 42px minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }
  .customer-flow span { margin: 0 auto; }
  .customer-flow li:nth-child(5) { grid-column: 4; grid-row: 2; }
  .customer-flow li:nth-child(6) { grid-column: 3; grid-row: 2; }
  .customer-flow li:nth-child(7) { grid-column: 2; grid-row: 2; }
  .customer-flow li:nth-child(-n+3)::before,
  .customer-flow li:nth-child(n+5):nth-child(-n+6)::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 19px;
    width: calc(100% + 14px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d2a137, #155eb2);
  }
  .customer-flow li:nth-child(-n+3)::before { left: 50%; }
  .customer-flow li:nth-child(n+5):nth-child(-n+6)::before { right: 50%; left: auto; }
  .customer-flow li:nth-child(4)::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 19px;
    left: calc(50% - 1.5px);
    width: 3px;
    height: calc(100% + 20px);
    border: 0;
    border-radius: 999px;
    background: #155eb2;
  }
  .customer-flow p {
    min-height: 92px;
    padding-inline: 18px;
    font-size: 15px;
    text-align: center;
  }
}

/* 文字を画像に焼き込まない、新しい表紙用のレスポンシブ構造。 */
.top-promo-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 46.9vw, 859px);
  overflow: hidden;
  background: linear-gradient(120deg, #04152f, #0a2756 58%, #ead18d);
}
.top-promo-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3,18,43,.9) 0%, rgba(3,18,43,.72) 42%, rgba(3,18,43,.04) 72%);
}
.top-promo-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
}
.top-promo-picture img,
.top-promo-image--desktop,
.top-promo-image--mobile {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.top-promo-picture .top-promo-image--mobile { display: none; }
.top-promo-stage--baked-copy::after { display: none; }
.top-promo-content.top-promo-content--baked-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}.top-promo-content {
  width: min(1200px, calc(100% - 40px));
  min-height: clamp(500px, 46.9vw, 859px);
  margin-inline: auto;
  padding: clamp(46px, 5vw, 88px) 0;
  display: flex;
  align-items: center;
}
.top-promo-copy { width: min(660px, 55%); }
.top-promo-kicker {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: .06em;
}
.top-promo-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.25vw, 68px);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 850;
  text-shadow: 0 3px 20px rgba(0,0,0,.35);
}
.top-promo-title-line { display: block; }
.top-promo-title-accent { color: #f1d17a; }
.top-promo-proof {
  width: fit-content;
  max-width: 100%;
  margin: 27px 0 0;
  padding: 10px 22px;
  border: 1px solid rgba(239,207,121,.68);
  color: #fff;
  background: linear-gradient(90deg, rgba(120,78,10,.98), rgba(78,45,3,.96));
  font-size: clamp(18px, 2vw, 29px);
  line-height: 1.55;
  font-weight: 850;
}
.top-promo-badges {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.top-promo-badge {
  min-width: 132px;
  min-height: 54px;
  padding: 9px 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239,207,121,.72);
  border-radius: 10px;
  color: #f7e7b3;
  background: rgba(3,24,56,.78);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.05);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 920px) {
  /* 従来画像でも横スクロールを発生させず、新表紙へ安全に移行できる。 */
  .top-promo-scroll { position: relative; overflow: hidden; }
  .top-promo-image { width: 100%; max-width: none; }
  .top-promo-note span { display: none; }
  .top-promo-stage,
  .top-promo-content { min-height: clamp(540px, 76vw, 700px); }
  .top-promo-content { padding-block: 52px; }
  .top-promo-copy { width: min(610px, 72%); }
}

@media (max-width: 767px) {
  .top-promo-picture .top-promo-image--desktop { display: none; }
  .top-promo-picture .top-promo-image--mobile { display: block; }
  .top-promo-stage,
  .top-promo-content { min-height: clamp(570px, 160vw, 690px); }
  .top-promo-stage::after {
    background: linear-gradient(180deg, rgba(3,18,43,.9) 0%, rgba(3,18,43,.74) 58%, rgba(3,18,43,.34) 100%);
  }
  .top-promo-picture img { object-position: 62% center; }
  .top-promo-content {
    width: calc(100% - 32px);
    padding: 38px 0 44px;
    align-items: flex-start;
  }
  .top-promo-copy { width: 100%; }
  .top-promo-kicker { margin-bottom: 11px; font-size: 15px; letter-spacing: .035em; }
  .top-promo-title { font-size: clamp(31px, 9.2vw, 40px); line-height: 1.38; }
  .top-promo-proof { margin-top: 20px; padding: 9px 14px; font-size: 18px; }
  .top-promo-badges { margin-top: 20px; gap: 8px; }
  .top-promo-badge { min-width: 0; min-height: 49px; padding: 8px 11px; flex: 1 1 calc(50% - 4px); font-size: 14px; }
  .hero-title-accent,
  .hero-title-accent em,
  .hero-title-keep { font-size: clamp(30px, 9.4vw, 42px); }
  .section-heading h1,
  .section-heading h2,
  .contact-heading h2 { text-wrap: pretty; }
  .faq-list summary > :nth-child(2) { min-width: 0; }
}

@media (max-width: 380px) {
  .header-cta-label-long { display: none; }
  .header-cta-label-short { display: inline; }
  .top-promo-title { font-size: clamp(30px, 9vw, 35px); }
  .top-promo-badge { font-size: 13px; }
  .section-heading h1,
  .section-heading h2,
  .contact-heading h2 { font-size: 27px; }
  .faq-list summary { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ec-doctor-site, .ec-doctor-site *, .ec-doctor-site *::before, .ec-doctor-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.msh-ec-marquee__viewport { overflow-x: auto; }
	.msh-ec-marquee__track { width: 100%; animation: none !important; transform: none !important; will-change: auto; }
	.msh-ec-marquee__group { width: 100%; min-width: 0; flex-wrap: wrap; justify-content: center; padding-block: 10px; }
	.msh-ec-marquee__group[aria-hidden="true"] { display: none; }
	.msh-ec-marquee__item { padding: 7px 18px; white-space: normal; }
  .header-cta:hover, .primary-button:hover, .submit-button:hover, .light-button:hover,
  .primary-button:hover > span, .submit-button:hover > span, .light-button:hover > span,
  .hero-photo-frame:hover img, .review-photo:hover img,
  .trust-showcase-panel:hover .trust-showcase-media img,
  .trust-showcase-cta:hover, .trust-showcase-cta:hover b { transform: none !important; }
}

/* WordPress移行用の補正。既存CocoonページにはこのCSSを読み込まない。 */
body.ec-doctor-page {
  min-width: 0;
  margin: 0 !important;
  background: var(--paper) !important;
}
.ec-doctor-site {
  min-height: 100vh;
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
.ec-doctor-site :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin-top: 0; }
.ec-doctor-site img { max-width: 100%; }
.admin-bar .ec-doctor-site .site-header { top: 32px; }
.editable-section > :last-child { margin-bottom: 0; }
.editable-section .wp-block-image img { border-radius: 18px; }
.pricing-editable .pricing-detail { height: 100%; }
.contact-editor-content { align-self: stretch; }
.contact-editor-content .contact-side { height: 100%; }
.faq-answer > div > :last-child { margin-bottom: 0; }
.form-status[role="status"], .form-status[role="alert"] { margin-bottom: 22px; }
[hidden] { display: none !important; }

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s cubic-bezier(.22,1,.36,1);
}
.reveal-ready.is-visible { opacity: 1; transform: none; }

.section-page-main { min-height: 60vh; background: var(--off-white); }
.section-page-main > .section { padding-top: 72px; }
.section-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--teal-dark);
  font-weight: 750;
}
.section-page-image {
  margin: 0 0 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 42px rgba(20, 54, 90, .12);
}
.section-page-image img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.section-page-content { font-size: 17px; }
.section-contact-shell { display: block; max-width: 820px; margin: 40px auto 0; }
.section-contact-shell .contact-form { border-radius: 24px; }

.thanks-section {
  min-height: 68vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 91, 176, .10), transparent 26%),
    radial-gradient(circle at 88% 88%, rgba(210, 161, 55, .10), transparent 24%),
    var(--off-white);
}
.thanks-section .container { max-width: 820px; }
.thanks-section .section-heading { margin-inline: auto; margin-bottom: 28px; text-align: center; }
.thanks-section .section-label { justify-content: center; }
.thanks-panel {
	max-width: 680px;
	margin: 0 auto;
	padding: clamp(34px, 6vw, 60px);
	border: 1px solid var(--line);
	border-top: 4px solid var(--gold);
  border-radius: 28px;
  text-align: center;
  background: white;
  box-shadow: 0 24px 60px rgba(20, 54, 90, .10);
}
.thanks-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--navy), #1f67b8);
  box-shadow: 0 13px 28px rgba(20, 54, 90, .22);
  font-size: 38px;
  font-weight: 900;
}
.thanks-panel .section-page-content { color: var(--muted); line-height: 1.9; }
.thanks-panel .section-page-content p { margin-bottom: 0; }
.thanks-panel .section-page-content p + p { margin-top: 6px; }
.thanks-back-button { margin-top: 28px; }

.legal-section-page { background: var(--off-white); }
.legal-section-page .section-page-content {
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 48px rgba(20, 54, 90, .08);
}
.legal-section-page .section-page-content h2 {
  margin: 42px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
}
.legal-section-page .section-page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-section-page .section-page-content li { margin-bottom: 9px; }

@media (max-width: 782px) {
  .admin-bar .ec-doctor-site .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.section-page-main > .thanks-section { padding: 40px 0 32px; }
	.thanks-section .section-heading { text-align: center; }
	.thanks-section .section-label { justify-content: center; }
	.thanks-panel { padding: 32px 20px; border-radius: 20px; }
	.thanks-check { width: 68px; height: 68px; font-size: 34px; }
}

/* 事実ベースの表紙、4項目の提供内容、料金内訳、資格確認の補足。 */
.top-promo-cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  white-space: nowrap;
}
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { min-height: 220px; }
.review-intro { margin-bottom: 30px; }
.quality-assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.quality-assurance-grid article {
  padding: 25px 26px;
  border: 1px solid rgba(223, 197, 126, .28);
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
}
.quality-assurance-grid h3 {
  margin: 0 0 10px;
  color: #f4d884;
  font-size: 18px;
  line-height: 1.55;
}
.quality-assurance-grid p,
.quality-assurance-grid li {
  color: #d5e2e8;
  font-size: 15px;
  line-height: 1.85;
}
.quality-assurance-grid p { margin: 0; }
.quality-assurance-grid ul { margin: 0; padding-left: 1.25em; }
.quality-assurance-grid li + li { margin-top: 5px; }
.pricing-options {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pricing-options article {
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 30px rgba(18, 63, 80, .06);
}
.pricing-options small {
  display: block;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}
.pricing-options strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.45;
}
.pricing-options p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.pricing-tax-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}
.legal-section-page .company-facts {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}
.legal-section-page .company-facts > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.legal-section-page .company-facts dt { color: var(--navy); font-weight: 800; }
.legal-section-page .company-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.legal-section-page .company-facts a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .top-promo-stage,
  .top-promo-content { min-height: clamp(700px, 190vw, 780px); }
  .top-promo-proof { width: 100%; font-size: 16px; line-height: 1.65; }
  .top-promo-cta { width: 100%; margin-top: 22px; white-space: normal; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-card { min-height: 0; }
  .review-photo { height: 260px; }
  .quality-assurance-grid,
  .pricing-options { grid-template-columns: 1fr; }
  .quality-assurance-grid article,
  .pricing-options article { padding: 21px 20px; }
  .pricing-options strong { font-size: 24px; }
  .pricing-tax-note { text-align: left; }
  .legal-section-page .company-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 430px) {
  .header-cta-label-long { display: none; }
  .header-cta-label-short { display: inline; }
}

/* 小さな補足文もスマホで無理なく読める文字サイズとコントラストに統一する。 */
.top-promo-note,
.trust-showcase-note,
.service-note,
.review-timeline p,
.change-warning p,
.display-example > p,
.display-example small,
.pricing-list li,
.renewal-note p,
.pricing-options p,
.pricing-tax-note,
.contact-side li,
.contact-side-note p,
.field label,
.privacy-note,
.form-status,
.error-summary li {
  font-size: 16px;
}
.section-label,
.trust-showcase-label,
.problem-card > span,
.service-number,
.timeline-number,
.customer-flow span,
.pricing-title-row p,
.pricing-title-row > span,
.pricing-amount small,
.pricing-amount em,
.pricing-list h3,
.pricing-list h3 > span,
.pricing-list h3 em,
.renewal-note strong,
.pricing-options small,
.contact-side-label,
.contact-side li span,
.contact-side-note strong,
.field label span,
.field label small,
.footer-brand p,
.footer-nav a,
.important-notes h2,
.important-notes li,
.footer-bottom {
  font-size: 15px;
}
.problem-card > span,
.service-number { color: #425f6b; }
.customer-flow p { font-size: 16px; }

@media (max-width: 767px) {
  .mobile-jump-nav a { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; }
}


/* MSH EC HERO MOBILE RATIO V6 START */
@media (max-width: 767px) {
  .top-promo-stage.top-promo-stage--baked-copy {
    min-height: 0;
    aspect-ratio: 975 / 1614;
  }
}
/* MSH EC HERO MOBILE RATIO V6 END */


/* MSH EC HERO DESKTOP RATIO V7 START */
@media (min-width: 768px) {
  .top-promo-stage.top-promo-stage--baked-copy {
    min-height: 0;
    aspect-ratio: 1831 / 859;
  }
}
/* MSH EC HERO DESKTOP RATIO V7 END */
