/* セルフフォトページ本文（Figma PC 795:1089 / SP 795:2090）。数値はFigmaの実寸。設計メモ docs/design-self-photo.md */

/* ---- 共通 ---- */
.self-photo-sp-only{display:none!important}
.self-photo-hero,.self-photo-reasons,.self-photo-topics,.self-photo-repeat,.self-photo-voice,.self-photo-gallery,.self-photo-items,.self-photo-map,.self-photo-price,.self-photo-flow{position:relative;overflow:hidden;font-family:var(--font-hiragino-mincho);font-weight:600;line-break:strict}
.self-photo-hero ul,.self-photo-hero ol,.self-photo-reasons ul,.self-photo-topics ul,.self-photo-voice ul,.self-photo-gallery ul,.self-photo-items ul,.self-photo-price ul,.self-photo-flow ol,.self-photo-flow ul{margin:0;padding:0;list-style:none}
.self-photo-hero p,.self-photo-hero h1,.self-photo-reasons p,.self-photo-reasons h2,.self-photo-reasons h3,.self-photo-topics p,.self-photo-topics h2,.self-photo-topics h3,.self-photo-repeat p,.self-photo-repeat h2,.self-photo-voice p,.self-photo-voice h2,.self-photo-voice h3,.self-photo-gallery h2,.self-photo-items p,.self-photo-items h2,.self-photo-map h2,.self-photo-price p,.self-photo-price h2,.self-photo-price h3,.self-photo-flow p,.self-photo-flow h2,.self-photo-flow h3{margin:0}
.self-photo-hero img,.self-photo-reasons img,.self-photo-topics img,.self-photo-repeat img,.self-photo-voice img,.self-photo-gallery img,.self-photo-items img,.self-photo-map img,.self-photo-price img{display:block;max-width:none}
.self-photo-hero picture,.self-photo-reasons picture,.self-photo-topics picture,.self-photo-items picture{display:block}

.self-photo-heading{display:flex;flex-direction:column;align-items:center;margin:0;color:var(--color-charcoal);text-align:center;font-weight:600}
.self-photo-heading__en{display:block;font-family:var(--font-display);font-size:80px;font-weight:400;line-height:1;letter-spacing:0}
/* 中央揃えで字間がある文字は、Chromeが末尾の字にも字間を足すため字間の半分だけ左に寄る（Figmaは寄らない）。左に字間と同じ余白を足して中央を戻す */
.self-photo-heading__ja{display:block;padding-left:1.6px;font-family:var(--font-hiragino-mincho);font-size:20px;font-weight:600;line-height:2.27;letter-spacing:1.6px}

.self-photo-button{position:relative;display:flex;align-items:center;justify-content:center;width:394px;height:80px;margin-inline:auto;padding:10px;background:var(--color-charcoal);box-shadow:inset 4px 4px 4px rgba(255,255,255,.25);filter:drop-shadow(4px 4px 3.45px rgba(93,116,78,.34));color:var(--color-white);font-family:var(--font-hiragino-mincho);font-size:20px;font-weight:600;line-height:normal;letter-spacing:1.6px;text-align:center;text-decoration:none;text-shadow:2px 3px 5.9px rgba(51,66,40,.89);white-space:nowrap;transition:opacity .2s}
.self-photo-button:hover{opacity:.85}
.self-photo-button__label{padding-left:1.6px}

.self-photo-topics__deco,.self-photo-repeat__deco,.self-photo-voice__deco,.self-photo-gallery__deco,.self-photo-price__deco{position:absolute;top:0;left:50%;pointer-events:none;transform:translateX(-50%)}
.self-photo-topics__deco--sp,.self-photo-repeat__deco--sp,.self-photo-voice__deco--sp,.self-photo-gallery__deco--sp,.self-photo-price__deco--sp{display:none!important}

@media (min-width:768px){.self-photo-br-sp{display:none}}

/* ---- メインビジュアル 795:1438（1440×572）/ SP 795:2432（393×377） ---- */
.self-photo-hero{min-height:572px;background:var(--color-white)}
.self-photo-hero::after{content:"";position:absolute;inset:0;background:rgba(232,232,232,.54);pointer-events:none}
.self-photo-hero__photo-picture,.self-photo-hero__photo{position:absolute;inset:0;width:100%;height:100%}
.self-photo-hero__photo{object-fit:cover;opacity:.85}
.self-photo-hero__body{position:relative;z-index:1;width:500px;padding:69px 0 0 123px}
.self-photo-hero__title{display:flex;flex-direction:column;width:377px;color:var(--color-brown);text-align:center;font-weight:400}
.self-photo-hero__kicker{padding-left:2.56px;font-family:var(--font-mincho);font-size:32px;font-weight:600;line-height:1.2;letter-spacing:2.56px}
.self-photo-hero__name{padding-top:8px;font-family:var(--font-display);font-size:80px;font-weight:400;line-height:1}
.self-photo-hero__lead{width:390px;padding-left:.8px;margin-top:16px!important;color:var(--color-charcoal);font-size:20px;line-height:1.8;letter-spacing:.8px;text-align:center}
.self-photo-hero__lead--sp{display:none}
.self-photo-hero__button{width:377px;margin:60px 0 0}

/* ---- 選ばれる理由 795:1412（1440×645） ---- */
.self-photo-reasons{padding:105px 20px;background:var(--color-green)}
.self-photo-heading--white{color:var(--color-white)}
.self-photo-reasons__heading{justify-content:space-between;height:128px;margin-bottom:80px!important}
.self-photo-reasons__list{display:flex;justify-content:space-between;width:min(1075px,100%);margin-inline:auto!important}
.self-photo-reasons__item{position:relative;flex:none;width:175px;height:227px}
.self-photo-reasons__icon-picture{position:absolute;top:-8.7px;left:-2.2px;width:185.4px;height:185.4px}
.self-photo-reasons__icon{width:100%;height:100%}
.self-photo-reasons__item--light .self-photo-reasons__icon-picture{left:7.3px}
.self-photo-reasons__item--angle .self-photo-reasons__icon-picture{top:-9.7px;left:-3.2px;width:187.4px;height:187.4px}
.self-photo-reasons__text{position:absolute;top:174px;left:0;display:flex;flex-direction:column;gap:6px;width:175px;color:var(--color-white);text-align:center}
.self-photo-reasons__item--light .self-photo-reasons__text{top:175px;left:9.5px}
.self-photo-reasons__title{height:26px;padding-left:1.6px;font-size:20px;font-weight:600;line-height:26px;letter-spacing:1.6px;white-space:nowrap}
.self-photo-reasons__description{position:relative;top:1px;padding-left:.56px;font-size:14px;line-height:21px;letter-spacing:.56px;white-space:nowrap}
.self-photo-reasons__item--access .self-photo-reasons__description{padding-left:2px;letter-spacing:2px}

