* {
    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;
    }
}

.page-hero {
    padding: 38px 0 24px;
    background: linear-gradient(180deg, #ffffff, #f7f8fb);
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
}

.breadcrumb a {
    color: #16a34a;
    font-weight: 800;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    color: #111827;
    letter-spacing: -.03em;
}

.page-hero p {
    margin: 12px 0 0;
    color: #4b5563;
    max-width: 760px;
}

.filter-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 22px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 180px 180px 160px 110px;
    gap: 12px;
    align-items: end;
}

.filter-grid label {
    display: block;
    font-size: 13px;
    color: #374151;
    font-weight: 800;
    margin-bottom: 6px;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
}

.filter-grid button {
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.result-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #374151;
}

.pagination .active {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.detail-card,
.side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
}

.detail-main {
    padding: 24px;
}

.detail-top {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.detail-image {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid #e5e7eb;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-image-empty {
    color: #9ca3af;
    font-weight: 900;
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
    color: #111827;
}

.detail-brand {
    color: #6b7280;
    margin-top: 8px;
}

.info-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.info-row span:first-child {
    color: #6b7280;
}

.info-row span:last-child {
    font-weight: 900;
    color: #111827;
    text-align: right;
}

.official-button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    margin-top: 18px;
}

.content-block {
    margin-top: 28px;
}

.content-block h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #111827;
}

.content-block p {
    color: #4b5563;
    margin: 0;
}

.content-box {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 18px;
    color: #4b5563;
}

.step-list {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
}

.step-list li {
    margin-bottom: 8px;
}

.side-card {
    padding: 20px;
    margin-bottom: 18px;
}

.side-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.side-list {
    display: grid;
    gap: 12px;
}

.side-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: center;
}

.side-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #f3f4f6;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

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

.side-title {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
}

.side-meta {
    color: #6b7280;
    font-size: 12px;
    margin-top: 3px;
}

.notice-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 16px;
    padding: 16px;
    font-size: 14px;
}

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-top {
        grid-template-columns: 220px 1fr;
    }
}

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

    .detail-top {
        grid-template-columns: 1fr;
    }

    .detail-image {
        max-width: 280px;
    }
}

.article-wrap {
    max-width: 860px;
    margin: 0 auto;
}

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

.article-card h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 24px;
    color: #111827;
}

.article-card h2:first-child {
    margin-top: 0;
}

.article-card h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 18px;
    color: #111827;
}

.article-card p,
.article-card li {
    color: #4b5563;
    font-size: 15px;
}

.article-card ul,
.article-card ol {
    padding-left: 22px;
}

.article-card .note {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 16px;
    margin: 20px 0;
    color: #4b5563;
}

.article-card a {
    color: #16a34a;
    font-weight: 800;
}

.contact-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 18px;
    margin-top: 18px;
}

.policy-date {
    color: #6b7280;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 620px) {
    .article-card {
        padding: 22px;
    }
}

.ad-safe-wrap {
    margin: 34px 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    min-height: 120px;
}

.ad-label {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.ad-safe-wrap ins.adsbygoogle {
    min-height: 90px;
}

.ad-safe-wrap:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.quality-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 18px;
}

.quality-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #111827;
}

.quality-list {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
}

.quality-list li {
    margin-bottom: 8px;
}

.related-search-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-search-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid #bbf7d0;
}

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

.related-stamps-block {
    margin-top: 28px;
}

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

.related-stamps-head h2 {
    margin-bottom: 6px;
}

.related-stamps-head p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.related-stamps-head a {
    color: #16a34a;
    font-weight: 900;
    white-space: nowrap;
}

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

.related-stamp-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.related-stamp-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

.related-stamp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-stamp-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-weight: 900;
}

.related-stamp-body {
    padding: 13px;
}

.related-stamp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.related-stamp-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 900;
}

.related-stamp-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.related-stamp-card h3 a {
    color: #111827;
}

.related-stamp-card p {
    margin: 7px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.related-stamp-meta {
    margin-top: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 760px) {
    .related-stamps-head {
        display: block;
    }

    .related-stamps-head a {
        display: inline-block;
        margin-top: 8px;
    }

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

@media (max-width: 460px) {
    .related-stamps-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Related stamps layout fix ===== */

.related-stamps-block {
    margin-top: 36px !important;
    padding: 28px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
}

.related-stamps-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 18px !important;
    margin-bottom: 20px !important;
}

.related-stamps-head h2 {
    margin: 0 0 6px !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
}

.related-stamps-head p {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.related-stamps-head > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #bbf7d0 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.related-stamps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

.related-stamp-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06) !important;
    min-width: 0 !important;
}

.related-stamp-img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: #f3f4f6 !important;
    overflow: hidden !important;
}

.related-stamp-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #f9fafb !important;
}

.related-stamp-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    color: #9ca3af !important;
    font-weight: 900 !important;
}

.related-stamp-body {
    padding: 14px !important;
}

.related-stamp-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 9px !important;
}

.related-stamp-badges span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.related-stamp-card h3 {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    min-height: 44px !important;
}

.related-stamp-card h3 a {
    color: #111827 !important;
    text-decoration: none !important;
}

