:root {
    --stst-yellow: #ffcf21;
    --stst-yellow-soft: #fff4b8;
    --stst-orange: #f26a2a;
    --stst-charcoal: #252525;
    --stst-ink: #2c2d30;
    --stst-muted: #6c7179;
    --stst-border: #dedbd3;
    --stst-surface: #ffffff;
    --stst-cream: #f7f4ec;
    --stst-radius-lg: 26px;
    --stst-radius-md: 17px;
    --stst-shadow: 0 22px 62px rgba(40, 35, 27, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    overflow-x: hidden;
}

body {
    min-width: 320px;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 94% 5%, rgba(255, 207, 33, 0.19), transparent 30rem),
        repeating-linear-gradient(
            -45deg,
            rgba(37, 37, 37, 0.027) 0,
            rgba(37, 37, 37, 0.027) 14px,
            transparent 14px,
            transparent 28px
        ),
        linear-gradient(180deg, #fcfbf7 0, var(--stst-cream) 40rem, #f2efe7 100%);
    color: var(--stst-ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(222, 219, 211, 0.88);
    background: rgba(255, 253, 248, 0.93);
    box-shadow: 0 8px 28px rgba(38, 33, 24, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-logo {
    min-width: 0;
    flex: 0 1 auto;
}

.site-logo img {
    width: clamp(150px, 18vw, 205px);
    height: auto;
}

.header-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 2.2vw, 28px);
    color: #555b62;
    font-size: 0.82rem;
    font-weight: 800;
}

.header-nav a {
    position: relative;
    flex: 0 0 auto;
    text-decoration: none;
    white-space: nowrap;
}

.header-nav a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--stst-orange);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.commerce-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 207, 33, 0.18), transparent 25rem),
        linear-gradient(135deg, #1e1e1e 0, #2b2b2b 62%, #202020 100%);
    color: #fff;
}

.commerce-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0 clamp(58px, 8vw, 88px);
}

