/* ===== ジブンコード LP ===== */

:root {
  --navy: #16263f;
  --navy-soft: #24395a;
  --accent: #e8804d;
  --accent-dark: #cf6a39;
  --text: #2b313c;
  --text-soft: #5a6372;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #fdf4ee;
  --line: #e3e8f0;
  --maxw: 920px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 38, 63, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(22, 38, 63, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .02em;
}
.brand span { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 600;
}
.nav a:hover { color: var(--accent-dark); }
.nav .btn { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(232, 128, 77, 0.35);
  transition: transform .15s, background .15s, box-shadow .15s;
  border: 0;
  cursor: pointer;
  font-size: 1.02rem;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 128, 77, 0.4);
}
.btn-lg { padding: 18px 44px; font-size: 1.12rem; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--navy); transform: none; box-shadow: none; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, #20365a 0%, var(--navy) 55%);
  color: #fff;
  padding: 84px 0 96px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.05rem);
  line-height: 1.4;
  margin: 0 0 26px;
  font-weight: 800;
  letter-spacing: .01em;
}
.hero .lead { font-size: 1.12rem; color: #d6deea; margin: 0 0 8px; }
.hero-pains {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: grid;
  gap: 12px;
  max-width: 660px;
}
.hero-pains li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 18px 14px 46px;
  position: relative;
  font-size: 1.04rem;
}
.hero-pains li::before {
  content: "✕";
  position: absolute;
  left: 18px;
  color: var(--accent);
  font-weight: 800;
}
.hero-conclusion {
  font-size: 1.2rem;
  line-height: 1.85;
  max-width: 720px;
  margin: 0 0 34px;
}
.hero-conclusion b { color: #ffd9c2; }
.hero .btn { font-size: 1.12rem; padding: 18px 46px; }
.hero-note { display: block; margin-top: 14px; font-size: .92rem; color: #aab6c9; }

/* ===== Sections ===== */
section { padding: 76px 0; }
section.tint { background: var(--bg-soft); }
section.accent-tint { background: var(--bg-tint); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.45;
}
.section-head .sub { color: var(--text-soft); margin: 0; font-size: 1.04rem; }
.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .14em;
  margin-bottom: 10px;
}

/* ===== For-whom cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  box-shadow: var(--shadow);
}
.card .ico { font-size: 1.7rem; }
.card h3 { margin: 10px 0 8px; color: var(--navy); font-size: 1.12rem; }
.card p { margin: 0; color: var(--text-soft); font-size: .98rem; line-height: 1.8; }
.lead-note {
  text-align: center;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* ===== Prose block ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.08rem; line-height: 1.95; }
.prose strong { color: var(--navy); }

/* ===== Timeline ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.08rem; }
.step p { margin: 0; color: var(--text-soft); font-size: .96rem; }
.goal-banner {
  margin-top: 34px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  font-size: 1.18rem;
  font-weight: 700;
}
.goal-banner b { color: #ffd9c2; }

/* ===== Support ===== */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.support-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
}
.support-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.2rem; }
.support-card p { margin: 0; color: var(--text-soft); }

/* ===== Guarantee ===== */
.guarantee {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 40px 38px;
  box-shadow: var(--shadow);
  text-align: center;
}
.guarantee .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 18px;
}
.guarantee p { font-size: 1.08rem; }
.guarantee .promise { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 20px 0; }
.guarantee ul { text-align: left; max-width: 620px; margin: 18px auto; padding-left: 1.2em; }
.guarantee li { margin-bottom: 8px; }
.guarantee .fine { font-size: .9rem; color: var(--text-soft); }

