/* Samurai Split の紹介ページだけのスタイル。共通の style.css の後に読み込む。 */
body.ss {
    --ss-red: #c41e30;
    --ss-red-bright: #f04a5a;
    --ss-red-top: #ce2438;
    --ss-red-deep: #5c0a1a;
    --ss-ink: #14070a;
    --ss-ink-2: #1e0c11;
    --ss-ink-3: #2a1218;
    --ss-paper: #fbf3f1;
    --ss-muted: #c9aeb1;
    --ss-line: rgba(255, 255, 255, 0.1);
    --accent: #f04a5a;
    --accent-strong: #ff6b78;
    --bg: #14070a;
    --bg-elevated: #1e0c11;
    --text: #fbf3f1;
    --text-muted: #c9aeb1;
    background: var(--ss-ink);
    color: var(--ss-paper);
    overflow-x: hidden;
}

body.ss::before {
    background:
        radial-gradient(700px circle at 85% 40%, rgba(196, 30, 48, 0.16), transparent 60%),
        radial-gradient(600px circle at 5% 75%, rgba(196, 30, 48, 0.12), transparent 60%);
}

body.ss .site-header {
    background: rgba(20, 7, 10, 0.78);
}

body.ss main {
    max-width: none;
    margin: 0;
    padding: 0;
}

.ss-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero ---------- */
.ss-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, var(--ss-red-top) 0%, #a3162a 45%, var(--ss-red-deep) 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%);
    padding: 72px 0 150px;
    overflow: hidden;
}

/* 刀で切ったような、斜めの光の筋 */
.ss-hero::before,
.ss-hero::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    z-index: -1;
    transform: skewX(-24deg);
    pointer-events: none;
}

.ss-hero::before {
    left: 46%;
    width: 22%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 60%, transparent);
}

.ss-hero::after {
    left: 76%;
    width: 3.5%;
    background: rgba(255, 255, 255, 0.16);
}

.ss-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
}

.ss-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.ss-icon {
    width: 76px;
    height: 76px;
    border-radius: 22.5%;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ss-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.ss-brand-sub {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.ss-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.ss-hero h1 span {
    display: block;
}

.ss-hero h1:lang(ja) span {
    white-space: nowrap;
}

.ss-hero-lead {
    margin: 0 0 32px;
    max-width: 34em;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
}

.ss-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.ss-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px 14px 22px;
    border-radius: 16px;
    background: #fff;
    color: #17090c;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ss-store:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 22px 38px -16px rgba(0, 0, 0, 0.75);
}

.ss-store:focus-visible,
.ss-text-link:focus-visible,
.ss-faq summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.ss-store svg {
    width: 26px;
    height: 26px;
    flex: none;
}

.ss-store small {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.7;
}

.ss-store b {
    font-size: 1.12rem;
}

.ss-cta-note {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

/* 端末の枠 */
.ss-phone {
    position: relative;
    margin: 0;
    border-radius: 13.5% / 6.3%;
    padding: 2.6%;
    background: #0d0507;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 40px 70px -30px rgba(0, 0, 0, 0.85);
}

.ss-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 11.5% / 5.3%;
}

.ss-hero-phones {
    position: relative;
    height: 560px;
}

.ss-hero-phones .ss-phone {
    position: absolute;
    width: 258px;
}

.ss-hero-phones .ss-phone:first-child {
    right: 150px;
    top: 0;
    z-index: 2;
    transform: rotate(-4deg);
}

.ss-hero-phones .ss-phone:last-child {
    right: 0;
    top: 62px;
    transform: rotate(6deg);
    opacity: 0.94;
}

/* ---------- 数字の帯 ---------- */
.ss-facts {
    position: relative;
    z-index: 2;
    margin-top: -64px;
}

.ss-facts ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--ss-line);
    border: 1px solid var(--ss-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.ss-facts li {
    padding: 22px 20px;
    background: var(--ss-ink-2);
    text-align: center;
}

.ss-facts b {
    display: block;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
}

.ss-facts span {
    font-size: 0.84rem;
    color: var(--ss-muted);
}

/* ---------- 共通の区切り ---------- */
/* 共通の main.js が section に付ける .panel（スクロールで現れる動き）は、このページでは使わない */
body.ss section.ss-section,
body.ss section.ss-section.panel {
    padding: 104px 0 0;
    border-top: 0;
    opacity: 1;
    transform: none;
    transition: none;
}

.ss-kicker {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ss-red-bright);
}

.ss-section h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 4.2vw, 2.7rem);
    line-height: 1.25;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.ss-section-lead {
    margin: 0 0 44px;
    max-width: 40em;
    color: var(--ss-muted);
    font-size: 1.02rem;
}

/* ---------- こんなときに ---------- */
.ss-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ss-card {
    padding: 28px 26px;
    border: 1px solid var(--ss-line);
    border-radius: 20px;
    background: linear-gradient(160deg, var(--ss-ink-3), var(--ss-ink-2));
}

.ss-card h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    line-height: 1.45;
}

.ss-card p {
    margin: 0;
    color: var(--ss-muted);
    font-size: 0.95rem;
}

.ss-card-mark {
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 20px;
    border-radius: 2px;
    background: var(--ss-red-bright);
    transform: skewX(-24deg);
}

/* ---------- 使い方 ---------- */
.ss-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.ss-steps li {
    counter-increment: step;
}

.ss-steps .ss-phone {
    max-width: 250px;
    margin: 0 auto 26px;
}

.ss-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--ss-red);
    color: #fff;
    font-weight: 700;
}

