:root {
  --theme: #a87900;
  --theme-dark: #765500;
  --theme-deep: #493500;
  --theme-light: #fff9e8;
  --theme-soft: #f6ecc9;
  --theme-accent: #d4a321;
  --theme-hover: #8c6500;
  --theme-border: rgba(168, 121, 0, .24);
  --header-bg: #5a4200;
  --header-bg-2: #765700;
  --text-main: #2f291a;
  --text-muted: #6f6548;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #fffaf0;
  --white: #ffffff;
  --shadow-soft: 0 16px 42px rgba(92, 67, 0, .15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text-main); background: var(--theme-light); font-family: Arial, Helvetica, sans-serif; line-height: 1.68; }
a { color: inherit; text-decoration: none; }
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 rgba(255,255,255,.14); }
.header-inner { width: min(1420px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; display: block; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 18px; white-space: nowrap; font-size: 14px; font-weight: 700; }
.desktop-nav a { position: relative; padding: 29px 0 25px; opacity: .9; }
.desktop-nav a:hover, .desktop-nav a.active { opacity: 1; color: #fff; }
.desktop-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 16px; height: 3px; border-radius: 99px; background: var(--theme-accent); }
.header-login, .main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); font-weight: 800; box-shadow: 0 14px 28px rgba(0,0,0,.16); }
.header-login:hover, .main-btn:hover { background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 100%); }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: rgba(255,255,255,.09); padding: 9px; }
.mobile-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }
.mobile-drawer { position: fixed; inset: 0 auto 0 0; z-index: 10002; width: min(340px, 88vw); padding: 22px; background: linear-gradient(180deg, var(--header-bg) 0%, var(--theme-deep) 100%); color: var(--on-dark); transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(0,0,0,.22); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; z-index: 10001; background: rgba(62, 45, 0, .66); }
.drawer-brand { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-brand img { width: auto; max-width: 180px; max-height: 62px; object-fit: contain; }
.drawer-close { font-size: 32px; color: #fff; background: none; border: 0; cursor: pointer; }
.mobile-drawer nav { display: grid; gap: 4px; padding-top: 16px; }
.mobile-drawer nav a { padding: 11px 12px; border-radius: 10px; }
.mobile-drawer nav a.active, .mobile-drawer nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
body.menu-open { overflow: hidden; }
main { min-height: 60vh; }
.section { padding: 58px 0; }
.section.compact { padding: 34px 0; }
.section-inner { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.section.tint { background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.eyebrow, .pill { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--theme-border); background: var(--theme-soft); color: var(--theme-dark); font-size: 13px; font-weight: 800; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; margin-top: 0; }
h1 { font-size: clamp(36px, 4.5vw, 62px); letter-spacing: -.03em; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { max-width: 930px; color: var(--text-muted); font-size: 18px; line-height: 1.82; }
.intro-card, .content-card, .feature-card, .faq-item, .feedback-card, .notice, .page-hero-card { background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.intro-card { padding: 30px; border-radius: 22px; border-left: 5px solid var(--theme); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.category-pills a { padding: 9px 14px; border: 1px solid var(--theme-border); border-radius: 999px; color: var(--theme-dark); background: var(--white); font-weight: 700; }
.category-pills a:hover { color: var(--on-theme); background: var(--theme); }
.grid-8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.content-card, .feature-card, .feedback-card { position: relative; padding: 24px; border-radius: 18px; overflow: visible; }
.content-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 { color: var(--theme); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.card-link { display: inline-flex; margin-top: 8px; color: var(--theme-dark); font-weight: 800; }
.card-link:hover { color: var(--theme); }
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: 48px; align-items: center; }
.media-split.reverse .media-box { order: -1; }
.media-box, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.media-box { min-height: 300px; padding: 24px; border-radius: 24px; border: 1px solid var(--theme-border); background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); box-shadow: var(--shadow-soft); }
.media-box img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.media-box img { max-height: 360px; }

.hero-section { padding: 54px 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 { width: min(1280px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: 54px; min-height: 570px; }
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 16px 0 22px; max-width: 820px; color: var(--theme-dark); }
.hero-content p { max-width: 780px; font-size: 18px; line-height: 1.8; color: var(--text-muted); }
.hero-badge, .hero-tags span { display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; font-size: 13px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-visual { min-width: 0; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; display: flex; align-items: center; justify-content: center; overflow: visible; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); border-radius: 28px; box-shadow: var(--shadow-soft); }
.hero-media-box img { max-width: 68%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { margin-top: -12px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.info-card { position: relative; padding: 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.info-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 { color: var(--theme); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.info-card h2 { font-size: 21px; margin: 8px 0 10px; }
.category-section { padding-top: 18px; padding-bottom: 48px; }

.page-hero { 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%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr); align-items: center; gap: 42px; }
.page-hero-card { padding: 28px; border-radius: 22px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.page-hero-card img { max-width: 100%; max-height: 330px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.page-hero-card.textual { display: block; min-height: 0; }
.check-list, .topic-list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li, .topic-list li { position: relative; padding: 13px 14px 13px 42px; background: var(--theme-light); border: 1px solid var(--theme-border); border-radius: 12px; }
.check-list li::before, .topic-list li::before { content: '✓'; position: absolute; left: 15px; top: 12px; color: var(--theme); font-weight: 900; }
.faq-list { display: grid; gap: 15px; }
.faq-item { padding: 22px; border-radius: 16px; }
.faq-item h3 { margin-bottom: 8px; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.feedback-card p { font-style: italic; color: var(--text-muted); }
.notice { padding: 24px; border-radius: 18px; border-left: 5px solid var(--theme); background: linear-gradient(180deg, var(--theme-soft) 0%, #fff 100%); }
.related-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related-nav a { padding: 9px 13px; border-radius: 10px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 700; }
.site-footer { padding: 54px 0 0; background: linear-gradient(180deg, var(--theme-deep) 0%, #321207 100%); color: var(--on-dark); }
.footer-inner { width: min(1280px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer-inner h2 { color: #fff; font-size: 18px; }
.footer-inner a { display: block; padding: 4px 0; color: #ffe9df; }
.footer-inner a:hover { color: #fff; 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 { max-width: 520px; color: #f3c4b0; }
.footer-notice { margin-top: 36px; padding: 18px max(32px, calc((100vw - 1280px)/2)); border-top: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.12); color: #f8d4c4; }
@media (min-width: 1440px) { .section-inner, .hero-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 48px 1fr auto; }
  .mobile-menu-toggle { display: block; }
  .site-logo { justify-self: center; }
  .grid-8, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-inner, .page-hero-inner, .media-split { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .hero-visual { justify-content: center; }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .media-split.reverse .media-box { order: 0; }
  .page-hero-card { min-height: 240px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .header-inner { width: calc(100% - 24px); min-height: 68px; gap: 10px; grid-template-columns: 42px minmax(0,1fr) auto; }
  .site-logo img { max-width: 128px; max-height: 48px; }
  .header-login { min-height: 40px; padding: 0 11px; font-size: 12px; }
  .section { padding: 42px 0; }
  .section-inner { width: calc(100% - 28px); }
  .grid-8, .grid-4, .grid-3, .grid-2, .feedback-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-inner { width: calc(100% - 28px); gap: 28px; }
  .hero-section { padding: 34px 0 24px; }
  .hero-content h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-media-box { min-height: 240px; padding: 24px; }
  .media-box, .page-hero-card { min-height: 210px; padding: 18px; }
  h1 { font-size: clamp(34px, 10vw, 48px); }
  .footer-inner { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .footer-notice { padding: 18px 14px; }
}