/* ===== Pricing ===== */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-head {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
}
.price-head .name { font-size: 1.05rem; color: #cdd7e6; margin: 0 0 6px; }
.price-head .amount { font-size: 2.6rem; font-weight: 800; line-height: 1.2; }
.price-head .amount small { font-size: 1rem; font-weight: 600; color: #cdd7e6; }
.price-body { padding: 28px 30px; }
.price-body dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.price-body dt { color: var(--text-soft); font-weight: 700; }
.price-body dd { margin: 0; }
.price-after {
  max-width: 560px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 1rem;
}
.price-after b { color: var(--navy); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 54px 20px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { margin: 0; padding: 0 22px 22px; color: var(--text-soft); }

/* ===== Not-for ===== */
.notfor { max-width: 680px; margin: 0 auto; }
.notfor ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.notfor li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 16px 50px;
  position: relative;
}
.notfor li::before {
  content: "✕";
  position: absolute;
  left: 18px;
  color: #c0392b;
  font-weight: 800;
}

/* ===== Final CTA ===== */
.final-cta {
  background: radial-gradient(900px 500px at 30% 0%, #20365a 0%, var(--navy) 60%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 18px; }
.final-cta p { color: #d6deea; font-size: 1.08rem; max-width: 620px; margin: 0 auto 14px; }
.final-cta .btn { margin-top: 24px; }
.contact-line { margin-top: 22px; font-size: 1rem; color: #cdd7e6; }
.contact-line a { color: #ffd9c2; }

/* ===== Footer ===== */
.site-footer {
  background: #0f1c30;
  color: #aab6c9;
  padding: 40px 0;
  font-size: .92rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #aab6c9; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; text-align: center; margin-top: 18px; color: #6e7e95; font-size: .85rem; }

/* ===== Legal pages ===== */
.legal { padding: 60px 0 80px; }
.legal h1 { color: var(--navy); font-size: 1.7rem; }
.legal .back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); width: 30%; color: var(--navy); }
.legal h2 { color: var(--navy); font-size: 1.2rem; margin-top: 34px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.legal ul { padding-left: 1.3em; }
.legal .note { background: var(--bg-tint); border-radius: 10px; padding: 14px 18px; color: var(--text-soft); font-size: .95rem; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .25s;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .cards, .timeline, .support-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
  section { padding: 56px 0; }
  .legal th { width: 38%; }
}

/* =========================================================
   商品ラダー反映（モニター価格・法人向け案内・PDF導線）
   ========================================================= */
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.hero-sub-cta {
  display: inline-block;
  margin-left: 14px;
  color: #ffd9c2;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 217, 194, .5);
}
.section-head .sub b { color: var(--navy); }

.monitor-banner {
  max-width: 760px;
  margin: 0 auto 30px;
  background: var(--bg-tint);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 26px 30px;
  text-align: center;
}
.monitor-banner .tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .08em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.monitor-banner h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.6;
}
.monitor-banner h3 b { color: var(--accent-dark); }
.monitor-banner p { margin: 0; color: var(--text-soft); font-size: 1rem; }

.price-head .amount-regular {
  margin: 0 0 2px;
  color: #aab6c9;
  font-size: .95rem;
  text-decoration: line-through;
}
.price-head .amount-label {
  display: block;
  color: #ffd9c2;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.price-includes {
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.price-includes li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: .97rem;
  line-height: 1.7;
}
.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.monitor-terms {
  max-width: 760px;
  margin: 30px auto 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.monitor-terms h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.14rem; }
.monitor-terms ul { padding-left: 1.2em; margin: 0 0 14px; }
.monitor-terms li { margin-bottom: 7px; font-size: .99rem; }
.monitor-terms .fine, .fine { color: var(--text-soft); font-size: .9rem; line-height: 1.7; margin: 0; }

.biz-note {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.biz-note h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.14rem; }
.biz-note p { margin: 0 0 12px; color: var(--text-soft); line-height: 1.9; }
.biz-note p:last-child { margin-bottom: 0; }
.biz-note b { color: var(--navy); }
.biz-note a { color: var(--accent-dark); font-weight: 700; }
.faq-a a { color: var(--accent-dark); font-weight: 700; }

@media (max-width: 720px) {
  .hero-sub-cta { margin-left: 0; margin-top: 10px; }
  .monitor-banner, .monitor-terms, .biz-note { padding: 22px 20px; }
}

/* 受講の前提条件 */
.prereq {
  max-width: 760px;
  margin: 34px auto 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px 32px;
  box-shadow: var(--shadow);
}
.prereq h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.12rem; }
.prereq ul { padding-left: 1.2em; margin: 0 0 12px; }
.prereq li { margin-bottom: 7px; line-height: 1.75; }
.prereq b { color: var(--navy); }
.price-excludes { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--text-soft); font-size: .9rem; line-height: 1.7; }
@media (max-width: 720px) { .prereq { padding: 22px 20px; } }

/* ===== お問い合わせフォーム（contact.php） ===== */
.form-page .form-lead { color: var(--text-soft); line-height: 1.9; margin: 0 0 28px; }
.contact-form { max-width: 680px; }
.contact-form label { display: block; margin: 0 0 20px; font-weight: 700; color: var(--navy); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"],
.contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px;
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.contact-form textarea { resize: vertical; line-height: 1.7; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.contact-form .req { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: .78rem; color: #fff; background: var(--accent); border-radius: 999px; vertical-align: middle; }
.contact-form .hint { display: block; margin-top: 6px; font-size: .88rem; font-weight: 400; color: var(--text-soft); line-height: 1.7; }
.contact-form .trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .note { color: var(--text-soft); font-size: .92rem; line-height: 1.8; margin: 26px 0 0; }
.contact-form .note a { color: var(--accent-dark); font-weight: 700; }
.contact-form .form-submit { margin: 28px 0 0; }
.msg { border-radius: var(--radius); padding: 18px 22px; margin: 0 0 24px; line-height: 1.8; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin: 0; }
.msg.ok { background: var(--bg-soft); border: 1px solid var(--line); border-left: 5px solid var(--accent); }
.msg.ng { background: #fdf1ef; border: 1px solid #f1c9c2; border-left: 5px solid #c0392b; color: #8a2a1c; }
.msg code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 4px; }

/* ヘッダー：法人研修リンク（無料相談ボタンと区別するため控えめな枠） */
.nav .nav-biz { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: .92rem; }
.nav .nav-biz:hover { border-color: var(--accent); color: var(--accent-dark); }
@media (max-width: 720px) { .nav .nav-biz { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 13px 4px; font-size: inherit; } }
