:root {
  --theme: #901b11;
  --theme-dark: #73150e;
  --theme-deep: #430b07;
  --theme-light: #fff5f2;
  --theme-soft: #fbe8e3;
  --theme-accent: #c84a3d;
  --theme-hover: #7d160f;
  --theme-border: rgba(144, 27, 17, .20);
  --header-bg: #56100b;
  --header-bg-2: #74160f;
  --text-main: #34201d;
  --text-muted: #765d58;
  --on-theme: #ffffff;
  --on-header: #fff8f6;
  --on-dark: #fff8f6;
  --white: #ffffff;
  --shadow-soft: 0 16px 42px rgba(92, 20, 13, .12);
}
* { 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, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 64px 0; }
.section-soft { background: linear-gradient(180deg, var(--theme-soft), var(--theme-light)); }
.section-white { background: var(--white); }
.section-kicker, .page-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 7px 13px; border-radius: 999px; background: var(--theme-soft); border: 1px solid var(--theme-border); color: var(--theme-dark); font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading h2, .page-hero h1, .headline-section h1, .intro-card h2 { color: var(--theme-dark); margin: 0 0 14px; line-height: 1.15; }
.section-heading h2 { font-size: clamp(28px, 3vw, 44px); }
.section-heading p { margin: 0; color: var(--text-muted); font-size: 17px; }
.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: 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: 20px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; padding: 28px 0 24px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 700; }
.main-nav a.active, .main-nav a:hover { color: #ffe4df; border-bottom-color: var(--theme-accent); }
.main-btn, .header-login { 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 12px 28px rgba(41, 8, 5, .22); text-decoration: none; white-space: nowrap; font-weight: 800; }
.main-btn:hover, .header-login:hover { background: linear-gradient(180deg, #d45c50 0%, var(--theme-hover) 100%); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); border-radius: 12px; padding: 9px; flex-direction: column; justify-content: center; gap: 4px; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--on-header); border-radius: 4px; display: block; }
.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(--theme-deep)); color: var(--on-header); box-shadow: 20px 0 50px rgba(47,9,5,.22); 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(67,11,7,.48); transition: .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: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.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: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.08); color: var(--on-header); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 4px; margin: 18px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 12px; border-radius: 12px; border: 1px solid transparent; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.drawer-note { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 16px; }
.drawer-note p { margin: 4px 0 0; font-size: 14px; }
.banner-section { padding: 34px 0 26px; background: radial-gradient(circle at 50% 0, var(--theme-soft) 0%, var(--theme-light) 54%, transparent 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: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(67,11,7,.68); color: #fff; font-size: 30px; display: grid; place-items: center; cursor: pointer; }
.banner-prev { left: 18px; } .banner-next { right: 18px; }
.banner-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.62); padding: 0; cursor: pointer; }
.banner-dots button.active { width: 28px; border-radius: 999px; background: var(--theme-accent); }
.intro-section { padding: 18px 0 26px; }
.intro-card { background: linear-gradient(135deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.intro-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--theme-accent), var(--theme)); }
.intro-card p { margin: 0; color: var(--text-muted); font-size: 17px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.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); }
.headline-section { padding: 44px 0 34px; background: linear-gradient(180deg, var(--theme-light), var(--white)); }
.headline-section h1 { font-size: clamp(38px, 4.2vw, 62px); max-width: 980px; letter-spacing: -.025em; }
.headline-section p { max-width: 900px; color: var(--text-muted); font-size: 18px; }
.grid-2, .grid-3, .grid-4, .grid-8 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-8 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.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: 26px; }
.category-card, .feature-card, .info-card { position: relative; overflow: hidden; }
.category-card::before, .feature-card::before, .info-card::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 { color: var(--theme); font-weight: 900; font-size: 14px; letter-spacing: .08em; }
.category-card h3, .feature-card h3, .info-card h3, .zone-card h3 { color: var(--theme-dark); margin: 8px 0 10px; font-size: 21px; line-height: 1.25; }
.category-card p, .feature-card p, .info-card p, .zone-card p { color: var(--text-muted); margin: 0 0 12px; }
.text-link { font-weight: 800; color: var(--theme); text-decoration: none; }
.text-link:hover { color: var(--theme-hover); text-decoration: underline; }
.split-section { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 46px; align-items: center; }
.split-section.reverse .split-copy { order: 2; } .split-section.reverse .media-box { order: 1; }
.split-copy h2 { color: var(--theme-dark); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.14; margin: 0 0 16px; }
.split-copy p { color: var(--text-muted); font-size: 17px; }
.bullet-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bullet-list li { position: relative; padding-left: 28px; }
.bullet-list li::before { content: '•'; position: absolute; left: 8px; color: var(--theme); font-weight: 900; }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.media-box { min-height: 290px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-soft); }
.media-box img, .banner-media img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 360px; width: auto; height: auto; object-fit: contain; }
.page-hero { padding: 54px 0 38px; background: radial-gradient(circle at 12% 16%, var(--theme-soft) 0%, transparent 36%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: 46px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 4.2vw, 62px); letter-spacing: -.025em; }
.page-hero p { color: var(--text-muted); font-size: 18px; margin: 0; }
.page-hero .media-box { min-height: 300px; }
.page-hero .media-box img { max-height: 320px; }
.topic-section + .topic-section { padding-top: 12px; }
.topic-copy { background: var(--white); border: 1px solid var(--theme-border); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-soft); }
.topic-copy h2 { color: var(--theme-dark); margin: 0 0 14px; font-size: clamp(26px, 2.8vw, 38px); }
.topic-copy p { color: var(--text-muted); margin: 0 0 14px; }
.topic-copy p:last-child { margin-bottom: 0; }
.entity-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.entity-list span, .tag, .badge, .category-pill { border-radius: 999px; padding: 8px 14px; display: inline-flex; width: auto; max-width: max-content; background: var(--theme-soft); border: 1px solid var(--theme-border); color: var(--theme-dark); font-weight: 700; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.feedback { background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 22px; padding: 22px; }
.feedback p { margin: 0; color: var(--text-muted); }
.feedback strong { display: block; color: var(--theme-dark); margin-bottom: 8px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { box-shadow: none; }
.faq-item h3 { color: var(--theme-dark); margin: 0 0 8px; font-size: 19px; }
.faq-item p { margin: 0; color: var(--text-muted); }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 6px solid var(--theme); }
.notice h2 { color: var(--theme-dark); margin-top: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--theme-border); color: var(--theme-dark); font-weight: 700; }
.related-links a:hover { background: var(--theme-soft); }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 34px; }
.footer h2 { margin: 0 0 14px; color: #ffe5df; font-size: 16px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 8px 0; opacity: .92; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p { color: rgba(255,248,246,.82); max-width: 500px; }
.footer-logo img { display: block; width: auto; height: auto; max-width: 180px; max-height: 68px; object-fit: contain; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 20px; }
.footer-legal p { margin: 0; color: rgba(255,248,246,.82); font-size: 14px; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1180px) { .main-nav { gap: 12px; } .main-nav a { font-size: 13px; } .grid-4, .grid-8 { 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; }
  .page-hero-grid, .split-section { grid-template-columns: 1fr; gap: 28px; }
  .split-section.reverse .split-copy, .split-section.reverse .media-box { order: initial; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feedback-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: span 3; }
}
@media (max-width: 767px) {
  .container, .section-inner, .header-inner, .footer-inner { width: min(100% - 32px, 1280px); }
  .section { padding: 46px 0; }
  .banner-section { padding-top: 20px; }
  .banner-carousel { border-radius: 18px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 24px; }
  .banner-prev { left: 10px; } .banner-next { right: 10px; }
  .headline-section h1, .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .grid-2, .grid-3, .grid-4, .grid-8, .feedback-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .intro-card, .topic-copy, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card { padding: 22px; border-radius: 20px; }
  .media-box { min-height: 220px; padding: 20px; }
  .page-hero .media-box { min-height: 220px; }
  .category-pills { gap: 8px; }
}
@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; }
}

/* MOBILE_FIX_TYPE_A_20260930: restore mobile menu icon + narrow-screen hardening */
@media (max-width: 1023px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .header-inner, .header-inner > *, .hero-inner > *, .page-hero-inner > *, .split > * { min-width: 0; }
  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 8px !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--on-header, #fff) !important;
    -webkit-appearance: none;
    appearance: none;
  }
  .mobile-menu-toggle span {
    display: block !important;
    flex: 0 0 2px !important;
    width: 24px !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: var(--on-header, #fff) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
@media (max-width: 390px) {
  .header-inner { width: calc(100% - 16px) !important; gap: 6px !important; }
  .site-logo { min-width: 0; overflow: hidden; }
  .site-logo img { max-width: min(116px, 35vw) !important; }
  .header-actions .main-btn { max-width: 94px; min-width: 0; padding-inline: 8px !important; }
}
