:root {
  --theme: #a87900;
  --theme-dark: #725200;
  --theme-deep: #473300;
  --theme-light: #fbf8f1;
  --theme-soft: #f3eddd;
  --theme-accent: #ffbe16;
  --theme-hover: #8a6300;
  --theme-border: rgba(168, 121, 0, .24);
  --header-bg: #4d3903;
  --header-bg-2: #634905;
  --text-main: #2a2213;
  --text-muted: #6a604e;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(71, 51, 0, .14);
}
* { 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; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.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,.16); }
.header-inner { width: min(1360px, calc(100% - 72px)); min-height: 86px; margin: 0 auto; display: grid; grid-template-columns: 190px 1fr auto; gap: 24px; align-items: center; }
.site-logo { width: 176px; min-height: 62px; padding: 6px 10px; border-radius: 16px; background: rgba(255,255,255,.13); display: flex; align-items: center; justify-content: center; }
.site-logo img { max-width: 160px; max-height: 58px; width: auto; height: auto; object-fit: contain; display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.desktop-nav a { position: relative; padding: 31px 9px 26px; white-space: nowrap; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--white); background: rgba(255,255,255,.08); }
.desktop-nav a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 17px; height: 3px; border-radius: 999px; background: #fff0b3; }
.header-login, .main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 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; letter-spacing: .02em; box-shadow: 0 12px 24px rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.22); }
.header-login:hover, .main-btn:hover { background: linear-gradient(180deg, var(--theme) 0%, var(--theme-hover) 100%); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.11); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--white); }
.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(35,26,4,.52); opacity: 0; visibility: hidden; transition: .22s ease; }
.mobile-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10001; width: min(340px, 88vw); padding: 18px; background: linear-gradient(180deg, var(--header-bg), var(--theme-deep)); color: var(--on-dark); transform: translateX(-103%); transition: transform .24s ease; box-shadow: 20px 0 50px rgba(0,0,0,.22); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.15); }
.drawer-logo { width: 150px; display: flex; align-items: center; min-height: 54px; padding: 5px 10px; border-radius: 14px; background: rgba(255,255,255,.12); }
.drawer-logo img { max-height: 50px; width: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; padding-top: 18px; }
.drawer-nav a { padding: 11px 13px; border-radius: 10px; font-weight: 700; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255,255,255,.13); }
main { display: block; }
.section { padding: 46px 0; }
.section-inner { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.intro-card { background: linear-gradient(145deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-left: 5px solid var(--theme); border-radius: 20px; padding: 28px 32px; box-shadow: var(--shadow-soft); }
.intro-card strong { color: var(--theme-dark); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.category-pills a { border: 1px solid var(--theme-border); background: var(--white); color: var(--theme-dark); padding: 9px 15px; border-radius: 999px; font-weight: 750; }
.category-pills a:hover { background: var(--theme); color: var(--on-theme); border-color: var(--theme); }
.headline-section { background: linear-gradient(180deg, var(--theme-light), var(--white)); }
.section-kicker, .page-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 12px; border: 1px solid var(--theme-border); border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
h1, h2, h3 { margin-top: 0; color: var(--theme-dark); line-height: 1.18; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 4vw, 62px); letter-spacing: -.035em; max-width: 980px; }
h2 { font-size: clamp(28px, 2.5vw, 38px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { max-width: 980px; font-size: 18px; color: var(--text-muted); }
.grid-8, .grid-4, .grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card, .info-card, .feature-card, .faq-item, .feedback-card, .notice-card, .topic-card { position: relative; background: var(--white); border: 1px solid var(--theme-border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-soft); }
.category-card::before, .info-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; }
.card-number { color: var(--theme); font-weight: 900; font-size: 13px; letter-spacing: .08em; }
.text-link { color: var(--theme-dark); font-weight: 800; border-bottom: 1px solid var(--theme-border); }
.text-link:hover { color: var(--theme); }
.alt-section { background: var(--white); }
.soft-section { background: linear-gradient(180deg, var(--theme-soft), var(--theme-light)); }
.split-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 44px; align-items: center; }
.split-section.reverse .media-box { order: -1; }
.media-box, .hero-visual, .app-visual, .card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--white), var(--theme-soft));
  border: 1px solid var(--theme-border);
  padding: 22px;
  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: 390px; }
