@charset "UTF-8";

/* ============================================================
   9期 Instagram挑戦サポート企画 オプトインLP
   スマホファースト / 画像つなぎ形式
   ============================================================ */

/* ====== 変数 ====== */
:root {
  /* ベースカラー */
  --color-text: #292929;
  --white: #FFF;
  --gray-500: #A9A9A9;
  --gray-800: #4B4B4B;
  --gray-900: #292929;

  /* ブランド */
  --color-primary: #FF6D8A;     /* ピンク（世界観アクセント） */
  --color-cta-bg: #FFF3F6;      /* CTAセクション背景（淡いピンク） */
  --color-yellow: #FFD12F;      /* 三角マーカー */

  /* === CTAボタンの色（ここだけ変えれば全CTAボタンが変わります）===
     デフォルト＝LINE緑（既存LP icircle10.com/workshop に準拠）
     ピンクにしたい場合は下の「ピンク版」をコメント解除し、緑版をコメントアウト */
  /* --- 緑版（デフォルト・LINE誘導の王道）--- */
  --cta-grad-top: #00D487;
  --cta-grad-bottom: #06C755;
  /* --- ピンク版（使う場合はこちらを有効化）---
  --cta-grad-top: #FF8FA8;
  --cta-grad-bottom: #FF6D8A;
  */

  /* LP本体幅 */
  --lp-width: 480px;

  /* フォント */
  --font-base: YakuHanJPs, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ====== リセット ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;   /* 横スクロール防止 */
  max-width: 100%;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFE9EF;          /* PC余白部の淡いピンク背景 */
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  /* 固定CTA分の下部余白（JSで実測値に上書き。これはフォールバック） */
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
img {
  display: block;          /* 画像下の余白を消す */
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
ul { list-style: none; }
button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

/* ====== LP本体 ====== */
.l-main {
  position: relative;
  width: 100%;
  max-width: var(--lp-width);
  background: var(--white);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.12);
}

/* ====== セクション（画像つなぎ・隙間ゼロ）====== */
.p-section {
  width: 100%;
  font-size: 0;       /* インライン要素由来の隙間を完全に消す */
  line-height: 0;
}
.p-section img + img {
  margin-top: 0;      /* 画像同士をぴったり連結 */
}

/* ====== ページ内CTA ====== */
/* フル幅は白＝上下の画像セクション（白端）と自然に連結し境目を消す */
.c-cta {
  width: 100%;
  padding: 24px 16px 28px;
  background: var(--white);
  line-height: 1.6;
}
/* 中身を「淡ピンクの角丸カード」として白の中に浮かせる */
.c-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 30px 18px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 143, 168, 0.28);
  box-shadow: 0 10px 26px rgba(255, 109, 138, 0.14);
  overflow: hidden;
  /* カード背景：淡ピンクグラデ＋小さなキラキラを四隅に散りばめ */
  background-color: #FFF3F6;
  background-image:
    url("../images/sparkle.svg"),
    url("../images/sparkle.svg"),
    url("../images/sparkle.svg"),
    url("../images/sparkle.svg"),
    linear-gradient(160deg, #FFF8FB 0%, #FFEAF1 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 13px, 9px, 11px, 8px, 100% 100%;
  background-position:
    16px 16px,                          /* 左上 */
    calc(100% - 18px) 22px,             /* 右上 */
    22px calc(100% - 20px),             /* 左下 */
    calc(100% - 20px) calc(100% - 16px);/* 右下 */
}
/* カード内・上部の柔らかい光アクセント */
.c-cta__inner::before,
.c-cta__inner::after {
  content: "";
  position: absolute;
  top: -34px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.c-cta__inner::before { left: -34px;  background: radial-gradient(circle, rgba(255, 209, 47, 0.20) 0%, transparent 70%); }
.c-cta__inner::after  { right: -34px; background: radial-gradient(circle, rgba(255, 109, 138, 0.16) 0%, transparent 70%); }
/* カード内コンテンツを光アクセントより前面へ */
.c-cta__txt,
.c-cta__triangle,
.c-cta__link { position: relative; z-index: 1; }
.c-cta__txt {
  color: var(--color-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.c-cta__triangle {
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 16px solid var(--color-yellow);
}
.c-cta__link {
  display: block;
  width: 100%;
  margin-top: 4px;
}

/* ====== CTAボタン（共通）====== */
.c-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: min(420px, 100%);
  margin: 0 auto;
  animation: cta-shake 5s infinite;
}
.c-btn__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
/* 月桂樹（左右対称・勲章風）*/
.c-btn__laurel {
  flex: 0 0 auto;
  width: 22px;
  height: 40px;
}
.c-btn__laurel--r {
  transform: scaleX(-1);   /* 右側は左右反転で対称に */
}
.c-btn__sub-txt {
  display: inline-block;
}
.c-btn__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  width: 100%;
  padding: 16px 14px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--cta-grad-top) 0%, var(--cta-grad-bottom) 100%);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.14), 0 8px 14px rgba(0, 0, 0, 0.12);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
/* LINEアイコン（CSSのみで簡易表現） */
.c-btn__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--white);
  position: relative;
}
.c-btn__icon::before {
  content: "L";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06C755;
  font-size: 14px;
  font-weight: 900;
  font-family: Arial, sans-serif;
}
/* 矢印（丸枠の ›）*/
.c-btn__arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  position: relative;
}
.c-btn__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 46%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--white);
  border-right: 1.5px solid var(--white);
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes cta-shake {
  0%   { transform: translateY(0); }
  3%   { transform: translateY(-3px); }
  6%   { transform: translateY(2px); }
  9%   { transform: translateY(-2px); }
  12%  { transform: translateY(1px); }
  15%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}


/* ====== フッター ====== */
.l-footer {
  width: 100%;
  background: var(--gray-800);
}
.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 32px;
}
.l-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l-footer__nav-item {
  position: relative;
  padding-left: 14px;
}
.l-footer__nav-item::before {
  content: "›";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
}
.l-footer__nav-item a {
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}
.l-footer__logo {
  display: inline-block;
}
.l-footer__logo img {
  width: auto;
  height: 28px;
}
.l-footer__copyright {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--gray-900);
}
.l-footer__copyright p {
  color: var(--gray-500);
  font-size: 11px;
  line-height: 1.4;
}

/* ====== モーダル（顧問弁護士）====== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}
.modal.active {
  display: grid;
}
.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(440px, 100%);
  padding: 32px 24px;
  border-radius: 10px;
  background: var(--white);
  text-align: center;
}
.modal-content h2 { font-size: 20px; font-weight: 700; }
.modal-content h3 { font-size: 16px; font-weight: 700; }
.modal-content p  { font-size: 14px; line-height: 1.5; }
.modal-content button {
  width: 160px;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--gray-800);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

/* ====== スマホ下部 固定CTA ====== */
.c-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 243, 246, 0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
}
.c-fixed-cta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: var(--lp-width);
}
.c-fixed-cta__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.c-fixed-cta__laurel {
  flex: 0 0 auto;
  width: 13px;
  height: 24px;
}
.c-fixed-cta__laurel--r {
  transform: scaleX(-1);
}
.c-fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--cta-grad-top) 0%, var(--cta-grad-bottom) 100%);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* ====== PC表示（補助）====== */
@media (min-width: 600px) {
  body {
    background: #FFE9EF;
  }
  .l-main {
    margin: 0 auto;
  }
}

/* タップ時の軽い反応 */
.c-cta__link:active .c-btn__main,
.c-fixed-cta__link:active .c-fixed-cta__btn {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.14);
}
