:root {
  --theme: #126e51;
  --theme-dark: #0b4936;
  --theme-deep: #062e23;
  --theme-light: #f0faf6;
  --theme-soft: #dff2e9;
  --theme-accent: #3fb887;
  --theme-hover: #0e5e45;
  --theme-border: rgba(18, 110, 81, .24);
  --header-bg: #083e2e;
  --header-bg-2: #0b543e;
  --text-main: #17342b;
  --text-muted: #577168;
  --on-theme: #ffffff;
  --on-header: #f2fff9;
  --on-dark: #ecfff7;
  --white: #ffffff;
  --shadow-soft: 0 18px 46px rgba(6, 46, 35, .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.65; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 64px 0; }
.section.alt { background: var(--theme-soft); }
.section-title { max-width: 850px; margin: 0 auto 30px; text-align: center; }
.section-title .eyebrow, .page-kicker, .hero-badge { color: var(--theme-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.section-title h2, .content-panel h2, .feature-copy h2, .page-content h2 { color: var(--theme-dark); font-size: clamp(28px, 3vw, 42px); line-height: 1.16; margin: 8px 0 14px; }
.section-title p { color: var(--text-muted); margin: 0; }
.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: 22px; overflow: visible; }
.site-logo, .footer-logo, .drawer-logo { display: inline-flex; align-items: center; justify-content: center; overflow: visible; }
.site-logo img { width: auto; height: auto; max-width: 190px; max-height: 72px; object-fit: contain; display: block; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 19px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 700; 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-accent); }
.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; 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 28px rgba(0,0,0,.18); text-decoration: none; white-space: nowrap; font-weight: 900; }
.main-btn:hover { filter: brightness(.97); transform: translateY(-1px); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.09); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 4px; }
.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: 20px; box-shadow: 16px 0 40px rgba(0,0,0,.22); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(5,39,29,.45); opacity: 0; visibility: hidden; transition: .25s ease; z-index: 10000; }
.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,.18); }
.drawer-logo img { 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,.25); background: rgba(255,255,255,.08); color: var(--on-header); font-size: 26px; line-height: 1; }
.drawer-nav { display: grid; gap: 6px; padding-top: 18px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; font-weight: 800; padding: 12px 10px; border-radius: 12px; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(63,184,135,.18); color: var(--theme-accent); }
.hero-section { padding: 66px 0 42px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 56px; }
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 22px; color: var(--theme-dark); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; margin: 0 0 26px; color: var(--text-main); }
.hero-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 14px; background: var(--white); border: 1px solid var(--theme-border); margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.hero-tags, .category-pills, .related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags span, .category-pill, .related-links a { display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 14px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; text-decoration: none; }
.category-pill:hover, .related-links a:hover { background: var(--theme); color: var(--on-theme); }
.hero-visual, .media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; border-radius: 32px; background: rgba(255,255,255,.88); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; overflow: visible; padding: 34px; }
.hero-media-box img { display: block; max-width: 70%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { padding: 34px 0 50px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .content-panel, .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 .num, .card .num, .feature-card .num { color: var(--theme-dark); background: var(--theme-soft); border: 1px solid var(--theme-border); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; font-weight: 900; }
.info-card h2, .card h3, .category-card h3, .feature-card h3, .feedback-card h3 { color: var(--theme-dark); margin: 14px 0 9px; }
.info-card p, .card p, .category-card p, .feature-card p, .feedback-card p { color: var(--text-muted); margin: 0; }
.category-section { padding: 0 0 56px; }
.category-pills { justify-content: center; }
.category-pill { background: var(--theme-soft); }
.grid-8 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.category-card a, .text-link { display: inline-flex; margin-top: 14px; font-weight: 900; color: var(--theme-dark); text-decoration: none; }
.category-card a:hover, .text-link:hover { color: var(--theme-hover); }
.feature-row { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 42px; align-items: center; }
.feature-row.reverse { grid-template-columns: minmax(360px,.95fr) minmax(0,1.05fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .media-box { order: 1; }
.media-box, .app-visual { min-height: 310px; padding: 28px; border-radius: 28px; background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 330px; width: auto; height: auto; object-fit: contain; }
.check-list, .detail-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li, .detail-list li { position: relative; padding: 13px 16px 13px 44px; border-radius: 16px; background: var(--theme-soft); border: 1px solid var(--theme-border); }
.check-list li::before, .detail-list li::before { content: '✓'; position: absolute; left: 16px; top: 12px; font-weight: 900; color: var(--theme-dark); }
.page-hero { padding: 56px 0 34px; background: linear-gradient(180deg, var(--theme-light), var(--theme-soft)); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.75fr); gap: 42px; align-items: center; }
.page-hero h1 { margin: 8px 0 16px; color: var(--theme-dark); font-size: clamp(40px, 4vw, 62px); line-height: 1.08; }
.page-hero p { margin: 0; font-size: 18px; line-height: 1.8; }
.page-visual { min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 24px; border: 1px solid var(--theme-border); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.page-visual img { max-width: 100%; max-height: 290px; width: auto; height: auto; object-fit: contain; }
.page-content { padding: 54px 0; }
.page-content p { color: var(--text-main); }
.content-panel + .content-panel { margin-top: 24px; }
.content-panel p { margin: 0 0 14px; }
.content-panel p:last-child { margin-bottom: 0; }
.entity-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.entity-card { background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 20px; padding: 20px; }
.entity-card h3 { color: var(--theme-dark); margin: 0 0 8px; }
.entity-card p { margin: 0; color: var(--text-muted); }
.feedback-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { color: var(--theme-dark); margin: 0 0 9px; font-size: 19px; }
.faq-item p { margin: 0; color: var(--text-muted); }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 5px solid var(--theme); }
.notice h2, .notice h3 { color: var(--theme-dark); margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 34px; }
.footer h2 { color: var(--theme-accent); font-size: 17px; margin: 0 0 14px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 8px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-brand p { color: rgba(236,255,247,.82); max-width: 500px; }
.footer-logo img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.footer-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(236,255,247,.82); }
.footer-note strong { color: var(--theme-accent); }
@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: 72px; }
  .hero-media-box { max-width: 560px; min-height: 360px; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .grid-8, .grid-4, .entity-grid { 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 { padding: 10px 16px; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .page-hero-inner, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .media-box { order: initial; }
  .hero-content h1 { font-size: clamp(36px,7vw,52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .hero-media-box img { max-height: 300px; }
  .info-grid, .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@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-8, .grid-4, .grid-3, .grid-2, .entity-grid, .feedback-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-content p, .page-hero p { font-size: 16px; }
  .page-hero { padding: 44px 0 28px; }
  .page-hero h1 { font-size: clamp(34px,10vw,48px); }
  .media-box, .app-visual, .page-visual { min-height: auto; }
  .footer { padding-top: 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 12px; font-size: 12px; }
}

/* 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; }
}