/* ---- 利用シーン 795:1364（1440×1468） ---- */
.self-photo-topics{min-height:1468px;background:var(--color-greige)}
.self-photo-topics__deco{width:1440px;height:1468px}
.self-photo-topics__inner{position:relative;padding:110px 20px 105.95px}
.self-photo-topics__heading{justify-content:space-between;height:128px;margin-bottom:94px!important}
/* 欧文と和文が1つのテキストのFigma見出し（高さ128px）: 欧文を上端、和文をFigmaの描画位置（上から約82px）に合わせる */
.self-photo-reasons__heading .self-photo-heading__ja,.self-photo-topics__heading .self-photo-heading__ja{position:relative;top:-.6px}
.self-photo-topics__list{display:grid;grid-template-columns:repeat(2,minmax(0,573px));gap:47px 56px;justify-content:center}
.self-photo-topics__card{display:flex;flex-direction:column;gap:20.762px;min-height:491.5px;padding:32.782px 36.81px 27px;background:var(--color-white);box-shadow:8.344px 8.344px 2.816px rgba(173,173,173,.25)}
.self-photo-topics__photo{width:100%;height:auto;aspect-ratio:499.377/313.613;border-radius:8.742px;object-fit:cover}
.self-photo-topics__card--maternity{gap:10.927px}
.self-photo-topics__card--maternity .self-photo-topics__photo{aspect-ratio:499.38/332.92;border-radius:8.74px}
.self-photo-topics__text{position:relative;top:1px;display:flex;flex-direction:column;gap:16.391px;color:var(--color-charcoal)}
.self-photo-topics__title{font-size:21.855px;font-weight:600;line-height:35px;letter-spacing:1.7484px}
.self-photo-topics__description{font-size:14px;line-height:23px;letter-spacing:.56px}

