:root {
  --navy: #1B3A5C;
  --navy-dark: #12283F;
  --orange: #F2994A;
  --orange-dark: #DB7F2E;
  --bg: #FAFAF9;
  --bg-alt: #F0F2F4;
  --text: #2D2D2D;
  --text-light: #6B7280;
  --white: #FFFFFF;
  --border: #E3E6EA;
  --radius: 14px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.5; margin: 0 0 16px; font-weight: 700; }

p { margin: 0 0 16px; color: var(--text); }

ul { margin: 0 0 16px; padding-left: 1.2em; }
li { margin-bottom: 8px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}

.header-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  background-image:
    radial-gradient(circle at 30% 30%, rgba(242,153,74,0.22), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-size: 220% 220%, 100% 100%;
  background-position: 20% 30%, 0 0;
  animation: heroGlowMove 18s ease-in-out infinite alternate;
  color: var(--white);
  padding: 96px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(242, 153, 74, 0.15);
  top: -220px;
  right: -140px;
  animation: heroFloat1 15s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  bottom: -160px;
  left: -100px;
  animation: heroFloat2 20s ease-in-out infinite;
}
.hero .container { position: relative; }

@keyframes heroGlowMove {
  0%   { background-position: 15% 25%, 0 0; }
  50%  { background-position: 75% 60%, 0 0; }
  100% { background-position: 35% 80%, 0 0; }
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 35px) scale(1.08); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(25px, -25px) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .hero::before, .hero::after {
    animation: none !important;
  }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 34px;
  margin-bottom: 22px;
}
.hero h1 span { display: block; }
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, background 0.15s;
}
.btn-cta {
  background: var(--orange);
  color: var(--white);
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ===== Page header (non-hero) ===== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}
.page-header h1 { font-size: 28px; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* ===== Sections ===== */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.section-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 44px;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: 0 12px 28px rgba(27,58,92,0.08); transform: translateY(-3px); }
.card .card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(27,58,92,0.08);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 18px;
}
.card.accent .card-icon { background: rgba(242,153,74,0.15); color: var(--orange-dark); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14.5px; margin-bottom: 14px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-dark);
  background: rgba(242,153,74,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card .tag.main { color: var(--navy); background: rgba(27,58,92,0.08); }
.card a.card-link { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.card a.card-link:hover { color: var(--orange-dark); }

/* ===== Reasons list ===== */
.reason-item {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.reason-item:last-child { border-bottom: none; }
.reason-num {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.reason-body h3 { font-size: 17px; margin-bottom: 8px; }
.reason-body p { color: var(--text-light); margin: 0; font-size: 14.5px; }

/* ===== Rep message ===== */
.rep-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
@media (max-width: 640px) { .rep-box { flex-direction: column; align-items: center; text-align: center; } }
.rep-avatar {
  flex: none;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.rep-name { font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.rep-role { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }

/* ===== Timeline (flow) ===== */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; }
.timeline li {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline .step-num {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.timeline h3 { font-size: 16.5px; margin-bottom: 6px; }
.timeline p { color: var(--text-light); margin: 0; font-size: 14.5px; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: 8px; display: flex; gap: 10px; }
.faq-q .q-mark { color: var(--orange); }
.faq-a { color: var(--text-light); margin: 0; padding-left: 26px; font-size: 14.5px; }

/* ===== Pricing ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-card .price-head {
  background: var(--navy);
  color: var(--white);
  padding: 22px 24px;
}
.price-card .price-head h3 { margin: 0 0 6px; font-size: 17px; }
.price-card .price-body { padding: 24px; }
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14.5px;
}
.price-row:last-child { border-bottom: none; }
.price-row .amount { color: var(--orange-dark); font-weight: 700; white-space: nowrap; margin-left: 12px; }
.price-note {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 13.5px;
  color: var(--text-light);
  text-align: center;
}

/* ===== Table ===== */
table.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
table.info-table th, table.info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
table.info-table th {
  width: 180px;
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
}
table.info-table tr:last-child th,
table.info-table tr:last-child td { border-bottom: none; }

table.compare-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
table.compare-table th, table.compare-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 14px;
  text-align: left;
}
table.compare-table th { background: var(--navy); color: var(--white); }
table.compare-table tr:nth-child(even) td { background: var(--bg-alt); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); font-size: 22px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ===== Contact form ===== */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
@media (max-width: 640px) { .form-wrap { padding: 28px 20px; } }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-group .required { color: var(--orange-dark); font-size: 12px; margin-left: 6px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--bg);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-light); }
.form-check input { margin-top: 4px; }
.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.contact-alt {
  max-width: 620px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.7); margin: 0 0 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; max-width: 420px; }
.footer-nav a:hover { color: var(--orange); }
.copyright { text-align: center; padding-top: 20px; color: rgba(255,255,255,0.45); }

/* ===== Legal pages ===== */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 18px; color: var(--navy); margin-top: 34px; }
.legal-content p, .legal-content li { color: var(--text-light); font-size: 14.5px; }

.small-print { font-size: 12.5px; color: var(--text-light); text-align: center; margin-top: 40px; }
