/* ㉗ホワイトニングの固有ブロック（Figma 2566:14352）。1440pxで Figma の座標・寸法どおり。値の出どころは docs/design-whitening.md。
   原本の書体 Noto Serif JP・Shippori Mincho は未導入のため、変数（統合担当へ依頼）→ 明朝の代替で表示し、行の高さは原本の書体の値で固定する。 */

/* ---------- 02 リード（2566:14392） ---------- */
.whitening-lead{position:relative;background:var(--color-white);overflow-x:clip}
.whitening-lead__inner{position:relative;max-width:var(--page-width);min-height:815px;margin:0 auto;padding-top:100px}
.whitening-lead__photo{position:absolute;left:-32px;top:75.5px;width:358px;height:586px;filter:blur(7.6px);pointer-events:none}
.whitening-lead__photo-frame{position:absolute;inset:0;overflow:hidden;opacity:.3}
.whitening-lead__photo-image{position:absolute;left:-182.16%;top:-45.99%;width:461.82%;max-width:none;height:191.8%}
/* 枠線は原本どおりブロックの上（コンセプトの領域）まで伸びる。 */
.whitening-lead__frame{position:absolute;max-width:none;pointer-events:none}
.whitening-lead__frame--top{left:142px;top:-538px;width:777.25px;height:261.25px}
.whitening-lead__frame--main{left:142px;top:-128px;width:1155.5px;height:943px}
.whitening-lead__title{position:relative;padding-left:3px;font-family:var(--font-mincho);font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;text-align:center;color:var(--color-charcoal)}
.whitening-lead__text{position:relative;width:1100px;max-width:100%;margin:38.5px auto 0;padding-left:1.12px;font-size:14px;line-height:31px;letter-spacing:1.12px;text-align:center;color:var(--color-warm-brown-gray)}
.whitening-lead__tiles{position:relative;left:.5px;margin:49.64px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(97px,auto);gap:32px 28px;width:1019px;max-width:calc(100% - 40px)}
.whitening-lead__tile-item{display:flex}
.whitening-lead__tile{position:relative;display:flex;flex:1;align-items:center;justify-content:center;padding-left:1.04px;background:#f6f6f6;font-size:13px;line-height:23px;letter-spacing:1.04px;text-align:center;color:#000}
/* ホバーは原本に指定がない。⑱と同じ仮実装（背景色を #e3dfd8 へ0.3s、H-2 相当）。 */
.whitening-lead__tile{transition:background-color .3s ease-out}
.whitening-lead__tile[href]:hover{background:var(--color-light-greige)}
.whitening-lead__tile::after{content:"";position:absolute;left:96.88%;top:89.13%;right:0;bottom:0;background:url("../images/whitening/tile-corner.svg") no-repeat 0 0/100% 100%}
.whitening-lead__tile-text{position:relative;top:.1%}

/* ---------- 05 進行段階について（2566:14406） ---------- */
.whitening-stages{background:#f6f0e6;overflow-x:clip}
.whitening-stages__inner{position:relative;max-width:var(--page-width);height:676px;margin:0 auto}
.whitening-stages__rule{position:absolute;background:#d0d0d0}
.whitening-stages__rule--top,.whitening-stages__rule--bottom{left:0;right:0;height:1px}
.whitening-stages__rule--top{top:49px}
.whitening-stages__rule--bottom{top:614px}
.whitening-stages__rule--left,.whitening-stages__rule--right{top:0;width:1px;height:615px}
.whitening-stages__rule--left{left:calc(100% * 80 / 1440)}
.whitening-stages__rule--right{left:calc(100% * 1359 / 1440)}
.whitening-stages__body{position:absolute;left:calc(100% * 145 / 1440);top:94.14px;width:min(760px,calc(100% * 806 / 1440 - 40px))}
.whitening-stages__label{width:237px;font-family:var(--font-en);font-size:16px;line-height:28px;letter-spacing:1.92px;color:var(--color-silver-gray)}
.whitening-stages__title{margin-top:6px;font-family:var(--font-mincho);font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;white-space:nowrap;color:var(--color-charcoal)}
.whitening-stages__text{margin-top:42px;font-family:var(--font-mincho);font-size:16px;line-height:32px;letter-spacing:1.28px;color:var(--color-charcoal);margin-right:-1.28px}
.whitening-stages__photo{position:absolute;left:calc(100% * 951 / 1440);top:50.14px;width:calc(100% * 408 / 1440);height:564px;overflow:hidden}
.whitening-stages__photo-image{position:absolute;left:0;top:0;width:100%;max-width:none;height:100%;object-fit:cover;object-position:38.63% 0}
/* 2026-10-27（第7ラウンド）に Figma の写真が差し替わった（1024×681）。切り抜きは PC の参照画像との照合で求めた位置（cover の横の余り 440px のうち左から 170px）。旧写真は left -67.79% / 207.55%×100%。 */

/* ---------- 04_Concerns（2566:14416） ---------- */
.whitening-concerns{background:var(--color-white);overflow-x:clip}
.whitening-concerns__inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:60px;max-width:var(--page-width);min-height:983.022px;margin:0 auto;padding:150px 0}
.whitening-concerns__head{display:flex;flex-direction:column;align-items:center;gap:19px;width:390px;text-align:center}
.whitening-concerns__label{font-family:var(--font-en);font-size:15px;line-height:1.217;color:#bdbdbd}
.whitening-concerns__title{width:544px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:30px;font-weight:400;line-height:1.437;color:var(--color-charcoal)}
.whitening-concerns__body{display:flex;align-items:center;gap:20px;width:895px}
.whitening-concerns__photos{position:relative;flex:none;width:462px;height:537px}
.whitening-concerns__photo{position:absolute;max-width:none}
.whitening-concerns__photo--1{left:141px;top:0;width:321px;height:483px}
.whitening-concerns__photo--2{left:0;top:257px;width:399px;height:280px}
.whitening-concerns__content{display:flex;flex-direction:column;gap:50px;width:415px}
.whitening-concerns__item{position:relative;padding-left:23px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:17px;line-height:48px;letter-spacing:1.36px;white-space:nowrap;color:var(--color-charcoal)}
.whitening-concerns__item::before{content:"";position:absolute;left:0;top:23px;width:11px;height:1px;background:#999}
.whitening-concerns__note{font-size:13px;line-height:26px;white-space:nowrap;color:var(--color-warm-brown-gray)}

/* ---------- 05_Features（2566:14439） ---------- */
.whitening-features{background:#f6f0e6}
.whitening-features__inner{display:flex;flex-direction:column;align-items:center;gap:60px;max-width:var(--page-width);min-height:2264px;margin:0 auto;padding:150px 0 149.85px}
.whitening-features__head{display:flex;flex-direction:column;align-items:center;gap:19px;width:388px;text-align:center}
.whitening-features__label{font-family:var(--font-en);font-size:14px;line-height:1.217;color:#bdbdbd}
.whitening-features__title{font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:30px;font-weight:400;line-height:1.437;color:var(--color-charcoal)}
.whitening-features__list{display:flex;flex-direction:column;gap:107px;width:1071px;max-width:calc(100% - 40px)}
.whitening-features__item{position:relative;min-height:376px}
.whitening-features__media{position:absolute;top:0;width:520px;height:340px}
.whitening-features__item--odd .whitening-features__media{left:0}
.whitening-features__item--even .whitening-features__media{left:515px}
.whitening-features__shadow{position:absolute;left:36px;top:36px;width:520px;height:340px;background:#dcdcdc}
.whitening-features__image{position:absolute;left:0;top:0;width:100%;max-width:none;height:100%}
/* 角の飾り（orn / corner: 0.5px #b59a72 56px）。写真の左上の外側と右下の外側。0.5px は1px・不透明度50%で描く。 */
.whitening-features__corner{position:absolute;width:56px;height:56px;pointer-events:none}
.whitening-features__corner--start{left:-15.5px;top:-16px;border-top:1px solid rgba(181,154,114,.5);border-left:1px solid rgba(181,154,114,.5)}
.whitening-features__corner--end{left:480.5px;top:300px;width:57px;height:57px;border-right:1px solid rgba(181,154,114,.5);border-bottom:1px solid rgba(181,154,114,.5)}
.whitening-features__body{position:relative;padding-top:12px}
.whitening-features__item--odd .whitening-features__body{margin-left:618px}
.whitening-features__item--even .whitening-features__body{width:495px}
.whitening-features__num{font-family:var(--font-en);font-size:30px;line-height:1.217;color:#a88c62}
.whitening-features__item-title{margin-top:8.49px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:22px;font-weight:400;line-height:1.437;white-space:nowrap;color:var(--color-charcoal)}
.whitening-features__text{position:relative;margin-top:48.89px;font-size:14px;line-height:28px;white-space:nowrap;color:#4a4a4a}
.whitening-features__text::before{content:"";position:absolute;left:0;top:-24.5px;width:40px;height:1px;background:#999}

/* ---------- 03 features（S-2、2566:14492・状態 2573:4421） ---------- */
/* 既定（JSなし・動作軽減・照合）: 1枚目の枠（650px）に見出しとナビを重ね、2枚目以降を縦に並べる。 */
.whitening-features-2{background:var(--color-white);overflow-x:clip}
.whitening-features-2__stage{position:relative;max-width:var(--page-width);margin:0 auto}
.whitening-features-2__head{position:absolute;left:0;right:0;top:90px;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px;margin-left:-4px;font-family:var(--font-mincho);white-space:nowrap}
.whitening-features-2__label{font-size:16px;line-height:27px;color:#9d9d9d}
.whitening-features-2__title{font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;color:var(--color-charcoal)}
.whitening-features-2__slide{position:relative;height:650px}
.whitening-features-2__bg{position:absolute;left:calc(50% + 46px);top:187px;width:676px;height:323px;filter:blur(4.95px);pointer-events:none}
.whitening-features-2__bg-image{position:absolute;inset:0;width:100%;max-width:none;height:100%}
/* 1枚目の原本PNGは不透明度51%がアルファに入っている（Figma の opacity-51 を重ねない。引き伸ばし）。
   2枚目以降は素の原本なので cover で切り抜き、画像に不透明度51%をかける（切替のフェードは外側の .whitening-features-2__bg の opacity）。 */
.whitening-features-2__bg-image:not(.whitening-features-2__bg-image--1){object-fit:cover;opacity:.51}
.whitening-features-2__item{position:absolute;left:calc(50% - 393px);top:263px;width:782px;padding-top:26px;border-top:1px solid var(--color-deep-charcoal)}
.whitening-features-2__num{font-family:var(--font-en);font-size:34px;font-weight:300;line-height:37px;letter-spacing:2.04px;color:var(--color-stone-gray)}
.whitening-features-2__item-title{font-family:var(--font-mincho);font-size:17px;font-weight:500;line-height:31px;letter-spacing:1.7px;color:var(--color-charcoal)}
.whitening-features-2__text{width:399px;margin-top:16px;font-size:12.5px;line-height:28px;letter-spacing:.5px;color:var(--color-warm-brown-gray);margin-right:-.5px}
.whitening-features-2__nav{position:absolute;left:calc(50% - 265.5px);top:531.5px;z-index:1;width:526px;height:25px}
.whitening-features-2__arrow{position:absolute;top:0;width:72px;height:14px}
.whitening-features-2__arrow--prev{left:0}
.whitening-features-2__arrow--next{left:454px}
.whitening-features-2__dots{position:absolute;left:231.5px;top:12.5px;display:flex;align-items:center;gap:8px;transform:translateY(-50%)}
.whitening-features-2__dot{width:6px;height:6px;border-radius:50%;background:#d9d9d9}
.whitening-features-2__dot:first-child{width:8px;height:8px;background:var(--color-silver-gray)}
/* JS有効時: ステージを1枚分（650px）にして重ね、現在の番号だけ表示（文章0.4s・背景0.6s）。 */
.whitening-features-2.is-scroll-switch-enabled .whitening-features-2__stage{height:650px;overflow:hidden}
.whitening-features-2.is-scroll-switch-enabled .whitening-features-2__slide{position:absolute;inset:0}
.whitening-features-2.is-scroll-switch-enabled [data-scroll-switch-item]{opacity:0;transition:opacity .4s ease-out}
.whitening-features-2.is-scroll-switch-enabled [data-scroll-switch-bg]{opacity:0;transition:opacity .6s ease-out}
.whitening-features-2.is-scroll-switch-enabled .is-active{opacity:1}
.whitening-features-2.is-scroll-switch-enabled .whitening-features-2__dot:first-child{width:6px;height:6px;background:#d9d9d9}
.whitening-features-2[data-scroll-switch-index="0"] .whitening-features-2__dot:nth-child(1),
.whitening-features-2[data-scroll-switch-index="1"] .whitening-features-2__dot:nth-child(2),
.whitening-features-2[data-scroll-switch-index="2"] .whitening-features-2__dot:nth-child(3),
.whitening-features-2[data-scroll-switch-index="3"] .whitening-features-2__dot:nth-child(4){width:8px;height:8px;background:var(--color-silver-gray)}

/* ---------- 07_About（2566:14522） ---------- */
.whitening-about{position:relative;overflow:hidden}
.whitening-about__bg{position:absolute;inset:0;opacity:.63;pointer-events:none}
.whitening-about__bg::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55)}
.whitening-about__bg-image{position:absolute;inset:0;width:100%;max-width:none;height:100%}
.whitening-about__inner{position:relative;display:flex;flex-direction:column;align-items:center;width:893px;max-width:calc(100% - 40px);min-height:669px;margin:0 auto;padding:150px 0 0;text-align:center;left:-21.5px}
.whitening-about__label{font-family:var(--font-en);font-size:16px;line-height:1.217;color:var(--color-white)}
.whitening-about__title{width:773px;margin-top:19px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:30px;font-weight:400;line-height:1.437;color:var(--color-charcoal)}
.whitening-about__text{margin-top:58.5px;font-size:16px;line-height:40px;color:var(--color-charcoal)}

/* ---------- 08_Types（2566:14533） ---------- */
.whitening-types{background:#f6f0e6}
.whitening-types__inner{display:flex;flex-direction:column;align-items:center;gap:60px;max-width:var(--page-width);min-height:961px;margin:0 auto;padding:150px 0}
.whitening-types__head{display:flex;flex-direction:column;align-items:center;gap:24px;width:1000px;max-width:calc(100% - 40px);text-align:center}
.whitening-types__label{padding-left:1.12px;font-family:var(--font-en);font-size:14px;line-height:1.217;letter-spacing:1.12px;color:#bdbdbd}
.whitening-types__title{padding-left:3px;font-family:var(--font-mincho);font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;color:var(--color-charcoal)}
.whitening-types__rule{width:40px;height:1px;background:var(--color-champagne-gold)}
.whitening-types__lead{font-size:14px;line-height:1.2;white-space:nowrap;color:var(--color-charcoal)}
.whitening-types__table-wrap{max-width:calc(100% - 40px);overflow-x:auto}
.whitening-types__table{border-collapse:separate;border-spacing:1px;background:var(--color-light-greige)}
.whitening-types__table th,.whitening-types__table td{height:92px;padding:22px 24px 22px calc(24px + var(--ls,0px));font-weight:400;text-align:center;vertical-align:middle}
.whitening-types__row--head th{height:72px}
.whitening-types__corner{--ls:.96px;width:200px;background:#f6f4ef;font-size:12px;line-height:18px;letter-spacing:.96px;color:var(--color-stone-gray)}
.whitening-types__col-head{--ls:1.36px;width:331px;background:#9a9585;font-family:var(--font-mincho);font-size:17px;font-weight:500!important;line-height:26px;letter-spacing:1.36px;color:var(--color-white)}
.whitening-types__row-head{--ls:1.28px;width:200px;background:#f6f4ef;font-family:var(--font-mincho);font-size:16px;line-height:24px;letter-spacing:1.28px;color:var(--color-charcoal)}
.whitening-types__cell{--ls:1.12px;width:331px;background:var(--color-white);font-size:14px;line-height:24px;letter-spacing:1.12px;color:var(--color-charcoal)}

/* ---------- 09_費用のご案内（2566:14585） ---------- */
.whitening-price{background:var(--color-white)}
.whitening-price__inner{position:relative;max-width:var(--page-width);min-height:873px;margin:0 auto;padding-top:100px}
.whitening-price__head{text-align:center}
.whitening-price__label{padding-left:2.24px;font-family:var(--font-en);font-size:16px;line-height:19px;letter-spacing:2.24px;color:var(--color-stone-gray);position:relative;top:1px}
.whitening-price__title{padding-left:3px;margin-top:17px;font-family:var(--font-mincho);font-size:30px;font-weight:400;line-height:48px;letter-spacing:3px;color:var(--color-charcoal)}
.whitening-price__lead{width:1000px;max-width:100%;margin:46px auto 0;padding-left:1.12px;font-size:14px;line-height:31px;letter-spacing:1.12px;color:var(--color-warm-brown-gray)}
/* 表: 原本は矩形を1pxずつ重ねて並べた形（列 478/476/180、行 57/78/80/78/78）。セルを左・上に1px重ねて同じ位置にする。 */
.whitening-price__table{display:grid;grid-template-columns:478px 475px 179px;width:1134px;margin:56px auto 0}
.whitening-price__table thead,.whitening-price__table tbody,.whitening-price__row{display:contents}
.whitening-price__cell{display:flex;align-items:center;justify-content:center;min-height:78px;margin:-1px 0 0 -1px;padding:0 12px 0 13.5px;border:1px solid var(--color-light-greige);font-family:var(--font-mincho);font-size:15px;font-weight:500;line-height:22px;letter-spacing:1.5px;text-align:center;color:var(--color-charcoal)}
.whitening-price__row--head .whitening-price__cell{min-height:57px;background:#f7f3ed}
.whitening-price__row--2 .whitening-price__cell{min-height:80px}
.whitening-price__cell:first-child{margin-left:0}
.whitening-price__row--head .whitening-price__cell{margin-top:0}
.whitening-price__note{width:1134px;max-width:calc(100% - 40px);margin:24px auto 0;font-size:12px;line-height:26px;letter-spacing:.96px;color:var(--color-warm-brown-gray)}
.whitening-price__more{display:flex;justify-content:center;margin-top:46px}

/* ---------- 10_Notice（2566:14622） ---------- */
.whitening-notice{background:#f6f0e6}
.whitening-notice__inner{display:flex;align-items:center;justify-content:center;gap:80px;max-width:var(--page-width);min-height:667px;margin:0 auto;padding:150px 20px}
.whitening-notice__head{display:flex;flex-direction:column;width:366px}
.whitening-notice__label{height:23px;font-family:var(--font-en);font-size:16px;line-height:1.217;color:#bdbdbd;position:relative;top:1px}
.whitening-notice__title{height:107px;margin-top:4px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:32px;font-weight:400;line-height:1.437;color:#222}
.whitening-notice__lead{width:300px;margin-top:20px;font-size:13px;line-height:25px;letter-spacing:1.04px;color:var(--color-warm-brown-gray);margin-right:-1.04px}
.whitening-notice__body{display:flex;flex-direction:column;width:550px}
.whitening-notice__item{padding:26px 2.88px 26px 4px;border-bottom:1px solid #d9cdb8;font-size:14px;line-height:27px;letter-spacing:1.12px;color:var(--color-charcoal)}
.whitening-notice__item:first-child{border-top:1px solid #d9cdb8}
.whitening-notice__note{margin-top:20px;font-size:13px;line-height:25px;letter-spacing:1.04px;color:var(--color-warm-brown-gray);margin-right:-1.04px}

/* ---------- 14_Flow（2566:14680） ---------- */
.whitening-flow{background:var(--color-white);overflow-x:clip}
.whitening-flow__inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:75px;max-width:var(--page-width);min-height:801px;margin:0 auto;padding:150px 120px}
.whitening-flow__wave{position:absolute;max-width:none;pointer-events:none}
.whitening-flow__wave--1{left:-19px;bottom:20.97px;width:1473.56px;height:103.225px}
.whitening-flow__wave--2{left:-19px;top:136.85px;width:1473.54px;height:103.125px}
.whitening-flow__wave--3{left:-19px;top:49.81px;width:1478.06px;height:146.466px}
.whitening-flow__head{position:relative;display:flex;flex-direction:column;align-items:center;gap:19px;width:150px;text-align:center}
.whitening-flow__label{height:17.032px;font-family:var(--font-en);font-size:14px;line-height:1.217;color:#bdbdbd}
.whitening-flow__title{height:43.08px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:30px;font-weight:400;line-height:1.437;white-space:nowrap;color:var(--color-charcoal)}
.whitening-flow__steps{position:relative;display:flex;align-items:flex-start;gap:55px;width:952px}
.whitening-flow__step{position:relative;flex:none;width:195px;height:346.84px}
.whitening-flow__step--3{width:202px}
.whitening-flow__num{font-family:var(--font-en);font-size:22px;line-height:1.217;color:#999}
.whitening-flow__photo{position:absolute;left:0;top:64.12px;width:195px;height:150.278px;overflow:hidden}
.whitening-flow__photo-image{position:absolute;left:0;top:0;width:100%;max-width:none;height:100%}
.whitening-flow__step--1 .whitening-flow__photo-image{left:-6.92%;top:-2.15%;width:118.74%;height:102.71%}
.whitening-flow__step--2 .whitening-flow__photo-image{left:-16.4%;top:-3.46%;width:123.2%;height:106.57%}
.whitening-flow__step--3 .whitening-flow__photo-image{left:-8.52%;top:-4.59%;width:126.47%;height:109.41%}
.whitening-flow__step-title{position:absolute;left:0;top:243.89px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:16px;font-weight:400;line-height:1.44;white-space:nowrap;color:var(--color-charcoal)}
.whitening-flow__step--1 .whitening-flow__step-title{top:243.45px;color:#222}
.whitening-flow__text{position:absolute;left:0;top:280.84px;font-size:12px;line-height:22px;white-space:nowrap;color:#4a4a4a}
.whitening-flow__step--2 .whitening-flow__text{top:280.53px;line-height:22.026px}
.whitening-flow__step--3 .whitening-flow__text{top:280.89px}
.whitening-flow__step--4 .whitening-flow__text{top:280.36px;line-height:22.362px}
.whitening-flow__step--3 .whitening-flow__num{margin-left:7px}
.whitening-flow__step--3 .whitening-flow__photo,.whitening-flow__step--3 .whitening-flow__step-title{left:7px}

/* ---------- 13_Support（2566:14712） ---------- */
.whitening-support{background:#f6f0e6}
.whitening-support__inner{display:flex;flex-direction:column;align-items:center;gap:60px;max-width:var(--page-width);min-height:606.333px;margin:0 auto;padding:100px 0}
.whitening-support__head{display:flex;flex-direction:column;align-items:center;gap:13px;width:330px;height:67px;text-align:center}
.whitening-support__label{height:14.667px;font-family:var(--font-en);font-size:14px;line-height:1.217;color:#bdbdbd}
.whitening-support__title{flex:none;padding-left:3px;width:366px;height:33px;font-family:var(--font-serif,"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif);font-size:30px;font-weight:400;line-height:1.437;letter-spacing:3px;color:var(--color-charcoal);white-space:nowrap}
.whitening-support__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(132.667px,auto);gap:14px 15px;width:1200px;max-width:calc(100% - 40px)}
.whitening-support__card{position:relative;display:flex;align-items:center;gap:18px;padding:22px;border:1px solid #e4dccb;background:var(--color-white)}
.whitening-support__num{flex:none;font-family:var(--font-en);font-size:18px;line-height:1.217;white-space:nowrap;color:#a88c62}
.whitening-support__icon{flex:none;width:72px;height:auto}
.whitening-support__body{display:flex;flex:1 0 0;flex-direction:column;gap:6px;align-self:stretch;justify-content:center;min-width:1px}
.whitening-support__card-title{font-family:var(--font-shippori,"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif);font-size:16px;font-weight:500;line-height:24px;letter-spacing:2.24px;color:var(--color-champagne-gold)}
.whitening-support__text{font-size:14px;line-height:23px;letter-spacing:1.12px;color:var(--color-deep-brown);margin-right:-1.12px}
/* 四隅の飾り（corner: 16px、#d1bc79、内側5px） */
.whitening-support__corners,.whitening-support__corners::before,.whitening-support__corners::after{position:absolute;pointer-events:none}
.whitening-support__corners{inset:5px 4.5px 4.67px 5px}
.whitening-support__corners::before,.whitening-support__corners::after{content:"";inset:0;background:
  linear-gradient(#d1bc79,#d1bc79) 0 0/16px 1px no-repeat,linear-gradient(#d1bc79,#d1bc79) 0 0/1px 16px no-repeat,
  linear-gradient(#d1bc79,#d1bc79) 100% 0/16px 1px no-repeat,linear-gradient(#d1bc79,#d1bc79) 100% 0/1px 16px no-repeat}
.whitening-support__corners::after{transform:scaleY(-1)}

/* 描画位置の補正（照合で測った1pxのずれ。行の箱の位置・高さは Figma のまま）: Cormorant 16px の見出しラベルは1px下へ。 */

/* ---------- 1440px未満（〜1024px）: 横にはみ出さないよう縮める（SPは対象外。1440px以上は上の値のまま） ---------- */
@media (max-width:1439px){
  .whitening-features__media{width:calc(100% * 520 / 1071);height:auto;aspect-ratio:520/340}
  .whitening-features__item--even .whitening-features__media{left:calc(100% * 515 / 1071)}
  .whitening-features__shadow{width:100%;height:100%}
  .whitening-features__corner--end{left:calc(100% - 39.5px);top:calc(100% - 40px)}
  .whitening-features__item--odd .whitening-features__body{margin-left:calc(100% * 618 / 1071)}
  .whitening-features__item--even .whitening-features__body{width:calc(100% * 515 / 1071 - 20px)}
  .whitening-features__item-title,.whitening-features__text{white-space:normal}
  .whitening-features__text br{display:none}
  .whitening-types__table-wrap{width:calc(100% - 40px)}
  .whitening-types__table{width:100%;table-layout:fixed}
  .whitening-types__corner,.whitening-types__row-head{width:16.7%}
  .whitening-types__col-head,.whitening-types__cell{width:auto}
  .whitening-types__lead{white-space:normal}
  .whitening-price__table{width:calc(100% - 40px);grid-template-columns:minmax(0,478fr) minmax(0,475fr) minmax(0,179fr)}
  .whitening-notice__inner{gap:40px}
  .whitening-flow__inner{padding-left:0;padding-right:0}
}

/* ==================== SP（1023px以下。Figma ㉗ SP 2881:34154、基準 393px。docs/design-whitening.md「第7ラウンド（2026-10-27、t5）」） ====================
   寸法は 393px のときの Figma の値。行の高さは Figma のテキストの箱と同じく px に丸めた値（例 18px×1.8=32.4→32、13px×1.9=24.7→25）。
   中身の幅は左右 24px の余白を除いた可変幅。PC（1024px以上）の指定は変えない。上の 1440px 未満の指定を打ち消す箇所がある。 */
@media (max-width:1023px){
  .whitening-lead,.whitening-stages,.whitening-concerns,.whitening-features,.whitening-features-2,.whitening-about,.whitening-types,.whitening-notice,.whitening-flow,.whitening-support{line-break:strict}

  /* ---------- 02 リード（2881:34178、828）。カードは Figma の SP どおり 1・4・2・5・3・6 の順（PC の3列を列ごとに縦へ並べた順）。DOM とタブ順は 1〜6 のまま ---------- */
  .whitening-lead__inner{max-width:none;min-height:0;padding:50px 24px 72px}
  .whitening-lead__photo,.whitening-lead__frame{display:none}
  .whitening-lead__title{padding-left:1.8px;font-size:18px;line-height:32px;letter-spacing:1.8px}
  .whitening-lead__text{width:auto;margin:19px 0 0;padding-left:0;font-size:13px;line-height:26px;letter-spacing:1.04px;text-align:left}
  .whitening-lead__tiles{left:0;grid-template-columns:minmax(0,1fr);grid-auto-rows:60px;gap:10px;width:auto;max-width:none;margin:25px 0 0}
  .whitening-lead__tile-item:nth-child(1){order:1}
  .whitening-lead__tile-item:nth-child(4){order:2}
  .whitening-lead__tile-item:nth-child(2){order:3}
  .whitening-lead__tile-item:nth-child(5){order:4}
  .whitening-lead__tile-item:nth-child(3){order:5}
  .whitening-lead__tile-item:nth-child(6){order:6}
  .whitening-lead__tile{line-height:23.4px}
  .whitening-lead__tile::after{left:auto;top:auto;width:10px;height:10.543px}
  /* 393px ではどのカードも1〜2行。狭い幅で1文字だけ次の行に残らないよう行の長さをそろえる */
  .whitening-lead__tile-text{text-wrap:balance}
  /* SP はホバー演出なし（D-1） */
  .whitening-lead__tile[href]:hover{background:#f6f6f6}
  /* S-1 の並びのずらしは SP の並び替えで順番が崩れるため、カードは同時に表示する（⑱と同じ） */
  .whitening-lead__tile-item{--reveal-delay:0s!important}

  /* ---------- 05 進行段階について（2881:34221、1066）。罫線 0.5px → 文章 → 写真（PC と同じ写真を 345×431 に cover・中央）→ 罫線 ---------- */
  .whitening-stages__inner{display:flex;flex-direction:column;height:auto;max-width:none;padding:40px 24px}
  .whitening-stages__rule--left,.whitening-stages__rule--right{display:none}
  .whitening-stages__rule--top,.whitening-stages__rule--bottom{position:static;flex:none;height:.5px}
  .whitening-stages__rule--top{order:0}
  .whitening-stages__body{position:static;order:1;width:auto;margin-top:32px}
  .whitening-stages__label{width:auto;font-size:14px;line-height:25px;letter-spacing:1.68px}
  .whitening-stages__title{margin-top:6px;font-size:22px;line-height:35px;letter-spacing:2.2px;white-space:normal}
  .whitening-stages__text{margin:21px 0 0;font-size:14px;line-height:28px;letter-spacing:1.12px}
  /* SP では4段落目と5段落目が1つの段落（Figma 2881:34229）。キーは変えずに続けて表示する */
  .whitening-stages__text p:nth-child(4),.whitening-stages__text p:nth-child(5){display:inline}
  .whitening-stages__photo{position:relative;left:auto;top:auto;order:2;width:100%;height:431px;margin-top:32px}
  .whitening-stages__photo-image{object-position:50% 50%}
  .whitening-stages__rule--bottom{order:3;margin-top:32px}

  /* ---------- 04_Concerns（2881:34235、1021）。写真2枚の重ね（奥 240×361 右寄せ、手前 298×209 上から192px、どちらも cover）→ 5項目（黒丸）→ 注記 ---------- */
  .whitening-concerns__inner{display:block;max-width:none;min-height:0;padding:72px 24px}
  .whitening-concerns__head{width:auto;gap:10px}
  .whitening-concerns__label{font-size:13px;line-height:16px}
  .whitening-concerns__title{width:auto;font-size:19.5px;line-height:28px}
  .whitening-concerns__body{display:block;width:auto;margin-top:30px}
  .whitening-concerns__photos{width:100%;height:401px}
  .whitening-concerns__photo{object-fit:cover}
  .whitening-concerns__photo--1{left:auto;right:0;top:0;width:69.565%;height:361px}
  .whitening-concerns__photo--2{left:0;top:192px;width:86.377%;height:209px}
  .whitening-concerns__content{display:block;width:auto;margin-top:32px}
  .whitening-concerns__list{padding-left:21px;list-style:none}
  .whitening-concerns__item{display:block;padding-left:0;font-size:14px;line-height:30px;letter-spacing:.84px;white-space:normal}
  /* 行頭の点（Figma の list-disc ms-[21px]）。Figma は本文の書体の「•」を本文と同じベースラインに描く（参照画像で中心 x=34）。
     Chrome の disc は大きく左寄りのため、同じ書体の「•」を幅20pxの箱の中央（x=34）に置く（第8ラウンド） */
  .whitening-concerns__item::before{content:"\2022";left:-21px;top:0;width:20px;height:auto;background:none;letter-spacing:0;text-align:center}
  .whitening-concerns__item+.whitening-concerns__item{margin-top:6px}
  .whitening-concerns__note{margin-top:24px;font-size:12px;line-height:24px;white-space:normal}

  /* ---------- 05_Features（2881:34257、2110）。各項目は 写真の帯 290×120・影・写真 321×210 → 番号・見出し・本文 ---------- */
  .whitening-features__inner{align-items:stretch;gap:0;max-width:none;min-height:0;padding:72px 24px}
  .whitening-features__head{width:auto;gap:10px}
  .whitening-features__label{font-size:13px;line-height:16px}
  .whitening-features__title{font-size:22px;line-height:32px}
  .whitening-features__list{gap:64px;width:auto;max-width:none;margin-top:30px}
  .whitening-features__item{min-height:0}
  .whitening-features__item .whitening-features__media{position:relative;left:0;top:0;width:100%;height:auto;aspect-ratio:345/236;background:linear-gradient(#e1e7e9,#e1e7e9) 0 0/84.058% 50.847% no-repeat}
  .whitening-features__shadow{left:6.957%;top:11.017%;width:93.043%;height:88.983%}
  .whitening-features__image{left:3.478%;top:5.932%;width:93.043%;height:88.983%;object-fit:cover}
  .whitening-features__corner{display:none}
  .whitening-features__item .whitening-features__body{width:auto;margin:28px 0 0;padding-top:0}
  .whitening-features__num{font-size:22px;line-height:27px}
  .whitening-features__item-title{margin-top:6px;font-size:17px;line-height:24px;white-space:normal}
  .whitening-features__text{margin-top:16px;font-size:13px;line-height:26px;white-space:normal}
  .whitening-features__text::before{content:none}
  /* 1440px 未満で消していた改行のうち、SP にもある改行（項目02の「使用できます。」の後）だけ戻す */
  .whitening-features__text br:not(.c-br--pc){display:inline}

  /* ---------- 03 features：天神で選ばれる理由（2881:34301、1949）。SP はスライド切替なし（S-2 は 1024px 以上だけ）の縦並び。
     写真 345×240 → 5px → 番号（下に罫線）→ 20px → 見出し → 16px → 本文。項目の間48px ---------- */
  .whitening-features-2__stage{max-width:none;padding:70px 24px 72px}
  .whitening-features-2__head{position:static;gap:7px;margin-left:0;white-space:normal}
  .whitening-features-2__label{font-size:14px;line-height:24px}
  .whitening-features-2__title{padding-left:2.2px;font-size:22px;line-height:35px;letter-spacing:2.2px}
  .whitening-features-2__slides{display:flex;flex-direction:column;gap:48px;margin-top:40px}
  .whitening-features-2__slide{height:auto}
  .whitening-features-2__bg{position:relative;left:0;top:0;width:100%;height:auto;aspect-ratio:345/240;overflow:hidden;filter:none}
  /* 切り抜きは SP の元画像と書き出し（download_assets 2881:34301）の照合で求めた値（⑱と同じ: 幅 145.797%・左 −22.899%・上 −20%、01 は 147.826%・上 −10.208%） */
  .whitening-features-2__slide .whitening-features-2__bg-image{inset:auto;left:-22.899%;top:-20%;width:145.797%;height:auto;opacity:1;object-fit:fill}
  .whitening-features-2__slide--first .whitening-features-2__bg-image{top:-10.208%;width:147.826%}
  /* 1枚目を管理画面で差し替えると SP の source が外れる。そのときは差し替えた写真を枠いっぱいに cover で出す */
  .whitening-features-2__picture:not(:has(source)) .whitening-features-2__bg-image{left:0;top:0;width:100%;height:100%;object-fit:cover}
  .whitening-features-2__item{position:static;width:auto;margin-top:5px;padding-top:0;border-top:0}
  .whitening-features-2__num{font-size:26px;font-weight:400;line-height:31px;letter-spacing:2.08px;color:var(--color-silver-gray);border-bottom:1px solid var(--color-light-greige)}
  .whitening-features-2__item-title{margin-top:20px;font-size:15px;font-weight:400;line-height:26px;letter-spacing:1.2px}
  .whitening-features-2__text{width:auto;margin:16px 0 0;font-size:12px;line-height:25px;letter-spacing:.96px}
  .whitening-features-2__nav{display:none}

  /* ---------- 07_About（2881:34329、605）。見出しは「ホワイトニングとは」17.5px ／「（医療機関とセルフの違い）」14px の2行（編集項目を変えないため、1行目だけ ::first-line で大きくし、幅で改行） ---------- */
  .whitening-about__bg-image{object-fit:cover}
  .whitening-about__inner{left:0;width:auto;max-width:none;min-height:0;margin:0;padding:72px 24px 69px}
  .whitening-about__label{font-size:14px;line-height:17px}
  .whitening-about__title{width:185px;max-width:100%;margin-top:10px;font-size:14px;line-height:19.8px}
  /* 行の高さは Figma（17.5px×1.7＝29.75・14px×1.7＝23.8）より1行目を2px大きく・2行目を4px小さくして、1行目の文字だけ1px下げる（Chrome は Noto Serif JP を約1px上に描く）。箱の高さは下の余白で 53px にそろえる */
  .whitening-about__title::first-line{font-size:17.5px;line-height:31.75px}
  /* Figma は行末の字間を折り返しの幅に含めないので、右に字間ぶん広げる（PC と同じ考え方） */
  .whitening-about__text{margin:20px -1.12px 0 0;font-size:14px;line-height:28px;letter-spacing:1.12px;text-align:left}

  /* ---------- 08_Types（2881:34335、637）。表は横スクロール（右端は画面の端まで、末尾に24pxの余白）。比較項目の列は固定（sticky）、右に影 ---------- */
  .whitening-types__inner{display:block;max-width:none;min-height:0;padding:72px 0 72px 24px}
  .whitening-types__head{gap:0;width:auto;max-width:none;margin-right:24px}
  .whitening-types__label{padding-left:0;font-size:13px;line-height:16px;letter-spacing:0}
  .whitening-types__title{margin-top:12px;padding-left:2.2px;font-size:22px;line-height:35px;letter-spacing:2.2px}
  .whitening-types__rule{display:none}
  .whitening-types__lead{margin-top:25px;font-size:13px;line-height:16px;white-space:normal;text-align:left}
  .whitening-types__hint{display:block;margin:42px 24px 0 0;font-family:var(--font-mincho);font-size:12px;line-height:19px;letter-spacing:1.2px;color:var(--color-charcoal)}
  .whitening-types__table-wrap{width:auto;max-width:none;margin-top:16px;padding-right:24px;overflow-x:auto;overscroll-behavior-x:contain}
  .whitening-types__table{width:736px;border-spacing:0;table-layout:fixed;background:none}
  /* 行の高さ 56px（Figma）。Chrome は 0.5px の罫線を1画素で描くので、下の余白を 0.5px 減らす */
  .whitening-types__table th,.whitening-types__table td{height:55.5px;padding:18px 14px 17.5px calc(14px + var(--ls,0px));border-bottom:.5px solid #e3ded6}
  .whitening-types__row--head th{height:55.5px}
  .whitening-types__corner,.whitening-types__row-head{--ls:.96px;position:sticky;left:0;z-index:1;width:136px;font-size:12px;line-height:18px;letter-spacing:.96px;box-shadow:4px 0 4px rgba(0,0,0,.06)}
  .whitening-types__row-head{font-family:var(--font-mincho)}
  .whitening-types__col-head{--ls:1.04px;width:200px;font-size:13px;line-height:19.5px;letter-spacing:1.04px}
  .whitening-types__col-head:not(:last-child){border-bottom:0;border-right:.5px solid rgba(255,255,255,.35)}
  .whitening-types__cell{--ls:1.04px;width:200px;font-size:13px;line-height:19.5px;letter-spacing:1.04px}

  /* ---------- 10_Notice（2881:34439、716） ---------- */
  .whitening-notice__inner{display:block;max-width:none;min-height:0;padding:72px 24px}
  .whitening-notice__head{width:auto}
  .whitening-notice__label{height:auto;top:0;font-size:14px;line-height:17px}
  .whitening-notice__title{height:auto;margin-top:6px;font-size:22px;line-height:32px}
  .whitening-notice__lead{width:auto;margin:10px 0 0;font-size:12px;line-height:23px;letter-spacing:.96px}
  .whitening-notice__body{width:auto;margin-top:24px}
  .whitening-notice__item{padding:20px 4px;font-size:13px;line-height:25px;letter-spacing:1.04px}
  .whitening-notice__note{margin:10px 0 0;font-size:12px;line-height:23px;letter-spacing:.96px}

  /* ---------- 14_Flow（2881:34520、697）。写真 120×92 の右に 番号・手順名・説明。波線なし ---------- */
  .whitening-flow__inner{display:block;max-width:none;min-height:0;padding:72px 24px}
  .whitening-flow__wave{display:none}
  .whitening-flow__head{width:auto;gap:10px}
  .whitening-flow__label{height:auto;font-size:13px;line-height:16px}
  .whitening-flow__title{height:auto;font-size:22px;line-height:32px}
  .whitening-flow__steps{flex-direction:column;align-items:stretch;gap:24px;width:auto;margin-top:30px}
  .whitening-flow__steps .whitening-flow__step{width:auto;height:auto;min-height:92px;padding-left:136px}
  .whitening-flow__step .whitening-flow__photo{left:0;top:0;width:120px;height:92px}
  .whitening-flow__step .whitening-flow__photo-image{left:0;top:0;width:100%;height:100%;object-fit:cover}
  .whitening-flow__step .whitening-flow__num{margin-left:0;font-size:17px;line-height:21px}
  .whitening-flow__step .whitening-flow__step-title{position:static;margin-top:4px;font-size:14px;line-height:20px;white-space:normal}
  .whitening-flow__step .whitening-flow__text{position:static;margin-top:4px;font-size:12px;line-height:22px;white-space:normal}

  /* ---------- 13_Support（2881:34558、614）。カード1列（間12px）。card_01 の途中から先は ㉖ 2881:33640 と同じ型で再構成（docs/design-whitening.md） ---------- */
  .whitening-support__inner{display:block;max-width:none;min-height:0;padding:50px 24px}
  .whitening-support__head{width:auto;height:auto;gap:7px}
  .whitening-support__label{height:auto;font-size:13px;line-height:16px}
  .whitening-support__title{width:auto;height:auto;padding-left:2.2px;font-size:22px;line-height:32px;letter-spacing:2.2px;white-space:normal}
  .whitening-support__cards{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:12px;width:auto;max-width:none;margin-top:33px}
  .whitening-support__card{padding:24px 22px}
  .whitening-support__num{font-size:15px;line-height:18px}
  .whitening-support__card-title{font-size:14px;line-height:21px;letter-spacing:1.96px}
  .whitening-support__text{margin-right:0;font-size:13px;line-height:21px;letter-spacing:1.04px}
  .whitening-support__corners{inset:5px}

  /* 見た目だけの補正（393px の参照画像と Chrome の描画を比べて決めた値。レイアウトの高さは Figma の値のまま、文字だけを動かす）:
     Noto Serif JP 22px・Zen Old Mincho 15px・Shippori Mincho 14px の見出しは Chrome で約1px上に、Noto Sans JP 12〜13px の本文は約1px下に描かれる */
  .whitening-features__title,.whitening-features-2__item-title,.whitening-notice__title,.whitening-flow__title,.whitening-support__title,.whitening-support__card-title{position:relative;top:1px}
  .whitening-features-2__text,.whitening-notice__lead,.whitening-notice__note,.whitening-stages__text{position:relative;top:-1px}
  /* リードのカードの文字は補正なし（第8ラウンド）。行の高さを Figma の 13px×1.8＝23.4px にすると1行・2行のカードとも Figma の位置になる（㉖と同じ）。
     第7ラウンドの 23px＋1px 上の補正では2行のカードだけ約1px上に描かれていた */
  /* 特徴の番号（Cormorant Garamond 22px、枠は Figma と同じ y=424 等・高さ27）: 字面の中心が補正なしで 1〜3倍とも Figma より 1.0〜1.17px 上
     （dpr-ink.mjs、3倍で 439.83／Figma 441.0）→ 1px 下げる（3倍で −0.17px）。倍率によらない差のため補正する（第8ラウンド、ブリーフ 進め方3） */
  .whitening-features__num{position:relative;top:1px}
  /* 見出しの箱の高さ 53px（Figma。17.5px×1.7＋14px×1.7＝53.55 の端数を切る） */
  .whitening-about__title{margin-bottom:1.45px}
  /* 番号の幅は Figma の値（01・03 は 13px、02 は 14px）。アイコンの位置がそろう */
  .whitening-support__num{min-width:13px}
  .whitening-support__card:nth-child(2) .whitening-support__num{min-width:14px}
}
/* PC（1024px以上）には SP 専用の注記を出さない */
@media (min-width:1024px){
  .whitening-types__hint{display:none}
}
/* 0.5px の罫線: 1倍の画面では 1px・不透明度50%で描く（Figma の1倍の描画に寄せる。2倍以上は 0.5px のまま。⑱と同じ） */
@media (max-width:1023px) and (max-resolution:1dppx){
  .whitening-stages__rule--top,.whitening-stages__rule--bottom{height:1px;background:rgba(208,208,208,.5)}
  .whitening-stages__rule--top{margin-bottom:-.5px}
  .whitening-stages__rule--bottom{margin-bottom:-.5px}
}
