@charset "UTF-8";

:root {
    --navy: #1e293b;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --amber: #f59e0b;
    --bg: #f8fafc;
    --text: #334155;
}
html {
    font-size: 18px;
    scroll-padding-top: 110px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.8;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}
.wrap {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    background: var(--amber);
    color: #fff;
    font-weight: bold;
    padding: 18px 48px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(245, 158, 11, .4);
    transition: transform .15s;
}
.btn:hover {
    transform: translateY(-2px);
}
.hero .btn {
    position: relative;
    overflow: hidden;
}
.hero .btn::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -70%;
    width: 45%;
    height: 140%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 28%,
        rgba(255, 255, 255, .85) 50%,
        rgba(255, 255, 255, 0) 72%,
        transparent 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    opacity: 0;
}
.hero .btn:hover::after {
    animation: btn-glint .65s ease;
}
@keyframes btn-glint {
    0% {
        left: -70%;
        opacity: 1;
    }
    100% {
        left: 140%;
        opacity: 0;
    }
}
.btn small {
    display: block;
    font-size: .875rem;
    font-weight: normal;
}
.btn:has(.btn-icon) {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    text-align: left;
}
.btn-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}
.secondary .btn-icon{
    width: 28px;
    height: 28px;
}
.btn-label {
    min-width: 0;
}
.btn.secondary {
    background: #fff;
    color: var(--blue-dark);
    border: 2px solid rgba(255, 255, 255, .65);
    box-shadow: none;
    margin-left: 10px;
}
.btn.secondary:hover {
    background: #eff6ff;
}
.btn.secondary .btn-icon {
    filter: none;
}
.btn.outline {
    background: #fff;
    color: var(--blue-dark);
    border: 2px solid var(--blue);
    box-shadow: none;
}
.btn.outline:hover {
    background: #eff6ff;
}
section {
    padding: 72px 0;
}
h2 {
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 40px;
}
h2 .sub {
    display: block;
    font-size: .875rem;
    color: var(--blue);
    letter-spacing: .2em;
    margin-bottom: 8px;
    font-family: "Exo", sans-serif;
    font-weight: 600;
}
.pc-only { display: inline; }
.sp-only { display: none; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 16px 0 0;
    background: transparent;
    pointer-events: none;
}
.site-header-inner {
    position: relative;
    width: 90%;
    height: 82px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .12);
    pointer-events: auto;
}
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.site-logo img {
    height: 60px;
    width: auto;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px 22px;
    list-style: none;
}
.site-nav a {
    color: var(--blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}
.site-nav ul a:hover,
.site-nav ul a:focus-visible,
.site-nav ul a.is-current {
    color: var(--navy);
}
.site-nav a.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(100deg, #60a5fa 0%, #2563eb 52%, #1d4ed8 100%);
    color: #fff;
    font-weight: bold;
    line-height: 1;
    transition: background .3s;
}
.nav-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible,
.site-nav a.nav-cta.is-current {
    background: linear-gradient(100deg, #3b82f6 0%, #1d4ed8 52%, #1e40af 100%);
    color: #fff;
}
.site-logo:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}
.nav-toggle {
    display: none;
}

/* hero */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    margin-top: -98px;
    padding: calc(80px + 88px) 0 72px;
    text-align: center;
}
.hero h1 {
    font-size: 2.4rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.hero h1 .badge {
    display: table;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 4px 18px;
    margin: 0 auto 24px;
    font-size: .875rem;
    font-weight: normal;
    line-height: 1.8;
}
.hero h1 em {
    font-style: normal;
    color: #fbbf24;
}
.hero p.lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 36px;
}
.hero .mission {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: .08em;
    margin-bottom: 36px;
}
.hero .mission span {
    display: inline-block;
    margin: 0 .5em;
}
html.js .hero .mission span {
    opacity: 0;
    transform: scale(0.86);
}
html.js .hero .mission.is-in:not(.is-instant) span {
    animation: mission-pop 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
html.js .hero .mission.is-in:not(.is-instant) span:nth-child(2) {
    animation-delay: 0.2s;
}
html.js .hero .mission.is-in:not(.is-instant) span:nth-child(3) {
    animation-delay: 0.4s;
}
html.js .hero .mission.is-instant span {
    opacity: 1;
    transform: none;
    animation: none;
}
.hero-caret {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    margin-left: 2px;
    background: #fff;
    vertical-align: -0.08em;
    animation: hero-caret-blink 0.9s step-end infinite;
}
@keyframes hero-caret-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
@keyframes mission-pop {
    from {
        opacity: 0;
        transform: scale(0.86);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
html.js .hero h1 .badge,
html.js .hero p.lead,
html.js .hero .btn {
    opacity: 0;
    transform: translateY(22px);
}
html.js .hero.is-rest:not(.is-instant) h1 .badge,
html.js .hero.is-rest:not(.is-instant) p.lead,
html.js .hero.is-rest:not(.is-instant) .btn {
    animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
html.js .hero.is-rest:not(.is-instant) p.lead {
    animation-delay: 0.14s;
}
html.js .hero.is-rest:not(.is-instant) .btn {
    animation-delay: 0.28s;
}
html.js .hero.is-instant h1 .badge,
html.js .hero.is-instant p.lead,
html.js .hero.is-instant .btn,
html.js .hero.is-rest.is-rest-done h1 .badge,
html.js .hero.is-rest.is-rest-done p.lead,
html.js .hero.is-rest.is-rest-done .btn {
    opacity: 1;
    transform: none;
    animation: none;
}
@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    html.js .hero .mission span,
    html.js .hero h1 .badge,
    html.js .hero p.lead,
    html.js .hero .btn {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero .btn:hover::after {
        animation: none;
    }
    .hero-caret { display: none; }
}
body:has(.error-404) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.hero.error-404 {
    flex: 1;
    display: flex;
    align-items: center;
}
.hero.error-404 .wrap {
    width: 100%;
}

/* manga */
.manga-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}
.filmstrip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.filmstrip::-webkit-scrollbar {
    height: 8px;
}
.filmstrip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.filmstrip figure {
    flex: 0 0 270px;
    scroll-snap-align: start;
    margin: 0;
    cursor: zoom-in;
}
.filmstrip img {
    width: 100%;
    display: block;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    transition: transform .15s;
}
.filmstrip figure:hover img {
    transform: translateY(-4px);
}
.filmstrip figcaption {
    text-align: center;
    font-size: .875rem;
    color: #64748b;
    margin-top: 8px;
}
.manga-hint {
    text-align: center;
    font-size: .875rem;
    color: #94a3b8;
    margin-top: 4px;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}
.lightbox.open {
    display: flex;
}
.lightbox img {
    max-width: min(600px, 90vw);
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.lightbox .navbtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    padding-bottom: 4px;
}
.lightbox .navbtn.prev {
    left: 16px;
}
.lightbox .navbtn.next {
    right: 16px;
}
.lightbox .page {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #cbd5e1;
    font-size: .875rem;
}

/* checklist */
.pain {
    background: var(--bg);
}
.pain ul {
    max-width: 660px;
    margin: 0 auto;
    list-style: none;
}
.pain li {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px 16px 56px;
    margin-bottom: 12px;
    position: relative;
    font-size: 1.05rem;
}
.pain li::before {
    content: "✔";
    position: absolute;
    left: 20px;
    color: var(--blue);
    font-weight: bold;
    font-size: 1.2rem;
}
.pain ul.is-reveal > li,
.flow ol.is-reveal > li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .65s ease, transform .65s ease;
}
.pain ul.is-reveal.is-visible > li,
.flow ol.is-reveal.is-visible > li {
    opacity: 1;
    transform: translateY(0);
}
.pain ul.is-reveal.is-visible > li:nth-child(1),
.flow ol.is-reveal.is-visible > li:nth-child(1) { transition-delay: .05s; }
.pain ul.is-reveal.is-visible > li:nth-child(2),
.flow ol.is-reveal.is-visible > li:nth-child(2) { transition-delay: .18s; }
.pain ul.is-reveal.is-visible > li:nth-child(3),
.flow ol.is-reveal.is-visible > li:nth-child(3) { transition-delay: .31s; }
.pain ul.is-reveal.is-visible > li:nth-child(4),
.flow ol.is-reveal.is-visible > li:nth-child(4) { transition-delay: .44s; }
.pain ul.is-reveal.is-visible > li:nth-child(5),
.flow ol.is-reveal.is-visible > li:nth-child(5) { transition-delay: .57s; }
.pain ul.is-reveal.is-visible > li:nth-child(6),
.flow ol.is-reveal.is-visible > li:nth-child(6) { transition-delay: .7s; }
.features .grid.is-reveal > .feature,
.security ul.is-reveal > li {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
}
.features .grid.is-reveal.is-visible > .feature,
.security ul.is-reveal.is-visible > li {
    animation: reveal-spring 1.05s cubic-bezier(0.22, 0.9, 0.28, 1) both;
}
.features .grid.is-reveal.is-visible > .feature:nth-child(1),
.security ul.is-reveal.is-visible > li:nth-child(1) { animation-delay: .05s; }
.features .grid.is-reveal.is-visible > .feature:nth-child(2),
.security ul.is-reveal.is-visible > li:nth-child(2) { animation-delay: .16s; }
.features .grid.is-reveal.is-visible > .feature:nth-child(3),
.security ul.is-reveal.is-visible > li:nth-child(3) { animation-delay: .27s; }
.features .grid.is-reveal.is-visible > .feature:nth-child(4),
.security ul.is-reveal.is-visible > li:nth-child(4) { animation-delay: .38s; }
.features .grid.is-reveal.is-visible > .feature:nth-child(5),
.security ul.is-reveal.is-visible > li:nth-child(5) { animation-delay: .49s; }
.features .grid.is-reveal.is-visible > .feature:nth-child(6),
.security ul.is-reveal.is-visible > li:nth-child(6) { animation-delay: .6s; }
.price .cards.is-reveal > .card {
    opacity: 0;
    transform: translateY(48px);
}
.price .cards.is-reveal.is-visible > .card {
    animation: card-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.price .cards.is-reveal.is-visible > .card:nth-child(1) { animation-delay: .05s; }
.price .cards.is-reveal.is-visible > .card:nth-child(2) { animation-delay: .55s; }
@keyframes reveal-spring {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.92);
    }
    58% {
        opacity: 1;
        transform: translateY(-12px) scale(1.035);
    }
    78% {
        transform: translateY(4px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(48px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .pain ul.is-reveal > li,
    .pain ul.is-reveal.is-visible > li,
    .flow ol.is-reveal > li,
    .flow ol.is-reveal.is-visible > li,
    .features .grid.is-reveal > .feature,
    .features .grid.is-reveal.is-visible > .feature,
    .security ul.is-reveal > li,
    .security ul.is-reveal.is-visible > li,
    .price .cards.is-reveal > .card,
    .price .cards.is-reveal.is-visible > .card {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}
.pain .conclusion {
    text-align: center;
    margin-top: 32px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--navy);
}
.pain .conclusion em {
    font-style: normal;
    color: var(--blue);
}

/* features */
.features .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    background: #fff;
}
.feature .icon {
    width: 100%;
    margin-bottom: 12px;
}
.feature .icon img {
    display: inline-block;
    width: 100%;
}
.feature h3 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.feature p {
    font-size: .92rem;
}

/* flow */
.flow {
    background: var(--bg);
}
.flow .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.flow h2 {
    flex: 0 0 auto;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}
.flow ol {
    flex: 1;
    min-width: 0;
    max-width: 660px;
    margin: 0;
    list-style: none;
    counter-reset: step;
}
.flow li {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 22px 20px 22px 76px;
    margin-bottom: 12px;
    position: relative;
}
.flow li:nth-child(1) { z-index: 5; }
.flow li:nth-child(2) { z-index: 4; }
.flow li:nth-child(3) { z-index: 3; }
.flow li:nth-child(4) { z-index: 2; }
.flow li:nth-child(5) { z-index: 1; }
.flow-caret {
    position: absolute;
    left: 50%;
    bottom: -6px;
    z-index: 1;
    width: 36px;
    height: 36px;
    transform: translate(-50%, 50%);
    display: block;
    pointer-events: none;
}
.flow li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #e4f1ff;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.flow li:last-child {
    margin-bottom: 0;
}
.flow li b {
    color: var(--navy);
}

/* difference */
.diff .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.diff .table-hint {
    display: none;
}
.diff table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}
.diff th,
.diff td {
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    text-align: center;
}
.diff th {
    background: var(--navy);
    color: #fff;
}
.diff th:nth-child(2) {
    background: var(--amber);
    font-size: 1.2em;
}
.diff td:nth-child(2) {
    background-image:
        linear-gradient(var(--amber), var(--amber)),
        linear-gradient(var(--amber), var(--amber));
    background-repeat: no-repeat;
    background-size: 5px 100%, 5px 100%;
    background-position: left top, right top;
    background-clip: padding-box;
}
.diff tr:last-child td:nth-child(2) {
    background-image:
        linear-gradient(var(--amber), var(--amber)),
        linear-gradient(var(--amber), var(--amber)),
        linear-gradient(var(--amber), var(--amber));
    background-size: 5px 100%, 5px 100%, 100% 5px;
    background-position: left top, right top, center bottom;
}
.diff td:first-child {
    text-align: left;
    font-weight: bold;
    color: var(--navy);
    background: var(--bg);
}
.diff .ok {
    color: var(--blue);
    font-weight: bold;
}
.diff .ng {
    color: #94a3b8;
}

/* security */
.security {
    background: var(--bg);
}
.security ul {
    max-width: 730px;
    margin: 0 auto;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.security li {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px 14px 48px;
    position: relative;
    font-size: .95rem;
}
.security li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: url("../images/icon_security.svg") no-repeat center / contain;
}

/* price */
.price .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    background: #fff;
}
.card.partner {
    border-color: var(--amber);
    position: relative;
    box-shadow: 0 10px 30px rgba(245, 158, 11, .18);
}
.card.partner .ribbon {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: #fff;
    border-radius: 999px;
    padding: 4px 20px;
    font-weight: bold;
    font-size: .875rem;
    white-space: nowrap;
}
.card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}
.card .num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--navy);
}
.card .num small {
    font-size: 1rem;
    font-weight: normal;
}
.card p.note {
    font-size: .875rem;
    color: #64748b;
    margin-top: 10px;
}
.price .recover {
    text-align: center;
    margin-top: 28px;
    font-size: 1.05rem;
}
.price .recover b {
    color: var(--blue);
}

