@charset "UTF-8";
/* =========================================================
   GLP-1作動薬 親ページ（フルLP）専用スタイル
   - デザイントークンは Figma get_variable_defs より固定
   - 共有コンポーネント（セクション見出し / CTAバナー）を定義
   - 各セクション固有スタイルは sections/*.php 内の <style> に同梱
   ========================================================= */

:root {
  --glp-text: #414141;
  --glp-text-light: #6e6e6e;
  --glp-ink: #1e1e1e;
  --glp-teal: #3095a3;
  --glp-teal-dark: #257a86;
  --glp-teal-title: #74b8c1;
  --glp-teal-bg: #e8f4f6;
  --glp-teal-89: #d8ebef;
  --glp-teal-93: #e8eef0;
  --glp-grey-98: #f9f9f9;
  --glp-grey-96: #f4f8f8;
  --glp-line: #e8e4de;
  --glp-green-bg: #f0f7f3;
  --glp-beige: #e8e0d4;
  --glp-orange: #f5a623;
  --glp-gold: #8c6427;
  --glp-gold-light: #ca913a;
  --glp-white: #fff;
  --glp-font-jp: "Noto Sans JP", sans-serif;
  --glp-font-mincho: "Shippori Mincho B1", "Shippori Mincho", serif;
  --glp-font-en: "Poppins", sans-serif;
  --glp-radius: 8px;
  --glp-maxw: 981px;
}

/* ---- 本文ラッパ（サイドバー横のメインカラム） ---- */
.glp-main {
  width: 100%;
  /* Figma 112:2561：ヒーロー以下の本文エリアは薄い緑の地 */
  background: var(--glp-green-bg);
  padding-bottom: 50px;
  color: var(--glp-text);
  font-family: var(--glp-font-jp);
  /* Figma の本文は Noto Sans JP Regular。body の 300（common.css）を引き継がない */
  font-weight: 400;
  line-height: 1.8;
}
.glp-main img { max-width: 100%; height: auto; display: block; }
.glp-main * { box-sizing: border-box; }

/* common.css の section{display:flex} / .container .contents{flex row} を打ち消す */
.container .contents.glp-main,
.glp-main { display: block; }
.glp-section { display: block; }
.glp-hero { display: block; }
/* common.css の div{flex-direction:column} 規約下で、横並び意図のコンテナだけ row に上書き
   （縦積みコンテナはサイト既定の column のまま維持） */
.glp-toc__item,
.glp-mech__mech-flow,
.glp-mech__mech-inject-labels,
.glp-mech__effect-item,
.glp-mech__chart-bars,
.glp-mech__bar-wrap,
.glp-mech__chart-legend,
.glp-mech__fatcell-steps,
.glp-risk__ba-wrap,
.glp-risk__doctor-comment,
.glp-merit__doctor,
.glp-doctor__profile,
.glp-access__rating-row,
.glp-access__rating-inner,
.glp-access__actions,
.glp-faq__q,
.glp-faq__a,
.glp-cta__inner,
.glp-cta__bottom,
.glp-cta__timer-wrap,
.glp-hero__cta-row,
.glp-hero__badges { flex-direction: row; }

