/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1A2E4A;
  --orange: #E87A25;
  --gray:   #F5F5F5;
  --text:   #222;
  --muted:  #666;
  --white:  #fff;
  --border: #ddd;
  --max:    1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }

/* ===== TYPOGRAPHY ===== */
.section__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--navy);
}
.section--navy .section__title { color: var(--white); }
.section__lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.section--navy .section__lead { color: #c8d4e4; }

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn:hover { opacity: .85; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--outline { border: 2px solid var(--white); color: var(--white); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.header__logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
}
.header__logo span { color: var(--orange); }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav a {
  font-size: .9rem;
  color: #c8d4e4;
  transition: color .2s;
}
.header__nav a:hover { color: var(--white); }
.header__cta { flex-shrink: 0; }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 80px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
}
.hero__tag {
  display: inline-block;
  background: rgba(232,122,37,.2);
  color: var(--orange);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 2px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
}
.hero__title em {
  font-style: normal;
  color: var(--orange);
}
.hero__sub {
  font-size: 1.05rem;
  color: #c8d4e4;
  line-height: 1.9;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__note {
  font-size: .82rem;
  color: #8aa0be;
}

/* ===== PAIN ===== */
.pain__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.pain__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 20px 20px 20px 24px;
  border-radius: 4px;
  font-size: .95rem;
  line-height: 1.7;
}
.pain__resolve {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.pain__resolve-text { font-size: 1.1rem; }
.pain__resolve-text strong { color: var(--orange); font-size: 1.4rem; }

/* ===== SERVICE OVERVIEW ===== */
.overview__text {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 640px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.plan {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.plan--premium { border-color: var(--orange); box-shadow: 0 4px 24px rgba(232,122,37,.15); }
.plan__head {
  padding: 28px 28px 20px;
  background: var(--gray);
}
.plan--premium .plan__head { background: var(--navy); color: var(--white); }
.plan__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.plan__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.plan__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
}
.plan--premium .plan__price { color: var(--orange); }
.plan__price span { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan--premium .plan__price span { color: #8aa0be; }
.plan__freq { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.plan--premium .plan__freq { color: #8aa0be; }

.plan__body { padding: 24px 28px 28px; }
.plan__features {
  list-style: none;
  margin-bottom: 28px;
}
.plan__features li {
  font-size: .9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.plan__features li::before {
  content: "✔";
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan__cta { display: block; text-align: center; }

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.feature__num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}
.feature__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.feature__body { font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* ===== FLOW ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--orange);
}
.flow__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.flow__label { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.flow__desc { font-size: .82rem; color: var(--muted); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}
.cta-section__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section__lead {
  color: #c8d4e4;
  margin-bottom: 36px;
  font-size: .95rem;
}
.cta-section__note {
  margin-top: 20px;
  font-size: .82rem;
  color: #8aa0be;
}
.cta-section__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: #111d2e;
  color: #8aa0be;
  padding: 40px 0 28px;
  font-size: .82rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.footer__logo { font-size: 1.1rem; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.footer__logo span { color: var(--orange); }
.footer__tagline { font-size: .8rem; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { color: #8aa0be; transition: color .2s; }
.footer__nav a:hover { color: var(--white); }
.footer__copy { border-top: 1px solid #1e2f46; padding-top: 20px; color: #556980; }

/* ===== CASES ===== */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.case__head { background: var(--navy); color: var(--white); padding: 20px 24px; }
.case__tag { display: inline-block; background: var(--orange); color: var(--white); font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; margin-bottom: 8px; }
.case__client { font-size: 1rem; font-weight: 700; }
.case__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.case__block-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--orange); margin-bottom: 4px; }
.case__block-text { font-size: .88rem; color: #444; line-height: 1.8; }
.case__quote { border-left: 3px solid var(--orange); padding: 12px 16px; background: #fff8f2; font-size: .88rem; color: var(--navy); font-style: normal; line-height: 1.8; border-radius: 0 4px 4px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .flow__step:not(:last-child)::after { display: none; }
  .flow { gap: 16px; }
  .pain__resolve { flex-direction: column; }
  .footer__inner { flex-direction: column; }
}
