@charset "utf-8";

/* ===== Theme Vars ===== */
:root{
  --tod-green:#28a745;
  --tod-green-dark:#1e7e34;
  --cta-max:750px;
}

/* ===== Base ===== */
*{ box-sizing:border-box }
body{
  margin:0;
  font-family:"Noto Sans JP",sans-serif;
  background:#f5f7fa;
  color:#222;
}

/* ===== Hero ===== */
.hero{
  width:100%;
  text-align:center;
  background:#fff266;   /* 背景色はそのまま */
  padding:2rem 1rem;
}
.hero-image{
  display:block;
  max-width:var(--cta-max);
  width:100%;
  height:auto;
  margin:0 auto 1.25rem auto;
}

/* ===== CTA Button (全ボタン共通) ===== */
.cta-btn {
  display: inline-block;
  width: 100%;
  max-width: 750px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background: var(--tod-green);
  border-radius: 999px; /* 全部カプセル型に統一 */
  border: none;
  box-shadow: 0 6px 18px rgba(40,167,69,.28);
  transition:
    transform .12s ease,
    background .25s ease,
    box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  outline: 0;
}

/* hover/active/focus */
.cta-btn:hover {
  background: var(--tod-green-dark);
  transform: translateY(-2px);
}
.cta-btn:active {
  transform: translateY(0) scale(.97);
}
.cta-btn:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(30,126,52,.35);
}

/* シャイン演出（全ボタン共通） */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.28) 45%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.28) 55%,
    transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  filter: blur(.4px);
  pointer-events: none;
  opacity: 0;
}
.cta-btn:hover::before,
.cta-btn:focus-visible::before {
  opacity: 1;
  animation: btn-shine 850ms ease;
}
@keyframes btn-shine {
  from { transform: translateX(-120%) skewX(-20deg); }
  to   { transform: translateX(120%)  skewX(-20deg); }
}

/* 中のテキストは前面 */
.cta-btn > * { position: relative; z-index: 1; }



/* ===== Content ===== */

/* 背景セクション（全幅） */
.bg-section {
  width: 100%;
  padding: 4rem 1rem; /* 上下の余白をつける */
}