/* cta */
.cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    text-align: center;
}
.cta h2 {
    color: #fff;
}
.cta p {
    margin-bottom: 28px;
    color: #cbd5e1;
}
.cta .steps {
    max-width: 560px;
    margin: 0 auto 32px;
    text-align: left;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 20px 28px;
    font-size: .95rem;
}
.cta .sample-note {
    margin: 18px auto 0;
    color: #cbd5e1;
    font-size: .875rem;
}
.cta>.wrap>a[href^="mailto:"] {
    display: none;
}
.diagnosis-form {
    max-width: 720px;
    margin: 28px auto 0;
    padding: 26px;
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    scroll-margin-top: 24px;
}
.diagnosis-form[hidden] {
    display: none !important;
}
.diagnosis-form .form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px;
    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .12em;
}
.diagnosis-form .form-progress span {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
}
.diagnosis-form .form-progress span.current {
    color: var(--blue);
}
.diagnosis-form .form-progress span + span::before {
    content: "";
    width: 10px;
    height: 2px;
    margin: 0 10px;
    background: #cbd5e1;
    flex: 0 0 auto;
}
.diagnosis-form h3 {
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.3rem;
}
.diagnosis-form .form-intro {
    text-align: center;
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-field.full {
    grid-column: 1 / -1;
}
.form-field label {
    color: var(--navy);
    font-weight: bold;
    font-size: .95rem;
}
.form-field label span {
    color: #dc2626;
    font-size: .875rem;
    margin-left: 4px;
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
    font-size: .95rem;
    color: var(--text);
    background: #fff;
}
p.count-p {
    font-size: 15px;
    text-align: end;
    line-height: 1;
}
.form-field textarea {
    min-height: 100px;
    max-height: 200px;
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 3px solid #bfdbfe;
    border-color: var(--blue);
}
.privacy_check {
    margin-top: 18px;
    text-align: center;
}
.diagnosis-form .privacy_check p {
    margin: 0 0 6px;
    color: var(--text);
}
.privacy_label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--navy);
    font-weight: bold;
    font-size: .95rem;
    line-height: 1.6;
    cursor: pointer;
}
.privacy_label span {
    text-align: left;
}
.privacy_label input {
    flex-shrink: 0;
    width: 1.15em;
    height: 1.15em;
    margin-top: .25em;
    accent-color: var(--blue);
}
.privacy_link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
    font-size: .9rem;
    text-decoration: underline;
}
.privacy_label .privacy_link {
    font-size: inherit;
    font-weight: bold;
}
.privacy_link .newtab {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.form-submit {
    text-align: center;
    margin-top: 20px;
}
.form-submit .btn,
.form-actions .btn {
    border: 2px solid transparent;
    cursor: pointer;
}
.diagnosis-form button.btn,
.diagnosis-form input.wpcf7-submit {
    font-family: inherit;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: none;
}
.diagnosis-form input.wpcf7-submit {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}
.form-actions > p {
    display: contents;
}
.form-actions br,
.confirm-list > br,
.diagnosis-form > br {
    display: none;
}
.form-actions .btn.outline {
    border-color: var(--blue);
}
.form-confirm .wpcf7-spinner {
    display: none;
    margin: 0 0 0 8px;
}
.form-confirm form.submitting .wpcf7-spinner {
    display: inline-block;
    visibility: visible;
}
.form-confirm .wpcf7 form .wpcf7-response-output {
    max-width: 720px;
    margin: 16px auto 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    text-align: left;
}
.cta .diagnosis-form p {
    margin-bottom: 0;
    color: inherit;
}
.cta .diagnosis-form .form-intro {
    margin-bottom: 20px;
    color: #64748b;
}
.cta .diagnosis-form .form-progress {
    margin: 0 0 16px;
}
.cta .diagnosis-form .privacy_check p {
    margin: 0 0 6px;
    color: var(--text);
}
.confirm-list {
    margin: 4px 0 0;
    border-top: 1px solid #e2e8f0;
}
.confirm-list > p {
    display: none;
}
.confirm-list > div {
    display: grid;
    grid-template-columns: minmax(9em, 14em) 1fr;
    gap: 4px 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.confirm-list dt {
    color: var(--navy);
    font-weight: bold;
    font-size: .9rem;
}
.confirm-list dd {
    margin: 0;
    word-break: break-word;
}
.confirm-list dd p,
.confirm-list .wpcf7-form-control-wrap,
.confirm-list .wpcf7-form-control {
    margin: 0;
    white-space: pre-line;
    font: inherit;
    color: inherit;
}
.confirm-list select {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    max-width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    pointer-events: none;
    field-sizing: content;
}
.thanks-mark {
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta .diagnosis-form .form-note {
    color: #64748b;
    font-size: .875rem;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}
.wpcf7-spinner{
    display: none!important;
}
footer {
    background: var(--navy);
    color: #94a3b8;
    text-align: center;
    padding: 28px 0;
    font-size: .875rem;
}
footer b {
    color: #fff;
}