/* ==========================================================================
   共創クラウド LP — styles.css
   ========================================================================== */

/* ===== Tokens ===== */
:root {
    --bg: #0b0d12;
    --fg: #e5eef6;
    --muted: #98a6b3;
    --card: #121722;
    --line: #1f2a3a;
    --pri: #0ea5e9;
    --pri-2: #38bdf8;
    --acc: #a78bfa;
    --ok: #10b981;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 2px 10px rgba(0, 0, 0, .25);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --maxw: 1200px;
    --focus: 0 0 0 3px rgba(56, 189, 248, .6);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --fg: #0b1220;
        --muted: #4b5563;
        --card: #f8fafc;
        --line: #e5e7eb;
        --shadow: 0 10px 30px rgba(2, 6, 23, .10), 0 2px 10px rgba(2, 6, 23, .06);
    }
}

/* ===== Base ===== */
* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP";
    background: var(--bg);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none
}

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

.container {
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 20px
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    background: linear-gradient(135deg, var(--pri), var(--pri-2));
    color: #07131a;
    box-shadow: var(--shadow);
    border: none;
    transition: transform .15s;
}

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

.btn:active {
    transform: scale(.97)
}

.btn--ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line);
    box-shadow: none;
}

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: color-mix(in oklab, var(--bg) 85%, transparent);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 900
}

.logo__mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pri), var(--acc));
}

.nav__links {
    display: flex;
    gap: 20px;
    align-items: center
}

.nav__cta {
    display: flex;
    gap: 12px;
    align-items: center
}

.nav__menu {
    display: none
}

@media (max-width:960px) {
    .nav__links {
        display: none
    }

    .nav__menu {
        display: inline-flex
    }
}

/* ===== Hero ===== */
.hero {
    padding: 96px 0 64px;
    border-bottom: 1px solid var(--line);
    position: relative
}

.hero__wrap {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.05fr .95fr;
    align-items: center
}

@media(max-width:1024px) {
    .hero__wrap {
        grid-template-columns: 1fr
    }
}

.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin: 0;
    line-height: 1.1
}

.lead {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--muted)
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px
}

/* ===== Section basics ===== */
.section {
    padding: 72px 0
}

.center {
    text-align: center
}

.badge {
    display: inline-flex;
    gap: .4rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .8rem;
    background: rgba(56, 189, 248, .16);
    color: #7dd3fc;
}

.h2 {
    font-size: clamp(22px, 3vw, 34px);
    margin: .4rem 0
}

/* ===== Cards ===== */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform .15s;
}

.card:hover {
    transform: translateY(-2px)
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--pri), var(--acc));
    color: #06141b;
    font-weight: 900;
}

.card h3 {
    margin: .6rem 0 .4rem
}

.card p {
    color: var(--muted);
    font-size: .95rem
}

/* ===== Lists ===== */
.list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding: 0;
    list-style: none
}

.list li {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #34d399, #10b981);
    margin-top: 3px
}

/* ===== Pricing ===== */
.price {
    font-size: 32px;
    font-weight: 900;
    margin: .2rem 0
}

/* ===== FAQ ===== */
.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    background: var(--card)
}

.faq details+details {
    margin-top: 12px
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between
}

.faq .ans {
    color: var(--muted);
    margin-top: 8px
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--line);
    padding-top: 32px
}

.foot {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr auto
}

@media(max-width:800px) {
    .foot {
        grid-template-columns: 1fr
    }
}

.foot a:hover {
    opacity: .8
}