.commerce-hero__eyebrow,
.commerce-toc__label,
.commerce-contact__label {
    margin: 0;
    color: var(--stst-yellow);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.commerce-hero h1 {
    max-width: 960px;
    margin: 12px 0 18px;
    font-size: clamp(2.1rem, 5.6vw, 4.8rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.commerce-hero__lead {
    max-width: 790px;
    margin: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
}

.commerce-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.commerce-meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 800;
}

.commerce-hero__zebra {
    width: 100%;
    height: 14px;
    background: repeating-linear-gradient(
        -45deg,
        var(--stst-yellow) 0,
        var(--stst-yellow) 18px,
        #151515 18px,
        #151515 36px
    );
}

.commerce-layout {
    display: grid;
    width: min(1280px, calc(100% - 36px));
    margin: clamp(30px, 6vw, 72px) auto 88px;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.commerce-toc {
    position: sticky;
    top: 96px;
    min-width: 0;
}

.commerce-toc__inner {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--stst-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(38, 33, 24, 0.07);
}

.commerce-toc__label {
    padding: 18px 20px 13px;
    background: var(--stst-charcoal);
}

.commerce-toc nav {
    display: grid;
    padding: 12px 10px 14px;
    gap: 3px;
}

.commerce-toc a {
    display: block;
    padding: 9px 10px;
    border-radius: 9px;
    color: #555a61;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease;
}

.commerce-toc a:hover,
.commerce-toc a:focus-visible {
    background: var(--stst-yellow-soft);
    color: var(--stst-charcoal);
}

.commerce-document {
    min-width: 0;
    max-width: 100%;
}

.commerce-intro {
    margin-bottom: 22px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #e5c64a;
    border-radius: var(--stst-radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 207, 33, 0.18), transparent 62%),
        #fffdf4;
    box-shadow: 0 14px 34px rgba(60, 50, 25, 0.07);
}

.commerce-intro strong {
    display: block;
    color: var(--stst-charcoal);
    font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.commerce-intro p {
    margin: 9px 0 0;
    color: #5d6065;
    font-size: 0.88rem;
}

.commerce-section {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
    scroll-margin-top: 96px;
    border: 1px solid var(--stst-border);
    border-radius: var(--stst-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--stst-shadow);
}

.commerce-section__heading {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ebe8e1;
    text-align: left;
}

.commerce-section__heading p {
    margin: 0 0 4px;
    color: var(--stst-orange);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.commerce-section h2 {
    margin: 0;
    color: var(--stst-charcoal);
    text-align: left;
    font-size: clamp(1.28rem, 2.8vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.commerce-list {
    min-width: 0;
    margin: 0;
}

.commerce-row {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    padding: 20px 0;
    border-bottom: 1px solid #ece9e2;
}

.commerce-row:first-child {
    padding-top: 0;
}

.commerce-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.commerce-row dt {
    min-width: 0;
    color: #5d5f63;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.commerce-row dd {
    min-width: 0;
    margin: 0;
    color: #3e4248;
    font-size: 0.9rem;
    line-height: 1.82;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.commerce-row dd a {
    color: #b84e1c;
    font-weight: 800;
    text-underline-offset: 3px;
}

.commerce-row__note {
    margin: 9px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f5ee;
    color: #6b6d71;
    font-size: 0.76rem;
}

.commerce-note {
    margin-top: 24px;
    padding: 17px 18px;
    border: 1px solid #edca45;
    border-radius: 14px;
    background: #fff7cf;
}

.commerce-note strong {
    display: block;
    color: #765700;
    font-size: 0.82rem;
}

.commerce-note p {
    margin: 4px 0 0;
    color: #665b38;
    font-size: 0.8rem;
}

.commerce-contact {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 207, 33, 0.18), transparent 18rem),
        var(--stst-charcoal);
    color: #fff;
}

.commerce-contact h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(1.15rem, 2.8vw, 1.55rem);
}

.commerce-contact > p:not(.commerce-contact__label) {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.commerce-contact > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 18px;
    border: 1px solid var(--stst-yellow);
    border-radius: 999px;
    background: var(--stst-yellow);
    color: var(--stst-charcoal);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.commerce-contact > a:hover,
.commerce-contact > a:focus-visible {
    transform: translateY(-1px);
}

.site-footer {
    width: 100%;
    padding: 46px clamp(20px, 5vw, 64px) 34px;
    border-top: 10px solid transparent;
    border-image: repeating-linear-gradient(
        -45deg,
        var(--stst-yellow) 0,
        var(--stst-yellow) 18px,
        var(--stst-charcoal) 18px,
        var(--stst-charcoal) 36px
    ) 10;
    background: #fffdf8;
    color: var(--stst-charcoal);
}

.site-footer__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.site-footer__brand img {
    width: 170px;
    height: auto;
    filter: none;
}

.site-footer__brand p {
    margin: 0;
    color: #77736b;
    font-size: 0.74rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 28px;
}

.site-footer nav a {
    color: #56524b;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
    color: var(--stst-orange);
}

.site-footer__copy {
    margin: 26px 0 0;
    color: #99938a;
    font-size: 0.7rem;
}

:focus-visible {
    outline: 3px solid rgba(242, 106, 42, 0.36);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .commerce-layout {
        grid-template-columns: 1fr;
    }

    .commerce-toc {
        position: static;
    }

    .commerce-toc__inner {
        display: grid;
        grid-template-columns: 140px minmax(0, 1fr);
        align-items: stretch;
    }

    .commerce-toc__label {
        display: grid;
        place-items: center;
        padding: 16px;
    }

    .commerce-toc nav {
        display: flex;
        min-width: 0;
        gap: 2px;
        padding: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .commerce-toc a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 72px;
    }

    .site-header {
        min-height: 62px;
        gap: 10px;
        padding: 9px 14px;
    }

    .site-logo img {
        width: min(142px, 42vw);
    }

    .header-nav {
        max-width: 54vw;
        gap: 10px;
        overflow-x: auto;
        font-size: 0.7rem;
        scrollbar-width: none;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    .header-nav a:nth-child(2) {
        display: none;
    }

    .commerce-hero__inner {
        width: min(100% - 28px, 1180px);
        padding-top: 50px;
        padding-bottom: 56px;
    }

    .commerce-hero__zebra {
        height: 12px;
    }

    .commerce-layout {
        width: min(100% - 24px, 1280px);
        margin-top: 22px;
        margin-bottom: 56px;
        gap: 18px;
    }

    .commerce-toc__inner {
        display: block;
    }

    .commerce-toc__label {
        display: block;
    }

    .commerce-intro,
    .commerce-section {
        margin-bottom: 12px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .commerce-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }

    .commerce-row dt {
        color: #8a5d00;
        font-size: 0.72rem;
    }

    .commerce-row dd {
        font-size: 0.85rem;
    }

    .commerce-contact > a {
        width: 100%;
    }

    .site-footer__brand {
        display: block;
    }

    .site-footer__brand p {
        margin-top: 8px;
    }
}

@media (max-width: 460px) {
    .header-nav a:first-child {
        display: none;
    }

    .commerce-hero h1 {
        font-size: 2rem;
    }

    .commerce-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .commerce-meta span {
        justify-content: center;
    }

    .site-footer nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
    }
}

@media (max-width: 350px) {
    .site-header {
        padding-inline: 10px;
    }

    .site-logo img {
        width: 126px;
    }

    .commerce-layout {
        width: calc(100% - 16px);
    }

    .commerce-intro,
    .commerce-section {
        padding-inline: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
