:root {
  --primary: #1a3b7a;
  --accent:  #f2d68f;
  --cta:     #d7a741;
  --text:    #333;
  --bg:      #ffffff;
  --bg-soft: #fff9f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 20px;
  background: #FFF0D2;
  color: var(--text);
  line-height: 1.6;
}
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* ---------------- header / nav ---------------- */
section.header {
  background: #FFF0D2;
  border-bottom: 1px solid #e5d8b9;
}
section.header h1 {
  margin: 0;
  font-size: 1.6rem;
  text-align: center;
  padding: 1rem 0 0.3rem;
  font-weight: 700;
  letter-spacing: .02em;
}
nav {
  text-align: center;
  padding-bottom: .8rem;
}
nav a {
  color: var(--primary);
  margin: 0 .6rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background .3s;
}
nav a:hover::after { background: var(--accent); }
/* ---------------- hero ---------------- */
.hero {
  background: linear-gradient(135deg,#fffaf0 0%,#fff0d2 100%);
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #e5d8b9;
}
.hero h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero p { font-size: 1.15rem; margin-bottom: 2.2rem; }
.cta-btn {
  display: inline-flex;
　　　margin: 1.5rem auto 0;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  padding: .9rem 2.2rem;
  border: none;
  border-radius: 9999px;       /* pill shape */
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn::after { content: "→"; }
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}
/* ---------------- section title ---------------- */
h2.section-title {
  font-size: 1.9rem;
  color: var(--primary);
  margin: 0 0 2.3rem;
  text-align: center;
  position: relative;
}
h2.section-title::after {
  content: '';
  width: 70px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: .6rem auto 0;
  border-radius: 2px;
}
section:not(.header) { padding: 3.2rem 0; }
/* ---------------- pain list ---------------- */
.pain-list { list-style: none; padding: 0; margin: 0 auto 2rem; max-width: 720px; }
.pain-item {
  background: var(--bg-soft);
  margin: .55rem 0;
  padding: .55rem 1rem .55rem 1.2rem;
  border-left: 6px solid var(--primary); 
  border-radius: 6px;
  display: flex;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,.03);
}

.pain-item::before {
  content: "✔";
  margin-right: .7rem;
  color: var(--primary); 
  font-size: 1rem;
}
/* ---------------- text-block (double border) ---------------- */
.text-block {
  position: relative;
  background: var(--bg);
  padding: 1.4rem 1.6rem 1.4rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.text-block::before {          /* outer thin border */
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 12px;
  pointer-events: none;
}
.text-block h3 {
  color: var(--primary);
  margin: 0 0 .9rem;
  font-size: 1.3rem;
  border-bottom: 1px solid #e6d4aa;
  padding-bottom: .4rem;
  font-weight: 700;
}
.text-block h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff7e8;
  padding: .45rem 1rem;
  border-left: 4px solid var(--cta);
  margin: 1.4rem 0 0;
  border-radius: 6px;
}
/* styled steps list */
.numbered-steps { counter-reset: step; list-style: none; padding-left: 0; }
.numbered-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: .9rem;
  line-height: 1.6;
}
.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  background: var(--cta);
  color: #fff;
  width: 1.8rem;
  height: 1.8rem;
  line-height: 1.8rem;
  text-align: center;
  border-radius: 50%;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
}
/* ---------------- flow-section---------------- */
.flow-wrapper {
  display: flex;
  align-items: flex-start;
  background: #fffaf4;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #f0e1bd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 2rem auto;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flow-content {
  flex: 1;
  min-width: 300px;
}

.flow-heading {
  font-size: 1.1rem;
  color: #1a3b7a;
  margin-bottom: 1.2rem;
  font-weight: bold;
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.step-flow .step {
  display: flex;
  align-items: flex-start;
}

.step-flow .circle {
  background-color: #1a3b7a;
  color: #fff;
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-weight: bold;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

/* inline list inside h4 */
.text-block h4 + .numbered-steps {
  background: #fffaf4;
  border: 1px solid #f0e1bd;
  padding: 1rem 1.2rem;
  margin-top: 0;
  border-radius: 8px;
}
.options-wrapper {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.options-wrapper {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.option-item {
  border-left: 5px solid #f2d68f;
  background: #fff9f0;
  padding: 1.2rem 1rem 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
}

.option-number {
  background: #1a3b7a;
  color: #fff;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.option-content {
  flex: 1;
}

.option-title {
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: #1a3b7a;
  font-size: 1.05rem;
}

.option-desc {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* cta-section bottom */
.cta-section {
  background: linear-gradient(135deg,#fff7e6 0%,#fff0d2 100%);
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid #e5d8b9;
}
.cta-message {
  background-color: #fff5e5; /* 淡いゴールドベージュ */
  border-left: 6px solid #d7a741; /* ゴールド強調 */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}
p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.report-example {
  margin: 2rem 0;
  text-align: center;
}

.report-example img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;      /* ウィンドウが狭くなったら折り返す */
  gap: 2rem;            /* 項目間のスペース */
  text-align: center;
}

footer nav a {
  white-space: nowrap;  /* 改行させない */
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
}
/* ---------------- responsive ---------------- */
@media (max-width: 600px) {
  h2.section-title { font-size: 1.55rem; }
  .hero h2 { font-size: 1.7rem; }
  .cta-btn { padding: .7rem 1.8rem; }
}
@media (max-width: 600px) {
  .flow-wrapper {
    flex-direction: column;
    padding: 1.5rem;
  }

  .flow-content {
    min-width: 100%;
  }

  .step-flow .step {
    flex-direction: row;
    align-items: flex-start;
  }

  .step-flow .circle {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.8rem;
    margin-right: 0.6rem;
  }

  .flow-heading {
    font-size: 1rem;
  }
}
/* ========== オプション内レポート画像のレスポンシブ調整 ========== */
@media (max-width: 600px) {
  /* option 1～7 のカード全体を縦並びに */
  .option-item {
    flex-direction: column;   /* 上下配置 */
    align-items: center;      /* 中央寄せ */
    text-align: left;         /* タイトルや説明は左寄せのまま */
  }

  /* 番号バッジを少し余白をとって上に置く */
  .option-number {
    margin-bottom: 0.8rem;
  }

  /* レポート例画像を画面中央に */
  .report-example img {
    display: block;
    margin: 0 auto;           /* 横センター */
    max-width: 100%;          /* はみ出し防止 */
    height: auto;
  }

  /* キャプションも中央寄せにする場合 ▼ */
  .report-example .caption {
    text-align: center;
  }
}
