:root {
  --theme: #fc8b00;
  --theme-dark: #b85c00;
  --theme-deep: #713300;
  --theme-light: #fff4e5;
  --theme-soft: #ffead0;
  --theme-accent: #ffad35;
  --theme-hover: #db6d00;
  --theme-border: rgba(184, 92, 0, .22);
  --header-bg: #7d3a00;
  --header-bg-2: #a54f00;
  --text-main: #2b2119;
  --text-muted: #6e5d50;
  --on-theme: #23170b;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 16px 42px rgba(113, 51, 0, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--theme-light); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; line-height: 1.72; }
a { color: var(--theme-dark); text-decoration: none; }
a:hover { color: var(--theme-hover); }
img { max-width: 100%; }
.site-header { position: sticky; top: 0; 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); }
.header-inner { width: min(1360px, calc(100% - 48px)); min-height: 82px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-logo img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.desktop-nav a { color: var(--on-header); padding: 9px 10px; white-space: nowrap; border-radius: 10px; font-size: 14px; }
.desktop-nav a:hover, .desktop-nav a.active { background: rgba(255,255,255,.13); color: #fff; }
.header-login, .main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 800; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); box-shadow: 0 14px 28px rgba(0,0,0,.16); }
.header-login:hover, .main-btn:hover { color: var(--on-theme); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 22px; cursor: pointer; }
.mobile-drawer { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); background: var(--theme-deep); z-index: 10001; transform: translateX(-105%); transition: .25s ease; padding: 18px; color: #fff; }
.mobile-drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10000; opacity: 0; pointer-events: none; transition: .2s ease; }
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.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 { max-width: 160px; max-height: 60px; object-fit: contain; }
.drawer-close { border: 0; color: #fff; background: rgba(255,255,255,.12); border-radius: 10px; width: 40px; height: 40px; font-size: 28px; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; padding-top: 16px; }
.drawer-nav a { color: #fff; padding: 11px 12px; border-radius: 10px; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(255,255,255,.13); color: #fff; }
.section { padding: 56px 0; }
.section.compact { padding: 36px 0; }
.section-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.banner-section { padding: 28px 0 22px; background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.banner-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 22px; background: var(--theme-soft); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.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: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(113,51,0,.72); color: #fff; font-size: 30px; 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,.55); cursor: pointer; }
.banner-dots button.active { background: var(--theme); box-shadow: 0 0 0 3px rgba(255,255,255,.75); }
.intro-card, .content-card, .info-card, .category-card, .feature-card, .faq-item, .notice, .review-card { background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 18px; }
.intro-card { padding: 32px; }
.intro-card h1, .page-hero h1, .headline h1 { color: var(--theme-dark); line-height: 1.14; font-size: clamp(34px, 4.4vw, 58px); margin: 0 0 18px; }
.headline { max-width: 900px; margin: 0 auto; text-align: center; }
.headline p { font-size: 18px; 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; font-weight: 700; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }
.grid { 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)); }
.info-card, .category-card, .feature-card, .review-card { padding: 24px; position: relative; }
.info-card::before, .category-card::before, .feature-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, .eyebrow { color: var(--theme); font-weight: 900; letter-spacing: .04em; }
.category-card h3, .feature-card h3, .info-card h2, .content-card h2, .content-card h3 { color: var(--theme-dark); margin-top: 8px; }
.text-link { font-weight: 800; }
.media-split { display:grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 42px; align-items:center; }
.media-split.reverse { grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr); }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media { display:flex; align-items:center; justify-content:center; overflow:visible; background:linear-gradient(180deg,var(--white),var(--theme-soft)); border:1px solid var(--theme-border); border-radius:20px; padding:24px; 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:100%; width:auto; height:auto; object-fit:contain; }
.page-hero { background: radial-gradient(circle at 15% 20%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); padding: 56px 0; }
.page-hero-inner { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr); gap:48px; align-items:center; }
.page-hero p { font-size: 18px; color: var(--text-muted); }
.content-card { padding: 30px; }
.content-card p { margin: 0 0 16px; }
.topic-list { display:grid; gap:12px; padding:0; list-style:none; }
.topic-list li { background: var(--theme-soft); border:1px solid var(--theme-border); border-radius:14px; padding:14px 16px; }
.notice { padding: 24px; background: linear-gradient(180deg, var(--theme-soft), #fff8ef); border-left: 5px solid var(--theme); }
.notice h2 { margin-top:0; color:var(--theme-dark); }
.faq-list { display:grid; gap:14px; }
.faq-item { padding: 20px 22px; }
.faq-item h3 { margin:0 0 8px; color:var(--theme-dark); }
.review-card p { margin-bottom:0; }
.section-title { color: var(--theme-dark); font-size: clamp(28px,3vw,42px); line-height:1.2; margin:0 0 12px; }
.section-lead { color:var(--text-muted); max-width:860px; margin:0 0 28px; }
.related { display:flex; flex-wrap:wrap; gap:10px; }
.related a { padding:8px 12px; border:1px solid var(--theme-border); border-radius:999px; background:var(--white); }
.footer { background:linear-gradient(180deg,var(--theme-dark) 0%,var(--theme-deep) 100%); color:var(--on-dark); padding:48px 0 22px; }
.footer-grid { display:grid; grid-template-columns:1.6fr repeat(3,1fr); gap:28px; }
.footer h2 { font-size:17px; margin:0 0 12px; }
.footer a { display:block; color:var(--on-dark); opacity:.9; margin:6px 0; }
.footer-brand img { max-width:170px; max-height:60px; width:auto; height:auto; object-fit:contain; }
.footer-note { border-top:1px solid rgba(255,255,255,.16); margin-top:28px; padding-top:18px; font-size:14px; opacity:.9; }
@media (min-width: 1440px){ .banner-section .section-inner { width:min(1360px,calc(100% - 120px)); } }
@media (max-width: 1100px){ .desktop-nav { display:none; } .menu-toggle{display:inline-flex;align-items:center;justify-content:center;} .header-inner{grid-template-columns:auto 1fr auto;} .site-logo{justify-self:center;} .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));} .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));} .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width: 760px){ .header-inner{width:min(100% - 24px, 100%);min-height:68px;gap:10px;} .site-logo img{max-width:132px;max-height:50px;} .header-login{min-height:38px;padding:0 10px;font-size:12px;} .section-inner{width:min(100% - 28px,100%);} .section{padding:40px 0;} .banner-section{padding-top:16px;} .banner-arrow{width:36px;height:36px;font-size:24px;} .banner-prev{left:8px}.banner-next{right:8px}.grid-2,.grid-3,.grid-4,.media-split,.media-split.reverse,.page-hero-inner{grid-template-columns:1fr;} .page-hero{padding:38px 0;} .intro-card{padding:24px;} .intro-card h1,.page-hero h1,.headline h1{font-size:clamp(30px,9vw,44px);} .media-box,.app-visual,.card-media{min-height:220px;} .footer-grid{grid-template-columns:1fr;} }

