:root {
    --kopt-gold: #C59A3D;
    --kopt-red: #E5342A;
    --kopt-blue: #173C78;
    --kopt-ink: #111111;
    --kopt-text: #232323;
    --kopt-muted: #777777;
    --kopt-soft: #F7F6F2;
    --kopt-line: rgba(17,17,17,.10);
    --kopt-white: #ffffff;
    --kopt-radius: 28px;
    --kopt-shadow: 0 24px 70px rgba(0, 0, 0, .14);
    --kopt-font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, sans-serif;
    --kopt-font-en: "Oswald", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--kopt-white);
    color: var(--kopt-text);
    font-family: var(--kopt-font-jp);
    line-height: 1.8;
    letter-spacing: .02em;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed !important;
    top: 12px; left: 12px;
    z-index: 99999;
    width: auto; height: auto;
    padding: 10px 16px;
    background: var(--kopt-ink);
    color: #fff;
    clip: auto;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}
.container.narrow { width: min(850px, calc(100% - 40px)); }
.section { position: relative; padding: 110px 0; }
.section-dark { color: #fff; background: var(--kopt-ink); }
.soft-dark { background: linear-gradient(135deg, #101010 0%, #1c1c1c 58%, #071225 100%); }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background .28s ease, border-color .28s ease, transform .28s ease;
    border-bottom: 1px solid rgba(17,17,17,.08);
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.site-header.is-scrolled {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--kopt-ink); }
.site-header.is-scrolled .brand { color: var(--kopt-ink); }
.brand-mark {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    background: linear-gradient(135deg, var(--kopt-gold), #765414);
    color: #fff;
    font-family: var(--kopt-font-en);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    transform: skew(-8deg);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong {
    font-family: var(--kopt-font-en);
    font-size: 22px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.brand-text small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.custom-logo-link img { max-height: 52px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-nav .menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-nav a {
    color: var(--kopt-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    position: relative;
    padding: 8px 0;
}
.site-header.is-scrolled .site-nav a { color: var(--kopt-ink); }
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--kopt-gold);
    transition: width .24s ease;
}
.site-nav a:hover::after { width: 100%; }
.header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 18px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kopt-gold), #9f741d);
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    box-shadow: 0 10px 24px rgba(159,116,29,.18);
    white-space: nowrap;
}
.header-contact-btn::after { display: none !important; }
.header-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(159,116,29,.22);
}
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
}
.nav-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    background: var(--kopt-ink);
    margin: 6px 0;
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
}
.site-header.is-scrolled .nav-toggle span:not(.screen-reader-text) { background: var(--kopt-ink); }

