/* ============================================================
   全局样式（首页等通用页面）
   原 index.php 内联样式抽取，仅用于前端展示，无业务逻辑。
   ============================================================ */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif;
    color: #222;
    background: #fafafa;
    line-height: 1.8;
}

.wrap {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

header,
section {
    background: #fff;
}

header {
    border-bottom: 1px solid #eee;
}

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

.logo {
    font-weight: 700;
}

nav a,
footer a {
    margin-left: 16px;
    color: inherit;
}

.hero {
    text-align: center;
    padding: 72px 0;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.4;
}

.price {
    font-size: 32px;
    font-weight: 700;
    margin: 24px;
}

.btn {
    display: inline-block;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 8px;
    font-weight: 700;
}

.section {
    padding: 55px 0;
}

.section h2 {
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card,
.notice {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
}

.notice {
    max-width: 700px;
    margin: auto;
}

footer {
    background: #222;
    color: #fff;
    padding: 32px 0;
    font-size: 14px;
}

@media (max-width: 700px) {
    nav {
        display: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 0;
    }
}