.ss-step-num::before {
    content: counter(step);
}

.ss-steps h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.ss-steps p {
    margin: 0;
    color: var(--ss-muted);
    font-size: 0.96rem;
}

/* ---------- 2 つの分け方 ---------- */
.ss-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ss-panel {
    position: relative;
    padding: 34px 30px;
    border-radius: 22px;
    border: 1px solid var(--ss-line);
    background: var(--ss-ink-2);
    overflow: hidden;
}

.ss-panel.is-red {
    border-color: transparent;
    background: linear-gradient(150deg, var(--ss-red-top), var(--ss-red-deep));
}

.ss-panel h3 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    line-height: 1.35;
}

.ss-panel .ss-panel-tag {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ss-red-bright);
}

.ss-panel.is-red .ss-panel-tag {
    color: rgba(255, 255, 255, 0.8);
}

.ss-panel p {
    margin: 0 0 16px;
    color: var(--ss-muted);
}

.ss-panel.is-red p,
.ss-panel.is-red li {
    color: rgba(255, 255, 255, 0.9);
}

.ss-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ss-chips li {
    padding: 5px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.86rem;
    color: var(--ss-paper);
}

.ss-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ss-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--ss-muted);
    font-size: 0.96rem;
}

.ss-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 12px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.8;
    transform: skewX(-24deg);
}

/* ---------- 安心 ---------- */
.ss-trust {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 56px;
}

.ss-trust .ss-phone {
    max-width: 270px;
    margin: 0 auto;
}

.ss-trust dl {
    margin: 0;
}

.ss-trust dt {
    margin: 0 0 4px;
    font-size: 1.14rem;
    font-weight: 700;
}

.ss-trust dd {
    margin: 0 0 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--ss-line);
    color: var(--ss-muted);
}

.ss-trust dd:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* ---------- 料金 ---------- */
.ss-price-name {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ss-price-main {
    margin: 0 0 16px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

/* ---------- よくある質問 ---------- */
.ss-faq {
    max-width: 820px;
}

.ss-faq details {
    border-bottom: 1px solid var(--ss-line);
}

.ss-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.ss-faq summary::-webkit-details-marker {
    display: none;
}

.ss-faq summary::after {
    content: "+";
    flex: none;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ss-red-bright);
    transition: transform 0.2s ease;
}

.ss-faq details[open] summary::after {
    transform: rotate(45deg);
}

.ss-faq details p {
    margin: 0;
    padding: 0 4px 22px;
    color: var(--ss-muted);
}

/* ---------- 最後の呼びかけ ---------- */
.ss-final {
    position: relative;
    isolation: isolate;
    margin-top: 112px;
    padding: 110px 0 96px;
    background: linear-gradient(180deg, var(--ss-red-top), var(--ss-red-deep));
    clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
    text-align: center;
    overflow: hidden;
}

.ss-final::before {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 58%;
    width: 16%;
    z-index: -1;
    background: rgba(255, 255, 255, 0.09);
    transform: skewX(-24deg);
}

.ss-final .ss-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
}

.ss-final h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    line-height: 1.25;
    text-wrap: balance;
}

.ss-final p {
    margin: 0 auto 30px;
    max-width: 34em;
    color: rgba(255, 255, 255, 0.9);
}

.ss-final .ss-cta-row {
    justify-content: center;
}

.ss-meta {
    margin: 34px 0 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.8);
}

.ss-text-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ss-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
}

body.ss .site-footer {
    margin-top: 0;
    border-top: 0;
    background: #0d0507;
}

/* ---------- 狭い画面 ---------- */
@media (max-width: 900px) {
    .ss-hero-grid {
        grid-template-columns: 1fr;
    }

    .ss-hero-phones {
        height: 470px;
        max-width: 420px;
        width: 100%;
        margin: 8px auto 0;
    }

    .ss-hero-phones .ss-phone {
        width: 215px;
    }

    .ss-hero-phones .ss-phone:first-child {
        right: auto;
        left: 0;
    }

    .ss-cards,
    .ss-steps {
        grid-template-columns: 1fr;
    }

    .ss-steps li {
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
    }

    .ss-split,
    .ss-trust {
        grid-template-columns: 1fr;
    }

    .ss-trust {
        gap: 40px;
    }

    .ss-facts ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ss-hero {
        padding: 48px 0 130px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    }

    .ss-hero-phones {
        height: 400px;
    }

    .ss-hero-phones .ss-phone {
        width: 178px;
    }

    body.ss section.ss-section,
    body.ss section.ss-section.panel {
        padding-top: 80px;
    }

    .ss-store {
        width: 100%;
        justify-content: center;
    }

    .ss-panel {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-store,
    .ss-faq summary::after {
        transition: none;
    }
}

/* 狭い画面では、共通のナビが縦に並んで場所を取るため、このページだけ 1 行に収める */
@media (max-width: 640px) {
    body.ss .site-header .wrap {
        flex-wrap: nowrap;
        height: 56px;
        padding: 0 16px;
    }

    body.ss .site-nav {
        flex-direction: row;
        flex-basis: auto;
        gap: 0;
        margin-top: 0;
    }

    body.ss .site-nav a {
        padding: 8px 10px;
        font-size: 0.84rem;
    }

    body.ss .site-nav li:last-child {
        display: none;
    }

    body.ss .logo {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ss-facts li {
        padding: 18px 8px;
    }

    .ss-facts b {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .ss-facts span {
        font-size: 0.78rem;
    }
}