.hero {
    position: relative;
    min-height: calc(100svh - 72px);
    margin-top: 72px;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
}
.hero-banner {
    display: block;
    padding: 0;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-media picture,
.hero-media img,
.hero-media video {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-media img,
.hero-media video {
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.hero-action-panel {
    position: absolute;
    right: clamp(20px, 6vw, 96px);
    bottom: clamp(24px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(197,154,61,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.hero-action-panel .btn {
    min-width: 180px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 46px; height: 2px;
    background: currentColor;
}
.eyebrow.dark { color: var(--kopt-gold); }
.hero h1, .section-title h2, .service h2, .goal-copy h2, .profile h2, .final-cta h2 {
    margin: 0;
    color: inherit;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.03em;
}
.hero h1 {
    font-size: clamp(42px, 7vw, 92px);
    text-transform: none;
    text-wrap: balance;
}
.hero h1 span { color: var(--kopt-gold); }
.lead {
    max-width: 720px;
    margin: 26px 0 0;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 700;
}
.hero-note {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.78);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button-row.center { justify-content: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold {
    background: linear-gradient(135deg, var(--kopt-gold), #8a651d);
    color: #fff;
    box-shadow: 0 14px 34px rgba(197,154,61,.28);
}
.btn-ghost {
    border-color: rgba(255,255,255,.44);
    color: #fff;
    background: rgba(255,255,255,.08);
}
.btn-white {
    border-color: rgba(17,17,17,.14);
    color: var(--kopt-ink);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.btn-white:hover { border-color: var(--kopt-gold); color: var(--kopt-gold); }
.btn-outline {
    border-color: rgba(17,17,17,.18);
    color: var(--kopt-ink);
    background: #fff;
}
.btn-outline:hover { border-color: var(--kopt-gold); color: var(--kopt-gold); }
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}
.hero-points li {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 700;
}
.hero-card {
    width: min(100%, 330px);
    justify-self: end;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
    border-radius: var(--kopt-radius);
    box-shadow: var(--kopt-shadow);
}
.card-number {
    display: block;
    font-family: var(--kopt-font-en);
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    color: var(--kopt-gold);
}
.hero-card p { margin: 18px 0 8px; color: rgba(255,255,255,.70); font-family: var(--kopt-font-en); letter-spacing: .16em; }
.hero-card strong { display: block; font-size: 18px; line-height: 1.45; }
.scroll-indicator {
    position: absolute;
    right: 28px;
    bottom: 34px;
    writing-mode: vertical-rl;
    color: rgba(255,255,255,.62);
    font-family: var(--kopt-font-en);
    letter-spacing: .22em;
    font-size: 12px;
}
.scroll-indicator::after {
    content: "";
    display: inline-block;
    width: 1px; height: 70px;
    margin-top: 12px;
    background: linear-gradient(var(--kopt-gold), transparent);
}

.section-title { max-width: 780px; margin-bottom: 48px; }
.section-title h2, .service h2, .goal-copy h2, .profile h2, .final-cta h2 { font-size: clamp(34px, 5vw, 58px); }
.section-title p:not(.eyebrow) { color: var(--kopt-muted); margin: 18px 0 0; font-size: 16px; }
.section-problem {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
    background-size: auto;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.problem-card {
    min-height: 160px;
    padding: 24px;
    border: 1px solid var(--kopt-line);
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 50px rgba(0,0,0,.04);
    position: relative;
    overflow: hidden;
}
.problem-card::after {
    content: "";
    position: absolute;
    right: -24px; top: -24px;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(197,154,61,.12);
}
.problem-card span {
    display: inline-block;
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-size: 28px;
    font-weight: 700;
}
.problem-card p { margin: 16px 0 0; font-weight: 700; }
.section-message {
    margin-top: 36px;
    padding: 28px 34px;
    border-left: 5px solid var(--kopt-gold);
    background: var(--kopt-ink);
    color: #fff;
    border-radius: 0 24px 24px 0;
}
.section-message p { margin: 0; font-size: 18px; font-weight: 700; }

.service { overflow: hidden; background: var(--kopt-soft); }
.side-label {
    position: absolute;
    left: 18px;
    top: 110px;
    writing-mode: vertical-rl;
    color: rgba(17,17,17,.10);
    font-family: var(--kopt-font-en);
    font-size: clamp(48px, 8vw, 110px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
.side-label.right { left: auto; right: 18px; }
.service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 44px;
    align-items: center;
}
.service-copy p:not(.eyebrow) { color: #535353; }
.bold-line {
    color: var(--kopt-ink) !important;
    font-size: 20px;
    font-weight: 900;
}
.service-panel {
    padding: 34px;
    border-radius: var(--kopt-radius);
    background: #fff;
    box-shadow: var(--kopt-shadow);
    border: 1px solid rgba(17,17,17,.08);
    position: relative;
}
.service-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(197,154,61,.25);
    border-radius: 22px;
    pointer-events: none;
}
.service-panel h3 {
    margin: 0 0 24px;
    font-family: var(--kopt-font-en);
    font-size: 40px;
    letter-spacing: .04em;
    color: var(--kopt-ink);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span {
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f6f6;
    border: 1px solid rgba(17,17,17,.08);
    color: #333;
    font-size: 13px;
    font-weight: 800;
}
.tag-cloud span:nth-child(3n+1) { background: rgba(197,154,61,.12); }
.tag-cloud span:nth-child(3n+2) { background: rgba(229,52,42,.08); }
.tag-cloud span:nth-child(3n+3) { background: rgba(23,60,120,.08); }

.goal-section { overflow: hidden; }
.goal-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.goal-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--kopt-shadow);
    transform: rotate(-2deg);
}
.goal-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 32px;
}
.goal-image img { width: 100%; height: 650px; object-fit: cover; }
.goal-copy h2 span { color: var(--kopt-gold); }
.goal-copy p { color: rgba(255,255,255,.76); }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; display: grid; gap: 14px; }
.check-list li {
    position: relative;
    padding-left: 32px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .55em;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--kopt-gold);
    box-shadow: 0 0 0 6px rgba(197,154,61,.16);
}

.reasons { background: #fff; }
.reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.reason-card {
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--kopt-line);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--kopt-shadow);
    border-color: rgba(197,154,61,.4);
}
.reason-num {
    display: inline-flex;
    width: 54px; height: 54px;
    align-items: center; justify-content: center;
    border-radius: 16px;
    background: var(--kopt-ink);
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-size: 26px;
    font-weight: 700;
}
.reason-card h3 { margin: 22px 0 12px; font-size: 19px; line-height: 1.45; }
.reason-card p { margin: 0; color: #626262; font-size: 14px; }

.profile { background: var(--kopt-soft); overflow: hidden; }
.profile-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}
.profile-image {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--kopt-shadow);
}
.profile-image img { width: 100%; height: 720px; object-fit: cover; object-position: center top; }
.profile-badge {
    position: absolute;
    left: 24px; right: 24px; bottom: 24px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(0,0,0,.72);
    color: #fff;
    backdrop-filter: blur(14px);
    font-family: var(--kopt-font-en);
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}
.profile-copy h2 {
    color: var(--kopt-ink);
    margin-bottom: 18px;
}
.profile-copy p { color: #565656; }
.profile-lead {
    font-size: 18px;
    font-weight: 800;
    color: var(--kopt-ink) !important;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}
.profile-stats div {
    padding: 18px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.08);
    text-align: center;
}
.profile-stats strong {
    display: block;
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-size: 30px;
    line-height: 1;
}
.profile-stats span { display: block; margin-top: 8px; color: #777; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.intro-video {
    margin-top: 60px;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--kopt-shadow);
}
.intro-video video { width: 100%; max-height: 620px; object-fit: cover; }

.gallery-strip {
    padding: 0;
    overflow: hidden;
    background: var(--kopt-ink);
}
.gallery-track {
    display: grid;
    grid-template-columns: 1.2fr .8fr .9fr 1.1fr;
    gap: 0;
}
.gallery-track figure { margin: 0; min-height: 360px; position: relative; overflow: hidden; }
.gallery-track figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.38), transparent 55%);
}
.gallery-track img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .5s ease; }
.gallery-track figure:hover img { transform: scale(1.06); }

.plans { background: #fff; }
.plan-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 20px;
    align-items: stretch;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(17,17,17,.10);
    background: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.05);
}
.plan-card.featured {
    background: var(--kopt-ink);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--kopt-shadow);
}
.plan-card.featured::before {
    content: "RECOMMENDED";
    position: absolute;
    top: 22px; right: 22px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--kopt-gold);
    color: #fff;
    font-family: var(--kopt-font-en);
    font-size: 12px;
    letter-spacing: .12em;
}
.plan-label {
    display: block;
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.plan-card h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.35; }
.price { margin: 0 0 16px; color: inherit; font-weight: 700; }
.price strong {
    font-family: var(--kopt-font-en);
    font-size: 52px;
    letter-spacing: -.02em;
}
.member-price { margin: -8px 0 16px; color: var(--kopt-gold); font-weight: 800; }
.plan-card p:not(.price):not(.member-price) { color: #646464; }
.plan-card.featured p:not(.price):not(.member-price) { color: rgba(255,255,255,.75); }
.plan-card ul { padding: 0; margin: 20px 0 28px; list-style: none; display: grid; gap: 10px; }
.plan-card li { position: relative; padding-left: 25px; font-size: 14px; font-weight: 700; }
.plan-card li::before {
    content: "";
    position: absolute;
    left: 0; top: .62em;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--kopt-gold);
}
.plan-card .btn { margin-top: auto; }
.plan-card small { display: block; margin-top: 14px; color: rgba(255,255,255,.58); }

