:root {
  --theme: #f96b05;
  --theme-dark: #c94f00;
  --theme-deep: #6f2600;
  --theme-light: #fff7f1;
  --theme-soft: #ffe8d6;
  --theme-accent: #ffac55;
  --theme-hover: #df5c00;
  --theme-border: rgba(249, 107, 5, .24);
  --header-bg: #722800;
  --header-bg-2: #9d3d00;
  --text-main: #3d2112;
  --text-muted: #78533d;
  --on-theme: #2a1200;
  --on-header: #ffffff;
  --on-dark: #fff7f1;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(111, 38, 0, .16);
}

* { 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;
  font-size: 16px;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--theme-dark); }
a:hover { color: var(--theme-hover); }
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 { position: relative; padding: 76px 0; }
.section-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-head { max-width: 860px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow,
.page-label,
.hero-badge,
.tag,
.badge,
.category-pill {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 800;
  line-height: 1.2;
}
h1,
h2,
h3 { color: var(--theme-dark); line-height: 1.22; }
h1 { margin: 0 0 24px; font-size: clamp(40px, 4.2vw, 64px); letter-spacing: -.035em; }
h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.02em; }
h3 { margin: 0 0 10px; font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; line-height: 1.85; color: var(--text-main); }
.muted { color: var(--text-muted); }

.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,.16);
  overflow: visible;
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: visible;
}
.site-logo,
.drawer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}
.site-logo img {
  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;
  font-weight: 700;
  font-size: 14px;
  padding: 28px 0 24px;
  border-bottom: 3px solid transparent;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--on-header);
  border-bottom-color: var(--theme-accent);
}
.header-actions { justify-self: end; }
.main-btn,
.header-login,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  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);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}
.main-btn:hover,
.header-login:hover,
.cta-button:hover { color: var(--on-theme); background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 100%); transform: translateY(-1px); }
.mobile-menu-toggle { display: none; }

.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) 0%, var(--theme-deep) 100%);
  color: var(--on-header);
  box-shadow: 24px 0 60px rgba(0,0,0,.25);
  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(42,18,0,.62);
  transition: opacity .28s ease, visibility .28s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer-head { min-height: 82px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer-logo img { max-width: 156px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: var(--on-header); font-size: 28px; cursor: pointer; }
.drawer-nav,
.drawer-links { display: grid; padding: 16px 18px; gap: 5px; }
.drawer-links { border-top: 1px solid rgba(255,255,255,.16); }
.drawer-nav a,
.drawer-links a { color: var(--on-header); text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.drawer-nav a.active,
.drawer-nav a:hover,
.drawer-links a:hover { background: rgba(255,255,255,.12); color: var(--on-header); }



.hero-section {
  padding: 64px 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;
  min-height: 560px;
}
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; margin: 18px 0 22px; }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-tags span,
.hero-tags a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 800;
  text-decoration: none;
}
.hero-visual,
.app-visual,
.media-box,
.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: 68%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.media-box img,
.app-visual img,
.card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.info-section { padding: 30px 0 52px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.info-card,
.category-card,
.feature-card,
.zone-card,
.faq-item,
.notice,
.visual-card,
.topic-card,
.feedback-card,
.service-card,
.article-card,
.step-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: 28px;
}
.info-card::before,
.category-card::before,
.feature-card::before,
.topic-card::before,
.service-card::before,
.article-card::before,
.step-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,
.info-card > span { color: var(--theme); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.info-card h2 { font-size: 22px; margin: 12px 0; }
.info-card p { color: var(--text-muted); line-height: 1.7; }
.category-section { padding: 30px 0 66px; background: var(--white); }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a {
  background: var(--white);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(184,111,0,.10);
}
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card { display: flex; flex-direction: column; }
.category-card p { color: var(--text-muted); flex: 1; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--theme-dark); font-weight: 900; text-decoration: none; margin-top: 8px; }
.text-link::after { content: "→"; }
.text-link:hover { color: var(--theme-hover); }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.two-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.four-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.content-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content-wall .article-card:first-child { grid-column: span 2; }