/* ---- セクションのセンタリング（ヒーローを除く） ---- */
.glp-section {
  margin-bottom: 56px;
  max-width: var(--glp-maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ヒーローセクションは全幅なのでセンタリング解除 */
.glp-hero {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* ---- 共通セクション見出し（Figma 112:3167：高さ 98、上下 16.3 / 左右 8.2、下線は枠の下端） ---- */
.glp-sec-head {
  margin-bottom: 20px;
  height: 98px;
  padding: 16.33px 8.17px;
  border-bottom: .817px solid var(--glp-teal);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3.27px;
}
.glp-sec-head .en {
  display: block;
  font-family: var(--glp-font-en);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1.4px;
  color: #414141;
  font-weight: 400;
  margin-bottom: 0;
}
.glp-sec-head .ja {
  font-family: var(--glp-font-mincho);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 1.3px;
  color: #414141;
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* ---- CTAバナー（HTML/CSS版 ゴールドキャンペーン 先着5名様 15ヶ月分0円） ---- */
.glp-cta {
  margin: 40px auto;
  max-width: var(--glp-maxw);
}

.glp-cta__link {
  display: block;
  position: relative;
  border: 3px solid var(--glp-gold);
  border-radius: 4px;
  overflow: hidden;
  background: #f5f1e8;
  min-height: 367px;
  transition: opacity .2s ease, transform .2s ease;
  text-decoration: none;
}
.glp-cta__link:hover { opacity: .92; transform: scale(1.005); }

/* CTAバナー内部レイアウト */
.glp-cta__inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 367px;
  background-color: #f5f1e8;
  background-image:
    linear-gradient(180deg, rgba(245, 241, 232, .88) 0%, rgba(237, 229, 212, .75) 55%, rgba(202, 145, 58, .95) 100%),
    url("img/cta_bg.webp");
  background-size: cover, cover;
  background-position: center top, center top;
}

/* 左コンテンツエリア */
.glp-cta__content {
  flex: 1;
  padding: 28px 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* 右モデル画像 */
.glp-cta__model {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
}

/* 上部：無理な勧誘は一切ございません + レイ装飾 */
.glp-cta__top {
  position: relative;
  margin-bottom: 16px;
}

.glp-cta__reassure {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--glp-gold);
  background: rgba(255, 255, 255, .85);
  padding: 6px 16px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

/* レイ装飾（CSS疑似要素） */
.glp-cta__rays {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}
.glp-cta__rays::before,
.glp-cta__rays::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, rgba(202, 145, 58, .3) 0%, transparent 100%);
  height: 2px;
  width: 100%;
  left: 0;
}
.glp-cta__rays::before { top: 20px; }
.glp-cta__rays::after { top: 40px; }

/* 中央コンテンツ */
.glp-cta__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 先着バッジ（Figma: 白円 + 金枠 + 金文字） */
.glp-cta__badge {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  border: 1.5px solid var(--glp-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--glp-gold);
  line-height: 1.25;
  box-shadow: 0 2px 8px rgba(140, 100, 39, .15);
  margin-bottom: 8px;
}
.glp-cta__badge-top {
  font-size: 16px;
  letter-spacing: .05em;
}
.glp-cta__badge-num {
  font-size: 18px;
  font-family: var(--glp-font-mincho);
  letter-spacing: .08em;
}

/* 月々9,780円〜が ボックス */
.glp-cta__price-box {
  display: inline-block;
  background: var(--glp-gold);
  color: var(--glp-white);
  font-size: 18px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.glp-cta__price-note {
  font-size: 14px;
  margin-left: 4px;
}

/* Special Campaign 筆記体 */
.glp-cta__campaign-script {
  font-family: "Allura", "Segoe Script", cursive;
  font-size: 28px;
  color: var(--glp-gold);
  margin-bottom: 4px;
  line-height: 1;
}

/* 15ヶ月分0円 大見出し */
.glp-cta__headline {
  font-family: var(--glp-font-mincho);
  font-weight: 800;
  line-height: .95;
  margin-bottom: 8px;
  letter-spacing: .02em;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
}
.glp-cta__headline .glp-cta__num,
.glp-cta__headline .glp-cta__unit {
  background: linear-gradient(90deg, #8c6427 59%, #ca913a 86%, #ffc161 90%, #8c6427 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glp-cta__headline .glp-cta__num {
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: -.06em;
  line-height: .9;
}
.glp-cta__headline .glp-cta__unit {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -.02em;
}
.glp-cta__headline .glp-cta__price-note {
  font-size: 12px;
  color: var(--glp-gold);
  -webkit-text-fill-color: var(--glp-gold);
  margin-left: 4px;
  align-self: flex-start;
}

/* サブコピー */
.glp-cta__subcopy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--glp-gold);
  font-weight: 500;
  margin-bottom: 16px;
}

/* 下部バー（タイマー + CTA） */
.glp-cta__bottom {
  background: var(--glp-gold-light);
  margin: 0 -32px -20px;
  padding: 16px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* タイマー + テキスト */
.glp-cta__timer-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.glp-cta__timer {
  background: var(--glp-white);
  color: var(--glp-gold);
  font-size: 20px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--glp-font-mincho);
}

.glp-cta__timer-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--glp-white);
}