.flow {
    background:
        radial-gradient(circle at 20% 20%, rgba(197,154,61,.11), transparent 24%),
        var(--kopt-soft);
}
.flow-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.flow-item {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.04);
}
.flow-item span {
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-weight: 700;
    letter-spacing: .12em;
}
.flow-item h3 { margin: 10px 0 12px; font-size: 20px; }
.flow-item p { margin: 0; color: #666; font-size: 14px; }

.faq { background: #fff; }
.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 52px;
    align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.faq-intro p { color: #666; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    color: var(--kopt-ink);
    text-align: left;
    cursor: pointer;
    font-weight: 900;
}
.faq-question i {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(17,17,17,.18);
    position: relative;
    flex: 0 0 auto;
}
.faq-question i::before,
.faq-question i::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10px; height: 2px;
    background: var(--kopt-gold);
    transform: translate(-50%, -50%);
}
.faq-question i::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }
.faq-question[aria-expanded="true"] i::after { opacity: 0; }
.faq-answer { padding: 0 22px 22px; color: #666; }
.faq-answer p { margin: 0; }

.notes { background: var(--kopt-soft); }
.notes-box {
    padding: 42px;
    border-radius: 32px;
    border: 1px solid rgba(17,17,17,.08);
    background: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.04);
}
.notes-box h2 { margin: 0 0 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
.notes-box ul { margin: 0; padding-left: 1.2em; color: #5e5e5e; }
.notes-box li + li { margin-top: 8px; }

.final-cta {
    position: relative;
    padding: 130px 0;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
}
.final-bg { position: absolute; inset: 0; z-index: -2; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 30%, rgba(197,154,61,.28), transparent 32%),
        rgba(0,0,0,.76);
}
.final-content { max-width: 860px; }
.final-cta .eyebrow { justify-content: center; }
.final-cta .eyebrow::before { display: none; }
.final-cta p:not(.eyebrow) { color: rgba(255,255,255,.80); font-size: 17px; }

.site-footer { background: #151515; color: #fff; }
.footer-cta-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 20px;
    background: var(--kopt-gold);
    color: #fff;
    font-weight: 900;
}
.footer-cta-mini a {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--kopt-ink);
}
.footer-inner {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.footer-inner p { color: rgba(255,255,255,.62); margin: 14px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-content: start; }
.footer-links a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.80); font-size: 13px; }
.footer-bottom {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
    padding: 20px 0 34px;
    color: rgba(255,255,255,.44);
    border-top: 1px solid rgba(255,255,255,.10);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .72s ease, transform .72s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .14s; }
.reveal-delay-2 { transition-delay: .24s; }

@media (max-width: 1040px) {
    .hero-grid, .service-grid, .goal-grid, .profile-grid, .faq-grid { grid-template-columns: 1fr; }
    .hero-card { justify-self: start; }
    .reason-grid, .plan-grid, .flow-list { grid-template-columns: repeat(2, 1fr); }
    .plan-card.featured { grid-column: 1 / -1; }
    .goal-image img, .profile-image img { height: 560px; }
    .faq-intro { position: static; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(17,17,17,.96);
        box-shadow: var(--kopt-shadow);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .site-header.is-scrolled .site-nav a, .site-nav a { color: #fff; }
    .site-nav { display: block; }
    .site-nav .menu { display: grid; gap: 8px; }
    .site-nav a { display: block; padding: 12px; }
    .site-nav .header-contact-btn { margin-top: 10px; width: 100%; color: #fff !important; }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero { min-height: calc(100svh - 66px); margin-top: 66px; padding-top: 0; }
    .hero-action-panel { left: 50%; right: auto; transform: translateX(-50%); bottom: 26px; width: min(92%, 520px); justify-content: center; border-radius: 28px; }
    .hero-action-panel .btn { min-width: 0; flex: 1 1 180px; }
    .problem-grid, .reason-grid, .plan-grid, .flow-list { grid-template-columns: 1fr; }
    .gallery-track { grid-template-columns: repeat(2, 1fr); }
    .side-label { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1120px); }
    .section { padding: 82px 0; }
    .header-inner { min-height: 66px; width: calc(100% - 24px); }
    .site-nav { top: 66px; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 18px; }
    .brand-mark { width: 38px; height: 38px; }
    .hero { padding: 0; min-height: calc(100svh - 66px); }
    .hero-action-panel { bottom: 18px; padding: 12px; gap: 10px; }
    .hero-action-panel .btn { width: 100%; min-height: 48px; }
    .hero h1 { font-size: clamp(38px, 12vw, 56px); }
    .lead { font-size: 16px; }
    .hero-note { font-size: 14px; }
    .btn { width: 100%; }
    .hero-points { display: grid; }
    .hero-card { display: none; }
    .scroll-indicator { display: none; }
    .section-title { margin-bottom: 34px; }
    .problem-card { min-height: auto; }
    .section-message { padding: 22px; }
    .service-panel, .plan-card, .notes-box { padding: 24px; }
    .goal-image img, .profile-image img { height: 460px; }
    .profile-stats { grid-template-columns: 1fr; }
    .gallery-track { display: block; }
    .gallery-track figure, .gallery-track img { min-height: 300px; height: 300px; }
    .price strong { font-size: 44px; }
    .footer-cta-mini { flex-direction: column; text-align: center; }
}


/* v1.3 adjustments: full hero image below fixed header + CTA below image */
.hero.hero-banner {
    min-height: 0;
    margin-top: 72px;
    overflow: visible;
    background: #fff;
}
.hero-banner .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    background: #fff;
}
.hero-banner .hero-media picture,
.hero-banner .hero-media img,
.hero-banner .hero-media video {
    width: 100%;
    height: auto;
}
.hero-banner .hero-media img,
.hero-banner .hero-media video {
    object-fit: contain;
    object-position: center top;
}
.hero-cta-below {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 18px 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(197,154,61,.26);
    box-shadow: 0 22px 60px rgba(0,0,0,.13);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.hero-cta-copy {
    display: grid;
    gap: 4px;
    color: var(--kopt-ink);
}
.hero-cta-copy strong {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.45;
    font-weight: 900;
}
.hero-cta-copy span {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}
.hero-cta-below .btn {
    min-width: 220px;
    flex: 0 0 auto;
}

/* v1.5 problem section: static full-heading gradient without shine/glow */
.section-problem {
    background:
        radial-gradient(circle at 76% 16%, rgba(197,154,61,.12), transparent 26%),
        radial-gradient(circle at 16% 82%, rgba(17,17,17,.025), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
    background-size: auto;
}
.problem-title {
    position: relative;
}
.problem-title::after {
    content: "MINDSET / BODY CONTROL / SPEED";
    position: absolute;
    right: 0;
    top: -28px;
    z-index: -1;
    color: rgba(17,17,17,.035);
    font-family: var(--kopt-font-en);
    font-size: clamp(46px, 9vw, 118px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .05em;
    white-space: nowrap;
    pointer-events: none;
}
.problem-heading {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: .05em .02em .16em;
}
.problem-heading span {
    display: inline-block;
    background: linear-gradient(105deg, var(--kopt-ink) 0%, #2a2419 34%, var(--kopt-gold) 72%, #8d681c 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: none;
    text-shadow: none;
    filter: none;
}
.problem-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kopt-gold), rgba(197,154,61,.12));
    transform-origin: left center;
    animation: kopt-line-sweep 1.15s cubic-bezier(.22,1,.36,1) both;
}
.problem-card {
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197,154,61,.14), transparent 36%, rgba(23,60,120,.06));
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(0,0,0,.10);
    border-color: rgba(197,154,61,.42);
}
.problem-card:hover::before { opacity: 1; }
.problem-card span,
.problem-card p { position: relative; z-index: 1; }
@keyframes kopt-line-sweep {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 860px) {
    .hero.hero-banner { margin-top: 66px; min-height: 0; }
    .hero-cta-below {
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: min(92%, 520px);
        margin-top: 18px;
        padding: 16px;
        border-radius: 24px;
        flex-direction: column;
        text-align: center;
    }
    .hero-cta-below .btn { width: 100%; min-width: 0; }
}
@media (max-width: 640px) {
    .hero.hero-banner { min-height: 0; }
    .hero-cta-below { margin-top: 16px; }
    .problem-title::after { display: none; }
    .problem-heading::after { height: 6px; }
}


