:root {
  --theme: #ffb96e;
  --theme-dark: #a65b16;
  --theme-deep: #542b08;
  --theme-light: #fff9f2;
  --theme-soft: #ffead3;
  --theme-accent: #ffd39f;
  --theme-hover: #d87f28;
  --theme-border: rgba(255, 185, 110, .40);
  --header-bg: #5d320c;
  --header-bg-2: #824812;
  --text-main: #3e2817;
  --text-muted: #775a42;
  --on-theme: #2b190b;
  --on-header: #fff8ef;
  --on-dark: #fff8ef;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(130, 72, 18, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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.68; }
body.menu-open { overflow: hidden; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button { font: inherit; }
main { min-height: 60vh; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin-left: auto; margin-right: auto;
}
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-heading { max-width: 860px; margin-bottom: 34px; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.16; }
h2 { font-size: clamp(30px, 3vw, 44px); margin: 0 0 18px; }
h3 { font-size: 21px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
.muted { color: var(--text-muted); }
.eyebrow, .page-label, .hero-badge, .tag, .badge {
  display: inline-flex; align-items: center; width: auto; max-width: max-content;
  padding: 8px 14px; border-radius: 999px; background: var(--theme-soft);
  color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800;
}
.text-link { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.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 rgba(255,255,255,.14);
}
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-logo, .footer-logo, .drawer-logo { display: inline-flex; align-items: center; justify-content: center; 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: var(--theme-accent); border-bottom-color: var(--theme-accent); }
.main-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 13px 20px; 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 { transform: translateY(-1px); background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 52%, var(--theme-dark) 100%); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10); border-radius: 12px; padding: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--on-header); border-radius: 3px; }
.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); box-shadow: 24px 0 50px rgba(0,0,0,.28); padding: 18px; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(80, 41, 10, .78); transition: .25s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo img { max-width: 150px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { border: 0; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--on-header); font-size: 28px; }
.drawer-nav { display: grid; gap: 6px; padding: 18px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255,255,255,.14); color: var(--theme-accent); }

.hero-section { padding: 68px 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 { 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: 16px 0 22px; max-width: 820px; }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; color: var(--text-main); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-tags span { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.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; padding: 34px; border-radius: 32px; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); 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 { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; display: block; }

.info-section { padding: 26px 0 52px; background: var(--white); }
.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, .feedback-card, .topic-card {
  position: relative; 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: 28px;
}
.info-card::before, .category-card::before, .feature-card::before, .topic-card::before { content: ""; display: block; width: 52px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--theme), var(--theme-accent)); margin-bottom: 16px; }
.info-card > span, .card-number { color: var(--theme); font-weight: 900; font-size: 14px; }
.info-card h2 { font-size: 22px; margin: 10px 0; }
.info-card p, .category-card p, .topic-card p, .feature-card p, .feedback-card p { color: var(--text-muted); line-height: 1.72; }
.category-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.category-pills a { background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); border-radius: 999px; padding: 11px 17px; text-decoration: none; font-weight: 800; box-shadow: 0 8px 24px rgba(166,91,22,.12); }
.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: 28px; }
.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; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card .text-link { display: inline-block; margin-top: 8px; }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 48px; align-items: center; }
.split-section.reverse .split-copy { order: 2; }
.split-section.reverse .visual-card { order: 1; }
.visual-card { min-height: 360px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--white), var(--theme-soft)); }
.visual-card img, .media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); border-radius: 50%; font-weight: 900; }

