:root {
  --theme: #ffb639;
  --theme-dark: #a85f00;
  --theme-deep: #4c2b00;
  --theme-light: #fffaf0;
  --theme-soft: #fff0c7;
  --theme-accent: #ffd779;
  --theme-hover: #e49713;
  --theme-border: rgba(255, 182, 57, .34);
  --header-bg: #5a3500;
  --header-bg-2: #8a5200;
  --text-main: #3d2c11;
  --text-muted: #745c35;
  --on-theme: #2d1b00;
  --on-header: #fff9ec;
  --on-dark: #fff9ec;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(168, 95, 0, .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.7; }
body.menu-open { overflow: hidden; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
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-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow, .hero-badge, .tag, .badge { 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; letter-spacing: .02em; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.2; }
h2 { font-size: clamp(28px, 3vw, 44px); margin: 0 0 18px; }
h3 { font-size: 21px; margin: 0 0 10px; }
p { margin: 0 0 18px; }
ul { padding-left: 22px; }
.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 { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; 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: 18px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; padding: 27px 0 23px; 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); }
.header-actions { justify-self: end; }
.main-btn { 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 12px 26px rgba(0,0,0,.18); text-decoration: none; font-weight: 900; white-space: nowrap; transition: transform .2s ease, filter .2s ease; }
.main-btn:hover { transform: translateY(-2px); background: var(--theme-hover); filter: brightness(1.04); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 22px; 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(--theme-deep)); color: var(--on-header); box-shadow: 20px 0 50px rgba(0,0,0,.25); overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(48, 29, 0, .68); opacity: 0; visibility: hidden; z-index: 10000; transition: .28s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer-top { min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo img { width: auto; height: auto; max-width: 150px; max-height: 52px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--on-header); background: rgba(255,255,255,.1); font-size: 28px; }
.drawer-nav { padding: 18px; display: grid; gap: 5px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 13px; border-radius: 12px; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(255,255,255,.12); color: var(--theme-accent); }
.hero-section { padding: 68px 0 46px; background: radial-gradient(circle at 14% 18%, var(--theme-soft) 0%, transparent 36%), 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; color: var(--theme-dark); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; color: var(--text-main); margin: 0 0 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags span { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 700; }
.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 { display: block; max-width: 100%; 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: 32px 0 48px; background: var(--white); }
.info-grid, .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .review-card, .step-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 { 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: 18px; }
.info-card h2 { font-size: 22px; margin: 10px 0; }
.info-card p, .category-card p, .feature-card p { color: var(--text-muted); }
.category-section { padding: 26px 0 60px; background: var(--white); }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); text-decoration: none; font-weight: 800; transition: .2s ease; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); transform: translateY(-2px); }
.category-card { display: flex; flex-direction: column; }
.category-card .text-link { margin-top: auto; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--theme-dark); font-weight: 900; text-decoration: none; }
.text-link::after { content: '→'; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; }
.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(145deg, var(--white), var(--theme-soft)); }
.visual-card img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--theme-dark); font-weight: 900; }
.page-hero { padding: 62px 0 48px; background: radial-gradient(circle at 12% 15%, var(--theme-soft), transparent 38%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); align-items: center; gap: 52px; }
.page-hero h1 { font-size: clamp(40px, 4.4vw, 62px); margin: 14px 0 20px; }
.page-hero p { font-size: 18px; line-height: 1.85; }
.page-media { min-height: 330px; border-radius: 30px; background: linear-gradient(150deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); padding: 30px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.page-media 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; }
.entity-card { background: var(--white); border: 1px solid var(--theme-border); border-radius: 22px; padding: 24px; box-shadow: 0 10px 30px rgba(168,95,0,.10); }
.entity-card strong { display: block; color: var(--theme-dark); font-size: 19px; margin-bottom: 9px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.step-card::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-flex; color: var(--theme); font-weight: 900; margin-bottom: 10px; }
.prose { max-width: 960px; }
.prose p { margin-bottom: 20px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.review-card p { font-style: italic; margin: 0; }
.review-card span { display: block; margin-top: 14px; color: var(--theme-dark); font-weight: 800; }
.faq-list { display: grid; gap: 16px; }
.faq-item { box-shadow: none; background: var(--white); }
.faq-item h3 { margin-bottom: 10px; }
.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 { font-size: 29px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { text-decoration: none; border: 1px solid var(--theme-border); padding: 10px 15px; border-radius: 14px; background: var(--white); font-weight: 800; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 42px; }
.footer h2 { color: var(--theme-accent); font-size: 18px; margin-bottom: 16px; }
.footer section { display: flex; flex-direction: column; gap: 9px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--theme-accent); }
.footer-logo img { width: auto; height: auto; max-width: 190px; max-height: 70px; object-fit: contain; }
.footer-brand p { color: rgba(255,255,255,.78); margin-top: 16px; }
.footer-notice { margin-top: 42px; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.06); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { margin: 8px 0 0; color: rgba(255,255,255,.8); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
@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; } .hero-media-box { max-width: 560px; min-height: 400px; } }
@media (max-width: 1180px) { .main-nav { gap: 12px; } .main-nav a { font-size: 13px; } .entity-grid { grid-template-columns: repeat(3, 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 .main-btn { padding: 10px 16px; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-media-box, .page-media { max-width: 100%; min-height: 280px; padding: 24px; }
  .hero-media-box img, .page-media img { max-height: 280px; }
  .info-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3, .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .entity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-section { grid-template-columns: 1fr; gap: 30px; }
  .split-section.reverse .split-copy, .split-section.reverse .visual-card { order: initial; }
  .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(calc(100% - 32px), 1280px); }
  .section { padding: 52px 0; }
  .info-grid, .grid-4, .grid-3, .grid-2, .entity-grid, .steps, .review-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1, .page-hero h1 { font-size: clamp(34px, 10vw, 47px); }
  .hero-content p, .page-hero p { font-size: 17px; }
  .hero-media-box, .page-media, .visual-card { min-height: 240px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .header-inner { width: min(calc(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 11px; font-size: 12px; }
  .info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .review-card, .step-card { padding: 22px; }
}