/* v1.6 refinements: black problem heading + unified support menu colors */
.problem-heading span {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: var(--kopt-ink) !important;
}

.service-panel {
    background:
        radial-gradient(circle at 92% 8%, rgba(197,154,61,.12), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #fbf8f0 100%);
    border: 1px solid rgba(197,154,61,.28);
}
.service-panel::before {
    inset: 14px;
    border-color: rgba(197,154,61,.24);
}
.service-panel h3 {
    color: var(--kopt-ink);
}
.tag-cloud {
    gap: 12px;
}
.tag-cloud span,
.tag-cloud span:nth-child(3n+1),
.tag-cloud span:nth-child(3n+2),
.tag-cloud span:nth-child(3n+3) {
    position: relative;
    padding: 11px 15px 11px 30px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(197,154,61,.32);
    color: var(--kopt-ink);
    box-shadow: 0 10px 24px rgba(17,17,17,.05);
}
.tag-cloud span::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--kopt-gold);
    transform: translateY(-50%);
}
.tag-cloud span:hover {
    border-color: rgba(197,154,61,.58);
    transform: translateY(-2px);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 16px 34px rgba(17,17,17,.08);
}

/* v1.8 header logo update */
.brand {
    min-width: 0;
    flex-shrink: 0;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    max-width: min(360px, 34vw);
}
.brand-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}
.custom-logo-link img {
    max-height: 56px;
    width: auto;
    max-width: min(360px, 34vw);
    object-fit: contain;
}
@media (max-width: 920px) {
    .brand-logo { max-width: 260px; }
    .brand-logo-image,
    .custom-logo-link img { max-height: 50px; }
}
@media (max-width: 640px) {
    .brand-logo { max-width: 215px; }
    .brand-logo-image,
    .custom-logo-link img { max-height: 44px; }
}

/* v1.9 adjustments: admin toolbar spacing, transparent logo, plans anchor, YouTube play-video section, unified footer logo */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .site-nav { top: 104px; }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
    body.admin-bar .site-nav { top: 112px; }
}

.brand-logo-image,
.custom-logo-link img {
    background: transparent !important;
}

.play-video-section {
    background:
        radial-gradient(circle at 88% 18%, rgba(197,154,61,.14), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
    overflow: hidden;
}
.play-video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
    gap: 22px;
    align-items: stretch;
}
.play-video-frame {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    overflow: hidden;
    background: #080808;
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    border: 1px solid rgba(197,154,61,.26);
}
.play-video-frame iframe,
.play-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    background: #000;
}
.video-placeholder {
    position: absolute;
    inset: 0;
    isolation: isolate;
}
.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.24)),
        radial-gradient(circle at 72% 36%, rgba(197,154,61,.32), transparent 28%);
}
.video-placeholder-content {
    position: absolute;
    left: clamp(22px, 5vw, 56px);
    bottom: clamp(22px, 5vw, 56px);
    z-index: 2;
    max-width: 520px;
    color: #fff;
}
.play-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kopt-gold), #8a651d);
    box-shadow: 0 16px 40px rgba(197,154,61,.34);
}
.play-icon::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #fff;
}
.video-placeholder-content strong {
    display: block;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.03em;
}
.video-placeholder-content p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.78);
    font-weight: 700;
}
.play-photo-stack {
    display: grid;
    gap: 14px;
}
.play-photo-stack figure {
    position: relative;
    min-height: 158px;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(0,0,0,.10);
    border: 1px solid rgba(255,255,255,.60);
}
.play-photo-stack figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.22), transparent 55%);
}
.play-photo-stack img {
    width: 100%;
    height: 100%;
    min-height: 158px;
    object-fit: cover;
    transition: transform .45s ease;
}
.play-photo-stack figure:hover img { transform: scale(1.06); }

