@charset "UTF-8";
/* ==========================================================
   トップページを今どきの見た目に整える上書き用CSS
   2026-11-05 追加。index.html だけで読み込み。
   元に戻すときは index.html の <link ... modern.css> の1行を消す。
   ========================================================== */

:root{
  --ao-red:#E61E51;
  --ao-red-dark:#C8143F;
  --ao-blue:#1F4C9F;
  --ao-text:#222;
  --ao-radius:12px;
  --ao-shadow:0 4px 18px rgba(0,0,0,.07);
  --ao-font:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic UI","游ゴシック Medium",YuGothic,Meiryo,sans-serif;
}

html{ scroll-behavior:smooth; }
body{
  font-family:var(--ao-font);
  color:var(--ao-text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* ---- 文字：書体をそろえ、行間と字間を少しゆったり ---- */
p, h3, h4, h5, h6, li, dt, dd, a{
  font-family:var(--ao-font);
}
/* 明朝の飾り文字はそのまま */
p.a03, p.a13, p.a14{ font-family:Georgia,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",serif; }

p{
  color:var(--ao-text);
  line-height:1.85;
  letter-spacing:.03em;
}
p.a04, p.a05, p.a07{ line-height:1.5; }
h3, h4, h5, h6{ letter-spacing:.04em; line-height:1.5; }
h5{ font-weight:800; }

/* ---- 枠：角を丸く、影をやわらかく ---- */
.bgw01, .bgw02{
  border-radius:var(--ao-radius);
  box-shadow:var(--ao-shadow);
  padding:1.5em;
  overflow:hidden;
}
.bgw01{ background-color:#fff; }
.bgw03{ border-radius:var(--ao-radius); }

/* ---- 赤い見出し帯：角丸だけ（色は style.css の元のグラデーションのまま。
        ボタンの赤一色と見分けるため、色は変えない） ---- */
.box01, .box06{
  border-radius:8px;
}
.box10{ border-radius:8px; }

/* ---- 画像バナー：角を少し丸める（文字入り画像はそのまま活かす） ---- */
img.gx{ border-radius:8px; }
.pc-track img{ border-radius:8px; }

/* ---- ボタン：丸みのある形に、触れると少し浮く ---- */
.btn-flat-logo2{
  border-radius:999px;
  padding:.8em 2.4em;
  letter-spacing:.12em;
  background:var(--ao-red);
  box-shadow:0 4px 12px rgba(230,30,81,.25);
  transition:transform .25s, box-shadow .25s, background .25s;
}
.btn-flat-logo2:hover{
  background:var(--ao-red-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(230,30,81,.30);
  text-decoration:none;
}

/* ---- リンク色を少し落ち着かせる ---- */
.bgw01 a{ color:var(--ao-red); }
.bgw01 a:hover{ color:var(--ao-blue); }

/* ==========================================================
   Jプラン「J7」３つのお得 のカード（2026-11-05 追加）
   対象は「Jﾌﾟﾗﾝ／購入」の比較行（.box11）を持つカードだけ
   ========================================================== */
.clearfix:has(> .siw3a > .bgw02 > .box11){
  display:flex; flex-wrap:wrap; align-items:stretch;
}
.clearfix:has(> .siw3a > .bgw02 > .box11) > div{ display:flex; flex-direction:column; }
.bgw02:has(> .box11){
  flex:1;
  display:flex; flex-direction:column;
  position:relative;
  border:none;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(31,76,159,.10);
  padding:3.6em 1.4em 1.4em;
  transition:transform .25s, box-shadow .25s;
}
.bgw02:has(> .box11):hover{
  transform:translateY(-4px);
  box-shadow:0 14px 34px rgba(31,76,159,.16);
}
/* 上の「POINT 01〜03」：薄いピンクの帯（本文は白） */
.bgw02:has(> .box11)::before{
  position:absolute; top:0; left:0; right:0;
  padding:.9em 1.9em;
  background:#fdeef2;
  text-align:left;
  font-size:.75em; font-weight:800; letter-spacing:.15em;
  color:var(--ao-red);
}
.siw3a > .bgw02:has(> .box11)::before{ content:"POINT 01"; }
.siw3b > .bgw02:has(> .box11)::before{ content:"POINT 02"; }
.siw3c > .bgw02:has(> .box11)::before{ content:"POINT 03"; }
.bgw02:has(> .box11) p.a12{ line-height:1.45; margin:.15em 0 .6em; }
/* 比較の2行：Jプラン＝赤の✓、購入＝グレーの✕ */
.bgw02 > .box11, .bgw02 > .box12{
  border-radius:8px;
  margin:6px 0 0;
  padding:.45em .8em;
}
.bgw02 > .box11{ background:#FFF4CC; margin-top:auto; }
.bgw02 > .box12{ background:#f3f4f6; }
.bgw02 > .box11 p, .bgw02 > .box12 p{ margin:0; padding:0; }
.bgw02 > .box11 p::before, .bgw02 > .box12 p::before{
  display:inline-block; width:1.4em; font-weight:900;
}
.bgw02 > .box11 p{ color:var(--ao-red-dark); font-weight:700; }
.bgw02 > .box11 p::before{ content:"✓"; color:var(--ao-red); }
.bgw02 > .box12 p{ color:#6b7280; }
.bgw02 > .box12 p::before{ content:"✕"; color:#9ca3af; }
@media screen and (max-width:640px){
  .bgw02:has(> .box11){ margin-bottom:16px; }
}

/* ==========================================================
   Ｊプランお申し込みの流れ（パソコン表示の4枚）（2026-11-05 追加）
   ========================================================== */
/* .pc は style.css で display:block !important なので、パソコン幅だけ上書き */
@media screen and (min-width:641px){
  .clearfix.pc:has(> div > .bgw03 > .tp21){
    display:flex !important; align-items:stretch;
  }
}
.clearfix.pc:has(> div > .bgw03 > .tp21) > div{
  display:flex; position:relative;
}
.clearfix.pc:has(> div > .bgw03 > .tp21) .bgw03{
  flex:1;
  display:flex; flex-direction:column;
  border:none;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(31,76,159,.10);
  padding:1.4em 1.1em 1.2em;
  margin:0;
}
/* カードの間の「▶」 */
.clearfix.pc:has(> div > .bgw03 > .tp21) > div:not(:last-child)::after{
  content:"";
  position:absolute; top:38%; right:-5.8%;
  transform:translate(50%,-50%);
  border-style:solid; border-width:8px 0 8px 11px;
  border-color:transparent transparent transparent var(--ao-red);
}
/* 見出しを1行に収める */
.clearfix.pc:has(> div > .bgw03 > .tp21) h3.hae{
  font-size:1.1em;
  white-space:nowrap;
  letter-spacing:.02em;
  margin-top:.4em;
}
.clearfix.pc:has(> div > .bgw03 > .tp21) p{ font-size:.95em; line-height:1.8; }

/* その下の「ご来店前にお電話を」の帯 */
.clearfix.pc > .bgw03:has(> h5.sss3){
  border:2px solid var(--ao-red);
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 14px rgba(230,30,81,.12);
  padding:.8em 1em;
}
.clearfix.pc > .bgw03:has(> h5.sss3) h5{ color:var(--ao-red); letter-spacing:.06em; }

/* ==========================================================
   ボタンに「押せる」動き（2026-11-05 追加）
   右の矢印＋数秒おきに光のすじ。見出しの帯と見分けるため
   ========================================================== */
.btn-flat-logo2{ overflow:hidden; }
.btn-flat-logo2::after{
  content:"→";
  display:inline-block;
  margin-left:.6em;
  transition:transform .25s;
}
.btn-flat-logo2:hover::after{ transform:translateX(4px); }
.btn-flat-logo2::before{
  content:"";
  position:absolute; top:0; left:-75%;
  width:50%; height:100%;
  background:linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform:skewX(-20deg);
  animation:ao-shine 3.5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes ao-shine{
  0%{ left:-75%; }
  30%{ left:125%; }
  100%{ left:125%; }
}
@media (prefers-reduced-motion:reduce){
  .btn-flat-logo2::before{ animation:none; display:none; }
}

/* ==========================================================
   「＼ NEW ／」の文字が1つずつ波のように跳ねる（2026-11-05 追加）
   全体が小刻みに跳ねる元の動き（style.css の key1）は止める
   ========================================================== */
.item_text:has(.nw){ animation:none; }  /* NEW だけ。顔文字や check は元の動きのまま */
.item_text .nw{
  display:inline-block;
  animation:ao-wave 1.6s ease-in-out infinite;
}
.item_text .nw:nth-child(2){ animation-delay:.12s; }
.item_text .nw:nth-child(3){ animation-delay:.24s; }
@keyframes ao-wave{
  0%, 40%, 100%{ transform:translateY(0); }
  20%{ transform:translateY(-8px); }
}
@media (prefers-reduced-motion:reduce){
  .item_text .nw{ animation:none; }
}