.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 54px; align-items: center; }
.split-section.reverse .split-media { order: -1; }
.split-copy ul,
.check-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split-copy li,
.check-list li { position: relative; padding-left: 30px; }
.split-copy li::before,
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--theme); font-weight: 900; }
.split-media {
  min-height: 360px;
  padding: 30px;
  background: linear-gradient(180deg, var(--white), var(--theme-soft));
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.split-media img { max-width: 100%; max-height: 330px; width: auto; height: auto; object-fit: contain; }

.page-hero { padding: 68px 0 50px; background: linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr); gap: 52px; align-items: center; }
.page-hero h1 { margin-top: 16px; font-size: clamp(40px, 4.4vw, 62px); }
.page-hero-copy .lead { max-width: 800px; }
.page-visual { min-height: 330px; padding: 30px; border-radius: 30px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; }
.page-visual img { max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; }
.entity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.topic-card p,
.service-card p,
.article-card p,
.step-card p { color: var(--text-muted); }
.service-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.service-list .service-card { padding: 22px; }
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.feedback-card { position: relative; padding-top: 50px; }
.feedback-card::before { content: "“"; position: absolute; top: 4px; left: 22px; color: var(--theme); font-size: 62px; line-height: 1; font-weight: 900; }
.feedback-card p { color: var(--text-main); }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 24px 26px; }
.faq-item h3 { font-size: 19px; }
.faq-item p { color: var(--text-muted); margin-bottom: 0; }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 6px solid var(--theme); }
.notice h2 { font-size: 30px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.related-links a { border-radius: 999px; padding: 9px 15px; border: 1px solid var(--theme-border); background: var(--white); text-decoration: none; font-weight: 800; }

.app-panel { background: linear-gradient(135deg, var(--theme-deep), var(--header-bg-2)); color: var(--on-dark); border-radius: 32px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 38px; align-items: center; box-shadow: var(--shadow-soft); }
.app-panel h2,
.app-panel h3 { color: var(--on-dark); }
.app-panel p { color: rgba(255,255,255,.88); }
.app-panel .tag { color: var(--on-dark); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.app-panel .app-visual { min-height: 300px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 26px; padding: 24px; }
.app-panel .app-visual img { max-height: 280px; }

.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px; }
.footer section { display: flex; flex-direction: column; align-items: flex-start; }
.footer h2 { color: var(--on-dark); font-size: 18px; margin: 0 0 16px; }
.footer a { color: var(--on-dark); text-decoration: none; margin: 4px 0; opacity: .9; }
.footer a:hover { color: var(--on-dark); opacity: 1; text-decoration: underline; }
.footer-brand img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.78); }
.footer-age { margin-top: 14px; padding: 9px 13px; border-radius: 12px; background: rgba(255,255,255,.1); }
.footer-notice { margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.82); }

@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; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .site-logo img { max-width: 130px; max-height: 58px; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 12px; }
  .header-actions .main-btn { padding: 10px 15px; font-size: 13px; }
}

@media (max-width: 1180px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 13px; }
  .category-grid,
  .entity-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; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; }
  .mobile-menu-toggle span { width: 21px; height: 2px; background: var(--on-header); border-radius: 2px; }
  .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; font-size: 14px; }
  .hero-section { padding: 46px 0 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .hero-media-box img { max-height: 300px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .three-grid,
  .content-wall,
  .feedback-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-wall .article-card:first-child { grid-column: auto; }
  .four-grid,
  .service-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-section,
  .page-hero-grid,
  .app-panel { grid-template-columns: 1fr; }
  .split-section.reverse .split-media { order: 0; }
  .page-visual { min-height: 280px; }
  .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; }
  .info-grid,
  .category-grid,
  .entity-grid,
  .three-grid,
  .two-grid,
  .four-grid,
  .content-wall,
  .steps-grid,
  .feedback-grid,
  .service-list,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content p,
  .lead { font-size: 17px; }
  .hero-media-box { border-radius: 24px; }
  .page-hero { padding: 48px 0 36px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .split-media { min-height: 280px; padding: 22px; }
  .app-panel { padding: 28px 22px; border-radius: 24px; }
  .category-pills { justify-content: flex-start; }
  .info-card,
  .category-card,
  .feature-card,
  .zone-card,
  .faq-item,
  .notice,
  .visual-card,
  .topic-card,
  .feedback-card,
  .service-card,
  .article-card,
  .step-card { padding: 23px; border-radius: 20px; }
}

@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-menu-toggle { width: 40px; height: 40px; }
}