.footer-brand-logo {
    display: inline-flex;
    max-width: min(420px, 100%);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.footer-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

@media (max-width: 1040px) {
    .play-video-layout { grid-template-columns: 1fr; }
    .play-photo-stack { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    body.admin-bar .site-nav { top: 118px; }
    .play-video-frame,
    .play-video-frame iframe,
    .play-video-frame video { min-height: 420px; }
}
@media (max-width: 640px) {
    body.admin-bar .site-nav { top: 112px; }
    .play-video-frame,
    .play-video-frame iframe,
    .play-video-frame video { min-height: 320px; }
    .play-photo-stack { grid-template-columns: 1fr; }
    .play-photo-stack figure,
    .play-photo-stack img { min-height: 210px; }
    .footer-brand-logo { padding: 0; }
    .footer-logo-image { max-height: 52px; }
}

/* v1.10 logo cleanup: use transparent logo without white backing */
.footer-brand-logo,
.footer-brand-logo:hover,
.footer-brand-logo:focus {
    background: transparent !important;
    box-shadow: none !important;
}
.footer-brand-logo img,
.brand-logo-image {
    background: transparent !important;
}


/* v1.11 logo refresh: K mark + KYONOSUKE wordmark, transparent background */
.brand-logo { max-width: min(430px, 36vw); }
.brand-logo-image,
.custom-logo-link img {
    max-height: 62px;
    background: transparent !important;
    mix-blend-mode: normal;
}
.footer-brand-logo { max-width: min(460px, 100%); }
.footer-logo-image {
    max-height: 68px;
    background: transparent !important;
}
@media (max-width: 920px) {
    .brand-logo { max-width: 300px; }
    .brand-logo-image, .custom-logo-link img { max-height: 54px; }
}
@media (max-width: 640px) {
    .brand-logo { max-width: 238px; }
    .brand-logo-image, .custom-logo-link img { max-height: 46px; }
    .footer-logo-image { max-height: 56px; }
}

/* v1.13 legal footer links and static page templates */
.footer-links-divider {
    flex-basis: 100%;
    height: 1px;
    max-width: 360px;
    margin: 4px 0 2px auto;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18));
}
.footer-links a.footer-legal-link {
    border-color: rgba(197,154,61,.30);
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.03);
    font-size: 12px;
}
.footer-links a.footer-legal-link:hover {
    border-color: rgba(197,154,61,.72);
    color: #fff;
    background: rgba(197,154,61,.12);
}

