:root {
  --theme: #9d1f28;
  --theme-dark: #74151c;
  --theme-deep: #4c0d12;
  --theme-light: #fdf1f2;
  --theme-soft: #f6dadd;
  --theme-accent: #cf4d58;
  --theme-hover: #851a22;
  --theme-border: rgba(116, 21, 28, .24);
  --header-bg: #5d1117;
  --header-bg-2: #781820;
  --text-main: #392326;
  --text-muted: #765d61;
  --on-theme: #ffffff;
  --on-header: #fff5f6;
  --on-dark: #fff5f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(93, 17, 23, .15);
}
* { 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: var(--theme-dark); }
img { max-width: 100%; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 68px 0; }
.section.alt { background: rgba(255,255,255,.62); }
.section-head { max-width: 860px; margin-bottom: 30px; }
.eyebrow, .hero-badge, .tag, .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 14px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; letter-spacing: .02em; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; }
h2 { font-size: clamp(28px, 3vw, 42px); margin: 10px 0 16px; }
h3 { margin: 0 0 10px; }
p { margin-top: 0; }
.text-muted { color: var(--text-muted); }
.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 var(--theme-border); overflow: visible; }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; 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: 15px; min-width: 0; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-size: 14px; padding: 28px 0 24px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--theme-accent); border-bottom-color: var(--theme); }
.header-actions { display: flex; justify-content: flex-end; }
.main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 0; 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: 900; }
.main-btn:hover { background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 50%, var(--theme-dark) 100%); }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.08); }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 2px; }
.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: var(--header-bg); color: var(--on-header); padding: 20px; box-shadow: var(--shadow-soft); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(76,13,18,.56); transition: opacity .28s ease, visibility .28s 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: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-head img { width: auto; height: auto; max-width: 150px; max-height: 58px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.24); color: var(--on-header); background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 5px; padding: 18px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 12px; border-radius: 12px; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(207,77,88,.18); color: var(--theme-accent); }
.hero-section { padding: 62px 0 44px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 56px; }
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 22px; color: var(--theme-dark); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; margin: 0 0 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags a, .hero-tags span { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; text-decoration: none; }
.hero-visual, .media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box, .page-media { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; border-radius: 32px; background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box img, .page-media img, .media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { padding: 34px 0 48px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .term-card, .feedback-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: 26px; }
.info-card { border-top: 4px solid var(--theme); }
.info-card span, .card-number { color: var(--theme-dark); font-weight: 900; }
.info-card h2 { font-size: 24px; margin: 10px 0; }
.category-section { padding: 16px 0 54px; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--theme-border); color: var(--theme-dark); background: var(--theme-soft); border-radius: 999px; text-decoration: none; font-weight: 800; }
.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: 22px; }
.card h3, .zone-card h3, .feature-card h3, .category-card h3, .term-card h3, .feedback-card h3 { color: var(--theme-dark); }
.category-card { display: flex; flex-direction: column; border-top: 4px solid var(--theme); }
.category-card .text-link { margin-top: auto; padding-top: 10px; }
.text-link { display: inline-flex; width: max-content; max-width: 100%; color: var(--theme-dark); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.split-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 42px; align-items: center; }
.split-section.reverse .split-copy { order: 2; }
.split-section.reverse .media-box, .split-section.reverse .visual-card { order: 1; }
.media-box { min-height: 300px; padding: 28px; border: 1px solid var(--theme-border); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.media-box img { max-height: 320px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { padding: 14px 16px 14px 44px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 16px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--theme); color: var(--on-theme); font-weight: 900; }
.page-hero { padding: 54px 0 44px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.5vw, 62px); margin: 14px 0 20px; }
.page-hero .lead { font-size: 18px; line-height: 1.85; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.term-card { padding: 20px; box-shadow: none; background: var(--theme-light); }
.term-card p { margin: 0; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.feedback-card { position: relative; padding-top: 42px; }
.feedback-card::before { content: '“'; position: absolute; top: 10px; left: 22px; font-size: 42px; line-height: 1; color: var(--theme); font-weight: 900; }
.faq-list { display: grid; gap: 16px; }
.faq-item { box-shadow: none; }
.faq-item h3 { font-size: 19px; }
.faq-item p { margin-bottom: 0; }
.notice { background: linear-gradient(180deg, var(--theme-soft), var(--theme-light)); border-left: 5px solid var(--theme); }
.notice h3 { font-size: 24px; }
.related-nav { margin-top: 26px; padding: 24px; border-radius: 22px; border: 1px solid var(--theme-border); background: var(--white); }
.related-nav h3 { margin-bottom: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--theme-border); background: var(--theme-soft); text-decoration: none; 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.5fr repeat(3,1fr); gap: 32px; }
.footer-brand img { width: auto; height: auto; max-width: 180px; max-height: 70px; object-fit: contain; margin-bottom: 16px; }
.footer h3 { color: var(--theme-accent); margin: 0 0 14px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; padding: 5px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-notice { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { margin: 8px 0 0; color: rgba(255,249,233,.86); }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1360px, calc(100% - 120px)); } .hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(480px,.95fr); gap: 70px; } }
@media (max-width: 1180px) { .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; 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; } }
@media (max-width: 1023px) { .hero-section { padding: 48px 0 36px; } .hero-inner, .page-hero-inner, .split-section { grid-template-columns: 1fr; gap: 32px; } .hero-content h1 { font-size: clamp(36px,9vw,52px); } .hero-media-box, .page-media { max-width: 100%; min-height: auto; padding: 24px; } .hero-media-box img, .page-media img { max-height: 300px; } .info-grid, .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); } .feedback-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .split-section.reverse .split-copy, .split-section.reverse .media-box, .split-section.reverse .visual-card { order: initial; } }
@media (max-width: 767px) { .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(100% - 32px, 1280px); } .section { padding: 48px 0; } .info-grid, .grid-4, .grid-3, .grid-2, .term-grid, .footer-grid { grid-template-columns: 1fr; } .page-hero h1 { font-size: clamp(34px,10vw,48px); } .hero-content p, .page-hero .lead { font-size: 16px; } .media-box { min-height: 240px; } }
@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; } }
