:root {
  --theme: #8a7b16;
  --theme-dark: #675c10;
  --theme-deep: #3b3508;
  --theme-light: #fbfaef;
  --theme-soft: #f1edc4;
  --theme-accent: #c7b84a;
  --theme-hover: #766a12;
  --theme-border: rgba(138, 123, 22, .26);
  --header-bg: #4b440c;
  --header-bg-2: #5d5410;
  --text-main: #332f18;
  --text-muted: #6d6744;
  --on-theme: #ffffff;
  --on-header: #fffceb;
  --on-dark: #fffceb;
  --white: #ffffff;
  --shadow-soft: 0 16px 42px rgba(75, 68, 12, .14);
}
* { 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; padding: 5px 9px; border-radius: 14px; background: rgba(255,255,255,.94); }
.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: #f2e88f; 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(75, 68, 12, .22); text-decoration: none; white-space: nowrap; font-weight: 800; }
.main-btn:hover, .header-login:hover { background: linear-gradient(180deg, #d6c85a 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(75,68,12,.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(55,50,8,.52); 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; }

.hero-section { padding: 54px 0 42px; background: radial-gradient(circle at 15% 20%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.hero-inner { width: min(1280px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 56px; min-height: 560px; }
.hero-content { min-width: 0; }
.hero-badge { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.hero-content h1 { color: var(--theme-dark); font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 22px; max-width: 760px; }
.hero-content p { max-width: 760px; color: var(--text-muted); font-size: 18px; line-height: 1.8; margin: 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-tags span { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 750; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; display: flex; align-items: center; justify-content: center; overflow: visible; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); border-radius: 30px; box-shadow: var(--shadow-soft); }
.hero-media-box img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { padding: 42px 0 50px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.info-card span { color: var(--theme); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.info-card h2 { color: var(--theme-dark); font-size: 21px; line-height: 1.25; margin: 8px 0 10px; }
.info-card p { color: var(--text-muted); margin: 0; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.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, .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, .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, .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: #efe58b; 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,252,235,.88); 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,252,235,.88); font-size: 14px; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner, .hero-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, .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero-inner { gap: 36px; } }
@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, .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { width: min(100% - 40px, 1280px); min-height: auto; padding: 28px 0; }
  .hero-visual { order: 2; }
  .hero-media-box { min-height: 280px; max-width: 520px; }
  .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; }
  .hero-section { padding: 28px 0 34px; }
  .hero-inner { width: min(100% - 32px, 1280px); padding: 12px 0 0; }
  .hero-content h1, .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-content p { font-size: 17px; }
  .hero-media-box { min-height: 220px; padding: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .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; }
}