.legal-page {
    padding: 140px 0 96px;
    background:
        radial-gradient(circle at 88% 0%, rgba(197,154,61,.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
    color: var(--kopt-text);
}
.legal-container {
    width: min(940px, calc(100% - 40px));
}
.legal-article {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(0,0,0,.08);
    padding: clamp(28px, 5vw, 64px);
}
.legal-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.legal-content .legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--kopt-gold);
    font-family: var(--kopt-font-en);
    font-weight: 700;
    letter-spacing: .18em;
    font-size: 13px;
    text-transform: uppercase;
}
.legal-content .legal-kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--kopt-gold);
}
.legal-content h1 {
    margin: 0 0 28px;
    color: var(--kopt-ink);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.16;
    letter-spacing: -.04em;
    font-weight: 900;
}
.legal-content h2 {
    margin: 48px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--kopt-gold);
    color: var(--kopt-ink);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.45;
    font-weight: 900;
}
.legal-content h3 {
    margin: 28px 0 10px;
    color: var(--kopt-ink);
    font-size: 18px;
    font-weight: 900;
}
.legal-content p {
    margin: 0 0 18px;
}
.legal-content ul {
    margin: 12px 0 26px;
    padding: 0;
    list-style: none;
}
.legal-content li {
    position: relative;
    padding-left: 1.5em;
    margin: 8px 0;
}
.legal-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .82em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--kopt-gold);
}
.legal-content a {
    color: var(--kopt-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-definition-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 18px;
    margin: 18px 0 28px;
    background: #fff;
}
.legal-definition-list dt,
.legal-definition-list dd {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(17,17,17,.08);
}
.legal-definition-list dt {
    background: #f7f3ea;
    color: var(--kopt-ink);
    font-weight: 900;
}
.legal-definition-list dd {
    overflow-wrap: anywhere;
}
.legal-definition-list dt:last-of-type,
.legal-definition-list dd:last-of-type {
    border-bottom: 0;
}
.legal-footer-note {
    margin-top: 52px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #151515;
    color: rgba(255,255,255,.86);
    font-weight: 700;
}
.legal-footer-note p {
    margin: 0;
}

@media (max-width: 720px) {
    .legal-page { padding: 112px 0 72px; }
    .legal-definition-list { grid-template-columns: 1fr; }
    .legal-definition-list dt { border-bottom: 0; padding-bottom: 6px; }
    .legal-definition-list dd { padding-top: 8px; }
    .footer-links-divider { margin-left: 0; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }
}


/* v1.15 readable legal pages: card layout for privacy / tokutei / company / terms */
.legal-page-designed {
    position: relative;
    isolation: isolate;
    padding: 124px 0 96px;
    background:
        radial-gradient(circle at 12% 0%, rgba(197,154,61,.12), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(17,17,17,.05), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf7 48%, #f4f1ea 100%);
    overflow: hidden;
}
.legal-page-designed::before {
    content: "KYONOSUKE";
    position: fixed;
    inset: 110px auto auto 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-family: var(--kopt-font-en);
    font-size: clamp(74px, 15vw, 210px);
    line-height: 1;
    letter-spacing: .12em;
    font-weight: 700;
    color: rgba(17,17,17,.028);
    white-space: nowrap;
    pointer-events: none;
}
.legal-page-designed::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(197,154,61,.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(197,154,61,.035) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
    opacity: .55;
    pointer-events: none;
}
.legal-page-designed .legal-container {
    width: min(860px, calc(100% - 40px));
}
.legal-article-designed {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: rgba(17,17,17,.62);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.legal-back-link::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--kopt-gold);
}
.legal-back-link:hover {
    color: var(--kopt-gold);
}
.legal-hero-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: 32px;
    border: 1px solid rgba(197,154,61,.34);
    background:
        linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%),
        radial-gradient(circle at 94% 8%, rgba(197,154,61,.26), transparent 30%),
        linear-gradient(135deg, #111111 0%, #181818 58%, #2a210f 100%);
    box-shadow: 0 30px 90px rgba(0,0,0,.18);
    color: rgba(255,255,255,.84);
}
.legal-hero-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(197,154,61,.28);
    background: radial-gradient(circle, rgba(197,154,61,.18), transparent 60%);
    pointer-events: none;
}
.legal-hero-card .legal-kicker {
    color: var(--kopt-gold);
    margin-bottom: 12px;
}
.legal-hero-card .legal-kicker::before {
    background: var(--kopt-gold);
}
.legal-hero-card h1 {
    color: #fff;
    margin-bottom: 18px;
    text-shadow: none;
}
.legal-hero-card p {
    max-width: 680px;
    color: rgba(255,255,255,.80);
    font-weight: 500;
}
.legal-section-stack {
    counter-reset: legal-card;
    display: grid;
    gap: 20px;
}
.legal-card {
    counter-increment: legal-card;
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 24px;
    border: 1px solid rgba(17,17,17,.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
        radial-gradient(circle at 100% 0%, rgba(197,154,61,.16), transparent 30%);
    box-shadow: 0 18px 52px rgba(0,0,0,.07);
}
.legal-card::before {
    content: counter(legal-card, decimal-leading-zero);
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--kopt-font-en);
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
    color: rgba(197,154,61,.14);
    letter-spacing: .02em;
}
.legal-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--kopt-gold), rgba(197,154,61,0));
    opacity: .75;
}
.legal-card h2 {
    margin: 0 72px 18px 0;
    padding: 0 0 0 18px;
    border-left: 4px solid var(--kopt-gold);
    color: var(--kopt-ink);
    font-size: clamp(20px, 2.7vw, 28px);
    line-height: 1.45;
    letter-spacing: -.03em;
    font-weight: 900;
}
.legal-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 24px 0 10px;
    color: var(--kopt-ink);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 900;
}
.legal-card h3::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--kopt-gold);
    box-shadow: 0 0 0 5px rgba(197,154,61,.12);
}
.legal-card p {
    margin: 0 0 14px;
    color: rgba(35,35,35,.84);
    line-height: 2;
}
.legal-card ul {
    display: grid;
    gap: 10px;
    margin: 14px 0 20px;
    padding: 0;
    list-style: none;
}
.legal-card li {
    position: relative;
    margin: 0;
    padding: 12px 14px 12px 40px;
    border-radius: 14px;
    background: #f8f6ef;
    border: 1px solid rgba(197,154,61,.14);
    color: rgba(35,35,35,.88);
    font-weight: 700;
}
.legal-card li::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 1.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kopt-gold);
}
.legal-card a,
.legal-hero-card a {
    color: #9f741d;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.legal-definition-list {
    display: grid;
    grid-template-columns: minmax(150px, 210px) 1fr;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 20px;
    margin: 16px 0 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.legal-definition-list dt,
.legal-definition-list dd {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(17,17,17,.08);
}
.legal-definition-list dt {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #111111, #27210f);
    color: var(--kopt-gold);
    font-weight: 900;
    letter-spacing: .02em;
}
.legal-definition-list dd {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
    color: rgba(35,35,35,.88);
    background: #fff;
}
.legal-definition-list dt:last-of-type,
.legal-definition-list dd:last-of-type {
    border-bottom: 0;
}
.legal-footer-note {
    margin: 30px 0 0;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid rgba(197,154,61,.24);
    background:
        linear-gradient(135deg, #111111, #171717 68%, #30240d);
    color: rgba(255,255,255,.86);
    font-weight: 900;
    box-shadow: 0 18px 52px rgba(0,0,0,.12);
}
.legal-footer-note p {
    margin: 0;
    color: rgba(255,255,255,.86);
}
.standard-page {
    padding: 130px 0 90px;
    background: linear-gradient(180deg, #fff 0%, #f7f6f2 100%);
}
.standard-page-article {
    padding: clamp(28px, 5vw, 54px);
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.08);
    box-shadow: 0 24px 70px rgba(0,0,0,.08);
}
.standard-page-article h1 {
    margin: 0 0 22px;
    color: var(--kopt-ink);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
}
.standard-page-content { line-height: 2; }
@media (max-width: 720px) {
    .legal-page-designed { padding: 106px 0 72px; }
    .legal-page-designed .legal-container { width: min(100% - 28px, 860px); }
    .legal-hero-card { border-radius: 24px; padding: 26px 22px; }
    .legal-card { border-radius: 20px; padding: 22px 18px; }
    .legal-card::before { top: 20px; right: 18px; font-size: 34px; }
    .legal-card h2 { margin-right: 54px; font-size: 21px; }
    .legal-definition-list { grid-template-columns: 1fr; }
    .legal-definition-list dt { border-bottom: 0; padding-bottom: 8px; }
    .legal-definition-list dd { padding-top: 10px; }
    .legal-card li { padding-left: 36px; font-size: 14px; }
}

/* v1.16 legal pages only: calmer card design, no TOC box, no heavy black headings */
.legal-page-designed .ez-toc-container,
.legal-page-designed #ez-toc-container,
.legal-page-designed .toc,
.legal-page-designed .toc_container,
.legal-page-designed #toc_container,
.legal-page-designed .table-of-contents,
.legal-page-designed .lwptoc,
.legal-page-designed .rank-math-block,
.legal-page-designed .wp-block-rank-math-toc-block,
.legal-page-designed .aioseo-table-of-contents,
.legal-page-designed nav[aria-label="Table of contents"],
.legal-page-designed nav[aria-label="目次"] {
    display: none !important;
}

.legal-page-designed {
    background:
        radial-gradient(circle at 9% 2%, rgba(197,154,61,.10), transparent 28%),
        radial-gradient(circle at 92% 16%, rgba(197,154,61,.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf6 50%, #f5f1e7 100%) !important;
}
.legal-page-designed::after {
    display: none !important;
}

.legal-hero-card {
    color: #4a4336 !important;
    border: 1px solid rgba(197,154,61,.26) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(252,248,238,.92)),
        radial-gradient(circle at 92% 8%, rgba(197,154,61,.16), transparent 32%) !important;
    box-shadow: 0 18px 54px rgba(111,83,25,.10) !important;
}
.legal-hero-card::after {
    border-color: rgba(197,154,61,.18) !important;
    background: radial-gradient(circle, rgba(197,154,61,.10), transparent 62%) !important;
}
.legal-hero-card .legal-kicker {
    color: #b5872b !important;
}
.legal-hero-card h1 {
    color: #151515 !important;
}
.legal-hero-card p {
    color: rgba(48,45,38,.78) !important;
}

.legal-card {
    border: 1px solid rgba(197,154,61,.18) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,253,248,.96)),
        radial-gradient(circle at 100% 0%, rgba(197,154,61,.11), transparent 30%) !important;
    box-shadow: 0 14px 42px rgba(111,83,25,.08) !important;
}
.legal-card::before {
    color: rgba(197,154,61,.12) !important;
}
.legal-card h2 {
    color: #8f681d !important;
    border-left-color: #c59a3d !important;
    background: linear-gradient(90deg, rgba(197,154,61,.12), rgba(197,154,61,0)) !important;
    border-radius: 14px !important;
    padding: 10px 16px 10px 18px !important;
    margin-top: 0 !important;
}
.legal-card h3 {
    color: #7c6028 !important;
}
.legal-card p {
    color: rgba(44,42,37,.82) !important;
}
.legal-card li {
    background: #fbf8ef !important;
    border-color: rgba(197,154,61,.15) !important;
    color: rgba(46,43,36,.86) !important;
}

.legal-definition-list {
    border-color: rgba(197,154,61,.20) !important;
    background: #fffdf8 !important;
}
.legal-definition-list dt {
    background: linear-gradient(135deg, #f7f1df, #fff8e8) !important;
    color: #8f681d !important;
    border-bottom-color: rgba(197,154,61,.16) !important;
}
.legal-definition-list dd {
    background: #fffdf8 !important;
    color: rgba(44,42,37,.82) !important;
    border-bottom-color: rgba(197,154,61,.12) !important;
}
.legal-footer-note {
    border-color: rgba(197,154,61,.22) !important;
    background: linear-gradient(135deg, #fbf8ef, #fffdf8) !important;
    color: #6f5320 !important;
    box-shadow: 0 14px 40px rgba(111,83,25,.07) !important;
}
.legal-footer-note p {
    color: #6f5320 !important;
}

@media (max-width: 720px) {
    .legal-card h2 {
        margin-right: 48px !important;
        padding: 9px 12px 9px 14px !important;
    }
}


/* v1.18 Contact page */
.contact-page {
    position: relative;
    padding: 124px 0 92px;
    background:
        radial-gradient(circle at 8% 0%, rgba(197,154,61,.10), transparent 30%),
        radial-gradient(circle at 92% 20%, rgba(197,154,61,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf6 54%, #f4efe3 100%);
    overflow: hidden;
}
.contact-page::before {
    content: "CONTACT";
    position: absolute;
    top: 118px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--kopt-font-en);
    font-size: clamp(72px, 14vw, 180px);
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(17,17,17,.035);
    white-space: nowrap;
    pointer-events: none;
}
.contact-container {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 1060px);
}
.contact-article {
    display: grid;
    gap: 24px;
}
.contact-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 30px;
    border: 1px solid rgba(197,154,61,.26);
    background:
        linear-gradient(135deg, rgba(255,255,255,.95), rgba(252,248,238,.93)),
        radial-gradient(circle at 90% 10%, rgba(197,154,61,.15), transparent 34%);
    box-shadow: 0 18px 54px rgba(111,83,25,.10);
}
.contact-hero-card::after {
    content: "";
    position: absolute;
    right: -64px;
    bottom: -82px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(197,154,61,.18);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,154,61,.10), transparent 62%);
}
.contact-hero-card .legal-kicker {
    margin: 0 0 16px;
    color: #b5872b;
}
.contact-hero-card h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.08;
    color: #151515;
}
.contact-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: rgba(48,45,38,.78);
    font-weight: 700;
    line-height: 2;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: 24px;
    align-items: start;
}
.contact-info-card,
.contact-form {
    border-radius: 28px;
    border: 1px solid rgba(197,154,61,.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,253,248,.96)),
        radial-gradient(circle at 100% 0%, rgba(197,154,61,.11), transparent 30%);
    box-shadow: 0 14px 42px rgba(111,83,25,.08);
}
.contact-info-card {
    position: sticky;
    top: 118px;
    padding: 30px;
}
.contact-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fbf8ef;
    color: #9b7428;
    border: 1px solid rgba(197,154,61,.22);
    font-family: var(--kopt-font-en);
    font-weight: 700;
}
.contact-info-card h2 {
    margin: 0 0 14px;
    color: #8f681d;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
}
.contact-info-card p {
    margin: 0 0 22px;
    color: rgba(44,42,37,.80);
    line-height: 2;
    font-weight: 700;
}
.contact-info-list {
    display: grid;
    grid-template-columns: 110px 1fr;
    overflow: hidden;
    margin: 0;
    border-radius: 18px;
    border: 1px solid rgba(197,154,61,.20);
    background: #fffdf8;
}
.contact-info-list dt,
.contact-info-list dd {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(197,154,61,.12);
}
.contact-info-list dt {
    background: linear-gradient(135deg, #f7f1df, #fff8e8);
    color: #8f681d;
    font-weight: 900;
}
.contact-info-list dd {
    color: rgba(44,42,37,.82);
    font-weight: 700;
    overflow-wrap: anywhere;
}
.contact-info-list dt:last-of-type,
.contact-info-list dd:last-of-type {
    border-bottom: 0;
}
.contact-info-list a {
    color: #9f741d;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 38px);
}
.contact-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form label {
    display: grid;
    gap: 8px;
    color: rgba(44,42,37,.88);
    font-weight: 900;
}
.contact-form label span em {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fbf0d5;
    color: #8f681d;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    vertical-align: middle;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(197,154,61,.22);
    border-radius: 16px;
    background: #fff;
    color: #202020;
    font: inherit;
    line-height: 1.6;
    padding: 14px 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea {
    resize: vertical;
    min-height: 190px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(197,154,61,.62);
    box-shadow: 0 0 0 4px rgba(197,154,61,.13);
    background: #fffdf8;
}
.contact-hidden-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-privacy-check {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px !important;
    padding: 16px;
    border-radius: 16px;
    background: #fbf8ef;
    border: 1px solid rgba(197,154,61,.15);
    font-weight: 700 !important;
}
.contact-privacy-check input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 4px;
    padding: 0;
}
.contact-privacy-check a {
    color: #9f741d;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #d4a844, #9f741d);
    color: #fff;
    font-weight: 900;
    letter-spacing: .06em;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(159,116,29,.20);
    transition: transform .2s ease, box-shadow .2s ease;
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(159,116,29,.26);
}
.contact-alert {
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 900;
    line-height: 1.8;
}
.contact-alert-success {
    border: 1px solid rgba(64,140,92,.24);
    background: #eef8f1;
    color: #27643d;
}
.contact-alert-error {
    border: 1px solid rgba(192,60,50,.22);
    background: #fff2ef;
    color: #9d372d;
}
@media (max-width: 860px) {
    .contact-page { padding: 106px 0 72px; }
    .contact-container { width: min(100% - 28px, 1060px); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .contact-field-grid { grid-template-columns: 1fr; }
    .contact-info-list { grid-template-columns: 1fr; }
    .contact-info-list dt { border-bottom: 0; padding-bottom: 8px; }
    .contact-info-list dd { padding-top: 10px; }
}

/* v1.19 Contact page copy structure */
.contact-hero-card p + p {
    margin-top: 12px;
}
.contact-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.contact-guide-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(197,154,61,.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,253,248,.96)),
        radial-gradient(circle at 100% 0%, rgba(197,154,61,.12), transparent 32%);
    box-shadow: 0 14px 42px rgba(111,83,25,.08);
    padding: clamp(24px, 4vw, 34px);
}
.contact-guide-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -78px;
    top: -78px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,154,61,.13), transparent 68%);
    pointer-events: none;
}
.contact-guide-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #fbf8ef;
    border: 1px solid rgba(197,154,61,.22);
    color: #9b7428;
    font-family: var(--kopt-font-en);
    font-weight: 700;
}
.contact-guide-card h2 {
    margin: 0 0 18px;
    color: #8f681d;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.45;
}
.contact-guide-card p {
    margin: 0 0 18px;
    color: rgba(44,42,37,.78);
    line-height: 2;
    font-weight: 700;
}
.contact-guide-card p:last-child {
    margin-bottom: 0;
}
.contact-check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-check-list li {
    position: relative;
    padding-left: 26px;
    color: rgba(30,30,30,.86);
    font-weight: 900;
    line-height: 1.75;
}
.contact-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a844, #9f741d);
    box-shadow: 0 0 0 4px rgba(197,154,61,.12);
}
.contact-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}
.contact-chip-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fbf8ef;
    border: 1px solid rgba(197,154,61,.20);
    color: #72531a;
    font-weight: 900;
    line-height: 1.35;
}
.contact-form label span small {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f2f2f2;
    color: rgba(44,42,37,.65);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    vertical-align: middle;
}
@media (max-width: 860px) {
    .contact-guide-grid { grid-template-columns: 1fr; }
}