/* ---- リピート率 795:1350（1440×335） ---- */
.self-photo-repeat{display:flex;align-items:center;min-height:335px;padding:88px 20px;background:#303030;overflow:visible;overflow-x:clip;z-index:1}
.self-photo-repeat__deco{width:1440px;height:337.417px}
.self-photo-repeat__body{position:relative;display:flex;flex-direction:column;gap:20px;width:min(1202px,100%);min-height:159px;margin-inline:auto;color:var(--color-white)}
.self-photo-repeat__title{font-size:36px;font-weight:600;line-height:54px;letter-spacing:2.88px}
.self-photo-repeat__text{margin-top:.5px!important;font-size:16px;line-height:29px;letter-spacing:.64px}

/* ---- お客様の声 795:1299（1440×1332） ---- */
.self-photo-voice{background:#fffef2}
.self-photo-voice__deco{width:1440px;height:1332px}
.self-photo-voice__inner{position:relative;left:-4px;padding:100px 20px}
.self-photo-voice__heading{gap:15px;height:140px;margin-bottom:80px!important}
.self-photo-voice__heading .self-photo-heading__ja{line-height:2.27}
.self-photo-voice__list{display:flex;flex-direction:column;gap:32px;width:min(1202px,100%);margin-inline:auto!important}
.self-photo-voice__card{display:flex;align-items:center;gap:80px;min-height:204px;padding:31px 32px;background:var(--color-white)}
.self-photo-voice__avatar{flex:none;width:126px;height:126px}
.self-photo-voice__card--initial-2 .self-photo-voice__avatar{width:128px;height:122px}
.self-photo-voice__avatar-image{width:126px;height:126px;border-radius:50%}
.self-photo-voice__text{display:flex;flex-direction:column;align-self:flex-start;gap:6px;flex:0 1 853px;min-height:142px;margin-top:0;color:var(--color-charcoal)}
.self-photo-voice__title{font-size:24px;font-weight:600;line-height:36px;letter-spacing:.96px}
.self-photo-voice__comment{font-size:20px;line-height:35px;letter-spacing:.8px}
.self-photo-voice__card--initial-2 .self-photo-voice__comment,.self-photo-voice__card--initial-3 .self-photo-voice__comment{line-height:30px}

/* ---- ギャラリー 822:524（1440×1111）、状態 795:987 ---- */
.self-photo-gallery{padding:102px 20px 91px;background:var(--color-greige)}
.self-photo-gallery__deco{width:1440px;height:995.5px}
.self-photo-gallery__heading{position:relative;gap:15px;margin-bottom:60px!important;transform:translateX(.5px)}
.self-photo-gallery__heading .self-photo-heading__ja{line-height:30px;letter-spacing:1.6px}
.self-photo-gallery__carousel{position:relative;width:min(1200px,100% - 200px);margin-inline:auto}
.self-photo-gallery__viewport{container-type:inline-size;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.self-photo-gallery__viewport::-webkit-scrollbar{display:none}
.self-photo-gallery__viewport:focus-visible{outline:2px solid var(--color-green);outline-offset:4px}
/* 写真は1つの一覧（件数可変）。列ごとに上段→下段で並べ、PCは4列（表示幅）で1ページ、ページ間120px。8の倍数でなくても列単位で並ぶ */
.self-photo-gallery__track{display:flex;flex-flow:column wrap;align-content:flex-start;gap:49px 32px;height:calc((100cqw - 96px) * .6195652 + 49px)}
.self-photo-gallery__item{flex:none;width:calc((100cqw - 96px) / 4);scroll-snap-align:start}
.self-photo-gallery__item:nth-child(8n+1):not(:first-child),.self-photo-gallery__item:nth-child(8n+2):not(:nth-child(2)){margin-left:88px}
/* 初期内容の3枚目はFigma（822:566）で3px下に置かれている。配置を変えずに表示だけ下げる（PCのみ。SPの原本はずれていない） */
.self-photo-gallery__item--initial-3{position:relative;top:3px}
.self-photo-gallery__photo-picture{display:block}
.self-photo-gallery__photo{display:block;width:100%;height:auto;aspect-ratio:276/342;object-fit:cover}
.self-photo-gallery__arrow{position:absolute;top:calc(50% - 8px);transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:49px;height:49px;padding:0;border:0;background:none;cursor:pointer}
.self-photo-gallery__arrow[hidden]{display:none}
.self-photo-gallery__arrow img{width:49px;height:49px}
.self-photo-gallery__arrow--prev{right:calc(100% + 10px)}
.self-photo-gallery__arrow--prev img{transform:scaleX(-1)}
.self-photo-gallery__arrow:hover{opacity:.7}
.self-photo-gallery__arrow--next{left:calc(100% + 22px)}
.self-photo-gallery__arrow:focus-visible{outline:2px solid var(--color-brown);outline-offset:2px}

/* ---- 備品一覧 795:1157（1440×1406） ---- */
.self-photo-items{padding:100px 20px 98px;background:#fffef2}
.self-photo-items__heading{gap:15px;height:140px;margin-bottom:80px!important}
.self-photo-items__list{display:grid;grid-template-columns:repeat(3,minmax(0,377px));gap:40px 35px;justify-content:center}
.self-photo-items__card{display:flex;flex-direction:column;gap:25px;min-height:394px;padding:24px 20px 20px;background:var(--color-white);box-shadow:9.55px 9.55px 6.45px rgba(173,173,173,.25)}
/* 写真は投稿タイプ「備品」の画像。縦横比が違ってもカードの枠（337×292）に合わせて切り抜く */
.self-photo-items__photo-picture{display:block;width:100%;aspect-ratio:337/292;overflow:hidden;border-radius:8px;background:var(--color-ivory)}
.self-photo-items__photo{width:100%;height:100%;border-radius:8px;object-fit:cover}
.self-photo-items__name{width:313.972px;max-width:100%;color:var(--color-charcoal);font-size:18.971px;line-height:30px;letter-spacing:1.5177px;overflow-wrap:anywhere}
.self-photo-items__note{display:block}
.self-photo-items__card--medium .self-photo-items__name{font-size:16.5px;line-height:26px;letter-spacing:1.2px}
.self-photo-items__card--small .self-photo-items__name{font-size:14.5px;line-height:23px;letter-spacing:.8px}
.self-photo-items__button{margin-top:80px}

/* ---- スタジオマップ 795:1151（1440×1052） ---- */
.self-photo-map{display:flex;flex-direction:column;align-items:center;gap:80px;min-height:1052px;padding:86.5px 20px;background:var(--color-white)}
.self-photo-map__title{position:relative;left:-4px;width:610px;max-width:100%;color:var(--color-green);font-family:var(--font-display);font-size:80px;font-weight:400;line-height:1;text-align:center}
.self-photo-map__image{position:relative;left:-4px;width:min(1014px,100%);height:auto;aspect-ratio:1740/1230;margin-bottom:2.21px}

/* ---- 料金 795:1119（1440×719） ---- */
.self-photo-price{min-height:719px;background:var(--color-greige)}
.self-photo-price__deco{left:calc(50% - 724px);width:1437px;height:281.643px;transform:none}
.self-photo-price__leaf{position:absolute;top:163.9px;left:calc(50% - 509.5px);width:1297.8px;height:622px;pointer-events:none}
.self-photo-price__inner{position:relative;left:-2.5px;display:flex;flex-direction:column;align-items:center;gap:80px;padding:102px 20px 100px}
.self-photo-price__title{width:169px;color:var(--color-charcoal);font-family:var(--font-display);font-size:80px;font-weight:400;line-height:1;text-align:center}
.self-photo-price__list{position:relative;left:.5px;display:flex;align-items:center;justify-content:center;gap:60px;height:197px}
.self-photo-price__card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:384px;height:201px;background:rgba(255,255,255,.86);box-shadow:7.636px 7.636px 5.154px rgba(173,173,173,.25);color:var(--color-charcoal);text-align:center}
.self-photo-price__name{display:flex;align-items:center;justify-content:center;height:29px;padding-left:1.6px;font-size:20px;font-weight:600;line-height:30px;letter-spacing:1.6px}
.self-photo-price__card--photographer .self-photo-price__name{position:relative;top:-1px;height:35px}
.self-photo-price__card--self .self-photo-price__name{padding-left:0;letter-spacing:-.93px}
.self-photo-price__amount{position:relative;top:-1px;display:flex;align-items:center;justify-content:center;height:29px;padding-left:.8px;font-size:20px;line-height:30px;letter-spacing:.8px}
.self-photo-price__card--photographer .self-photo-price__amount{height:27px}
.self-photo-price__note{position:relative;top:1px;padding-left:.56px;font-size:14px;line-height:21px;letter-spacing:.56px}
.self-photo-price__detail{display:flex;align-items:center;justify-content:center;width:206px;height:44px;padding-left:.56px;background:var(--color-green);color:var(--color-white);font-size:14px;line-height:21px;letter-spacing:.56px;text-decoration:none;transition:opacity .2s}
.self-photo-price__detail:hover{opacity:.85}
.self-photo-price__detail span{position:relative;top:1px}

/* ---- ご利用の流れ 885:190（1440×1592） ---- */
/* 2026-11-04: 一覧（枠）をFigmaの座標（y9030）に置き、Figmaとの字の位置の差は文字側（枠内の文字・本文の+1px）で合わせる */
.self-photo-flow{padding:100px 20px 154px;background:#f6f5e8;color:var(--color-brown)}
.self-photo-flow__inner{width:875px;max-width:100%;margin-inline:auto;transform:translateX(-0.5px)}
.self-photo-flow__heading{position:relative;gap:15px;height:140px;margin-bottom:80px!important;color:var(--color-brown)}
.self-photo-flow__steps{position:relative;display:flex;flex-direction:column;gap:40px;padding-bottom:19px!important}
/* 点線 885:194: 線幅1.5px・破線[4,3]。Figmaは全長1052pxに150周期（7.0133px）で割り付け、両端を半分の破線にする。
   1.5pxの箱は親の translateX(-0.5px) で2列×50%に描かれ薄くなるため、打ち消した2px×不透明度0.75で1.5px分の濃さを出す。
   SP 890:417 は線幅0.5px・886.134pxに127周期（6.9774px）（2026-11-04） */
.self-photo-flow__steps::before{content:"";position:absolute;top:25px;bottom:41px;left:40.5px;width:2px;background:repeating-linear-gradient(to bottom,var(--color-brown) 0 2.0038px,transparent 2.0038px 5.0095px,var(--color-brown) 5.0095px 7.0133px);opacity:.75;transform:translateX(.5px)}
.self-photo-flow__step{position:relative;display:flex;align-items:flex-start;gap:32px}
.self-photo-flow__step--start,.self-photo-flow__step--data,.self-photo-flow__step--leave{gap:33px}
.self-photo-flow__step--prepare{min-height:141px}
.self-photo-flow__step--start{min-height:238px}
.self-photo-flow__step--data{min-height:92px}
.self-photo-flow__badge{position:relative;display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;width:84px;height:60px;background:var(--color-white);font-size:16px;line-height:24px;text-align:center;white-space:nowrap}
.self-photo-flow__badge--outline{box-shadow:0 0 0 .5px #d9d9d9,inset 0 0 0 .5px #d9d9d9}
@media (min-width:768px){.self-photo-flow__step--visit .self-photo-flow__badge--outline,.self-photo-flow__step--prepare .self-photo-flow__badge--outline{box-shadow:none}} /* PCの縁は「来店前」885:196 だけ（885:205・885:272 は線なし） */
.self-photo-flow__badge--start,.self-photo-flow__badge--data,.self-photo-flow__badge--leave{height:56.869px}
.self-photo-flow__badge--start{justify-content:flex-start;padding-top:11px;line-height:17px}
.self-photo-flow__badge--outline>span,.self-photo-flow__badge--data>span,.self-photo-flow__badge--leave>span{position:relative}
.self-photo-flow__badge-small{display:block;height:20.852px;margin-bottom:-2.852px;font-size:11px;line-height:20.852px}
.self-photo-flow__badge--data{line-height:19px}
.self-photo-flow__body{position:relative;top:1px;display:flex;flex-direction:column;gap:16px;min-width:0}
.self-photo-flow__title{font-size:22px;font-weight:600;line-height:33px;letter-spacing:1.76px}
.self-photo-flow__step--visit .self-photo-flow__title{letter-spacing:0}
.self-photo-flow__lead{margin-top:-7px!important;margin-bottom:1px!important;font-size:16px;line-height:24px;letter-spacing:.64px}
.self-photo-flow__step--start .self-photo-flow__lead{margin-top:3px!important}
.self-photo-flow__step--data .self-photo-flow__lead,.self-photo-flow__step--leave .self-photo-flow__lead{margin-top:-1px!important}
.self-photo-flow__notes{font-size:14px;line-height:27px;letter-spacing:.56px}
.self-photo-flow__text{font-size:16px;line-height:29px;letter-spacing:.64px}
@media (min-width:1240px){.self-photo-flow__step--start .self-photo-flow__text{width:784px;max-width:none}}

/* ---- 768〜1439px ---- */
@media (min-width:768px) and (max-width:1239px){.self-photo-br-pc{display:none}}
@media (min-width:768px) and (max-width:1279px){
  .self-photo-repeat{padding-inline:40px}
  .self-photo-voice__card{gap:40px}
  .self-photo-price__list{gap:24px;height:auto}
  .self-photo-price__card{width:min(384px,calc((100vw - 64px) / 2))}
}
@media (min-width:768px) and (max-width:1023px){
  .self-photo-hero__body{padding-left:40px}
  .self-photo-topics__card{padding:24px}
  .self-photo-items__list{grid-template-columns:repeat(2,minmax(0,377px))}
  .self-photo-flow__body{flex:1}
  .self-photo-flow__step--start .self-photo-flow__text br{display:none}
}

/* ---- SP（〜767px）。基準 393px ---- */
@media (max-width:767px){
  .self-photo-pc-only{display:none!important}
  .self-photo-sp-only{display:revert!important}
  .self-photo-br-pc{display:none}
  .self-photo-topics__deco--pc,.self-photo-repeat__deco--pc,.self-photo-voice__deco--pc,.self-photo-gallery__deco--pc,.self-photo-price__deco--pc{display:none!important}
  .self-photo-topics__deco--sp,.self-photo-repeat__deco--sp,.self-photo-voice__deco--sp,.self-photo-gallery__deco--sp,.self-photo-price__deco--sp{display:block!important}

  .self-photo-heading{gap:15px}
  .self-photo-heading__en{font-size:32px}
  .self-photo-heading__ja{padding-left:1.12px;font-size:14px;font-weight:400;line-height:1;letter-spacing:1.12px}

  .self-photo-button{width:313px;height:50px;padding:7.284px;box-shadow:inset 2.914px 2.914px 2.914px rgba(255,255,255,.25);filter:drop-shadow(2.914px 2.914px 2.513px rgba(93,116,78,.34));font-size:14.569px;letter-spacing:1.1655px;text-shadow:1.457px 2.185px 4.298px rgba(51,66,40,.89)}
  .self-photo-button__label{position:relative;top:1px;padding-left:1.1655px}

  /* メインビジュアル */
  .self-photo-hero{min-height:377px}
  .self-photo-hero__body{width:auto;padding:15px 126px 0 20px;display:flex;flex-direction:column;gap:8px}
  .self-photo-hero__title{gap:6px;width:247px;text-align:left}
  .self-photo-hero__kicker{position:relative;top:-1px;padding-left:0;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0}
  .self-photo-hero__name{width:249px;padding-top:0;font-size:55.924px}
  .self-photo-hero__lead{width:auto;margin-top:0!important;padding-left:0;font-size:16px;line-height:29px;letter-spacing:.64px;text-align:left;white-space:nowrap}
  .self-photo-hero__lead--pc{display:none}
  .self-photo-hero__lead--sp{display:block}
  .self-photo-hero__button{position:absolute;top:296px;left:40px;margin:0}

  /* 選ばれる理由（SP 795:2406。上23pxはメインビジュアルが重なるため除いた665px） */
  .self-photo-reasons{padding:37px 0 39px}
  .self-photo-reasons__heading{height:auto;margin-bottom:60px!important}
  .self-photo-reasons__heading .self-photo-heading__ja,.self-photo-topics__heading .self-photo-heading__ja{top:0}
  .self-photo-reasons__list{display:grid;grid-template-columns:repeat(2,139.5px);grid-template-rows:repeat(2,219px);gap:30px 31px;justify-content:center;width:auto}
  .self-photo-reasons__item{display:flex;flex-direction:column;align-items:center;gap:16px;width:auto;height:auto}
  .self-photo-reasons__icon-picture,.self-photo-reasons__item--light .self-photo-reasons__icon-picture,.self-photo-reasons__item--angle .self-photo-reasons__icon-picture{position:relative;top:auto;left:auto;flex:none;width:114px;height:113px}
  .self-photo-reasons__item--angle .self-photo-reasons__icon-picture,.self-photo-reasons__item--private .self-photo-reasons__icon-picture{height:110px}
  .self-photo-reasons__item--access .self-photo-reasons__icon-picture{width:115px}
  .self-photo-reasons__icon{position:absolute;top:-8.2px;left:-9.2px;width:138.4px;height:137.4px}
  .self-photo-reasons__item--angle .self-photo-reasons__icon{top:-9.2px;left:-10.2px;width:140.4px;height:136.4px}
  .self-photo-reasons__item--private .self-photo-reasons__icon{height:134.4px}
  .self-photo-reasons__item--access .self-photo-reasons__icon{width:139.4px}
  .self-photo-reasons__text,.self-photo-reasons__item--light .self-photo-reasons__text{position:static;width:138px}
  .self-photo-reasons__item--angle .self-photo-reasons__text{width:140px}
  .self-photo-reasons__item--private .self-photo-reasons__text{width:137px}
  .self-photo-reasons__item--access .self-photo-reasons__text{width:136px}
  .self-photo-reasons__title{display:flex;align-items:center;justify-content:center;height:27px}
  .self-photo-reasons__item--light .self-photo-reasons__title,.self-photo-reasons__item--angle .self-photo-reasons__title{position:relative;top:-1px}
  .self-photo-reasons__item--angle .self-photo-reasons__title{height:31px;line-height:30px}
  .self-photo-reasons__item--private .self-photo-reasons__title,.self-photo-reasons__item--access .self-photo-reasons__title{height:26px;line-height:30px}
  .self-photo-reasons__description{top:0;line-height:18px;white-space:normal}
  .self-photo-reasons__item--private .self-photo-reasons__description{top:1px;line-height:21px}
  .self-photo-reasons__item--access .self-photo-reasons__description{padding-left:1px;letter-spacing:1px}

  /* 利用シーン（SP 795:2356） */
  .self-photo-topics__deco{width:393px;height:1649px;transform:translateX(-50%)}
  .self-photo-topics__inner{padding:60px 0;transform:translateX(2px)}
  .self-photo-topics__heading{height:auto;margin-bottom:60px!important;color:var(--color-brown)}
  .self-photo-topics__list{grid-template-columns:308.6px;gap:40px}
  .self-photo-topics__card,.self-photo-topics__card--maternity{gap:11.341px;min-height:322px;padding:17.907px 17.907px 11.5px;box-shadow:4.558px 4.558px 1.538px rgba(173,173,173,.25)}
  .self-photo-topics__photo,.self-photo-topics__card--maternity .self-photo-topics__photo{aspect-ratio:272.784/171.311;border-radius:4.775px}
  .self-photo-topics__text{top:0;gap:8.954px}
  .self-photo-topics__title{line-height:32px}
  .self-photo-topics__description{position:relative;top:2px}
  .self-photo-topics__card--maternity .self-photo-topics__title{letter-spacing:1.12px}
  .self-photo-topics__title{font-size:20px;letter-spacing:1.6px}

  /* リピート率（SP 795:2342） */
  .self-photo-repeat{min-height:254px;padding:65.5px 0}
  .self-photo-repeat__deco{left:calc(50% - 197.68px);width:391.726px;height:254px;transform:none}
  .self-photo-repeat__body{gap:12px;width:318px;min-height:123px;margin-left:calc(50% - 161.5px)}
  .self-photo-repeat__title{height:26px;font-size:20px;line-height:26px;letter-spacing:1.6px}
  .self-photo-repeat__text{margin-top:1px!important;font-size:14px;line-height:25px;letter-spacing:.56px}

  /* お客様の声（SP 795:2289） */
  .self-photo-voice__deco{left:calc(50% - 201.5px);width:393px;height:1226px;transform:none}
  .self-photo-voice{min-height:1226px}
  .self-photo-voice__inner{left:-2.5px;padding:60.21px 0 74.5px}
  .self-photo-voice__heading{height:63.247px;justify-content:center;margin-bottom:60px!important}
  .self-photo-voice__heading .self-photo-heading__ja{line-height:1}
  .self-photo-voice__list{gap:20px;width:355px}
  .self-photo-voice__card{display:grid;grid-template-columns:auto 188px;justify-content:center;align-content:start;align-items:start;gap:16px 19px;padding:20px 0}
  .self-photo-voice__card--initial-2,.self-photo-voice__card--initial-3{min-height:218px}
  .self-photo-voice__card--initial-2{padding-block:8px}
  .self-photo-voice__card--initial-3{padding:20px 0 8px}
  .self-photo-voice__card--initial-4{min-height:240px;padding-bottom:15.6px}
  .self-photo-voice__card--initial-1{min-height:232px;padding-bottom:7.6px}
  .self-photo-voice__card--initial-2 .self-photo-voice__comment{position:relative;top:-1px}
  .self-photo-voice__avatar,.self-photo-voice__card--initial-2 .self-photo-voice__avatar{width:89.466px;height:89.466px}
  .self-photo-voice__card--initial-2 .self-photo-voice__avatar{width:92.73px;height:92.73px}
  .self-photo-voice__card--initial-3 .self-photo-voice__avatar{width:90.406px;height:90.406px}
  .self-photo-voice__avatar-image{width:100%;height:100%}
  .self-photo-voice__text{display:contents}
  .self-photo-voice__title{display:flex;align-items:center;min-height:90px;font-size:20px;line-height:1.3;letter-spacing:.8px}
  .self-photo-voice__comment,.self-photo-voice__card--initial-2 .self-photo-voice__comment,.self-photo-voice__card--initial-3 .self-photo-voice__comment{grid-column:1 / -1;width:294px;margin:0 auto!important;padding:12px 0 8px;font-size:14px;line-height:1.4;letter-spacing:.56px}

  /* ギャラリー（SP 822:758、状態 822:624）。Figmaでは枠ごと左へ3pxずれている（x=-3）ため本文と装飾も3px左へ寄せる */
  .self-photo-gallery{min-height:620px;padding:60px 0 57.9px}
  .self-photo-gallery__deco{left:calc(50% - 199.5px);width:393px;height:620px;transform:none}
  .self-photo-gallery__heading{margin-bottom:60px!important;transform:translateX(-3px)}
  .self-photo-gallery__heading .self-photo-heading__ja{padding-left:1.12px;line-height:1;letter-spacing:1.12px}
  .self-photo-gallery__carousel{width:auto;margin:0 0 0 42px;transform:none}
  .self-photo-gallery__viewport{width:calc(100vw - 85px)}
  .self-photo-gallery__viewport{container-type:normal}
  .self-photo-gallery__track{gap:18.66px 25px;height:381.038px}
  .self-photo-gallery__item{width:141.294px}
  .self-photo-gallery__item:nth-child(8n+1):not(:first-child),.self-photo-gallery__item:nth-child(8n+2):not(:nth-child(2)){margin-left:0}
  .self-photo-gallery__item--initial-3{top:0}
  .self-photo-gallery__photo{width:141.294px;aspect-ratio:141.294/181.189}
  .self-photo-gallery__arrow{width:31.848px;height:31.848px;transform:none}
  .self-photo-gallery__arrow img{width:31.848px;height:31.848px}
  .self-photo-gallery__arrow--prev{top:177.4px;right:auto;left:-37px}
  .self-photo-gallery__arrow--next{top:175.3px;left:calc(100vw - 85px)}

  /* 備品一覧（SP 795:2155） */
  .self-photo-items{min-height:908px;padding:60px 0}
  /* Figmaの枠が x=-1 のため見出し・一覧・ボタンを1px左へ */
  .self-photo-items__heading{position:relative;left:-1px;height:auto;margin-bottom:60px!important}
  .self-photo-items__heading .self-photo-heading__en{color:var(--color-green)}
  .self-photo-items__list{grid-template-columns:repeat(2,166.909px);gap:22.023px 23.182px;transform:translateX(-1px)}
  .self-photo-items__card{gap:10.85px;min-height:170.998px;padding:10.417px 8.85px 9px;box-shadow:4.287px 4.287px 2.895px rgba(173,173,173,.25)}
  /* Figma SPでは写真が枠（149.2×126.73）より右下へ少し大きく（151.27×131.07）見えている。品名の位置は枠の高さで保つ */
  .self-photo-items__photo-picture{width:101.387%;aspect-ratio:151.27/131.07;margin-bottom:-2.91%;border-radius:3.591px}
  .self-photo-items__photo{border-radius:3.591px}
  .self-photo-items__name,.self-photo-items__card--medium .self-photo-items__name,.self-photo-items__card--small .self-photo-items__name{width:auto;min-height:13.02px;font-size:8.516px;line-height:13.02px;letter-spacing:.6813px}
  .self-photo-items__name{position:relative;top:1px}
  .self-photo-items__button{left:-1px;margin-top:60px}

  /* スタジオマップ（SP 795:2150） */
  .self-photo-map{gap:60px;min-height:492px;padding:60px 0}
  .self-photo-map__title{left:-2px;width:313px;color:var(--color-charcoal);font-size:32px}
  .self-photo-map__image{left:-2px;width:calc(100% + 1px);max-width:none;margin-bottom:1.48px}

  /* 料金（SP 795:2121） */
  .self-photo-price{min-height:692px}
  .self-photo-price__deco{left:calc(50% - 198.5px);width:393px;height:97.82px}
  .self-photo-price__leaf{top:453.96px;left:-72.15px;width:489.9px;height:261.2px}
  .self-photo-price__inner{left:-2px;gap:60px;padding:60px 18px}
  .self-photo-price__title{width:313px;font-size:32px}
  .self-photo-price__list{left:0;flex-direction:column;gap:21px;width:100%;height:auto}
  .self-photo-price__card{gap:17px;width:100%;height:142px;padding:20px 0;box-shadow:9.55px 9.55px 6.45px rgba(173,173,173,.25)}
  .self-photo-price__card--photographer{gap:16px;height:207px}
  .self-photo-price__name,.self-photo-price__card--self .self-photo-price__name,.self-photo-price__card--photographer .self-photo-price__name{height:27px;letter-spacing:0}
  .self-photo-price__card--photographer .self-photo-price__name{padding-left:.8px;letter-spacing:.8px}
  .self-photo-price__amount,.self-photo-price__card--photographer .self-photo-price__amount{display:block;height:auto;margin-bottom:-17px!important;padding-left:0}
  .self-photo-price__name{line-height:27px}
  .self-photo-price__amount{position:relative;top:2px}
  .self-photo-price__note{position:relative;top:-1.5px}
  .self-photo-price__detail span{top:0}
  .self-photo-price__tax{margin:0 -7.4px 0 -6.2px;font-size:15px}
  .self-photo-price__card--self .self-photo-price__name{position:relative;top:2px}
  .self-photo-price__card--photographer .self-photo-price__name{position:relative;top:.5px}
  .self-photo-price__card--self .self-photo-price__amount span:last-child{letter-spacing:2px}
  .self-photo-price__card--photographer .self-photo-price__amount span:first-child{letter-spacing:-.2px}
  .self-photo-price__card--photographer .self-photo-price__tax{margin-left:-6.6px}
  .self-photo-price__card--photographer .self-photo-price__amount span:last-child{position:relative;left:1px}
  .self-photo-price__card--self .self-photo-price__tax{position:relative;top:1px}
  .self-photo-price__card--photographer .self-photo-price__note{margin-bottom:-1px!important}

  /* ご利用の流れ（SP 890:415） */
  .self-photo-flow{padding:60px 18px 88px}
  .self-photo-flow__inner{width:auto;transform:none}
  .self-photo-flow__heading{top:0;height:70px;margin-bottom:40px!important}
  .self-photo-flow__heading .self-photo-heading__ja{position:relative;top:1px}
  .self-photo-flow__heading .self-photo-heading__en{font-size:30px}
  .self-photo-flow__heading .self-photo-heading__ja{padding-left:.88px;font-size:11px;font-weight:600;line-height:2.27;letter-spacing:.88px}
  .self-photo-flow__steps{padding-bottom:0!important}
  .self-photo-flow__steps::before{top:16px;bottom:130px;left:41.5px;width:1px;background:repeating-linear-gradient(to bottom,var(--color-brown) 0 1.9936px,transparent 1.9936px 4.9839px,var(--color-brown) 4.9839px 6.9774px);opacity:.5;transform:none}
  .self-photo-flow__step,.self-photo-flow__step--start,.self-photo-flow__step--data,.self-photo-flow__step--leave{gap:16px;min-height:0}
  .self-photo-flow__step--data,.self-photo-flow__step--leave{height:65px}
  .self-photo-flow__badge--outline,.self-photo-flow__badge--data,.self-photo-flow__badge--leave{height:60px;box-shadow:0 0 0 .5px #d9d9d9,inset 0 0 0 .5px #d9d9d9}
  .self-photo-flow__badge--start{padding-top:10px;line-height:24px}
  .self-photo-flow__badge--outline>span,.self-photo-flow__badge--leave>span{top:0}
  .self-photo-flow__badge--data>span{top:1px}
  .self-photo-flow__badge-small{position:relative;top:1px;height:12.365px;margin-bottom:0;line-height:16.5px}
  .self-photo-flow__body{top:0;flex:1;gap:16px}
  .self-photo-flow__title,.self-photo-flow__step--visit .self-photo-flow__title{height:25px;font-size:20px;line-height:1;letter-spacing:1.6px}
  .self-photo-flow__lead,.self-photo-flow__step--start .self-photo-flow__lead{position:relative;top:-2px;margin-top:-14px!important;margin-bottom:-2px!important;font-size:12px;line-height:16px;letter-spacing:.48px}
  .self-photo-flow__step--data .self-photo-flow__lead,.self-photo-flow__step--leave .self-photo-flow__lead{margin-top:-14px!important}
  .self-photo-flow__notes{position:relative;top:0;display:flex;flex-direction:column;gap:4px;font-size:10px;line-height:15px;letter-spacing:.4px}
  .self-photo-flow__note--wrap{line-height:1.6}
  .self-photo-flow__note--indent{padding-left:1em;text-indent:-1em}
  .self-photo-flow__text{font-size:11px;line-height:18px;letter-spacing:.44px}
  .self-photo-flow__lead{min-height:0}
  .self-photo-flow__step--prepare{min-height:0}
  .self-photo-flow__step--prepare .self-photo-flow__text{min-height:72px}
  .self-photo-flow__step--start .self-photo-flow__text{min-height:162px}
  .self-photo-flow__step--start .self-photo-flow__text{letter-spacing:.44px}
}
@media (max-width:392px){
  .self-photo-hero__button{width:auto;right:40px}
  .self-photo-button{max-width:calc(100% - 40px)}
  /* 本文は393pxと同じく装飾の左右の縦線から17.6px・10.4px内側に置き、縦線が画面外に出る幅では画面端から16px */
  .self-photo-repeat__body{width:auto;margin-left:max(16px,calc(50% - 161.5px));margin-right:max(16px,calc(50% - 156.5px))}
  /* 本文が4行に折り返してセクションが伸びても下の横線が本文にかからないよう、装飾を y=186 で上下に分け、下側（下の横線・星・縦線の下端）をセクションの下端に付ける。
     上側は画像を切り抜き、下側は同じSVGを ::before の背景として同じ横位置に描く。本文が3行以内なら1枚の画像と同じ位置になる */
  .self-photo-repeat .self-photo-repeat__deco--sp{clip-path:inset(0 0 68px 0)}
  .self-photo-repeat::before{content:"";position:absolute;right:0;bottom:0;left:0;height:68px;background:url("../images/self-photo/deco-repeat-sp.svg") calc(50% - 1.817px) 100%/391.726px 254px no-repeat;pointer-events:none}
  .self-photo-voice__list{width:auto;margin-inline:10px!important}
  .self-photo-voice__card{grid-template-columns:auto minmax(0,188px)}
  .self-photo-voice__comment,.self-photo-voice__card--initial-2 .self-photo-voice__comment,.self-photo-voice__card--initial-3 .self-photo-voice__comment{width:auto;max-width:294px;margin-inline:16px!important}
  .self-photo-items__list{grid-template-columns:repeat(2,minmax(0,166.909px));width:calc(100% - 20px);margin-inline:auto!important;justify-content:center}
  .self-photo-topics__list{grid-template-columns:minmax(0,308.6px)}
  .self-photo-topics__inner{padding-inline:6px}
  .self-photo-reasons__list{grid-template-columns:repeat(2,minmax(0,139.5px));gap:30px 16px}
  .self-photo-flow .self-photo-br-sp{display:none}
}

/* ---- 途中幅（2026-10-28）: 全幅の横線を画面端まで延長 ----
   装飾SVG（1440px / 393px）が画面より狭くなる幅で、基準幅で画面端に届いていた横線だけを ::before で外側へ継ぎ足す。
   線の y・太さ・色・線端と画面端の距離は装飾SVGと基準幅の描画に合わせた値。基準幅（1440px・393px）では描かない。 */
@media (min-width:1441px){
  /* 料金の葉の影は右端近くで透明度が急に切れる。1440pxで画面外（右へ68.3pxはみ出す）にある切れ目が見えないよう、広い幅では右端からの位置を保つ */
  .self-photo-price__leaf{left:calc(100% - 1229.5px)}
  .self-photo-topics::before,.self-photo-repeat::before,.self-photo-voice::before,.self-photo-gallery::before,.self-photo-price::before{content:"";position:absolute;top:0;left:0;right:0;background-repeat:no-repeat;pointer-events:none}
  .self-photo-topics::before{height:1468px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1468' preserveAspectRatio='none'%3E%3Cpath d='M0 151H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1468' preserveAspectRatio='none'%3E%3Cpath d='M0 153.818H1M0 581H1M0 1271H1M0 1411H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 0px top 0;background-size:max(0px,calc(50% - 720px)) 1468px,max(0px,calc(50% - 720px)) 1468px}
  .self-photo-repeat::before{height:337.417px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 337.417' preserveAspectRatio='none'%3E%3Cpath d='M0 70.0007H1M0 246.001H1' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 337.417' preserveAspectRatio='none'%3E%3Cpath d='M0 71.0009H1M0 245.535H1' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 0px top 0;background-size:max(0px,calc(50% - 720px)) 337.417px,max(0px,calc(50% - 720px)) 337.417px}
  .self-photo-voice::before{height:1332px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1332' preserveAspectRatio='none'%3E%3Cpath d='M0 137H1' stroke='%235D3B2C' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1332' preserveAspectRatio='none'%3E%3Cpath d='M0 137.471H1' stroke='%235D3B2C' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 0px top 0;background-size:max(0px,calc(50% - 720px)) 1332px,max(0px,calc(50% - 720px)) 1332px}
  .self-photo-gallery::before{height:995.5px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 995.5' preserveAspectRatio='none'%3E%3Cpath d='M0 137.471H1M0 995H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 995.5' preserveAspectRatio='none'%3E%3Cpath d='M0 137.471H1M0 995H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 0px top 0;background-size:max(0px,calc(50% - 720px)) 995.5px,max(0px,calc(50% - 720px)) 995.5px}
  .self-photo-price::before{height:281.643px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 281.643' preserveAspectRatio='none'%3E%3Cpath d='M0 138.63H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 281.643' preserveAspectRatio='none'%3E%3Cpath d='M0 135.342H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 7px top 0;background-size:max(0px,calc(50% - 724px)) 281.643px,max(0px,calc(50% - 720px)) 281.643px}
}
@media (min-width:394px) and (max-width:767px){
  /* 料金の葉の影: 393pxで右へ24.75pxはみ出す位置を保ち、右端近くの切れ目を画面外に置く */
  .self-photo-price__leaf{left:calc(100% - 465.15px)}
  .self-photo-topics::before,.self-photo-repeat::before,.self-photo-voice::before,.self-photo-gallery::before,.self-photo-price::before{content:"";position:absolute;top:0;left:0;right:0;background-repeat:no-repeat;pointer-events:none}
  .self-photo-topics::before{height:1649px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 76.0001H1M0 672H1M0 1472H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 1634H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 77.4541H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 672.82H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 1471.87H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1649' preserveAspectRatio='none'%3E%3Cpath d='M0 1634H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,2.001px 0,right 0px top 0,right 1px top 0,right 0.998px top 0,right 2px top 0;background-size:max(0px,calc(50% - 196.499px)) 1649px,max(0px,calc(50% - 196.501px)) 1649px,max(0px,calc(50% - 196.501px)) 1649px,max(0px,calc(50% - 196.5px)) 1649px,max(0px,calc(50% - 196.5px)) 1649px,max(0px,calc(50% - 196.501px)) 1649px}
  .self-photo-repeat::before{height:254px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 254' preserveAspectRatio='none'%3E%3Cpath d='M0 52.3632H1' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 254' preserveAspectRatio='none'%3E%3Cpath d='M0 188.999H1' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 254' preserveAspectRatio='none'%3E%3Cpath d='M0 52.3631H1' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 254' preserveAspectRatio='none'%3E%3Cpath d='M0 188.999H1' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");background-position:0px 0,0px 0,right 2.816px top 0,right 2.454px top 0;background-size:max(0px,calc(50% - 197.68px)) 254px,max(0px,calc(50% - 196.5px)) 254px,max(0px,calc(50% - 196.5px)) 254px,max(0px,calc(50% - 196.5px)) 254px}
  .self-photo-voice::before{height:1226px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1226' preserveAspectRatio='none'%3E%3Cpath d='M0 74.8501H1' stroke='%235D3B2C' stroke-width='0.271409'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1226' preserveAspectRatio='none'%3E%3Cpath d='M0 74.9798H1' stroke='%235D3B2C' stroke-width='0.271409'/%3E%3C/svg%3E");background-position:0px 0,right 5px top 0;background-size:max(0px,calc(50% - 201.5px)) 1226px,max(0px,calc(50% - 196.5px)) 1226px}
  .self-photo-gallery::before{height:620px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 620' preserveAspectRatio='none'%3E%3Cpath d='M0 78.691H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 620' preserveAspectRatio='none'%3E%3Cpath d='M0 355.591H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 620' preserveAspectRatio='none'%3E%3Cpath d='M0 355.591H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 620' preserveAspectRatio='none'%3E%3Cpath d='M0 78.014H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,42px 0,right 3px top 0,right 3.405px top 0;background-size:max(0px,calc(50% - 199.5px)) 620px,max(0px,calc(50% - 196.5px)) 620px,max(0px,calc(50% - 196.5px)) 620px,max(0px,calc(50% - 196.5px)) 620px}
  /* ギャラリー左下の弧は393pxで前へボタン（画面左端基準）に添う。中央基準の装飾からは弧の範囲（装飾の x<45・y>300）を切り抜き、
     弧と中段の横線の左端42pxは ::after に393pxと同じ左端基準で描き、393pxと同じく写真・矢印の下に置く。中段の横線の残り（42px〜切り抜きの右端）は ::before で継ぐ */
  .self-photo-gallery .self-photo-gallery__deco--sp{clip-path:polygon(0 0,100% 0,100% 100%,45px 100%,45px 300px,0 300px)}
  .self-photo-gallery::after{content:"";position:absolute;top:300px;left:0;width:42px;height:130px;background:url("../images/self-photo/deco-gallery-sp.svg") -3px -300px/393px 620px no-repeat;pointer-events:none}
  .self-photo-gallery__carousel{z-index:1}
  .self-photo-price::before{height:97.82px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 97.82' preserveAspectRatio='none'%3E%3Cpath d='M0 81.8953H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 97.82' preserveAspectRatio='none'%3E%3Cpath d='M0 81.0988H1' stroke='%23EEEBE4' stroke-width='1'/%3E%3C/svg%3E");background-position:0px 0,right 1.999px top 0;background-size:max(0px,calc(50% - 198.5px)) 97.82px,max(0px,calc(50% - 196.5px)) 97.82px}
}

@media (prefers-reduced-motion:reduce){
  .self-photo-gallery__viewport{scroll-behavior:auto}
}

/* 印刷: 横スクロールの帯を縦に並べて24枚すべてを出す */
@media print{
  .self-photo-gallery__viewport{overflow:visible}
  .self-photo-gallery__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;height:auto}
  .self-photo-gallery__item,.self-photo-gallery__item:nth-child(n){width:auto;margin-left:0;break-inside:avoid}
  .self-photo-gallery__photo{width:100%}
  .self-photo-gallery__arrow{display:none!important}
}