/* MOBILE_FIX_TYPE_B_20260930: remove 320px horizontal overflow */
@media (max-width: 900px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  body { min-width: 0; }
  .header-inner,
  .hero-inner,
  .section-inner,
  .topic-hero-inner,
  .footer-inner { max-width: 100%; }

  .header-inner {
    width: calc(100% - 20px) !important;
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 92px) !important;
    gap: 6px !important;
  }
  .header-inner > *,
  .hero-inner > *,
  .topic-hero-inner > *,
  .split > *,
  .split.reverse > *,
  .footer-inner > *,
  .info-grid > *,
  .cards-grid > *,
  .features-grid > *,
  .reviews-grid > *,
  .steps-grid > * { min-width: 0; }

  .menu-toggle {
    width: 40px !important;
    min-width: 40px !important;
    padding: 6px !important;
  }
  .site-logo {
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-logo img {
    width: auto !important;
    height: auto !important;
    max-width: min(132px, 38vw) !important;
    max-height: 52px !important;
    object-fit: contain;
  }
  .header-login {
    width: 92px !important;
    max-width: 92px !important;
    min-width: 0 !important;
    padding: 9px 6px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .intro-card,
  .content-panel,
  .card,
  .feature-card,
  .faq-item,
  .review-card,
  .media-box,
  .page-media,
  .app-visual,
  .card-media { max-width: 100%; min-width: 0; }

  img { height: auto; }
}

@media (max-width: 360px) {
  :root { --container: calc(100% - 20px) !important; }
  .header-inner {
    width: calc(100% - 12px) !important;
    grid-template-columns: 38px minmax(0, 1fr) minmax(0, 86px) !important;
    gap: 4px !important;
  }
  .menu-toggle { width: 38px !important; min-width: 38px !important; }
  .site-logo img { max-width: min(120px, 37vw) !important; }
  .header-login { width: 86px !important; max-width: 86px !important; padding-inline: 5px !important; font-size: 10.5px !important; }
}
