:root {
  --navy: #101c30;
  --navy-2: #1a2a45;
  --ink: #2a3342;
  --paper: #f7f6f2;
  --white: #ffffff;
  --amber: #c9a24b;
  --amber-dark: #a8842f;
  --muted: #6b7482;
  --sans: "Noto Sans JP", -apple-system, "Hiragino Sans", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
}

.demo-note {
  background: #3b3b3b;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
}

/* Header */
.header { background: var(--white); border-bottom: 1px solid #e5e2da; }
.header-inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-family: var(--serif); font-weight: 800; font-size: 20px; color: var(--navy); }
.logo span { color: var(--amber-dark); margin-left: 2px; }
.header-tel { text-align: right; }
.tel-label { display: block; font-size: 11px; color: var(--muted); }
.tel-number { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: 0.02em; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,0.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #223a5e 100%);
  color: var(--white);
}
.hero-inner { max-width: 1040px; margin: 0 auto; padding: 72px 20px 80px; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--amber); border: 1px solid rgba(201,162,75,0.5);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(28px, 5vw, 46px); line-height: 1.45;
  margin-bottom: 18px; min-height: 1.45em;
  transition: opacity 0.35s ease;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); color: #cfd6e2;
  margin-bottom: 36px; transition: opacity 0.35s ease;
}
.is-swapping .hero-headline, .is-swapping .hero-sub { opacity: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 8px; padding: 14px 30px; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  color: #1d1504; box-shadow: 0 6px 18px rgba(201,162,75,0.35);
}
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,0.45); }
.btn-large { font-size: 18px; padding: 18px 48px; }

/* Sections */
.section { padding: 72px 0; }
.section-inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 3.4vw, 32px);
  color: var(--navy); text-align: center; margin-bottom: 44px; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 44px; height: 3px;
  background: var(--amber); margin: 14px auto 0;
}
.section-title.light { color: var(--white); }

/* Strengths */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: 12px; padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(16,28,48,0.07);
}
.card-num { font-family: var(--serif); color: var(--amber-dark); font-weight: 800; font-size: 14px; letter-spacing: 0.15em; }
.card h3 { color: var(--navy); font-size: 19px; margin: 8px 0 10px; }
.card p { font-size: 14.5px; color: #4b5563; }

/* Menu */
.menu { background: var(--white); }
.menu-list {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px;
}
.menu-list li {
  background: var(--paper); border: 1px solid #e8e4da; border-radius: 8px;
  padding: 14px 18px; font-weight: 500;
}
.menu-list li::before { content: "◆"; color: var(--amber); font-size: 11px; margin-right: 10px; }

/* Flow */
.flow-list { list-style: none; max-width: 640px; margin: 0 auto; }
.flow-list li {
  background: var(--white); border-radius: 10px; padding: 16px 22px;
  margin-bottom: 12px; box-shadow: 0 3px 12px rgba(16,28,48,0.06);
  font-weight: 500;
}
.flow-list li span {
  display: inline-block; font-family: var(--serif); font-weight: 800; font-size: 12px;
  color: var(--amber-dark); letter-spacing: 0.1em; margin-right: 16px;
}

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--white); }
.contact-inner { text-align: center; }
.contact-copy { color: #cfd6e2; margin-bottom: 30px; }
.contact-tel { margin-top: 24px; font-size: 14px; color: #cfd6e2; }
.contact-tel strong { font-size: 22px; color: var(--white); margin-left: 6px; }

/* Footer */
.footer { background: #0b1322; color: #8d96a5; text-align: center; padding: 34px 20px; font-size: 13px; }
.footer-note { margin-top: 10px; font-size: 11px; color: #5e6675; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Debug panel */
.debug-panel {
  position: fixed; right: 14px; bottom: 14px; z-index: 9999;
  background: rgba(12, 18, 30, 0.94); color: #d9e2f2;
  font-size: 12px; line-height: 1.6; border-radius: 10px;
  padding: 14px 16px; max-width: 340px; max-height: 60vh; overflow: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.debug-panel h4 { font-size: 12px; color: var(--amber); margin-bottom: 6px; font-family: var(--sans); }
.debug-panel dl { margin: 0 0 10px; }
.debug-panel dt { color: #8fa0bd; }
.debug-panel dd { margin: 0 0 6px; word-break: break-all; }
.debug-panel .debug-personas { display: flex; flex-wrap: wrap; gap: 6px; }
.debug-panel .debug-personas a {
  color: #0e1524; background: var(--amber); text-decoration: none;
  border-radius: 6px; padding: 3px 8px; font-weight: 700; font-family: var(--sans);
}

@media (max-width: 640px) {
  .hero-inner { padding: 48px 20px 56px; }
  .tel-number { font-size: 18px; }
}
