:root {
  --theme: #970006;
  --theme-dark: #720005;
  --theme-deep: #430003;
  --theme-light: #fff4f4;
  --theme-soft: #f7dede;
  --theme-accent: #c9353a;
  --theme-hover: #820005;
  --theme-border: rgba(151, 0, 6, .24);
  --header-bg: #5a0004;
  --header-bg-2: #730006;
  --text-main: #351c1e;
  --text-muted: #75575a;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(90, 0, 4, .16);
}
* { 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.72; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 56px 0; }
.section-tight { padding: 30px 0; }
.section-soft { background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.section-white { background: var(--white); }
.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(255,255,255,.14); overflow: visible; }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; 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: 170px; max-height: 68px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 14px; min-width: 0; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 29px 0 24px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: #ffd9dc; border-bottom-color: var(--theme-accent); }
.header-actions { justify-self: end; }
.main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 11px 20px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); border: 0; border-radius: 999px; box-shadow: 0 12px 26px rgba(0,0,0,.18); text-decoration: none; white-space: nowrap; font-weight: 800; letter-spacing: .02em; }
.main-btn:hover { background: linear-gradient(180deg, #df4d53 0%, var(--theme-hover) 100%); }
.mobile-menu-toggle { display: none; background: transparent; border: 0; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--on-header); border-radius: 3px; }
.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) 0%, var(--theme-deep) 100%); color: var(--on-header); padding: 18px; 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(67, 0, 3, .58); transition: opacity .25s 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; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo img { display: block; max-width: 150px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: var(--on-header); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 6px; padding-top: 16px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.banner-section { padding: 34px 0 22px; background: radial-gradient(circle at 10% 0%, var(--theme-soft), transparent 40%); }
.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%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(90, 0, 4, .78); color: #fff; font-size: 30px; cursor: pointer; }
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 9px; }
.banner-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.banner-dots button.active { width: 28px; border-radius: 999px; background: var(--theme-accent); }
.intro-card, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-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; }
.intro-card { position: relative; overflow: hidden; }
.intro-card::before, .category-card::before, .feature-card::before, .info-card::before { content: ""; display: block; width: 54px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--theme), var(--theme-accent)); margin-bottom: 16px; }
.eyebrow, .tag, .badge, .category-pill { display: inline-flex; align-items: center; width: auto; max-width: max-content; padding: 7px 13px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-size: 13px; font-weight: 800; letter-spacing: .03em; }
h1, h2, h3 { margin-top: 0; color: var(--theme-dark); line-height: 1.18; }
h1 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.025em; margin-bottom: 20px; }
h2 { font-size: clamp(26px, 2.4vw, 38px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 980px; }
.section-heading { max-width: 900px; margin-bottom: 28px; }
.section-heading p { color: var(--text-muted); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.category-pills a { background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); border-radius: 999px; padding: 9px 14px; text-decoration: none; font-weight: 700; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--theme-soft); color: var(--theme); font-weight: 900; margin-bottom: 14px; }
.card-link, .text-link { display: inline-flex; margin-top: 4px; color: var(--theme-dark); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--theme-border); }
.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; }
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 42px; align-items: center; }
.split.reverse { grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr); }
.split.reverse .media-box { order: -1; }
.media-box { min-height: 280px; padding: 24px; border-radius: 26px; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.media-box img { max-height: 360px; }
.page-hero { padding: 58px 0 36px; background: radial-gradient(circle at 12% 15%, var(--theme-soft) 0%, transparent 38%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr); gap: 42px; align-items: center; }
.page-hero .visual-card { display: grid; gap: 14px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); }
.visual-stat { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--theme-border); }
.visual-stat:last-child { border-bottom: 0; }
.visual-stat strong { color: var(--theme); font-size: 22px; }
.topic-list { display: grid; gap: 14px; padding: 0; margin: 18px 0 0; list-style: none; }
.topic-list li { position: relative; padding-left: 24px; }
.topic-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--theme); box-shadow: 0 0 0 5px var(--theme-soft); }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feedback-item { background: var(--white); border: 1px solid var(--theme-border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-soft); }
.feedback-item p { margin: 0; }
.feedback-item span { display: block; margin-top: 12px; color: var(--theme-dark); font-weight: 800; font-size: 13px; }
.faq-list { display: grid; gap: 16px; }
.faq-item h3 { margin-bottom: 8px; }
.notice { background: linear-gradient(135deg, var(--theme-soft) 0%, var(--white) 100%); border-left: 5px solid var(--theme); }
.notice strong { color: var(--theme-dark); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { text-decoration: none; padding: 10px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--theme-border); font-weight: 800; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer h2 { color: var(--on-dark); font-size: 18px; margin-bottom: 14px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 7px 0; opacity: .92; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p { color: rgba(255,255,255,.8); max-width: 520px; }
.footer-logo { display: inline-flex !important; margin-bottom: 16px !important; }
.footer-logo img { max-width: 180px; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.footer-notice { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.82); }
.footer-notice strong { color: #fff; }
.footer-notice p { margin: 8px 0 0; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner { width: min(1360px, calc(100% - 120px)); } .main-nav { gap: 20px; } .main-nav a { font-size: 14px; } }
@media (max-width: 1180px) { .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 { padding: 10px 16px; font-size: 13px; } }
@media (max-width: 1023px) { .grid-4, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3, .feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split.reverse, .page-hero-grid { grid-template-columns: 1fr; } .split.reverse .media-box { order: 0; } .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .container, .section-inner, .header-inner, .footer-inner { width: min(100% - 32px, 1280px); } .section { padding: 42px 0; } .banner-section { padding-top: 20px; } .banner-carousel { border-radius: 18px; } .banner-arrow { width: 38px; height: 38px; font-size: 24px; } .banner-prev { left: 8px; } .banner-next { right: 8px; } .banner-dots { bottom: 9px; } .page-hero { padding-top: 38px; } .grid-2, .grid-3, .grid-4, .category-grid, .feedback-grid, .footer-grid { grid-template-columns: 1fr; } .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .intro-card { padding: 22px; border-radius: 20px; } .media-box { min-height: 220px; padding: 18px; } h1 { font-size: clamp(32px, 10vw, 44px); } }
@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 11px; font-size: 12px; } .category-pills a { width: 100%; justify-content: center; } }