/* CTAボタン（Figma: 茶ボタン + 白文字） */
.glp-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--glp-gold);
  color: var(--glp-white);
  font-size: 18px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: 1px solid #ffe8c6;
  white-space: nowrap;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25), inset 0 2px 4px rgba(203, 167, 114, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.glp-cta__button::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}
.glp-cta__link:hover .glp-cta__button {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2), inset 0 2px 4px rgba(203, 167, 114, .5);
}

/* フッターノート（下部ゴールドバー内） */
.glp-cta__footnotes {
  color: var(--glp-white);
  font-size: 11px;
  line-height: 1.4;
  margin: 0 -32px;
  padding: 0 20px 10px;
  background: var(--glp-gold-light);
  opacity: .95;
}

/* レスポンシブ：768px以下でスタック */
@media (max-width: 768px) {
  .glp-cta__link { min-height: auto; }
  
  .glp-cta__inner {
    flex-direction: column;
    min-height: auto;
  }
  
  .glp-cta__content {
    padding: 20px 20px 16px;
  }
  
  .glp-cta__model {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
  }
  
  .glp-cta__headline {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  .glp-cta__bottom {
    flex-direction: column;
    gap: 12px;
    margin: 0 -20px -16px;
    padding: 16px 20px;
  }
  
  .glp-cta__timer-wrap {
    width: 100%;
    justify-content: center;
  }
  
  .glp-cta__button {
    width: 100%;
    text-align: center;
  }
}

/* ---- 汎用テキストCTAリンク（→付き） ---- */
.glp-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--glp-ink);
  font-weight: 600;
  text-decoration: none;
}
.glp-textlink::after { content: "→"; color: var(--glp-teal); }
.glp-textlink:hover { color: var(--glp-teal); }

/* ---- 枠付き詳細ボタン（Access / Doctor / Merit） ---- */
.glp-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 14px;
  border: 1.5px solid var(--glp-teal);
  border-radius: 4px;
  background: var(--glp-white);
  color: var(--glp-ink);
  font-family: var(--glp-font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background .2s ease, color .2s ease;
}
.glp-outline-btn::after {
  content: "→";
  color: var(--glp-teal);
  font-weight: 700;
}
.glp-outline-btn:hover {
  background: var(--glp-teal-bg);
  color: var(--glp-teal-dark);
}

/* ---- CTAバナー（Figma 112:2563 を @2x で書き出した img/glp_cta_banner.webp） ---- */
/* margin を 0 にすると .glp-section の左右 auto が消えて左寄せになるため、上下だけ指定する */
.glp-cta-banner {
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
}
.glp-cta-banner__link {
  /* flow-root：画像の負マージンをリンクの外へ相殺させない */
  display: flow-root;
  line-height: 0;
  transition: opacity .2s ease;
}
.glp-cta-banner__link:hover { opacity: .94; }
/* 書き出し画像は枠の外側の金線（片側 3px@1x）まで含むため、
   画像を左右上下 3px ずつはみ出させて、バナー本体の外寸を Figma の 981×367 に合わせる */
.glp-main .glp-cta-banner__img {
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: auto;
  margin: -3px;
}

/* 画面幅が 987px 未満では金線のはみ出し分（3px）が画面外に出るため、枠内に収める */
@media screen and (max-width: 1040px) {
  .glp-main .glp-cta-banner__img { width: 100%; margin: 0; }
}

/* ---- レスポンシブ共通 ---- */
@media screen and (max-width: 768px) {
  .glp-section {
    margin-bottom: 40px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .glp-sec-head { height: auto; min-height: 0; padding: 12px 4px; }
  .glp-sec-head .ja { font-size: 20px; }
  .glp-sec-head .en { font-size: 12px; }
  .glp-cta-banner {
    margin-top: 28px;
    margin-bottom: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
