:root {
  --theme: #e21b28;
  --theme-dark: #8e1019;
  --theme-deep: #43070c;
  --theme-light: #fff1f2;
  --theme-soft: #ffd9dd;
  --theme-accent: #ff7580;
  --theme-hover: #bd1520;
  --theme-border: rgba(226, 27, 40, .36);
  --header-bg: #5b090f;
  --header-bg-2: #8e1019;
  --text-main: #321014;
  --text-muted: #764048;
  --on-theme: #ffffff;
  --on-header: #fff2f4;
  --on-dark: #ffe8ec;
  --white: #FFFFFF;
  --shadow-soft: 0 18px 44px rgba(91, 9, 15, .20);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
body { background: var(--theme-light); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 767px) { .container, .section-inner, .header-inner, .footer-inner { width: min(100% - 32px, 1280px); } }
.site-header { position: sticky; top: 0; width: 100%; z-index: 9999; background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%); color: var(--on-header); box-shadow: var(--shadow-soft); border-bottom: 1px solid rgba(226,27,40,.24); overflow: visible; }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; overflow: visible; }
.site-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: visible; }
.site-logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 72px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 18px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 15px; padding: 28px 0 24px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--theme-soft); border-bottom-color: var(--theme-accent); }
.main-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); border-radius: 999px; box-shadow: 0 14px 28px rgba(0,0,0,.16); text-decoration: none; white-space: nowrap; font-weight: 800; padding: 12px 20px; border: 1px solid rgba(226,27,40,.36); }
.main-btn:hover { transform: translateY(-1px); background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 55%, var(--theme-dark) 100%); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(226,27,40,.34); background: rgba(226,27,40,.16); border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 9px; }
.section { padding: 64px 0; }
.section-title { max-width: 880px; margin: 0 auto 28px; text-align: center; }
.section-title .badge, .page-badge { margin-bottom: 12px; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; margin-top: 0; }
h1 { font-size: clamp(36px, 4.2vw, 62px); letter-spacing: -0.03em; margin-bottom: 18px; }
h2 { font-size: clamp(26px, 2.4vw, 38px); margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 10px; }
p { margin-top: 0; color: var(--text-muted); }
.banner-section { padding: 36px 0 24px; background: radial-gradient(circle at 20% 10%, var(--theme-soft) 0%, transparent 36%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.banner-carousel { position: relative; width: 100%; border-radius: 28px; overflow: hidden; background: var(--theme-soft); box-shadow: var(--shadow-soft); border: 1px solid var(--theme-border); }
.banner-slide { display: none; }
.banner-slide.active { display: flex; align-items: center; justify-content: center; }
.banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(72,36,0,.72); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.banner-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.62); cursor: pointer; }
.banner-dots button.active { width: 34px; background: var(--theme-accent); }
.intro-section { padding: 34px 0 42px; }
.intro-card, .headline-card { background: linear-gradient(135deg, var(--white) 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 30px; padding: 34px; }
.intro-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 30px; align-items: center; }
.intro-card p { font-size: 18px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.category-pills a, .category-pill, .tag, .badge { border-radius: 999px; padding: 9px 15px; display: inline-flex; width: auto; max-width: max-content; text-decoration: none; font-weight: 800; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }
.badge, .page-badge { background: var(--theme-soft); color: var(--theme-dark); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .tip-card { background: var(--white); color: var(--text-main); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 24px; min-height: auto; height: auto; padding: 28px; position: relative; }
.card::before, .category-card::before, .feature-card::before, .faq-item::before { content: ""; display: block; width: 52px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--theme), var(--theme-accent)); margin-bottom: 16px; }
.card-number, .info-card span { color: var(--theme); font-weight: 900; font-size: 22px; }
.card-link { color: var(--theme-dark); font-weight: 900; text-decoration: none; display: inline-flex; margin-top: 8px; }
.card-link:hover { color: var(--theme-hover); }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.media-box img, .banner-media img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.card-media, .visual-card { min-height: 260px; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); }
.card-media img { max-height: 280px; }
.feature-list { display: grid; gap: 14px; padding: 0; margin: 18px 0 0; list-style: none; }
.feature-list li { padding: 14px 16px; border-radius: 18px; background: var(--theme-soft); border: 1px solid var(--theme-border); color: var(--text-main); }
.page-hero { padding: 58px 0; background: radial-gradient(circle at 20% 18%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero .section-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 42px; align-items: center; }
.page-hero p { font-size: 18px; }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); }
.feedback { border-left: 4px solid var(--theme); font-style: italic; }
.related-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.related-nav a { text-decoration: none; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding-top: 54px; }
.footer a { color: var(--on-dark); text-decoration: none; margin-bottom: 10px; display: block; opacity: .92; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer p { color: rgba(244,250,255,.82); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, .6fr)); gap: 32px; }
.footer-brand img, .drawer-head img { max-width: 180px; max-height: 70px; width: auto; height: auto; object-fit: contain; display: block; margin-bottom: 18px; }
.footer h3 { color: var(--on-dark); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-badges span { border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 8px 12px; color: var(--on-dark); }
.footer-note { width: min(1280px, calc(100% - 80px)); margin: 32px auto 0; padding: 18px 0 26px; border-top: 1px solid rgba(226,27,40,.24); color: rgba(244,250,255,.84); }
.mobile-drawer { position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; transform: translateX(-100%); transition: transform .28s ease; z-index: 10001; background: linear-gradient(180deg, var(--header-bg), var(--header-bg-2)); color: var(--on-header); padding: 22px; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(5,24,45,.54); transition: opacity .2s ease, visibility .2s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(226,27,40,.34); color: var(--on-header); background: rgba(226,27,40,.16); font-size: 28px; }
.drawer-nav { display: grid; gap: 8px; margin-top: 14px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 10px; border-radius: 14px; background: rgba(255,255,255,.08); }
.drawer-nav a.active { background: rgba(255,255,255,.22); }
@media (max-width: 1120px) { .main-nav { gap: 12px; } .main-nav a { font-size: 14px; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; } .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; } .main-nav { display: none; } .site-logo { justify-self: center; } .site-logo img { max-width: min(150px, 42vw); max-height: 56px; } .header-actions { justify-self: end; } .header-actions .main-btn { white-space: nowrap; padding: 10px 16px; } .intro-card, .page-hero .section-inner, .grid-2, .split { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .section { padding: 44px 0; } .banner-section { padding-top: 22px; } .banner-arrow { width: 38px; height: 38px; font-size: 26px; } .banner-dots { bottom: 10px; } .grid-4, .grid-3 { grid-template-columns: 1fr; } .intro-card, .headline-card, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .tip-card { padding: 22px; } .footer-inner { grid-template-columns: 1fr; } .footer-note { width: min(100% - 32px, 1280px); } }
@media (max-width: 390px) { .header-inner { width: min(100% - 20px, 1280px); grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; } .site-logo img { max-width: min(120px, 36vw); max-height: 48px; } .header-actions .main-btn { padding: 8px 12px; font-size: 13px; } }
