:root {
    --ink: #19233c;
    --muted: #68708a;
    --surface: #ffffff;
    --line: #e3e7f0;
    --blue: #4f67e8;
    --blue-dark: #3448bd;
    --mint: #dff7ee;
    --orange: #fff0dc;
    --violet: #eee9ff;
    --shadow: 0 14px 34px rgba(35, 47, 92, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0, #e9edff 0, transparent 32rem),
        #f7f8fc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    line-height: 1.7;
}

a { color: inherit; }
img { max-width: 100%; }

.site-header {
    border-bottom: 1px solid rgba(227, 231, 240, .8);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
}

.header-inner,
.page-shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(79, 103, 232, .28);
}

.header-nav a {
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.main-title {
    max-width: 760px;
    margin: 0 auto 18px;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.hero-copy {
    max-width: 660px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.hero-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-points span {
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #596078;
    font-size: .82rem;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 4px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-heading p { margin: 0; color: var(--muted); }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 64px;
}

.category {
    padding: 18px;
    border: 1px solid rgba(227, 231, 240, .9);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: var(--shadow);
}

.category h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    font-size: 1.05rem;
}

.category h2 span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: var(--orange);
}

.category:nth-child(2) h2 span { background: var(--mint); }
.category:nth-child(3) h2 span { background: var(--violet); }

.menu-item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    text-align: left;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.menu-item:hover {
    transform: translateY(-3px);
    border-color: #cbd2ff;
    box-shadow: 0 12px 24px rgba(49, 62, 126, .1);
}

.menu-item img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.menu-copy strong { display: block; font-size: .98rem; }
.menu-copy small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.menu-arrow { color: #a0a7bb; font-size: 1.2rem; }

.apps-section {
    margin-bottom: 64px;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #29335c, #4c55c9);
    box-shadow: var(--shadow);
}

.apps-section h2 { margin: 0 0 6px; font-size: 1.7rem; }
.apps-section > p { margin: 0 0 24px; color: #dce0ff; }
.app-list { display: flex; gap: 16px; flex-wrap: wrap; }
.store-link { display: inline-flex; border-radius: 20px; transition: transform .2s; }
.store-link:hover { transform: translateY(-3px); }
.store-link img { width: 96px; border: 3px solid rgba(255,255,255,.8); border-radius: 20px; }

.ad-wrap { width: min(1120px, calc(100% - 40px)); margin: 20px auto; }

.site-footer {
    padding: 28px 20px 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: .86rem;
}

@media (max-width: 900px) {
    .menu-grid { grid-template-columns: 1fr; }
    .category { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category h2 { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
    .header-inner, .page-shell { width: min(100% - 24px, 1120px); }
    .header-nav { display: none; }
    .hero { padding: 52px 0 36px; }
    .category { display: block; padding: 14px; border-radius: 20px; }
    .menu-item { grid-template-columns: 68px 1fr auto; min-height: 86px; }
    .menu-item img { width: 68px; height: 68px; }
    .apps-section { border-radius: 22px; }
}
