/* 料金・お支払い（TOP 2082:2966・初めての方へ 2853:5580）。値は Figma のpx（行の高さは Figma が1行ごとに整数pxへ丸めた値）。
   docs/design-common-price.md。中央揃えの文字は、Figmaが末尾の字間を幅に含めないため margin-right で字間1つ分を相殺する。
   0.5pxの罫線は、Figmaの描画（2px幅×50%等）に合わせて透過色の2px線で描く。 */
.common-price{background:var(--color-light-gray);overflow:hidden}
.common-price__inner{position:relative;display:flex;flex-direction:column;align-items:center;max-width:1440px;min-height:1991px;margin:0 auto;padding-top:160px}
.common-price__heading{display:flex;flex-direction:column;align-items:center;gap:14px}
.common-price__label{position:relative;top:1px;margin-right:-1.92px;font-family:var(--font-en);font-weight:400;font-size:16px;line-height:19px;letter-spacing:1.92px;color:var(--color-silver-gray)}
.common-price__title{margin-right:-3px;font-family:var(--font-mincho);font-weight:400;font-size:30px;line-height:48px;letter-spacing:3px;color:var(--color-charcoal)}
.common-price__notice{position:relative;max-width:calc(100% - 120px);margin-top:40px;padding:18.5px 48px;background:linear-gradient(rgba(181,154,114,.5),rgba(181,154,114,.5)) left top/100% 1px no-repeat,linear-gradient(rgba(181,154,114,.5),rgba(181,154,114,.5)) left bottom/100% 1px no-repeat}
.common-price__notice::before,.common-price__notice::after{content:"";position:absolute;top:32px;width:60px;height:2px;background:rgba(181,154,114,.25)}
.common-price__notice::before{left:-50px}
.common-price__notice::after{right:-50px}
.common-price__notice-text{display:block;margin-right:-1.44px;font-family:var(--font-mincho);font-weight:400;font-size:18px;line-height:29px;letter-spacing:1.44px;color:var(--color-charcoal);text-align:center}
.common-price__divider{display:block;flex:none;width:1px;height:60px;margin:46px 0 0 1px;background:#ccc}
.common-price__methods{position:relative;width:min(1200px,calc(100% - 80px));height:345px;margin-top:43px}
.common-price__letters{position:absolute;left:-2.917%;top:71.6px;width:105.833%;max-width:none;height:auto;aspect-ratio:1270/260.8;pointer-events:none}
.common-price__rule{position:absolute;top:0;width:2px;height:345px;background:rgba(204,204,204,.5)}
.common-price__rule--1{left:calc(30% - 2px)}
.common-price__rule--2{left:calc(68.75% - 1px)}
.common-price__method-list{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:48px;height:100%;padding:0 20px}
.common-price__method{position:relative;height:100%}
.common-price__method-title{margin:3.68px -1.28px 0 0;font-family:var(--font-sans);font-weight:400;font-size:16px;line-height:48px;letter-spacing:1.28px;color:var(--color-charcoal);text-align:center}
.common-price__badge{position:absolute;display:block;border-radius:50%;background:var(--color-white)}
.common-price__badge--cash{left:calc(50% - 59.333px);top:145px;width:119px;height:119px}
.common-price__badge--bank{left:calc(50% - 59.667px);top:145px;width:119px;height:119px}
.common-price__badge--jcb{left:calc(50% - 87px);top:104px;width:81.988px;height:81.988px}
.common-price__badge--amex{left:calc(50% - 87px);top:197.01px;width:81.988px;height:81.988px}
.common-price__badge--visa{left:calc(50% + 4.63px);top:104px;width:81.988px;height:81.988px}
.common-price__badge--master{left:calc(50% + 5px);top:197px;width:84.988px;height:84.988px}
.common-price__cash-icon{position:absolute;left:35px;top:37px;width:49px;height:46px}
.common-price__bank-icon{position:absolute;left:28px;top:35px;width:64px;height:45px;object-fit:cover}
.common-price__logo{position:absolute;overflow:hidden}
.common-price__logo img{position:absolute;max-width:none}
.common-price__logo--jcb{left:13.09px;top:21.36px;width:55.118px;height:42.717px}
.common-price__logo--jcb img{left:-21.25%;top:-102.57%;width:272.5%;height:498.38%}
.common-price__logo--amex{left:19.98px;top:21.36px;width:42.717px;height:42.717px}
.common-price__logo--amex img{left:-208.06%;top:-205.79%;width:351.61%;height:498.38%}
.common-price__logo--visa{left:13.09px;top:24.11px;width:54.815px;height:31.869px}
.common-price__logo--visa img{left:-133.72%;top:-131.19%;width:253.49%;height:617.99%}
.common-price__logo--master{left:17.14px;top:26.43px;width:51.421px;height:32.853px}
.common-price__logo--master img{left:-30.56%;top:-121.09%;width:165.28%;height:366.1%}
.common-price__more{display:flex;align-items:center;justify-content:center;height:119px;margin-top:40px}
/* カード部（anim / price cards）: 枠線は左右 x=50/1390・上 y=21（各1pxを2px×50%で描画）。下の y=991 の線はブロック外で見えない。 */
.common-price__cards-area{position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:center;height:991px;background:linear-gradient(rgba(204,204,204,.5),rgba(204,204,204,.5)) left 0 top 21px/100% 2px no-repeat,linear-gradient(rgba(204,204,204,.5),rgba(204,204,204,.5)) left 49px top 21px/2px 100% no-repeat,linear-gradient(rgba(204,204,204,.5),rgba(204,204,204,.5)) right 49px top 21px/2px 100% no-repeat}
.common-price__cards{display:flex;gap:6px;align-self:stretch;height:431px;margin:90px 85px 0}
.common-price__card{position:relative;flex:632 1 0;min-width:0;overflow:hidden;cursor:pointer}
@media (min-width:1024px){.common-price__card{transition:flex-grow .6s ease}}
.common-price__card:focus-visible{outline-offset:-4px}
.common-price__card-image{position:absolute;max-width:none;object-fit:cover;transition:left .6s ease,top .6s ease,width .6s ease,height .6s ease}
.common-price__card--1 .common-price__card-image{left:-5.017%;top:-18.986%;width:139.598%;height:130.337%}
.common-price__card--2 .common-price__card-image{left:-1.108%;top:0;width:102.215%;height:100%}
.common-price__card-shade{position:absolute;inset:0;opacity:.8}
.common-price__card--1 .common-price__card-shade{background:radial-gradient(closest-side,rgb(99,109,137) 0%,rgb(69,75,92) 50%,rgb(54,58,70) 75%,rgb(39,41,48) 100%)}
.common-price__card--2 .common-price__card-shade{background:radial-gradient(closest-side,rgba(81,76,73,.8) 0%,rgba(69,60,50,.9) 50%,rgb(57,45,27) 100%)}
.common-price__card-title{position:absolute;left:50%;top:199px;margin-left:.09em;transform:translateX(-50%);font-family:var(--font-sans);font-weight:500;font-size:24px;line-height:34px;letter-spacing:.18em;color:var(--color-white);white-space:nowrap;transition:left .6s ease,top .6s ease,font-size .6s ease,line-height .6s ease}
.common-price__card-rule{position:absolute;top:108px;width:1px;height:215px;background:var(--color-white);opacity:0;transition:opacity .4s ease}
.common-price__card--1 .common-price__card-rule{left:40.227%}
.common-price__card--2 .common-price__card-rule{left:40.281%}
.common-price__card-body{position:absolute;left:47.192%;width:45.788%;font-family:var(--font-sans);font-weight:500;font-size:16px;line-height:38px;letter-spacing:.18em;color:var(--color-white);opacity:0;transition:opacity .4s ease}
.common-price__card--1 .common-price__card-body{top:121px}
.common-price__card--2 .common-price__card-body{top:135px}
/* State A の右カードの写真は原本どおり上下を覆わない配置（338×431 の枠に 487.667×325.508 を x −77.816・y 59.799。第2ラウンドで戻した）。 */
/* 展開（State A＝左を展開、State B＝右を展開）。ポインタ（:hover）・タップ（JSが .is-active）を優先し、
   どちらもないときだけキーボードのフォーカス（:focus-visible）で切り替える（両方が同時に効いて2枚とも縮むのを防ぐ）。 */
/* PC（1024px以上）だけの展開（State A／B）。SP はホバー演出なし（D-1）で、タップで縦に開く（下の SP 指定）。 */
@media (min-width:1024px){
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--1,.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--2{flex-grow:926}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--2,.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--1{flex-grow:338}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--1 .common-price__card-image{left:0;top:-22.738%;width:100.648%;height:137.819%}
.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--2 .common-price__card-image{left:0;top:-21.578%;width:100%;height:143.387%}
.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--1 .common-price__card-image{left:-50%;top:0;width:200.296%;height:100%}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--2 .common-price__card-image{left:-23.023%;top:13.875%;width:144.28%;height:75.524%}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--1 .common-price__card-title{left:23.272%}
.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--2 .common-price__card-title{left:17.873%}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--2 .common-price__card-title,.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--1 .common-price__card-title{top:201px;font-size:16px;line-height:22px}
.common-price__cards:is(:has(.common-price__card--1:is(:hover,.is-active)):not(:has(.common-price__card--2:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--1:focus-visible)) .common-price__card--1 :is(.common-price__card-rule,.common-price__card-body),.common-price__cards:is(:has(.common-price__card--2:is(:hover,.is-active)):not(:has(.common-price__card--1:is(:hover,.is-active))),:not(:has(.common-price__card:is(:hover,.is-active))):has(.common-price__card--2:focus-visible)) .common-price__card--2 :is(.common-price__card-rule,.common-price__card-body){opacity:1;transition-delay:.2s}
}
/* 料金表「07 費用・お支払い」（price-payment、v2 3275:2558、第10ラウンド。v1 3218:3947 と位置は同じ）。告知・締めの見出しと文がなく、フレームの高さ1500でカード部（888〜、612px）が切れる。
   縦の並び: 見出し 160 → 縦線 281（見出しの下端241から40）→ 支払い方法 384 → リンク枠 769 → カード部 888。ほかの位置は TOP と同じ（TOP から上へ112）。
   v1 のカードの上の赤字「SAMPLE」（3218:3990・3991）は、ユーザー指示（2026-10-30）で出さない（v2 の原本にもない）。
   字面の補正（第8ラウンドの基準）: 支払い方法の名称の墨が下にずれる → 1px 上げる。このブロックだけ（TOP・② は変えていない）。
   v1 の名称で 0.97／1.49／1.33px 下（第9ラウンド）。v2 の名称（TOP と同じ）での測り直しは docs/design-common-price.md 第10ラウンド。 */
/* 目次のアンカー先（ルート #price-payment、医療費控除のカードの上端の印 #price-medical-deduction）。JS なしのアンカーでも固定ヘッダー（70px、SP 64px）の下に着く（⑥ symptom と同じ値）。
   印はフェードしないカード部の中で、カードの上端（PC 90、SP 0）に置く。 */
.common-price--payment,.common-price__anchor{scroll-margin-top:70px}
.common-price__anchor{position:absolute;left:0;top:90px;width:1px;height:1px;pointer-events:none}
@media (min-width:1024px){
  .common-price--payment .common-price__inner{min-height:1500px}
  .common-price--payment .common-price__divider{margin-top:40px}
  /* 第13ラウンド（2026-11-19）: 「詳しい料金についてはこちら」を出さない（コメント #2013547423）。原本ではリンクの枠 3275:2603（119）が消えてもカードは y888 のまま
     （フレームの位置指定）なので、リンクの枠と上の間隔（40＋119）をカード部の上の余白にする。 */
  .common-price--payment .common-price__cards-area{height:612px;margin-top:159px}
  .common-price--payment .common-price__method-title{position:relative;top:-1px}
}
.common-price__closing-title{margin:93px -5.76px 0 0;font-family:var(--font-mincho);font-weight:500;font-size:32px;line-height:54px;letter-spacing:5.76px;color:var(--color-deep-charcoal);text-align:center}
.common-price__closing-text{max-width:min(800px,calc(100% - 80px));margin:30px -.96px 0 0;font-family:var(--font-sans);font-weight:400;font-size:16px;line-height:48px;letter-spacing:.96px;color:#393939;text-align:center}
/* SP（1023px以下、Figma SP 393px: TOP 2826:3337・② 2881:21709）。上下72・左右24の縦積み。
   支払い方法は「アイコン 84×84（左8）＋名称」の3行（上下16、間の罫線 #d1d1d1）。白丸・ロゴは PC の配置を 64/119（カードは 38.994/81.988）に縮めた値で、
   SP の原本（Group 1321320541 等）の座標と一致する。背景の「PRICE」は PC と同じ SVG を幅 345 に縮めて置く（原本 2826:3338、y=330）。
   料金カード（price cards 2826:3421、注釈②「SP はタップで詳細表示（ホバー演出なし）」・状態 2905:2884／2905:2895）は縦積み 345×235.277、間12。
   閉じた状態の写真の切り抜きは PC の Default と同じ % 指定。タップで開いたカードは写真を枠いっぱい（cover）にし、見出し・線（40×0.5）・説明文を縦に並べる
   （上下48・左右28・間20）。開閉の高さ（0.4s）は JS、線と説明文のフェード（0.3s、0.1s 遅れ）は CSS。閉じるのは JS が .is-collapsible を付けたときだけで、
   JavaScript なしでは2枚とも開いた状態（説明文が読める）。 */
@media (max-width:1023px){
  .common-price__inner{min-height:0;padding:72px 24px}
  .common-price__heading{gap:8px}
  .common-price__label{top:1px;margin-right:-1.44px;font-size:12px;line-height:15px;letter-spacing:1.44px}
  .common-price__title{margin-right:-2.2px;font-size:22px;line-height:35px;letter-spacing:2.2px}
  /* 告知の上下の 0.5px 線は PC と同じく 1px×50%。枠の高さは Figma の 0.5+14+46+14+0.5=75 に合わせる。中央の縦線（幅0.01の線）は参照画像どおり 1列×50%。 */
  .common-price__notice{max-width:100%;margin-top:28px;padding:14.5px 20px}
  .common-price__notice::before,.common-price__notice::after{top:calc(50% - .5px);width:40px;height:1px;background:rgba(181,154,114,.5)}
  .common-price__notice::before{left:-30px}
  .common-price__notice::after{right:-30px}
  /* 原本は「…分割払いも／ございます…」の2行。改行を足さず、1行目の18字の幅で折り返す。 */
  .common-price__notice-text{max-width:263px;margin-right:-1.08px;font-size:13.5px;line-height:23px;letter-spacing:1.08px;line-break:strict}
  .common-price__divider{height:40px;margin:24px 0 0;background:rgba(204,204,204,.5)}
  .common-price__methods{width:100%;height:auto;margin-top:32px}
  .common-price__letters{left:0;top:1.4px;width:100%;aspect-ratio:345/70.847}
  .common-price__rule{display:none}
  .common-price__method-list{display:block;height:auto;padding:0}
  .common-price__method{display:flex;align-items:center;height:auto;min-height:116px;padding:16px 0 16px 116px}
  .common-price__method + .common-price__method{min-height:117px;border-top:1px solid #d1d1d1}
  .common-price__method-title{margin:0;font-size:14px;line-height:42px;letter-spacing:1.12px;text-align:left}
  .common-price__badge--cash,.common-price__badge--bank{left:18px;top:26px;width:64px;height:64px}
  .common-price__cash-icon{left:18.82px;top:19.9px;width:26.353px;height:24.74px}
  .common-price__bank-icon{left:15.06px;top:18.82px;width:34.42px;height:24.202px}
  .common-price__badge--jcb,.common-price__badge--visa,.common-price__badge--amex{width:38.994px;height:38.994px}
  .common-price__badge--master{width:38.995px;height:38.995px}
  .common-price__badge--jcb{left:8px;top:16px}
  .common-price__badge--visa{left:52.994px;top:16px}
  .common-price__badge--amex{left:8px;top:60.994px}
  .common-price__badge--master{left:52.994px;top:60.994px}
  .common-price__logo--jcb{left:6.23px;top:10.16px;width:26.215px;height:20.316px}
  .common-price__logo--visa{left:6.23px;top:11.47px;width:26.071px;height:15.157px}
  .common-price__logo--amex{left:9.5px;top:10.16px;width:20.316px;height:20.316px}
  .common-price__logo--master{left:7.86px;top:12.12px;width:23.593px;height:15.074px}
  .common-price__more{height:auto;margin-top:40px}
  .common-price__cards-area{height:auto;margin-top:48px;background:none}
  .common-price__cards{flex-direction:column;gap:12px;height:auto;margin:0}
  .common-price__card{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:235.277px;padding:48px 28px}
  .common-price__card-image{transition:left .4s ease-out,top .4s ease-out,width .4s ease-out,height .4s ease-out}
  .common-price__card-title{position:relative;left:auto;top:auto;margin:0 -.18em 0 0;transform:none;font-size:13.101px;line-height:18px;transition:none}
  .common-price__card-rule{position:relative;left:auto;top:auto;width:40px;height:1px;background:rgba(255,255,255,.4);opacity:1;transition:none}
  .common-price__card-body{position:relative;left:auto;top:auto;width:100%;font-size:13px;line-height:24.7px;letter-spacing:.18em;opacity:1;line-break:strict;transition:none}
  .common-price__card--1 .common-price__card-rule,.common-price__card--2 .common-price__card-rule{left:auto}
  .common-price__card--1 .common-price__card-body,.common-price__card--2 .common-price__card-body{top:auto}
  /* 「費用について」の4行目「カウンセリング時に総額をご提示します。」（19字＝289.1px）は Figma では幅289に1行で収まる。字間1つ分（2.34px）だけ右へ広げて合わせる
     （「医療費控除について」は Figma どおり18字で折り返すため広げない）。 */
  .common-price__card--2 .common-price__card-body{align-self:stretch;width:auto;margin-right:-2.34px}
  /* 開いたカード（JS なしでは2枚とも）: 写真は枠いっぱい。閉じたカード（JS が .is-collapsible を付けたとき）: 線と説明文を出さない。 */
  .common-price__cards:not(.is-collapsible) .common-price__card-image,.common-price__card.is-active .common-price__card-image{left:0;top:0;width:100%;height:100%}
  .common-price__cards.is-collapsible .common-price__card:not(.is-active) :is(.common-price__card-rule,.common-price__card-body){display:none}
  /* 料金表 07（price-payment）の SP（第10ラウンド、原本 3314:3960、393×1248.55）。TOP の SP の部品から告知・締めの見出しと文を除いた形:
     見出し → 24（3314:3975。縦線の既定の margin-top 24 のまま）→ 縦線40 → 32 → 支払い方法（y226）→ 40 → リンク → 48 → カード2枚 → 下72。
     背景の「PRICE」（3314:3961）は TOP と同じフレームの y330 に残り、支払い方法の上端（y226）から 104 下（TOP は 1 下）。Figma の値のまま 104
     （SVG の viewBox は 0 から始まり、内側のずれはない。1倍の参照画像とも 103・105 より 104 が合う。docs/design-common-price.md 第10ラウンド）。 */
  .common-price--payment .common-price__letters{top:104px}
  /* 第13ラウンド: リンク 3314:4013（30）を出さない（コメント #2013547886）。上の間隔 40 は残り、カードは 30 上がる（y694→664、ブロック 1248.55→1218.55）。 */
  .common-price--payment .common-price__cards-area{margin-top:88px}
  .common-price--payment,.common-price__anchor{scroll-margin-top:64px}
  .common-price__anchor{top:0}
  .common-price__closing-title{position:relative;top:1px;margin:56px -3.6px 0 0;font-size:20px;line-height:34px;letter-spacing:3.6px}
  .common-price__closing-text{align-self:stretch;max-width:none;margin:20px 0 0;font-size:13px;line-height:30px;letter-spacing:.78px;text-align:left;line-break:strict}
}
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  .common-price__card.is-active :is(.common-price__card-rule,.common-price__card-body){animation:common-price-fade .3s ease-out .1s both}
}
@keyframes common-price-fade{from{opacity:0}}
