/* cpg.css … 腸活パズル活用法ページの共通デザイン（スマホ基準）
   ・すべて .cpg の中だけに効く（既存サイト・他ページのデザインに影響しない）
   ・配色（2026-11-19 代表の指示）：白ベース／オレンジ（主役）／ゴールド（控えめ）／クリーム（背景）
   ・画像はあとから入る。画像がなくても成立し、入れると自然に完成度が上がる作りにしている */
.cpg {
  --o: #f2851c;          /* オレンジ（ボタン・番号・線） */
  --o-soft: #fdebd6;     /* 薄いオレンジ（強調の下線・面） */
  --gold: #b9975b;       /* ゴールド（細い線・飾り） */
  --gold-ink: #86672c;   /* ゴールドの文字用（読みやすい濃さ） */
  --cream: #faf6ee;      /* クリーム（背景） */
  --cream-2: #f4ecdd;
  --ink: #332e29;        /* 本文 */
  --ink-2: #6f675e;      /* 補足 */
  --line: #e8e1d5;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --w-text: 680px;       /* 文章の読みやすい最大幅 */
  --w-wide: 1040px;
  color: var(--ink); background: #fff;
  font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  line-break: strict; overflow-wrap: anywhere; text-wrap: pretty; /* pretty：1〜2文字だけ次の行に残るのを防ぐ */
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* 画面下の固定ボタンが本文を隠さないための余白 */
  overflow-x: clip;
}
.cpg *, .cpg *::before, .cpg *::after { box-sizing: border-box; }
.cpg p { margin: 0 0 1.25em; }
.cpg p:last-child { margin-bottom: 0; }
.cpg ul, .cpg ol, .cpg dl, .cpg figure { margin: 0; padding: 0; }
.cpg a { color: inherit; }
.cpg strong { font-weight: 700; background: linear-gradient(transparent 68%, var(--o-soft) 68%); }
.cpg h1, .cpg h2, .cpg h3 { margin: 0; text-wrap: balance; font-feature-settings: "palt"; }
/* 見出しや短い文は、言葉の切れ目で改行する（本文は行末をそろえて読みやすく） */
.cpg h1, .cpg h2, .cpg h3, .cpg-worries li, .cpg-lead, .cpg-cta-band p, .cpg-for { word-break: auto-phrase; }
.cpg-inner { max-width: var(--w-wide); margin: 0 auto; padding: 0 22px; }
.cpg-text { max-width: var(--w-text); margin-left: auto; margin-right: auto; }
.cpg-text--center { text-align: left; }