.page-hero { padding: 62px 0 54px; background: radial-gradient(circle at 12% 18%, var(--theme-soft) 0%, transparent 38%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 4.7vw, 66px); margin: 16px 0 22px; letter-spacing: -.025em; }
.page-hero p { font-size: 18px; line-height: 1.82; max-width: 850px; }
.page-hero .visual-card { min-height: 320px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.topic-chips span { padding: 8px 13px; border-radius: 999px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 700; }
.prose { font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 16px; }
.number-list { counter-reset: item; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.number-list li { counter-increment: item; position: relative; padding: 18px 18px 18px 68px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 18px; }
.number-list li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 18px; top: 18px; color: var(--theme); font-weight: 900; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feedback-card::before { content: "“"; position: absolute; right: 22px; top: 8px; font-size: 64px; line-height: 1; color: var(--theme-soft); font-weight: 900; }
.faq-list { display: grid; gap: 16px; }
.faq-item h3 { padding-right: 24px; }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 5px solid var(--theme); }
.notice strong { display: block; color: var(--theme-dark); margin-bottom: 8px; font-size: 19px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { display: inline-flex; padding: 10px 15px; border-radius: 14px; background: var(--white); border: 1px solid var(--theme-border); text-decoration: none; font-weight: 800; }
.cta-strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 34px; border-radius: 26px; background: linear-gradient(135deg, var(--header-bg), var(--header-bg-2)); color: var(--on-dark); box-shadow: var(--shadow-soft); }
.cta-strip h2 { color: var(--theme-accent); }
.cta-strip p { color: var(--on-dark); }

.footer { padding: 58px 0 24px; background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.footer h2 { color: var(--theme-accent); font-size: 18px; margin: 0 0 16px; }
.footer a { display: block; color: var(--on-dark); text-decoration: none; margin: 8px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-logo img { max-width: 190px; max-height: 74px; width: auto; height: auto; object-fit: contain; }
.footer-brand p { max-width: 460px; color: rgba(255,248,239,.84); }
.footer-notice { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { color: rgba(255,248,239,.80); margin-top: 8px; }

@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: 80px; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 13px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .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; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .page-hero-grid, .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse .split-copy, .split-section.reverse .visual-card { order: initial; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .info-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .feedback-grid { 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: 54px 0; }
  .header-actions .main-btn { padding: 9px 12px; font-size: 12px; }
  .info-grid, .grid-2, .grid-3, .grid-4, .category-grid, .feedback-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .page-hero p, .hero-content p { font-size: 16px; }
  .visual-card { min-height: 270px; }
  .cta-strip { grid-template-columns: 1fr; }
}
@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 10px; font-size: 11px; }
}

.content-matrix {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(150deg, var(--header-bg), var(--header-bg-2));
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
}
.content-matrix h3 { color: var(--theme-accent); margin: 16px 0 22px; font-size: 28px; }
.content-matrix .eyebrow { background: rgba(255,255,255,.10); color: var(--theme-accent); border-color: rgba(255,255,255,.18); }
.mini-point-grid { display: grid; gap: 12px; }
.mini-point {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.mini-point strong { color: var(--theme-accent); }
.mini-point span { color: rgba(255,252,248,.86); font-size: 14px; }
.service-band { background: linear-gradient(135deg, var(--theme-deep), var(--header-bg-2)); color: var(--on-dark); }
.service-band h2, .service-band h3 { color: var(--theme-accent); }
.service-band p { color: rgba(255,252,248,.84); }
.service-band .feature-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.19); box-shadow: none; }
.service-band .feature-card::before { background: linear-gradient(90deg, var(--theme-accent), var(--white)); }
.content-wall { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.content-wall-main { padding: 34px; border-radius: 28px; background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.content-wall-side { display: grid; gap: 18px; }
.compact-card { padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.compact-card h3 { font-size: 19px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 26px; }
.stat-item { padding: 18px; border-radius: 18px; background: var(--theme-soft); border: 1px solid var(--theme-border); }
.stat-item strong { display: block; color: var(--theme-dark); font-size: 22px; }
.stat-item span { color: var(--text-muted); font-size: 14px; }
.rule-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.rule-list li { padding: 16px 18px; border-left: 4px solid var(--theme); background: var(--theme-soft); border-radius: 0 16px 16px 0; }
.home-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (max-width: 1023px) {
  .content-wall { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .home-faq-grid, .stat-row { grid-template-columns: 1fr; }
  .content-matrix { padding: 24px; }
}