.page-hero { padding: 54px 0 36px; background: radial-gradient(circle at 16% 22%, var(--theme-soft), transparent 34%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .74fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4vw, 60px); }
.hero-text { font-size: 17px; color: var(--text-muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-tags span { padding: 7px 11px; border-radius: 999px; background: var(--theme-soft); border: 1px solid var(--theme-border); color: var(--theme-dark); font-size: 13px; font-weight: 700; }
.topic-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.topic-list li { padding: 14px 16px 14px 46px; position: relative; background: var(--white); border: 1px solid var(--theme-border); border-radius: 14px; }
.topic-list li::before { content: '✓'; position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--theme); color: var(--on-theme); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.feedback-card { border-top: 4px solid var(--theme); }
.feedback-card p { color: var(--text-muted); }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { color: var(--theme-dark); }
.notice-card { background: linear-gradient(135deg, var(--theme-deep), var(--header-bg-2)); color: var(--on-dark); border-color: rgba(255,255,255,.12); }
.notice-card h2, .notice-card h3 { color: var(--white); }
.notice-card p { color: rgba(255,255,255,.9); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 9px 13px; border-radius: 10px; border: 1px solid var(--theme-border); background: var(--white); color: var(--theme-dark); font-weight: 700; }
.related-links a:hover { background: var(--theme-soft); }
.site-footer { background: linear-gradient(180deg, var(--theme-deep), #2f2200); color: var(--on-dark); padding: 54px 0 0; margin-top: 36px; }
.footer-inner { width: min(1280px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 36px; }
.footer-brand img { max-width: 165px; max-height: 64px; width: auto; object-fit: contain; padding: 6px 10px; border-radius: 14px; background: rgba(255,255,255,.12); }
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,.78); max-width: 460px; }
.footer-col { display: grid; align-content: start; gap: 7px; }
.footer-col h2 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.78); padding: 3px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { width: min(1280px, calc(100% - 80px)); margin: 36px auto 0; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-bottom p { margin: 0; }

.home-hero-section {
  padding: 62px 0 44px;
  background: radial-gradient(circle at 12% 16%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}
.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 56px;
  min-height: 560px;
}
.home-hero-content h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 22px;
  color: var(--theme-dark);
}
.home-hero-content p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-muted);
}
.hero-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  font-weight: 800;
}
.home-hero-visual { display: flex; align-items: center; justify-content: center; }
.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;
  border: 1px solid var(--theme-border);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  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 { padding-top: 34px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.info-tag { display: inline-flex; margin-top: 4px; color: var(--theme); font-size: 13px; }
.category-section { padding-top: 18px; padding-bottom: 40px; background: var(--white); }

@media (min-width: 1440px) { .section-inner, .footer-inner, .footer-bottom { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1180px) {
  .header-inner { width: min(100% - 36px, 1100px); grid-template-columns: 160px 1fr auto; }
  .desktop-nav a { padding-left: 6px; padding-right: 6px; font-size: 13px; }
  .grid-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .header-inner { min-height: 74px; grid-template-columns: 48px 1fr auto; width: calc(100% - 28px); }
  .menu-toggle { display: block; }
  .desktop-nav { display: none; }
  .site-logo { justify-self: center; width: 150px; min-height: 56px; }
  .site-logo img { max-width: 136px; max-height: 50px; }
  .header-login { min-height: 40px; padding: 8px 12px; font-size: 12px; }
  .section-inner, .footer-inner, .footer-bottom { width: calc(100% - 40px); }
  .page-hero-grid, .split-section { grid-template-columns: 1fr; gap: 28px; }
  .split-section.reverse .media-box { order: 0; }
  .grid-8, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .header-inner { width: calc(100% - 20px); gap: 8px; grid-template-columns: 42px minmax(0, 1fr) auto; }
  .menu-toggle { width: 40px; height: 40px; }
  .site-logo { width: 126px; min-height: 50px; padding: 4px 7px; }
  .site-logo img { max-width: 114px; max-height: 44px; }
  .header-login { padding: 7px 9px; font-size: 10px; letter-spacing: 0; }
  .section { padding: 34px 0; }
  .section-inner, .footer-inner, .footer-bottom { width: calc(100% - 32px); }
  h1, .page-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  h2 { font-size: 27px; }
  .grid-8, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .intro-card, .category-card, .info-card, .feature-card, .faq-item, .feedback-card, .notice-card, .topic-card { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .site-logo { width: 108px; }
  .site-logo img { max-width: 98px; }
  .header-login { padding: 6px 7px; font-size: 9px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: 40px; min-height: 520px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .home-hero-section { padding-top: 46px; }
  .home-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .home-hero-content h1 { max-width: none; }
  .hero-media-box { min-height: 260px; max-height: 360px; margin: 0 auto; }
  .hero-media-box img { max-width: 62%; max-height: 280px; }
}
@media (max-width: 640px) {
  .home-hero-section { padding: 36px 0 30px; }
  .home-hero-content h1 { font-size: clamp(34px, 10vw, 46px); }
  .home-hero-content p { font-size: 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .hero-media-box { width: 100%; min-height: 220px; padding: 24px; }
  .hero-media-box img { max-width: 70%; max-height: 230px; }
}