/* ================= ボタン（全ページで形をそろえる） ================= */
.cpg-btn-wrap { margin: 0 !important; }
.cpg-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 400px; min-height: 62px; margin: 0 auto; padding: 12px 56px 12px 32px;
  border-radius: 999px; background: var(--o); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: 16.5px; line-height: 1.4; letter-spacing: .06em; text-align: center;
  box-shadow: 0 10px 24px -8px rgba(242, 133, 28, .55); transition: transform .2s, box-shadow .2s, background-color .2s;
}
.cpg-btn::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M15 12l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px no-repeat;
  transition: transform .2s;
}
.cpg-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(242, 133, 28, .6); }
.cpg-btn:hover::after { transform: translateX(3px); }
.cpg-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cpg-btn--sub { background: #fff; color: var(--ink) !important; border: 1px solid var(--gold); box-shadow: none; font-weight: 600; font-size: 15.5px; }
.cpg-btn--sub::after { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M15 12l6 6-6 6' fill='none' stroke='%23b9975b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cpg-btn--sub:hover { background: var(--cream); box-shadow: none; }
.cpg-btn--line { border-color: var(--line); color: var(--ink-2) !important; min-height: 54px; font-size: 14.5px; }

/* ================= 冒頭 ================= */
.cpg-hero { position: relative; background: linear-gradient(170deg, #fff 0%, var(--cream) 78%); padding: 56px 0 52px; overflow: hidden; }
.cpg-hero::before { /* 右上のやわらかい円（飾り）。画像が入ると、その後ろに回る */
  content: ""; position: absolute; right: -140px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--o-soft) 70%); opacity: .75;
}
.cpg-hero::after { content: ""; position: absolute; right: -70px; top: 60px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid var(--gold); opacity: .45; }
.cpg-hero__grid { position: relative; z-index: 1; }
.cpg-hero__label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px !important; color: var(--gold-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; }
.cpg-hero__label::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.cpg-hero h1 { font-family: var(--serif); font-size: clamp(31px, 8.6vw, 38px); line-height: 1.45; font-weight: 600; letter-spacing: .04em; }
.cpg-hero h1 .cpg-hero__sub { display: block; margin-top: 16px; font-family: var(--sans); font-size: 15.5px; line-height: 1.7; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); }
.cpg-nb { display: inline-block; white-space: nowrap; }
.cpg-hero__lead { max-width: 560px; margin: 28px 0 34px; font-size: 15.5px; line-height: 2; }
.cpg-hero__lead p { margin-bottom: .9em; }
.cpg-hero__btns { display: grid; gap: 14px; max-width: 400px; }
.cpg-hero__fig { margin-top: 40px !important; }

/* ================= 5つの道への目次 ================= */
.cpg-nav { background: #fff; border-bottom: 1px solid var(--line); }
.cpg-nav .cpg-inner { padding: 0; }
.cpg-nav ul { list-style: none; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 14px; }
.cpg-nav ul::-webkit-scrollbar { display: none; }
.cpg-nav li { flex: 0 0 auto; }
.cpg-nav a { display: flex; align-items: baseline; gap: 8px; padding: 18px 12px; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.cpg-nav a:hover { border-bottom-color: var(--o); }
.cpg-nav b { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--o); letter-spacing: .04em; }

/* ================= セクション共通 ================= */
.cpg-sec { padding: 72px 0; }
.cpg-head { text-align: center; margin-bottom: 40px; }
.cpg-eyebrow { margin: 0 0 12px !important; font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: .14em; color: var(--gold-ink); }
.cpg-eyebrow::before, .cpg-eyebrow::after { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 1px; margin: 0 12px; background: var(--gold); }
.cpg-h2 { font-family: var(--serif); font-size: 25px; line-height: 1.6; font-weight: 600; letter-spacing: .05em; }
.cpg-h2 span { display: block; margin-top: 8px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); }
.cpg-sec h3 { font-size: 18px; line-height: 1.6; font-weight: 700; letter-spacing: .04em; }

/* 背景のリズム（白とクリームを交互に） */
.cpg-sec--about, .cpg-sec--stages, .cpg-sec--reason, .cpg-sec--info, .cpg-sec--types { background: var(--cream); }

/* ================= こんな思いはありませんか ================= */
.cpg-worries { list-style: none; display: grid; gap: 12px; max-width: 860px; margin: 0 auto !important; }
.cpg-worries li {
  position: relative; display: flex; align-items: center; min-height: 76px; padding: 18px 20px 18px 66px;
  background: var(--cream); border-radius: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.75;
}
.cpg-worries li::before { /* 白い丸の中に、オレンジの細いチェック */
  content: ""; position: absolute; left: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11 17.5l4.2 4.2L23.5 13' fill='none' stroke='%23f2851c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/34px no-repeat;
  box-shadow: 0 2px 8px rgba(120, 90, 40, .1);
}
.cpg-worries__after { position: relative; margin-top: 56px; padding-top: 44px; }
.cpg-worries__after::before { /* 下向きの小さな矢印で、次の文章へ視線を誘導 */
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 28px; background: var(--gold);
}
.cpg-worries__after p:first-child { text-align: center; font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 1.6em; }

/* ================= 腸活パズルとは ================= */
.cpg-lead { font-family: var(--serif); font-size: 18.5px; line-height: 2; font-weight: 600; letter-spacing: .04em; }
.cpg-note { position: relative; max-width: var(--w-text); margin: 44px auto 0; padding: 34px 24px 30px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -24px rgba(120, 90, 40, .35); }
.cpg-note::before { content: ""; position: absolute; left: 24px; top: 0; width: 48px; height: 3px; background: var(--o); }
.cpg-note h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 19.5px; font-weight: 600; }