.related-stamp-card p {
    margin: 8px 0 0 !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.related-stamp-meta {
    margin-top: 9px !important;
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

@media (max-width: 900px) {
    .related-stamps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .related-stamps-block {
        padding: 20px !important;
    }

    .related-stamps-head {
        display: block !important;
    }

    .related-stamps-head > a {
        margin-top: 12px !important;
    }

    .related-stamps-grid {
        grid-template-columns: 1fr !important;
    }
}

.detail-category-links {
    margin-top: 18px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
}

.detail-category-label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.detail-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-category-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.detail-category-list a:hover {
    background: #dcfce7;
    color: #166534;
}

.home-category-grid {
    align-items: stretch;
}

.home-category-card {
    height: 100%;
}

.home-category-card a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
    text-decoration: none;
}

.breadcrumb-wrap {
    background: #ffffff;
    border-bottom: 1px solid #eef2f7;
}

.breadcrumb-list {
    margin: 0;
    padding: 12px 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    color: #c4c9d4;
    font-weight: 900;
}

.breadcrumb-list a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 800;
}

.breadcrumb-list a:hover {
    color: #16a34a;
}

.breadcrumb-list span {
    color: #9ca3af;
    font-weight: 800;
}

.front-category-section {
    padding: 36px 0;
    background: #f9fafb;
    border-top: 1px solid #eef2f7;
}

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

.front-category-section-head h2 {
    margin: 0;
    font-size: 26px;
    color: #111827;
    letter-spacing: -.03em;
}

.front-category-section-head p {
    margin: 7px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.front-category-section-head > a {
    white-space: nowrap;
    color: #16a34a;
    font-weight: 900;
    text-decoration: none;
}

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

.front-category-section-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    min-height: 150px;
}

.front-category-section-card strong {
    display: block;
    color: #111827;
    font-size: 17px;
    margin-bottom: 8px;
}

.front-category-section-card span {
    display: block;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
}

.front-category-section-card em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    margin-top: 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.front-category-section-card:hover {
    border-color: #bbf7d0;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .front-category-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .front-category-section-head {
        display: block;
    }

    .front-category-section-head > a {
        display: inline-block;
        margin-top: 8px;
    }

    .front-category-section-grid {
        grid-template-columns: 1fr;
    }
}

.enhanced-footer {
    padding: 42px 0 26px;
    background: #111827;
    color: #e5e7eb;
}

.enhanced-footer a {
    text-decoration: none;
}

.enhanced-footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(170px, 1fr));
    gap: 28px;
    align-items: start;
}

.footer-brand-box .footer-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 950;
    margin-bottom: 10px;
}

.footer-brand-box .footer-text {
    color: #d1d5db;
    line-height: 1.8;
    margin: 0;
    max-width: 520px;
}

.footer-small-note {
    margin: 12px 0 0;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.75;
    max-width: 560px;
}

.footer-link-column h3,
.enhanced-footer-categories h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.footer-link-column a {
    display: block;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
    padding: 3px 0;
}

.footer-link-column a:hover {
    color: #86efac;
}

.enhanced-footer-categories {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-category-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    font-weight: 900;
}

.footer-category-links a:hover {
    background: rgba(34,197,94,.22);
    border-color: rgba(134,239,172,.45);
    color: #bbf7d0;
}

.footer-category-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    font-size: 11px;
}

.enhanced-footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: #9ca3af;
    font-size: 13px;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-policy-links a {
    color: #9ca3af;
}

.footer-policy-links a:hover {
    color: #86efac;
}

.footer-copy {
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .enhanced-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .enhanced-footer-top {
        grid-template-columns: 1fr;
    }

    .enhanced-footer-bottom {
        display: block;
    }

    .footer-copy {
        margin-top: 12px;
        white-space: normal;
    }
}

.desktop-nav a.active,
.mobile-nav-panel a.active {
    color: #16a34a;
    font-weight: 950;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: transform .18s ease, opacity .18s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-inner {
    padding-top: 10px;
    padding-bottom: 12px;
}

.mobile-nav-panel a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-weight: 850;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
    background: #ecfdf5;
    color: #047857;
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .mobile-nav-panel.is-open {
        display: block;
    }

    .logo {
        max-width: calc(100% - 58px);
    }

    .logo span:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.front-search-section {
    padding: 28px 0;
    background: #ffffff;
}

.front-search-box {
    background:
        radial-gradient(circle at 10% 10%, rgba(34,197,94,.12), transparent 26%),
        radial-gradient(circle at 90% 0%, rgba(59,130,246,.10), transparent 28%),
        #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.front-search-head h2 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    letter-spacing: -.03em;
}

.front-search-head p {
    margin: 8px 0 0;
    color: #6b7280;
    line-height: 1.7;
    font-size: 14px;
}

.front-search-form {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 18px;
    padding: 9px;
}

.front-search-form input {
    height: 46px;
    border: 0;
    outline: none;
    padding: 0 12px;
    font-size: 15px;
    background: transparent;
}

.front-search-form button {
    border: 0;
    border-radius: 14px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

.front-search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 15px;
    color: #6b7280;
    font-size: 13px;
}

.front-search-keywords span {
    font-weight: 900;
    color: #374151;
}

.front-search-keywords a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #047857;
    text-decoration: none;
    font-weight: 850;
}

.front-search-keywords a:hover {
    background: #dcfce7;
}

.empty-search-result {
    padding: 26px 0;
}

.empty-search-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    padding: 24px;
    text-align: center;
}

.empty-search-box h2 {
    margin: 0;
    color: #9a3412;
    font-size: 22px;
}

.empty-search-box p {
    margin: 10px auto 0;
    color: #7c2d12;
    line-height: 1.8;
    max-width: 680px;
}

.empty-search-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.empty-search-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #9a3412;
    border: 1px solid #fdba74;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 640px) {
    .front-search-box {
        padding: 18px;
    }

    .front-search-form {
        grid-template-columns: 1fr;
    }

    .front-search-form button {
        height: 42px;
    }
}