* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
    background: #f7f8fb;
    color: #1f2937;
    line-height: 1.7;
}

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

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: #111827;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 19px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.nav a:hover {
    color: #16a34a;
}

.hero {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at 15% 20%, rgba(34,197,94,.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(14,165,233,.18), transparent 30%),
        linear-gradient(180deg, #ffffff, #f7f8fb);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 28px;
    align-items: center;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    color: #111827;
    letter-spacing: -.03em;
}

.hero p {
    margin: 18px 0 0;
    color: #4b5563;
    font-size: 17px;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
}

.btn-primary {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

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

.hero-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

.hero-card-title {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 14px;
}

.hero-stat {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #f3f4f6;
}

.hero-stat:last-child {
    border-bottom: 0;
}

.hero-stat span:first-child {
    color: #6b7280;
}

.hero-stat span:last-child {
    font-weight: 900;
    color: #111827;
}

.search-box {
    margin-top: 22px;
    background: #fff;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    max-width: 620px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 0 12px;
    font-size: 15px;
}

.search-box button {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 13px;
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
}

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.quick-tags a {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.section {
    padding: 34px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    font-size: 26px;
    color: #111827;
    letter-spacing: -.02em;
}

.section-desc {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.more-link {
    color: #16a34a;
    font-weight: 900;
    font-size: 14px;
}

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

.stamp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: .18s ease;
}

.stamp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
}

.stamp-thumb {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.stamp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stamp-thumb-empty {
    color: #9ca3af;
    font-weight: 900;
    font-size: 14px;
}

.stamp-body {
    padding: 15px;
}

.stamp-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: #111827;
}

.stamp-brand {
    margin-top: 5px;
    color: #6b7280;
    font-size: 13px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-orange {
    background: #ffedd5;
    color: #9a3412;
}

.stamp-note {
    color: #4b5563;
    font-size: 13px;
    margin-top: 12px;
    min-height: 44px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.category-card strong {
    display: block;
    color: #111827;
    font-size: 16px;
}

.category-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-top: 6px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.guide-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
}

.guide-card h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}

.guide-card p {
    color: #6b7280;
    font-size: 14px;
    margin: 10px 0 0;
}

.faq {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
}

.faq-item {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item h3 {
    margin: 0;
    font-size: 16px;
}

.faq-item p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.empty-box {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 20px;
    padding: 28px;
    color: #6b7280;
    text-align: center;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 38px 0;
    margin-top: 38px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.footer-title {
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.footer-text {
    color: #9ca3af;
    font-size: 13px;
    margin-top: 10px;
}

.footer-links {
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.footer-links a {
    color: #d1d5db;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 28px;
    padding-top: 18px;
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .stamp-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .hero {
        padding-top: 34px;
    }

    .search-box {
        display: block;
    }

    .search-box input {
        width: 100%;
        height: 44px;
    }

    .search-box button {
        width: 100%;
        height: 42px;
        margin-top: 8px;
    }

    .section-head {
        display: block;
    }

    .more-link {
        display: inline-block;
        margin-top: 8px;
    }

    .stamp-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}