/* 背景色をセクションごとに変える */
.bg-1 { background-color: #FFF6D5; } /* 薄いイエロー */
.bg-2 { background-color: #E6F7E6; } /* ライトグリーン */
.bg-3 { background-color: #EAF7FF; } /* ライトブルー */
.bg-4 { background-color: #FFF0F5; } /* ライトピンク */
.bg-5 { background-color: #F5F5FF; } /* 薄いラベンダー */
.bg-6 { background-color: #FAFAFA; } /* ライトグレー */



.content-section{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  padding:2rem;
  margin-bottom:0.5rem;
}
.content-section h2{
  font-size:1.5rem;
  margin:0 0 1rem;
  color:#007b55;
}
.content-section p{ font-size:1.05rem; margin:0 }


/* ===== Responsive ===== */
@media (max-width:600px){
  .hero{ padding:1.5rem 1rem }
  .cta-btn{ font-size:1rem; border-radius:12px }
  .content-section{ padding:1.2rem }
}

/* ===== Hero Patterns（必要なら選択） ===== */
:root{
  --brand-yellow:#fff266;
  --brand-green:#28a745;
  --accent:#3ddc84;
  --ink:#111;
}
.hero{ position: relative; overflow: hidden; }
.hero::before, .hero::after{ content:""; position:absolute; inset:0; pointer-events:none; }

/* 例: hero--mesh */
.hero.hero--mesh{
  background: radial-gradient(1200px 600px at 10% 0% , rgba(61,220,132,.30), transparent 60%),
              radial-gradient(900px 500px  at 90% 10%, rgba(255,255,255,.45), transparent 65%),
              radial-gradient(700px 400px  at 60% 100%, rgba(255,255,255,.35), transparent 65%),
              var(--brand-yellow);
}
.hero.hero--mesh::after{
  background: radial-gradient(800px 400px at 20% 30%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(600px 300px at 80% 70%, rgba(61,220,132,.15), transparent 65%);
  animation: meshFloat 12s ease-in-out infinite alternate;
  opacity:.9;
}
@keyframes meshFloat{
  from{ transform: translate3d(-1%, -1%, 0) }
  to  { transform: translate3d(1%, 1%, 0) }
}


/* ===== Hero 記念バッジ ===== */

/* 記念バッジ（パーツ画像） */
/* 左上バッジ */
.hero-badge--left {
  position: absolute;
  top: 10px;     /* 少し余白を残して配置 */
  left: 10px;
  height: clamp(40px, 10vw, 70px); /* ぐっと小さめに調整 */
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
  pointer-events: none;
}

/* スマホ用：さらに控えめ */
@media (max-width: 420px){
  .hero-badge--left {
    top: 6px;
    left: 6px;
    height: clamp(35px, 14vw, 60px);
  }
}

/* ===== CTA フワッと出現 ===== */
.cta-btn {
  opacity: ;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.cta-btn.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== フローティングCTA ===== */
.float-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding:
    .75rem
    max(1rem, env(safe-area-inset-right))
    calc(.75rem + env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
  display: none;
  z-index: 999;
}
.float-cta__inner {
  margin: 0 auto;
  max-width: 980px;
  padding: 0 .5rem;
  text-align:center;
}
.float-cta .cta-btn {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  opacity: 1;
  transform: none;
}
.float-cta[data-show="true"] {
  display: block;
  animation: floatIn .32s ease-out both;
}
.float-cta[data-show="false"] {
  animation: floatOut .22s ease-in both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(16px); }
}

/* 動きを控えるユーザー設定の配慮 */
@media (prefers-reduced-motion: reduce) {
  .cta-btn { transition: none !important; transform: none !important; opacity: 1 !important; }
  .float-cta { animation: none !important; }
}


/* ===== 波区切り ===== */
:root {
  --wave-height: 120px;
  --wave-shadow: rgba(0,0,0,.04);
}

/* ベース */
.ao-wave {
  position: relative;
  height: var(--wave-height);
  line-height: 0;
  overflow: hidden;
  /* 直前の背景色を指定（HTML側のstyleで --wave-from を上書き） */
  background: var(--wave-from, #ffffff);
}

/* SVG共通 */
.ao-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ao-wave path {
  /* 次の背景色を指定（HTML側のstyleで --wave-to を上書き） */
  fill: var(--wave-to, #ffffff);
  stroke: var(--wave-shadow);
  stroke-width: 1;
}

/* 下方向（デフォルト） */
.ao-wave--down svg {
  transform: none;
}

/* 上方向（反転させて再利用） */
.ao-wave--up svg {
  transform: scaleY(-1);
}

/* 高さのレスポンシブ調整 */
@media (max-width: 900px) {
  :root { --wave-height: 100px; }
}
@media (max-width: 600px) {
  :root { --wave-height: 80px; }
}


/* ===== ふわっと表示===== */

/* 初期状態（非表示） */
.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* 表示状態 */
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Plans ===== */

/* 幅を他セクションと統一（= .content-section と同じ 900px） */
.plancontainer{
  max-width: 900px;     /* 1100px → 900px に */
  margin: 0 auto;
  padding: 40px 20px;   /* 60px → 少し軽く */
}

/* レイアウト */
.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;            /* 28px → 24px */
}
@media (min-width: 880px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

/* カード本体（ベース） */
.plan-card{
  position: relative;
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  border-color: #e6eef3;
}

/* 主役カード（左）を軽く強調 */
.plan-card--primary{
  box-shadow: 0 10px 28px rgba(40,167,69,.12);
  transform: translateY(-2px);
}
.plan-card--primary:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(40,167,69,.16);
}

/* タイトル & 説明 */
.plan-card h3{
  margin: 0 0 10px;
  font-size: 1.25rem;           /* 22px 相当 */
  color: var(--tod-green-dark);
}
.plan-card .desc{
  color: #64748b;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

/* バッジ */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: radial-gradient(circle at top left, #ffd84d, #ffb300);
  color: #111;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  margin-bottom: 14px;
}
.badge img{
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; padding: 2px; object-fit: cover;
}

/* おすすめ（箇条書き） */
.recommend{
  position: relative;
  background: #f8faf8;
  padding: 14px;
  font-size: .95rem;
  border-radius: 12px;
  line-height: 1.65;
  margin-top: 10px;
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
}
.recommend::before{
  content: "";
  position: absolute;
  top: -9px; left: 22px;
  border-width: 0 9px 9px 9px; border-style: solid;
  border-color: transparent transparent #f8faf8 transparent;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.05));
}
.recommend p{ margin: 0 0 6px; font-weight: 700; color: var(--tod-green-dark); }
.recommend ul{ margin: 0; padding-left: 20px; }
.recommend li{ margin-bottom: 4px; }

/* CTA 内のボタン幅は自動で揃う（既存 .cta-btn） */

/* モバイル最適化 */
@media (max-width: 600px){
  .plancontainer{ padding: 28px 16px; }
  .plan-card{ padding: 22px 18px; }
  .badge{ font-size: .9rem; padding: 7px 12px; }
  .plan-card h3{ font-size: 1.1rem; }
}




/* ===== 料金例 ===== */


.price-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 750px;
  margin: 40px auto;
  padding: 0 20px;
}

@media (min-width: 880px){
  .price-cards {
    grid-template-columns: 1fr 1fr 1fr; /* PCでは3列 */
  }
}

.price-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
  margin-bottom:10px;
	
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.price-card img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* 画像にも角丸をつけると統一感UP */
}


/* コンテンツ内の画像（キャンペーン・説明・料金例など共通） */
.content-img img {
  display: block;
  max-width: 100%;   /* 親幅に合わせて縮小 */
  height: auto;      /* 縦横比を維持 */
  margin: 16px auto; /* 上下に余白 */
  border-radius: 12px; /* デザイン統一のため角丸 */
}


/* ===== コンテンツエリア見出し===== */

h2{
font-size:1.8rem;
margin-bottom:24px;
color:var(--tod-green-dark,#1e7e34);
text-align:center;
font-weight:800;
letter-spacing:.03em;
}
.deal-headline{
font-size:1.35rem;
color:var(--tod-green,#28a745);
margin:22px 0 12px;
position:relative;
}

.deal-headline::after{
content:"";
position:absolute;
left:0; bottom:-4px;
width:60px; height:4px;
background:var(--tod-green,#28a745);
border-radius:2px;
}

.deal-lead{
font-size:1.05rem;
font-weight:600;
color:#475569;
margin-bottom:12px;
}

.highlight{
font-size:1.15rem;
font-weight:700;
color:#0f8051;
background:linear-gradient(90deg, #e8fff0 0%, #ffffff 100%);
padding:8px 12px;
border-radius:8px;
display:inline-block;
margin:10px 0;
}

.deal-amount{ font-size:1.25rem; color:#0f8051; font-weight:800; }
.deal-limit{ color:#64748b; font-size:.9rem; margin-left:6px; }
.content-img{
display:block;
max-width:100%;
height:auto;
margin:14px auto;
}


/* ===== トド電AI===== */

.ai-section{
color: var(--tod-green-dark,#1e7e34); margin: 0 0 10px;
}
.ai-brand{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.ai-logo{ width:min(260px, 60%); height:auto; display:block; }
.ai-lead{ color:#475569; font-weight:600; margin:0; }


/* バッジ */
.ai-badges{ list-style:none; padding:0; margin: 18px auto 8px; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.ai-badges li{
background:#f1fcf5; color:#0f5132; border:1px solid #e0f4e6; border-radius:999px;
padding:8px 12px; font-size:.95rem; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.ai-badges span{ font-weight:800; color:#0f8051; }


/* 画像とキャプション */
.ai-visual{ text-align:center; margin: 14px 0; }
.ai-caption{ color:#64748b; font-size:.92rem; margin: 6px 0 0; }


/* ステップ */
.ai-steps{ counter-reset: step; list-style:none; padding:0; margin: 10px 0 6px; }
.ai-steps li{ display:flex; gap:12px; align-items:flex-start; padding:14px 12px; border-bottom:1px dashed #e5e7eb; }
.ai-steps li:last-child{ border-bottom:0; }
.step-icon{
flex:0 0 34px; height:34px; border-radius:10px;
background: linear-gradient(135deg, #28a745, #20bd6b);
position:relative;
}
.step-icon::after{
content: counter(step); counter-increment: step;
position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-weight:800;
}
.step-text h3{ margin:0 0 4px; font-size:1.05rem; color:#1e7e34; }
.step-text p{ margin:0; color:#334155; }


/* ギャラリー */
.ai-gallery{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.ai-gallery figure{ margin:0; }
.ai-gallery figcaption{ text-align:center; color:#64748b; font-size:.9rem; margin-top:6px; }


/* 注意書き */
.ai-note{ margin-top:18px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:14px 16px; color:#334155; }
.ai-note strong{ display:inline-block; margin-bottom:6px; font-size:.95rem; color:#111827; }
.ai-note ul{ margin:0; padding-left: 1.1em; }


/* 既存のユーティリティとの整合 */
.content-img{ display:block; max-width:100%; height:auto; margin:12px auto; border-radius:12px; }
.nowrap{ white-space:nowrap; }


/* レスポンシブ */
@media (max-width: 780px){
.ai-gallery{ grid-template-columns: 1fr; }
.ai-head h2{ font-size:1.6rem; }
}
@media (max-width: 600px){
.ai-section{ padding: 26px 16px; margin: 30px auto; }
.ai-lead{ font-size:.98rem; }
.ai-badges li{ font-size:.9rem; }
.step-text h3{ font-size:1rem; }
}

p.ai-highlight{
font-size:1.3rem;
font-weight:600;
text-align:center;
margin: 20px auto;
line-height:1.6;
}
span.highlight-green{
color:#0f8051;
font-weight:800;
background:linear-gradient(transparent 60%, #fff266 60%);
padding:0 4px;
border-radius:4px;
}
p.ai-high{ font-size:1.05rem; line-height:1.9; margin:10px 0 6px; color:#111827; font-weight:600; }
p.hl{ font-weight:800; color:#0f8051; position:relative; }
p.hl::after{ content:""; position:absolute; left:-2px; right:-2px; bottom:.15em; height:.6em; background:#fff266; opacity:.9; z-index:-1; border-radius:4px; }
@media(max-width:600px){ .ai-high{ font-size:1rem; line-height:1.8 } }


/* ===== 切替エリア===== */

/* ===== 切替がスムーズ（リデザイン） ===== */
.switch-section{ max-width: 1080px; margin: 40px auto; padding: 0 16px; }
.switch-title{ text-align:center; font-size:1.9rem; margin: 0 0 18px; color: var(--tod-green-dark,#1e7e34); font-weight:800; letter-spacing:.02em; }


/* 3ポイント */
.switch-points {
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.switch-points li {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  text-align: center;
}

.switch-img {
  display: block;
  width: 60px;     /* ちょうどよいサイズ感 */
  height: auto;
  margin: 0 auto 12px;
}

.switch-points h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #111;
}

.switch-points p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

/* スマホでは縦並び */
@media (max-width: 900px) {
  .switch-points {
    grid-template-columns: 1fr;
  }
  .switch-img {
    width: 50px; /* 少し小さめに */
    margin-bottom: 10px;
  }
}

/* タイムライン */
.switch-steps{ list-style:none; margin: 24px 0 0; padding:0; counter-reset: st; }
.switch-steps li{ display:grid; grid-template-columns: 40px 1fr; gap:12px; align-items:start; position:relative; padding: 14px 0; }
.switch-steps li::before{ content:""; position:absolute; left:20px; top:0; bottom:0; width:2px; background: #e5e7eb; }
.switch-steps li:last-child::before{ height: 60%; bottom:auto; }
.step-num{ display:grid; place-items:center; width:40px; height:40px; background:#fff; border:2px solid #28a745; color:#28a745; border-radius:999px; font-weight:800; }
.step-body h4{ margin:0 0 4px; font-size:1.05rem; color:#1e7e34; }
.step-body p{ margin:0; color:#334155; line-height:1.7; }
.switch-steps li:first-child::before {
  top: 50%;   /* 丸の中心から下に線を伸ばす */
}
.switch-steps li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
  z-index: 0; /* ★ 背面に配置 */
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #28a745;
  color: #28a745;
  border-radius: 999px;
  font-weight: 800;
  position: relative;
  z-index: 1; /* ★ 丸を前面に配置 */
}

/* 補足ノート */
.switch-note{ margin-top: 18px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:14px 16px; color:#334155; }
.switch-note ul{ margin:0; padding-left: 1.1em; }
.switch-note li{ margin:6px 0; }


/* セクション末尾CTA */
.switch-cta{ text-align:center; margin-top: 18px; }
.switch-cta .cta-btn{ max-width: 520px; }


/* レスポンシブ */
@media (max-width: 900px){ .switch-points{ grid-template-columns: 1fr; } }
@media (max-width: 600px){ .switch-title{ font-size:1.6rem } }


/* ===== FAQ ===== */

.faq-item{ padding:16px 0; border-bottom:1px solid #e6e9ee }

/* 質問ボタン */
.faq-q-btn{
  display:flex; align-items:flex-start; gap:10px;
  width:100%; background:#ecf9f0; border:1px solid #d8efe3;
  color:#137c4c; font-weight:700; text-align:left;
  padding:12px 14px; border-radius:12px; cursor:pointer;
}
.faq-q-btn:focus-visible{ outline:0; box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(19,124,76,.25) }

/* 開閉アイコン（矢印） */
.faq-q-btn::after{
  content:""; margin-left:auto; width:10px; height:10px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(-45deg) translateY(2px); transition:transform .25s ease;
}
.js-accordion.is-open .faq-q-btn::after{ transform:rotate(45deg) translateY(-2px) }

/* 回答パネル（スライド＆フェード） */
.faq-a{
  display:flex; align-items:flex-start; gap:10px;
  background:#fff; border:1px solid #eef1f5; color:#334155;
  line-height:1.7; border-radius:12px; margin-top:10px;

  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .35s ease, opacity .35s ease, padding .35s ease;
  padding:0 14px; /* 開くまで上下0 */
}
.js-accordion.is-open .faq-a{
  max-height:800px; opacity:1; padding:12px 14px;
}

/* アイコン */
.qa-icon{ width:32px; height:32px; flex:0 0 32px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.08)) }

.faq-q-btn {
  display: flex;
  align-items: center;   /* アイコンと文字を縦中央揃え */
  gap: 10px;
  width: 100%;
  background: #ecf9f0;
  border: 1px solid #d8efe3;
  color: #137c4c;
  font-weight: 700;
  font-size: 1rem;       /* ボタン全体の文字サイズを統一 */
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.faq-q-btn span {
  font-size: inherit;     /* 親と同じサイズ */
  line-height: 1.4;       /* 行間を安定させる */
  display: inline-block;  /* アイコンと高さを揃える */
}

.faq-q-btn .qa-icon {
  width: 28px;
  flex-shrink: 0;         /* アイコンが潰れないように固定 */
}

/* 吊り下げ用の余白と基準 */
.has-hanger{
  position: relative;
  /* 画像ぶんだけ上部に余白を足す（カード内の文字が被らないように） */
  padding-top: calc(2rem + clamp(40px, 10vw, 80px));
}

/* トドック画像：カードの上端から“ぶら下げる” */
.todock-hang{
  position: absolute;
  top: calc(-2 * clamp(45px, 8vw, 70px)); /* 上に突き出させる */
  left: 28px;                              /* 好きな位置に調整（centerにしたければ left:50%; transformに続けて translateX(-50%)） */
  width: clamp(120px, 22vw, 240px);        /* ほどよく可変 */
  height: auto;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
  transform-origin: 50% 10%;               /* 頭のあたりを支点に */
  animation: todock-swing 3.5s ease-in-out infinite;
}

/* ふわっとゆれる（好みで角度は増減OK） */
@keyframes todock-swing{
  0%,100% { transform: rotate(0deg); }
  25%     { transform: rotate(2.2deg); }
  50%     { transform: rotate(0deg); }
  75%     { transform: rotate(-2.2deg); }
}

/* 動きが苦手な利用者配慮 */
@media (prefers-reduced-motion: reduce){
  .todock-hang{ animation: none; }
}


.promo-join{
padding: 48px 20px;
text-align:center;
border-radius:24px;
position:relative;
overflow:hidden;
opacity:0;
transform:translateY(20px);
transition:opacity .6s ease, transform .6s ease;
}
.promo-join.show{
opacity:1;
transform:translateY(0);
}


p .promo-eyebrow{
font-weight:800;
font-size:1.4rem;
color:#1a1a1a;
margin:0 0 14px;
letter-spacing:.05em;
text-align: center;
}

p .promo-amount{
font-weight:900;
font-size:clamp(10.1rem,11vw,6.5rem);
line-height:1;
color:var(--brand-green);
margin:0 auto 16px;
display:inline-block;
text-align: center;
}

p .promo-amount .unit{
font-size:0.4em;
margin-left:8px;
font-weight:900;
color:#1a1a1a;
background:linear-gradient(transparent 65%, var(--brand-yellow) 65%);
border-radius:4px;
padding:0 4px;
}

/*
@media (max-width: 600px){
.promo-amount{
font-weight:900;
font-size:clamp(7.1rem,11vw,6.5rem);
line-height:1;
color:var(--brand-green);
margin:0 auto 16px;
display:inline-block;
text-align: center;
}
**/

.promo-amount .unit{
font-size:0.25em;
margin-left:8px;
font-weight:900;
color:#1a1a1a;
background:linear-gradient(transparent 65%, var(--brand-yellow) 65%);
border-radius:4px;
padding:0 4px;
}
}


.promo-catch{
margin:0;
font-size:2.2rem;
font-weight:900;
color:#111;
display:inline-block; padding:4px 12px;
background:linear-gradient(transparent 65%, var(--brand-yellow) 65%);
border-radius:8px;
}


section .js-count{
font-weight:900;
font-size:clamp(7.1rem,11vw,6.5rem);
line-height:1;
color:var(--brand-green);
margin:0 auto 16px;
display:inline-block;
text-align: center;
}

/* カウントアップ” */
/* 親を中央寄せ（保険） */
.promo-join{ text-align:center; }

/* 数字＋テキストの縦並びを中央に */
.promo-amount{
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← 水平中央 */
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

/* 内側 section の初期余白をリセットして扱いやすく */
.promo-amount > section{
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* 数字を大きく、レスポンシブに縮む */
.promo-amount .js-count{
  display: inline-block;
  font-weight: 900;
  font-size: clamp(10.6rem, 10vw, 6rem);
  letter-spacing: .02em;
  color: var(--brand-green, #28a745);
}

/* 「ポイントプレゼント！」は一段下で少し小さく */
.promo-amount .unit{
	display: inline-block;
	font-weight: 800;
	font-size: clamp(2.1rem, 3.6vw, 2rem);
	letter-spacing: .06em;
	color:#1a1a1a;
	background:linear-gradient(transparent 65%, var(--brand-yellow) 65%);
	border-radius:4px;
	padding:0 4px;
	margin:5px 0 6px;
}

/* スマホの余白を少し広めに（任意） */
@media (max-width: 480px){
  .promo-amount{ gap: 8px; }
}

@media (max-width: 480px){
  /* 極小画面ではもっと抑える */
  .promo-amount .js-count{
    font-size: clamp(5.2rem, 14vw, 3.4rem);
  }
  .promo-amount .unit{
    font-size: clamp(1rem, 4.5vw, 1.6rem);
  }
}



/* フッターデザイン” */

:root{
  --footer-bg:#0F2B1E;
  --footer-text:#EAF7EE;
  --footer-dim:#CDE8D6;
  --footer-link:#B7F5CB;
}

.site-footer{
  background:var(--footer-bg);
  color:var(--footer-text);
  padding: 40px 16px 110px;
}

.footer-cta{
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.footer-cta__lead{
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--footer-dim);
}

.footer-nav{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0 16px;
}
.footer-col h4{
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #fff;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin: 6px 0; }
.footer-col a{
  color: var(--footer-link);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: opacity .2s ease, border-color .2s ease;
}
.footer-col a:hover{
  opacity: .9;
  border-color: rgba(183,245,203,.45);
}

/* 連絡先 */
.footer-col--contact .footer-tel{ margin:.25rem 0 0; font-weight:700; }
.footer-col--contact .footer-hours{ margin:.2rem 0 0; color: var(--footer-dim); font-size:.95rem; }

/* 下段バー */
.footer-bar{
  max-width: 980px;
  margin: 12px auto 0;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-copy{ color: var(--footer-dim); }
.to-top{
  color:#fff;
  font-size:.95rem;
  text-decoration:none;
  opacity:.9;
}
.to-top:hover{ opacity:1; }

/* レスポンシブ */
@media (max-width: 900px){
  .footer-nav{ grid-template-columns: 1fr 1fr; }
  .footer-bar{ flex-direction: column; gap: 8px; }
}
@media (max-width: 560px){
  .footer-nav{ grid-template-columns: 1fr; }
}

/* ===== 年間おトク額 比較 ===== */
.saving-conditions{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:10px 12px;
  margin:10px 0 12px;
  color:#334155;
  font-size:.95rem;
}
.saving-conditions strong{ color:#111827; }

.saving-comparison{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin:8px 0 6px;
}
@media (min-width: 860px){
  .saving-comparison{ grid-template-columns: repeat(3, 1fr); }
}

.saving-card{
  position:relative;
  background:#fff;
  border:1px solid #eef1f4;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  padding:16px 14px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.saving-card:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.10); }

.saving-card--accent{
  border:2px solid var(--tod-green,#28a745);
  box-shadow:0 10px 28px rgba(40,167,69,.14);
}

/* おすすめバッジ（アクセントカードのみ表示） */
.saving-badge{
  position:absolute; top:12px; left:12px;
  padding:4px 10px;
  border-radius:999px;
  font-weight:800; font-size:.85rem;
  color:#154;
  background:linear-gradient(135deg,#fff266,#ffe27a);
  border:1px solid rgba(0,0,0,.06);
}

.saving-plan{
  margin:6px 0 8px;
  font-size:1.05rem;
  color:#111827;
  font-weight:800;
}

.saving-amount{
  margin:0;
  font-size:1rem;
  color:#475569;
  line-height:1.2;
}
.saving-amount strong{
  display:block;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height:1.1;
  color: var(--tod-green,#28a745);
  font-weight:900;
  letter-spacing:.02em;
  text-shadow: 0 8px 18px rgba(40,167,69,.18);
}
.saving-amount span{ display:inline-block; margin:2px 4px 0; }

/* セクション内の余白となじませる */
.section-2 .saving-conditions,
.section-2 .saving-comparison{ max-width: 900px; margin-left:auto; margin-right:auto; }

/* ===== おとなりさん紹介キャンペーン 見出し ===== */
.neighbor-cp{
  --cp-blue:#1f66a6;          /* メイン青 */
  --cp-blue-dark:#174d7d;
  --cp-gray:#3a4a5a;
  max-width:900px;
  padding:10px 16px 14px;
  text-align:center;
  color:var(--cp-gray);
}
.cp-eyebrow{
  margin:0 0 8px; 
  font-weight:700;
  letter-spacing:.04em;
  font-size:clamp(.9rem,2.4vw,1.05rem);
}
.cp-title{
  margin:5px 0 5px;
  line-height:1.05;
  color:var(--cp-blue);
  font-weight:900;
}
.cp-title .main{
  display:inline-block;
  font-size:clamp(2rem,8.8vw,4.2rem); /* おとなりさん（大） */
  color: var(--brand-green, #28a745);
}
.cp-title .sub{
  display:inline-block;
  font-size:clamp(1.6rem,6.6vw,3.2rem); /* 紹介キャンペーン（中） */
  letter-spacing:.06em;
  color: var(--brand-green, #28a745);
}
.cp-deadline{
  margin:10px 0 6px;
  font-weight:900;
  color:var(--cp-blue-dark);
  letter-spacing:.04em;
  display:flex; gap:.5em; justify-content:center; align-items:center;
  font-size:clamp(1.1rem,4vw,1.6rem);
}
.cp-deadline .year{
  font-size:.9em;
}
.cp-deadline .date em{
  font-style:normal;
  font-size:1.2em;
}
.cp-deadline .badge{
  display:inline-grid; place-items:center;
  width:1.6em; height:1.6em; margin:0 .2em;
  border-radius:999px; background:#ff5747; color:#fff; font-weight:900;
  font-size:.7em; letter-spacing:.08em;
}

.cp-divider{
  height:6px;
  background: linear-gradient(90deg, var(--cp-blue) 0, var(--cp-blue-dark) 100%);
  border-radius:6px;
  margin:12px auto;
  width:min(720px, 90%);
	
}
.cp-desc{
  margin:10px 0;
  font-weight:700;
  line-height:1.8;
  font-size:clamp(1rem,2.8vw,1.15rem);
}
.cp-desc .mark{
  font-weight:900;
  color:#e63a2e;               /* 画像の赤強調イメージ */
  position:relative;
}
.cp-desc .mark::after{
  content:"";
  position:absolute; left:-2px; right:-2px; bottom:.2em; height:.55em;
  background:#ffe6e2; z-index:-1; border-radius:4px; /* ほんのり下線マーカー */
}

/* 余白微調整（スマホ） */
@media (max-width: 480px){
  .cp-divider{ height:5px }
}


/* 2ボタングループのレイアウト */
.float-cta__inner .cta-btn-group{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  max-width:980px;
  margin:0 auto;
}

/* 幅があれば横並び */
@media (min-width:640px){
  .float-cta__inner .cta-btn-group{ grid-template-columns:1fr 1fr; }
}
/* フロート内ボタンの余白を均一に */
.float-cta .cta-btn{ margin:0; max-width:100%; }

/* LINEボタンのカラーバリアント */
.cta-btn--line{
  background:#06C755;
  box-shadow:0 6px 18px rgba(6,199,85,.28);
}
.cta-btn--line:hover{ background:#05b94d; }
.cta-btn--line:focus-visible{
  box-shadow:0 0 0 3px #fff, 0 0 0 6px rgba(6,199,85,.35);
}

/* ==== Hero CTA 2列レイアウト ==== */
.hero-cta{
  max-width: 780px;
  margin: 24px auto 0;
  padding: 0 16px;
}

/* グループ自体をグリッド化 */
.hero-cta .cta-btn-group{
  display: grid;
  grid-template-columns: 1fr;   /* モバイルは縦2段 */
  gap: 12px;
}

/* 幅600px以上で横2列 */
@media (min-width: 600px){
  .hero-cta .cta-btn-group{
    grid-template-columns: 1fr 1fr;
	display: flex;
  justify-content: center; /* 横中央揃え */
  align-items: center; /* 縦位置も中央揃え */
  gap: 20px; /* ボタンの間隔 */
  flex-wrap: wrap; /* スマホで折り返し対応 */  
  }
}

/* ヒーロー内のボタンは等幅・等高に、中央寄せマージンを打ち消す */
.hero-cta .cta-btn{
  display: flex;                /* 高さ揃え＆中央寄せ */
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;              /* 既存の max-width 上書き */
  margin: 0;                    /* 既存の margin:auto を無効化 */
  min-height: 56px;             /* 好みで調整：見栄えが揃う */
}

/* LINEバリアント（未設定なら） */
.hero-cta .cta-btn--line{
  background:#06C755;
  box-shadow:0 6px 18px rgba(6,199,85,.28);
}
.hero-cta .cta-btn--line:hover{ background:#05b94d; }
.hero-cta .cta-btn--line:focus-visible{
  box-shadow:0 0 0 3px #fff, 0 0 0 6px rgba(6,199,85,.35);
}




html { scroll-behavior: smooth; }