/* ================= 5つの道 ================= */
.cpg-paths { margin: 44px 0 0; border-top: 1px solid var(--line); }
.cpg-path { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.cpg-path__no { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 500; color: var(--o); letter-spacing: .02em; }
.cpg-path__no small { font-size: 11px; font-style: italic; letter-spacing: .22em; color: var(--gold-ink); }
.cpg-path h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cpg-path h3 span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--gold-ink); letter-spacing: .05em; }
.cpg-for { margin: 18px 0 20px !important; padding: 14px 16px; background: var(--cream); border-radius: 10px; font-size: 15px; line-height: 1.8; }
.cpg-for span { display: block; margin-bottom: 2px; color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.cpg-more { margin-top: 20px !important; font-size: 15px; font-weight: 700; }
.cpg-more a { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; text-decoration: none; border-bottom: 1px solid var(--o); }
.cpg-more a::after { content: "→"; color: var(--o); transition: transform .2s; }
.cpg-more a:hover::after { transform: translateX(4px); }
.cpg-more--soon { color: var(--ink-2); font-weight: 500; font-size: 13.5px; }
.cpg-more--soon small { margin-left: 10px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; }
.cpg-path__fig { margin-top: 24px !important; }

/* 5つの道のあとの案内 */
.cpg-cta-band { max-width: 720px; margin: 56px auto 0; padding: 36px 22px 38px; border-radius: 20px; background: var(--cream); text-align: center; }
.cpg-cta-band p:not(.cpg-btn-wrap) { margin-bottom: 22px; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.8; }

/* ================= 3つのステージ ================= */
.cpg-stages { list-style: none; display: grid; gap: 16px; margin-top: 40px !important; }
.cpg-stages li { position: relative; padding: 28px 22px 26px; background: #fff; border-radius: 16px; font-size: 15.5px; }
.cpg-stages li:not(:last-child)::after { /* 次のステージへの矢印 */
  content: ""; position: absolute; left: 50%; bottom: -16px; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); z-index: 1;
}
.cpg-stages h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.cpg-stages h3 em { display: inline-block; margin: 0 0 10px; padding: 3px 14px; border-radius: 999px; background: var(--o); color: #fff; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.cpg-stages h3 em + * , .cpg-stages h3 { display: block; }
.cpg-stages h3 em { display: table; }

/* ================= 道具と仕組み ================= */
.cpg-tools { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.cpg-tool { padding: 36px 0; border-bottom: 1px solid var(--line); }
.cpg-tool__head { margin-bottom: 16px; }
.cpg-tool h3 { position: relative; padding-left: 18px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.cpg-tool h3::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; border-radius: 2px; background: var(--o); }
.cpg-tool h3 span { display: block; margin-top: 4px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.cpg-tool__body { font-size: 15.5px; }
.cpg-tool ul { list-style: none; margin: 0 0 1.25em; display: grid; gap: 10px; }
.cpg-tool li { position: relative; padding: 12px 14px 12px 34px; background: var(--cream); border-radius: 10px; line-height: 1.75; }
.cpg-tool li::before { content: ""; position: absolute; left: 14px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--o); }
.cpg-tool .cpg-more a { font-size: 14.5px; }

/* ================= 医療との役割分担 ================= */
.cpg-sec--medical { padding-top: 24px; }
.cpg-sec--medical .cpg-inner { max-width: 800px; }
.cpg-sec--medical .cpg-inner > * { position: relative; }
.cpg-sec--medical .cpg-inner { position: relative; padding: 48px 24px 44px; }
.cpg-sec--medical .cpg-inner::before { content: ""; position: absolute; inset: 0 14px; border: 1px solid var(--gold); border-radius: 20px; background: linear-gradient(180deg, #fff, var(--cream)); }
.cpg-sec--medical .cpg-head { margin-bottom: 28px; }
.cpg-sec--medical .cpg-text { font-size: 15.5px; padding: 0 8px; }

/* ================= 「届け方」まで学べる理由 ================= */
.cpg-profile { max-width: var(--w-text); margin: 48px auto 0; padding: 34px 24px 32px; background: #fff; border-radius: 16px; }
.cpg-profile h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--serif); font-size: 19.5px; font-weight: 600; }
.cpg-profile h3::before { content: ""; flex: 0 0 28px; height: 1px; background: var(--gold); }
.cpg-profile__body { font-size: 15.5px; }
.cpg-profile__fig { margin: 0 auto 24px !important; max-width: 220px; }
.cpg-profile__fig img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* ================= 代表メッセージ ================= */
.cpg-sec--message { position: relative; }
.cpg-message { position: relative; max-width: 640px; margin: 0 auto; padding-top: 12px; font-family: var(--serif); font-size: 16.5px; line-height: 2.2; letter-spacing: .05em; }
.cpg-message::before { content: "“"; position: absolute; left: -6px; top: -54px; font-size: 96px; line-height: 1; color: var(--o-soft); font-family: Georgia, serif; }
.cpg-message p { margin-bottom: 1.6em; }
.cpg-sign { margin-top: 44px !important; padding-top: 24px; border-top: 1px solid var(--line); text-align: right; font-family: var(--sans); font-size: 14px !important; line-height: 1.8 !important; letter-spacing: .06em; color: var(--ink-2); }

/* ================= 運営について ================= */
.cpg-info { max-width: 760px; margin: 0 auto 32px !important; background: #fff; border-radius: 16px; padding: 8px 24px; }
.cpg-info > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cpg-info > div:last-child { border-bottom: 0; }
.cpg-info dt { margin-bottom: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.cpg-info dd { margin: 0; font-size: 15.5px; line-height: 1.85; }
.cpg-sec--info .cpg-more { text-align: center; }

/* ================= よくある質問（押すと開く。JavaScriptなし） ================= */
.cpg-faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.cpg-faq__item { border-bottom: 1px solid var(--line); }
.cpg-faq__item summary { position: relative; display: block; padding: 24px 44px 24px 0; cursor: pointer; list-style: none; }
.cpg-faq__item summary::-webkit-details-marker { display: none; }
.cpg-faq__item summary::after { /* ＋／− の印 */
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--o), var(--o)) center/16px 1.5px no-repeat, linear-gradient(var(--o), var(--o)) center/1.5px 16px no-repeat; transition: transform .2s;
}
.cpg-faq__item[open] summary::after { background: linear-gradient(var(--o), var(--o)) center/16px 1.5px no-repeat; }
.cpg-faq__item summary:focus-visible { outline: 2px solid var(--o); outline-offset: 2px; }
.cpg-faq__item h3 { display: flex; gap: 14px; font-size: 16.5px; line-height: 1.7; }
.cpg-faq__item h3 span, .cpg-faq__a > span { flex: 0 0 auto; font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--o); }
.cpg-faq__a { display: flex; gap: 14px; padding: 0 12px 26px 0; font-size: 15.5px; }
.cpg-faq__a > span { color: var(--gold); }

/* ================= 最後の案内 ================= */
.cpg-sec--final { position: relative; background: linear-gradient(180deg, var(--cream), #fff); overflow: hidden; }
.cpg-sec--final::before { content: ""; position: absolute; left: 50%; top: -220px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; border: 1px solid var(--gold); opacity: .35; }
.cpg-sec--final .cpg-inner { position: relative; }
.cpg-sec--final .cpg-text { max-width: 560px; }
.cpg-final__btns { display: grid; gap: 14px; justify-items: center; margin-top: 36px; }
.cpg-final__btns .cpg-btn-wrap { width: 100%; }

.cpg-hero h1 { text-wrap: balance; }

/* ================= 個別ページの部品 ================= */
.cpg-tool__no { margin: 0 0 8px !important; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--o); letter-spacing: .04em; }
.cpg-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 760px; margin: 0 auto 28px !important; }
.cpg-chips li { padding: 11px 22px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.cpg-points { list-style: none; display: grid; gap: 10px; margin: 24px 0 28px !important; }
.cpg-points li { position: relative; padding: 14px 16px 14px 38px; background: var(--cream); border-radius: 12px; line-height: 1.75; }
.cpg-points li::before { content: ""; position: absolute; left: 16px; top: 1.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--o); }
.cpg-note--cream { background: var(--cream); box-shadow: none; }
/* クリーム色の章が続くときは、あとの章を白にして区切りを見せる */
.cpg-sec--about + .cpg-sec--stages { background: #fff; }
.cpg-sec--about + .cpg-sec--stages .cpg-stages > li { background: var(--cream); }
/* 白い章が続きすぎないように、間の章をクリーム色にする */
.cpg-sec--stages + .cpg-sec--support, .cpg-sec--tools + .cpg-sec--support, .cpg-sec--plain { background: var(--cream); }
.cpg-sec--stages + .cpg-sec--support .cpg-points li, .cpg-sec--tools + .cpg-sec--support .cpg-points li { background: #fff; }
.cpg-sec--plain .cpg-text { text-align: center; }
.cpg-sec--support + .cpg-sec--support + .cpg-sec--support { background: var(--cream); }
/* 得意分野の専門家ページの並び（理由 → 道具 → 分野 → 商品）で、白とクリームを交互にする */
.cpg-sec--reason + .cpg-sec--support + .cpg-sec--tools { background: var(--cream); }
.cpg-sec--reason + .cpg-sec--support + .cpg-sec--tools + .cpg-sec--support { background: #fff; }
.cpg-sec--reason + .cpg-sec--support + .cpg-sec--tools + .cpg-sec--support .cpg-points li { background: var(--cream); }
.cpg-sec--support + .cpg-sec--support + .cpg-sec--support .cpg-points li { background: #fff; }
.cpg-sec__fig.cpg-sec__fig--before { max-width: var(--w-text); margin: 0 auto 36px !important; }
.cpg-faq__a .cpg-more { margin-top: 10px; }
.cpg-final__links { margin-top: 28px; text-align: center; }
.cpg-final__links:empty { display: none; }

/* ================= 画像（あとから入る場所） ================= */
.cpg-fig img { display: block; width: 100%; height: auto; border-radius: 18px; }
.cpg-fig--ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 18px; background: repeating-linear-gradient(135deg, var(--cream), var(--cream) 12px, var(--cream-2) 12px, var(--cream-2) 24px); color: var(--gold-ink); font-size: 13px; letter-spacing: .2em; }
.cpg-profile__fig.cpg-fig--ph { aspect-ratio: 1; border-radius: 50%; }
.cpg-sec__fig { max-width: 880px; margin: 32px auto 0 !important; }
.cpg-tool__fig { margin-top: 20px !important; }
.cpg-message__fig { max-width: 880px; margin: 0 auto 56px !important; }

/* ================= 画面下の固定ボタン（スマホ） ================= */
.cpg-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s; visibility: hidden;
}
.cpg-sticky.is-show { transform: none; visibility: visible; }
.cpg-sticky .cpg-btn { min-height: 50px; max-width: 420px; font-size: 15.5px; box-shadow: none; }
.cpg-sticky .cpg-btn::after { width: 30px; height: 30px; margin-top: -15px; background-size: 30px; }

/* ================= タブレット・パソコン ================= */
@media (min-width: 768px) {
  .cpg { font-size: 16.5px; padding-bottom: 0; }
  .cpg-inner { padding: 0 40px; }
  .cpg-hero { padding: 104px 0 96px; }
  .cpg-hero::before { right: -80px; top: -160px; width: 620px; height: 620px; }
  .cpg-hero::after { right: 60px; top: 90px; width: 460px; height: 460px; }
  .cpg-hero h1 { font-size: clamp(42px, 4.6vw, 56px); line-height: 1.4; }
  .cpg-hero h1 .cpg-hero__sub { margin-top: 22px; font-size: 18px; }
  .cpg-hero__lead { margin: 36px 0 44px; font-size: 16.5px; }
  .cpg-hero__btns { grid-template-columns: auto auto; justify-content: start; max-width: none; gap: 18px; }
  .cpg-hero__btns .cpg-btn { width: auto; min-width: 290px; }
  .cpg-hero.has-fig .cpg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
  .cpg-hero.has-fig .cpg-hero__btns { grid-template-columns: 1fr; max-width: 400px; }
  .cpg-hero.has-fig .cpg-hero__btns .cpg-btn { width: 100%; }
  .cpg-hero__fig { margin-top: 0 !important; }
  .cpg-nav ul { justify-content: center; padding: 0 40px; }
  .cpg-nav a { padding: 22px 18px; font-size: 14.5px; }

  .cpg-sec { padding: 112px 0; }
  .cpg-head { margin-bottom: 56px; }
  .cpg-h2 { font-size: 33px; }
  .cpg-h2 span { font-size: 15.5px; margin-top: 12px; }
  .cpg-text--center { text-align: center; }

  .cpg-worries { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cpg-worries li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .cpg-worries li { font-size: 16px; padding: 22px 24px 22px 74px; }
  .cpg-worries li::before { left: 22px; }
  .cpg-worries__after p:first-child { font-size: 19px; }

  .cpg-lead { font-size: 22px; line-height: 2; }
  .cpg-note { margin-top: 56px; padding: 48px 48px 44px; }
  .cpg-note::before { left: 48px; }
  .cpg-note h3 { font-size: 23px; }

  .cpg-path { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 40px; padding: 60px 0; }
  .cpg-path.has-fig { grid-template-columns: 150px minmax(0, 1fr) 300px; align-items: start; }
  .cpg-path__no { display: block; margin: 0; font-size: 72px; }
  .cpg-path__no small { display: block; margin-bottom: 12px; font-size: 12px; }
  .cpg-path h3 { font-size: 26px; }
  .cpg-path h3 span { font-size: 15.5px; }
  .cpg-path__body { max-width: 640px; }
  .cpg-path__fig { margin-top: 0 !important; }
  .cpg-cta-band { margin-top: 80px; padding: 52px 40px 56px; }
  .cpg-cta-band p:not(.cpg-btn-wrap) { font-size: 20px; }

  .cpg-stages { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px !important; }
  .cpg-stages li { padding: 36px 28px 34px; }
  .cpg-stages li:not(:last-child)::after { left: auto; right: -19px; bottom: auto; top: 50%; margin: -7px 0 0; }
  .cpg-stages h3 { font-size: 21px; }

  .cpg-tools { margin-top: 56px; }
  .cpg-tool { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 56px; padding: 52px 0; }
  .cpg-tool__head { margin: 0; }
  .cpg-sec__fig { margin-top: 48px !important; }
  .cpg-tool__fig { margin-top: 24px !important; }
  .cpg-message__fig { margin-bottom: 72px !important; }
  .cpg-tool h3 { font-size: 22px; }
  .cpg-tool__body { font-size: 16px; }

  .cpg-sec--medical { padding-top: 0; }
  .cpg-sec--medical .cpg-inner { padding: 72px 72px 68px; }
  .cpg-sec--medical .cpg-inner::before { inset: 0; }
  .cpg-sec--medical .cpg-text { font-size: 16px; }

  .cpg-profile { max-width: 860px; margin-top: 64px; padding: 52px 56px; }
  .cpg-profile.has-fig { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
  .cpg-profile__fig { margin: 0 !important; }
  .cpg-profile__body { font-size: 16px; }

  .cpg-message { font-size: 18px; line-height: 2.3; }
  .cpg-message::before { left: -64px; top: -40px; font-size: 140px; }

  .cpg-info { padding: 12px 44px; }
  .cpg-info > div { display: grid; grid-template-columns: 150px 1fr; align-items: baseline; padding: 24px 0; }
  .cpg-info dt { margin: 0; font-size: 13px; }
  .cpg-info dd { font-size: 16px; }

  .cpg-faq__item summary { padding: 30px 56px 30px 8px; }
  .cpg-faq__item h3 { font-size: 18px; gap: 18px; }
  .cpg-faq__a { padding: 0 56px 32px 8px; gap: 18px; font-size: 16px; }

  .cpg-final__btns { margin-top: 44px; }
  .cpg-sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cpg-btn, .cpg-btn::after, .cpg-sticky, .cpg-more a::after { transition: none; } }

/* ================= WordPressの中で使うときの調整 =================
   専用の型（page-cpg.php）のページにだけ効く。見本（このパソコンの中）には影響しない。 */
/* 親テーマのCSSを読み込まないので、共通のヘッダー・フッターが今までと同じ見た目になるよう、土台の指定を補う */
body.page-template-page-cpg { margin: 0; line-height: 1.8; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; }
body.page-template-page-cpg .chokatsu-footer p { margin-top: 0; }
/* サイト共通の「画面下の3つの固定ボタン」は、このページでは出さない（無料セミナーの固定ボタンと重なるため） */
body.page-template-page-cpg .sticky-buttons { display: none !important; }
/* ページ内の移動で、上に固定されるヘッダーに見出しが隠れないようにする */
body.page-template-page-cpg .cpg [id] { scroll-margin-top: 120px; }

/* ================= 規約などの文書（プライバシーポリシーなど。2026-11-27 追加） ================= */
.cpg-doc { max-width: 760px; text-align: left !important; }
.cpg-doc h3 { margin: 44px 0 14px; padding-left: 14px; border-left: 3px solid var(--o); font-size: 17px; line-height: 1.6; }
.cpg-doc > h3:first-child { margin-top: 0; }
.cpg-doc p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.95; }
.cpg-doc ol, .cpg-doc ul { margin: 0 0 14px; padding-left: 1.6em; font-size: 15.5px; line-height: 1.9; }
.cpg-doc li { margin-bottom: 6px; }
.cpg-doc strong, .cpg-info dd strong { background: none; }
.cpg-info dd { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .cpg-doc h3 { font-size: 18.5px; }
  .cpg-doc p, .cpg-doc ol, .cpg-doc ul { font-size: 16px; }
}
