:root {
  --bg: #fdfdfd;
  --surface: #ffffff;
  --surface-warm: #fffaf0;
  --line: #f0dca8;
  --accent: #d47a00;
  --accent-dark: #8a4d00;
  --accent-soft: #ffcc66;
  --text: #2f2f2f;
  --muted: #646464;
  --shadow: 0 12px 28px rgba(120, 80, 24, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo { width: auto; height: 36px; object-fit: contain; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a { color: var(--accent); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }

main { overflow: hidden; }

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #fff7e0 100%);
  border-bottom: 3px solid var(--accent-soft);
}

.hero-inner, .page-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: clamp(52px, 8vw, 96px) 0;
}

.eyebrow, .section-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 6vw, 4.35rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-copy {
  margin-bottom: 5px;
  color: #454545;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  font-weight: 700;
}

.hero-note { margin-bottom: 26px; color: var(--accent-dark); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.button:hover, .button:focus-visible { background: #b96800; border-color: #b96800; }
.button.secondary { color: var(--accent); background: #fff; border-color: var(--line); }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--surface-warm); }
.button.large { min-width: 210px; min-height: 54px; font-size: 1.08rem; }

.hero-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-panel p { color: var(--muted); }
.hero-panel .hero-panel-title { margin-bottom: 8px; color: var(--accent); font-size: 1.18rem; font-weight: 800; }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { position: absolute; left: 0; color: var(--accent); content: "✓"; font-weight: 900; }
.check-list.compact { display: grid; gap: 4px; }

.page-content { padding: 60px 0 72px; }
.page-content > section { margin-bottom: 72px; scroll-margin-top: 90px; }
.section-head { max-width: 820px; margin-bottom: 26px; }

h2 {
  margin-bottom: 10px;
  padding-left: 12px;
  color: var(--accent);
  border-left: 6px solid var(--accent-soft);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.35;
}

.section-lead { margin-bottom: 0; color: var(--muted); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.plan-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.plan-card.featured { border: 2px solid var(--accent-soft); }
.recommended { padding: 6px 18px; color: #704000; background: var(--accent-soft); text-align: center; font-size: 0.82rem; font-weight: 800; }
.plan-card-head { min-height: 290px; padding: 24px; background: var(--surface-warm); border-bottom: 1px solid var(--line); }
.featured .plan-card-head { min-height: 256px; }
.plan-number { display: block; margin-bottom: 8px; color: var(--accent); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; }
.plan-card h3 { min-height: 3em; margin-bottom: 14px; color: var(--accent-dark); font-size: 1.28rem; line-height: 1.45; }
.price { margin-bottom: 0; color: var(--accent); white-space: nowrap; }
.price strong { font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1; letter-spacing: -0.04em; }
.tax-note { margin-bottom: 14px; color: var(--muted); font-size: 0.78rem; }
.plan-copy { margin-bottom: 0; color: #444; font-weight: 700; }
.plan-body { padding: 24px; }
.plan-body h4 { margin: 18px 0 8px; color: var(--accent-dark); font-size: 0.95rem; }
.plan-body h4:first-child { margin-top: 0; }
.plan-body ul, .option-card ul { margin: 0; padding-left: 1.25em; }
.plan-body li, .option-card li { margin-bottom: 4px; }
.detail-list { columns: 2; column-gap: 24px; }
.detail-list li { break-inside: avoid; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.option-card { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.option-card h3 { margin-bottom: 8px; color: var(--accent-dark); font-size: 1.08rem; line-height: 1.45; }
.option-price { margin-bottom: 12px; color: var(--accent); font-size: 1.38rem; font-weight: 900; }
.option-note { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }

.price-notes { margin-top: 22px; padding: 16px 18px; color: var(--muted); background: #f8f8f8; border-radius: 8px; font-size: 0.78rem; }
.price-notes p { margin-bottom: 3px; }
.price-notes p:last-child { margin-bottom: 0; }

.support-section {
  padding: clamp(30px, 5vw, 52px);
  color: #fff;
  background: #7b4707;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(80, 48, 10, 0.18);
}

.support-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-label.light { color: #ffe1a0; }
.support-badge {
  display: inline-flex;
  margin: 0 0 14px 8px;
  padding: 4px 10px;
  color: #704000;
  background: #ffd47d;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}
.support-section h2 { padding-left: 0; color: #fff; border-left: 0; }
.support-tagline { margin-bottom: 14px; color: #ffe1a0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 900; }
.support-price { margin-bottom: 16px; color: #ffd47d; }
.support-price strong { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
.support-price span { font-size: 1.15rem; font-weight: 800; }
.support-description p { margin-bottom: 12px; font-size: 1.04rem; }
.support-description strong { color: #ffe1a0; }
.support-button { margin-top: 4px; color: #704000; background: #ffd47d; border-color: #ffd47d; }
.support-button:hover, .support-button:focus-visible { color: #fff; background: var(--accent); border-color: var(--accent); }

.support-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-group { min-width: 0; padding: 20px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 225, 160, 0.3); border-radius: 10px; }
.support-group h3 { margin-bottom: 14px; color: #ffd47d; font-size: 1.08rem; }

.support-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li { position: relative; padding-left: 22px; font-size: 0.93rem; }
.support-list li::before { position: absolute; left: 0; color: #ffd47d; content: "✓"; font-weight: 900; }
.support-notes { margin-top: 22px; padding-top: 16px; color: #f7e8ca; border-top: 1px solid rgba(255, 225, 160, 0.3); font-size: 0.78rem; }
.support-notes p { margin-bottom: 3px; }
.support-notes p:last-child { margin-bottom: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-grid article { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.feature-grid span { display: block; margin-bottom: 10px; color: var(--accent-soft); font-size: 1.55rem; font-weight: 900; }
.feature-grid h3 { margin-bottom: 8px; color: var(--accent-dark); font-size: 1.06rem; line-height: 1.5; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.92rem; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 0 !important;
  padding: clamp(28px, 5vw, 48px);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-section h2 { padding-left: 0; border-left: 0; }
.consultation-examples { margin: 22px 0; padding-left: 18px; border-left: 3px solid var(--accent-soft); }
.consultation-examples p { margin-bottom: 3px; font-weight: 700; }
.contact-action { text-align: center; }
.contact-action p { color: var(--muted); font-size: 0.92rem; }
.contact-action small { display: block; margin-top: 9px; color: var(--muted); }

footer { padding: 24px 16px; color: #333; text-align: center; background: #ffe9b3; border-top: 3px solid var(--accent-soft); }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 680px; }
  .plan-grid, .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card-head, .featured .plan-card-head { min-height: 0; }
  .support-intro, .contact-section { grid-template-columns: 1fr; }
  .support-groups { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-action { text-align: left; }
}

@media (max-width: 560px) {
  .header-inner, .hero-inner, .page-content { width: min(100% - 24px, 1120px); }
  .header-inner { gap: 8px; }
  .site-nav { gap: 5px 14px; font-size: 0.84rem; }
  .hero-inner { gap: 30px; padding: 42px 0; }
  h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .page-content { padding: 44px 0 56px; }
  .page-content > section { margin-bottom: 54px; }
  .plan-grid, .option-grid, .feature-grid { grid-template-columns: 1fr; }
  .detail-list { columns: 1; }
  .support-section { padding: 26px 20px; border-radius: 12px; }
  .support-intro { gap: 24px; margin-bottom: 26px; }
  .support-badge { margin-left: 0; }
  .contact-section { gap: 28px; padding: 26px 20px; border-radius: 12px; }
  .contact-action .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