/* v1.21 contact guide: only keep the相談 guide and let it use the full row */
.contact-guide-grid .contact-guide-card:only-child {
    grid-column: 1 / -1;
}
@media (min-width: 861px) {
    .contact-guide-grid .contact-guide-card:only-child {
        max-width: 760px;
    }
}

/* v1.20 contact page refinements: optional furigana + privacy-gated submit */
.contact-privacy-check {
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-privacy-check:has(input:checked) {
    background: #fff8e8;
    border-color: rgba(197,154,61,.38);
    box-shadow: 0 10px 24px rgba(111,83,25,.08);
}
.contact-submit-note {
    margin: -6px 0 0;
    color: rgba(44,42,37,.58);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}
.contact-submit[disabled],
.contact-submit[aria-disabled="true"] {
    background: linear-gradient(135deg, #f0f0f0, #d8d8d8);
    color: rgba(44,42,37,.42);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.contact-submit[disabled]:hover,
.contact-submit[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}
.contact-submit:not([disabled]) + .contact-submit-note,
.contact-submit[aria-disabled="false"] {
    cursor: pointer;
}


/* v1.22 header/contact refinements */
.site-header,
.site-header.is-scrolled {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.contact-guide-label,
.contact-number {
    display: none !important;
}
.contact-guide-grid .contact-guide-card:only-child {
    max-width: none !important;
    width: 100%;
}
@media (min-width: 861px) {
    .contact-guide-grid .contact-guide-card:only-child {
        max-width: none !important;
    }
    .contact-check-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
        row-gap: 14px;
    }
}
.contact-guide-card {
    padding: clamp(28px, 4.6vw, 46px);
}
