:root {
    --ink: #2b2b2b;
    --muted: #6f7581;
    --bg: #fff;
    --pill: #f6f7fb;
    --line: #e9eef3;
    --pink: #ff6ea8;
    --pink-2: #ff9fc4;
    --blue: #2188ff;
    --mint: #04c796;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN", sans-serif;
    color: var(--ink);
    background: #fafafa;
    line-height: 1.85;
}

.sp {
    display: none;
}

/* Hero */

.tx-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 16px 80px;
    text-align: center;
}

.tx-hero__bg {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 120%;
    background: radial-gradient(
            1000px 280px at -10% -10%,
            #ffe8f2 0%,
            transparent 60%
        ),
        radial-gradient(800px 240px at 110% 0%, #e5f5ff 0%, transparent 65%),
        linear-gradient(180deg, #fff, #f9fbff);
    z-index: -1;
}

.tx-hero__inner {
    max-width: 980px;
    margin: 0 auto;
}

.tx-eyebrow {
    display: inline-block;
    background: linear-gradient(90deg, #ffe6f1, #e8f2ff);
    padding: 0.4em 0.9em;
    border-radius: 999px;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #8c5567;
}

.tx-title {
    font-size: clamp(28px, 5.5vw, 48px);
    margin: 16px 0 10px;
    line-height: 1.2;
    background: linear-gradient(90deg, #2b2b2b, #6f4c4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tx-lead {
    color: var(--muted);
    margin: 0 0 24px;
}

.tx-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, #3aa0ff, #1f82ff);
    box-shadow: 0 12px 26px rgba(33, 136, 255, 0.25);
}

.tx-cta:hover {
    transform: translateY(-2px);
}

/* TOC */

.tx-toc {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(120%) blur(8px);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 10px 12px;
    z-index: 10;
    flex-wrap: wrap;
}

.tx-toc a {
    color: #4a607a;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2f6fb;
    font-weight: 700;
    font-size: 0.9rem;
}

.tx-toc a:hover {
    background: #e7f0fb;
}

/* Container & sections */

.tx-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 36px 16px 80px;
}

.tx-section {
    margin: 44px 0;
}

.tx-h2 {
    font-size: clamp(20px, 3vw, 28px);
    margin: 0 0 14px;
    font-weight: 900;
    color: #3b3640;
    position: relative;
    padding-left: 14px;
}

.tx-h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    bottom: 0.35em;
    width: 6px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ff79b0, #ffb7d3);
}

.tx-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.tx-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.tx-card h3 {
    margin: 0.2rem 0 0.4rem;
    font-size: 1.1rem;
}

.tx-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
}

.tx-list {
    margin: 0.4rem 0 0.4rem 1.2rem;
}

.tx-list li {
    margin: 0.2rem 0;
}

.tx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0.4rem 0;
}

.tx-tags li {
    background: #eef4ff;
    border: 1px solid #dfe9ff;
    color: #3b4d7a;
    border-radius: 999px;
    font-size: 0.85rem;
    padding: 0.35em 0.8em;
}

.tx-note {
    color: #7a7f8a;
    font-size: 0.9rem;
}

.tx-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tx-panel {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.tx-kbd {
    display: inline-block;
    background: #f1f4fa;
    border: 1px solid #e3e9f2;
    border-radius: 6px;
    padding: 0.1em 0.4em;
}

/* Expense bullets */

.tx-bullets {
    margin: 0.4rem 0 0.2rem 0;
    padding-left: 1rem;
}

.tx-bullets li {
    margin: 0.3rem 0;
}

.tx-underline {
    background: linear-gradient(transparent 70%, #fff4a8 0%);
}

/* Calc */

.tx-calc {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e8f0f7;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 70, 140, 0.06);
    padding: 14px;
}

.tx-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #dfe7f0;
    padding: 12px 10px;
}

.tx-calc__row:last-child {
    border-bottom: none;
}

.tx-calc__row strong {
    font-size: 1.2rem;
}

.tx-calc__eq strong {
    color: #04a7d9;
}

.tx-calc__foot {
    font-size: 0.85rem;
    color: #707a86;
    margin-top: 6px;
}

.tx-details summary {
    cursor: pointer;
    font-weight: 800;
    color: #3b4d7a;
}

.tx-details {
    margin-top: 10px;
}

/* Timeline */

.tx-timeline {
    border-left: 3px solid #dfe7f0;
    margin-left: 12px;
    padding-left: 12px;
}

.tx-timeline__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 14px 0;
}

.tx-timeline .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(90deg, #ff7ab5, #ffbb57);
    margin-left: -16px;
    margin-top: 6px;
}

.tx-timeline .body strong {
    display: block;
    font-weight: 900;
}

.tx-timeline .body span {
    color: #6f7581;
}

/* FAQ */

.tx-faq details {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 10px 0;
}

.tx-faq summary {
    cursor: pointer;
    font-weight: 800;
    color: #3b4d7a;
}

.tx-faq p {
    margin: 0.6rem 0 0;
}

/* CTA */

.tx-cta-wrap {
    background: linear-gradient(180deg, #fff, #fff4f8);
    border: 1px solid #ffe3ef;
    border-radius: 16px;
    padding: 24px;
}

.tx-center {
    text-align: center;
}

.tx-cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tx-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.tx-btn.pink {
    background: linear-gradient(90deg, #ff6ea8, #ff3f92);
}

.tx-btn.line {
    background: linear-gradient(90deg, #00c300, #00d544);
}

.tx-btn:hover {
    transform: translateY(-2px);
}

.tx-disclaimer {
    text-align: center;
    color: #6f7581;
    font-size: 0.88rem;
    margin-top: 10px;
}

/* Footer */

.tx-footer {
    padding: 36px 16px;
    color: #8da0a6;
    text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
    .tx-flex {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sp {
        display: inline;
    }
    .tx-toc {
        gap: 8px;
    }
}

.padg {
    padding: 10px;
}
