@charset "UTF-8";

:root {
    color-scheme: light;
    --ink: #263238;
    --muted: #647278;
    --accent: #e87945;
    --accent-soft: #fff1e9;
    --line: #e8e4df;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
    line-height: 1.85;
}

a {
    color: inherit;
}

.site-logo img {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
}

header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px max(24px, calc((100% - 1180px) / 2));
    border-bottom: 1px solid rgba(38, 50, 56, .08);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 3px 14px rgba(34, 39, 42, .05);
    backdrop-filter: blur(12px);
}

#nav-menu ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav-menu a {
    display: inline-block;
    padding: 8px 0;
    color: #3a464b;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

#nav-menu a:hover,
#nav-menu a:focus-visible {
    color: var(--accent);
}

.hamburger {
    display: none;
}

.terms-main {
    width: min(100% - 40px, 900px);
    margin: 44px auto 72px;
}

.terms-document {
    padding: 0;
}

.page-eyebrow {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.terms-document h1 {
    margin: 0 0 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.terms-document p {
    margin: 0 0 1.15em;
    color: #46545a;
    font-size: 1rem;
    line-height: 1.95;
}

.terms-document .terms-lead {
    margin-bottom: 2rem;
    color: #3f4c51;
    font-size: 1.02rem;
}

.terms-document h2 {
    margin: 2.1em 0 .85em;
    padding: 0 0 .55em;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.55;
}

.terms-document h2::before {
    display: inline-block;
    width: 4px;
    height: 1.1em;
    margin: 0 .65em -.12em 0;
    border-radius: 3px;
    background: var(--accent);
    content: "";
}

.terms-document ul {
    margin: 0 0 1.5em;
    padding: 0 0 0 1.5em;
    color: #46545a;
}

.terms-document li {
    margin: .55em 0;
    padding-left: .2em;
    font-size: .98rem;
    line-height: 1.85;
}

.terms-document li::marker {
    color: var(--accent);
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    header {
        min-height: 66px;
        padding: 8px 18px;
    }

    .site-logo img {
        height: 42px;
    }

    .hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 1px solid #e4ded8;
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #354147;
        transition: transform .2s ease, opacity .2s ease;
    }

    .hamburger[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    #nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        display: none;
        padding: 10px 18px 16px;
        border: 1px solid var(--line);
        border-radius: 0 0 14px 14px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(38, 50, 56, .12);
    }

    #nav-menu.open {
        display: block;
    }

    #nav-menu ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    #nav-menu li + li {
        border-top: 1px solid #f0eeeb;
    }

    #nav-menu a {
        display: block;
        padding: 12px 2px;
        font-size: .95rem;
    }

    .terms-main {
        width: min(100% - 28px, 680px);
        margin: 24px auto 42px;
    }

    .terms-document {
        padding: 0;
    }

    .terms-document h1 {
        margin-bottom: 22px;
        padding-bottom: 16px;
    }

    .terms-document h2 {
        margin-top: 1.8em;
        font-size: 1.08rem;
    }

    .terms-document p,
    .terms-document li {
        font-size: .94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
