/* ============================================================
   税金について（tax.blade.php）
   モノトーン×レッドのエディトリアル。共通トークンはmenu.cssを使用。
============================================================ */

* {
    box-sizing: border-box;
}

.sp {
    display: none;
}

.tax-hero {
    background: var(--clw-paper);
    text-align: center;
    padding: 56px 20px 44px;
}

.tax-hero .stamp {
    justify-content: center;
    margin-bottom: 14px;
}

.tax-hero h1 {
    font-family: "Murecho", sans-serif;
    font-weight: 900;
    font-size: clamp(26px, 4.6vw, 38px);
    color: var(--clw-black);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.tax-hero p {
    color: var(--clw-gray-700);
    font-size: 0.94rem;
    max-width: 42em;
    margin: 0 auto;
    line-height: 1.9;
}

.padg {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 20px 80px;
}

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

.tx-h2 {
    font-family: "Murecho", sans-serif;
    font-size: clamp(19px, 2.8vw, 24px);
    margin: 0 0 18px;
    font-weight: 800;
    color: var(--clw-black);
    padding-left: 14px;
    border-left: 3px solid var(--clw-red);
}

.tx-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--clw-black);
    border-left: 1px solid var(--clw-gray-200);
}

@media (min-width: 720px) {
    .tx-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tx-card {
    background: #fff;
    padding: 22px 20px;
    border-right: 1px solid var(--clw-gray-200);
    border-bottom: 1px solid var(--clw-gray-200);
}

.tx-card h3 {
    margin: 0.2rem 0 0.6rem;
    font-family: "Murecho", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--clw-black);
}

.tx-card p {
    font-size: 0.88rem;
    color: var(--clw-gray-700);
}

.tx-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
    color: var(--clw-red);
}

.tx-icon svg {
    fill: currentColor !important;
}

.tx-list {
    margin: 0.4rem 0 0.4rem 1.1rem;
    color: var(--clw-gray-700);
    font-size: 0.88rem;
}

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

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

.tx-tags li {
    background: var(--clw-gray-100);
    border: 1px solid var(--clw-gray-200);
    color: var(--clw-black);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4em 0.9em;
}

.tx-note {
    color: var(--clw-gray-400);
    font-size: 0.85rem;
}

.tx-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--clw-black);
    border-left: 1px solid var(--clw-gray-200);
}

.tx-panel {
    background: #fff;
    padding: 26px 24px;
    border-right: 1px solid var(--clw-gray-200);
    border-bottom: 1px solid var(--clw-gray-200);
}

.tx-panel h3 {
    font-family: "Murecho", sans-serif;
    font-weight: 700;
    color: var(--clw-black);
    font-size: 1rem;
    margin: 0 0 10px;
}

.tx-panel p {
    color: var(--clw-gray-700);
    font-size: 0.9rem;
}

.tx-panel ul {
    margin: 0;
}

.tx-kbd {
    display: inline-block;
    background: var(--clw-black);
    color: #fff;
    border-radius: 4px;
    padding: 0.1em 0.5em;
    font-size: 0.92em;
}

.tx-bullets {
    margin: 0.4rem 0 0.2rem 1rem;
    color: var(--clw-gray-700);
    font-size: 0.88rem;
}

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

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

/* Calc */

.tx-calc {
    background: #fff;
    border: 1px solid var(--clw-black);
    padding: 6px 14px;
}

.tx-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--clw-gray-200);
    padding: 14px 6px;
}

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

.tx-calc__row strong {
    font-family: "Murecho", sans-serif;
    font-size: 1.15rem;
}

.tx-calc__eq strong {
    color: var(--clw-red);
}

.tx-calc__foot {
    font-size: 0.85rem;
    color: var(--clw-gray-400);
    margin-top: 8px;
}

.tx-details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--clw-black);
}

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

/* Timeline */

.tx-timeline {
    border-left: 2px solid var(--clw-gray-200);
    margin-left: 12px;
    padding-left: 18px;
}

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

.tx-timeline .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--clw-red);
    margin-left: -23px;
    margin-top: 7px;
}

.tx-timeline .body strong {
    display: block;
    font-family: "Murecho", sans-serif;
    font-weight: 800;
    color: var(--clw-black);
}

.tx-timeline .body span {
    color: var(--clw-gray-700);
    font-size: 0.9rem;
}

/* FAQ */

.tx-faq details {
    background: #fff;
    border: 1px solid var(--clw-gray-200);
    padding: 16px 18px;
    margin: 10px 0;
}

.tx-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--clw-black);
}

.tx-faq p {
    margin: 0.7rem 0 0;
    color: var(--clw-gray-700);
    font-size: 0.9rem;
}

/* CTA */

.tx-cta-wrap {
    background: var(--clw-black);
    padding: 40px 28px;
    text-align: center;
}

.tx-cta-wrap .tx-h2 {
    color: #fff;
    border-left-color: var(--clw-red);
}

.tx-center {
    text-align: center;
    color: #cfcdca;
    font-size: 0.92rem;
}

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

.tx-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: "Murecho", sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.tx-btn.pink {
    background: var(--clw-red);
}

.tx-btn.line {
    background: #06c755;
}

.tx-btn:hover {
    opacity: 0.88;
}

.tx-disclaimer {
    text-align: center;
    color: #8a8783;
    font-size: 0.82rem;
    margin-top: 16px;
}

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

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