/* オーダーメイド：STORY（ご相談／デザインの考案／完成／担当者より・費用）。寸法の単位と見出し・引用枠は ordermade.css。 */
.ordermade-story__photo{overflow:hidden}
.ordermade-story__photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.ordermade-story__photo--before img{object-position:50% 43.4%}
.ordermade-story__photo--after img{object-position:50% 44.43%}
.ordermade-story__arrow{position:absolute;display:block;max-width:none;pointer-events:none}
.ordermade-story__arrow--turn-sp{display:none}
.ordermade-story__title{font-weight:500;letter-spacing:.15em}
.ordermade-story__text{letter-spacing:.15em}

.ordermade-story-message__staff{margin:0}
.ordermade-story-message__staff-photo{display:block;max-width:none;border-radius:50%;object-fit:cover}
.ordermade-story-message__staff-name{letter-spacing:.15em;white-space:nowrap}
.ordermade-story-message__cost{box-sizing:border-box;background:var(--agria-surface)}
.ordermade-story-message__cost-title{font-weight:500;letter-spacing:.15em}
.ordermade-story-message__cost-total{letter-spacing:.15em}
.ordermade-story-message__cost-tag{display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid var(--agria-line);letter-spacing:.15em}
.ordermade-story-message__cost-tag span{padding-left:.15em}
.ordermade-story-message__cost-list{letter-spacing:.15em}

@media (min-width:768px){
.ordermade-story__photo{position:absolute}
.ordermade-story__photo--right{left:calc(841*var(--u));right:var(--bleed)}
.ordermade-story__photo--left{left:var(--bleed);width:calc(671*var(--u) - var(--bleed))}
.ordermade-story__title{font-size:calc(33*var(--u));line-height:calc(64.4*var(--u))}
.ordermade-story__text{font-size:calc(20*var(--u));line-height:calc(44.4*var(--u))}
.ordermade-story__quote .ordermade-quote__text{font-size:calc(20*var(--u));line-height:calc(44.4*var(--u))}

.ordermade-story__inner{min-height:calc(840*var(--u));padding:calc(202*var(--u)) 0 calc(146*var(--u) - 1px)}
.ordermade-story__smoke{top:calc(103.5*var(--u));right:calc(var(--bleed) - 104.5*var(--u));width:calc(839*var(--u));height:calc(632*var(--u));transform:rotate(-90deg) scaleY(-1)}
.ordermade-story__heading{margin-left:calc(177*var(--u))}
.ordermade-story__photo--before{top:calc(297*var(--u));height:calc(504*var(--u))}
.ordermade-story__quote--request{box-sizing:border-box;width:calc(537*var(--u));margin:calc(84.6*var(--u)) 0 0 calc(186*var(--u));padding:calc(23*var(--u)) calc(36*var(--u)) calc(23*var(--u)) calc(40*var(--u));--quote-top:calc(167*var(--u));--quote-bottom:calc(167*var(--u))}

.ordermade-story-design__inner{min-height:calc(1252*var(--u));padding:calc(285.1*var(--u)) 0 calc(100.2*var(--u) - 1px)}
.ordermade-story-design__smoke{top:calc(915*var(--u));left:var(--bleed);width:calc(213*var(--u));height:calc(839*var(--u));transform:scaleY(-1)}
.ordermade-story__arrow--turn{top:0;left:calc(433*var(--u));width:calc(644.797*var(--u));height:calc(193.689*var(--u))}
.ordermade-story__photo--design{top:calc(157*var(--u));height:calc(485*var(--u))}
.ordermade-story-design__title{margin-left:calc(786*var(--u))}
.ordermade-story-design__text--customer{width:calc(622*var(--u));margin:calc(41.3*var(--u)) 0 0 calc(786*var(--u))}
.ordermade-story-design__text--issue{width:calc(1238*var(--u));margin:calc(41.2*var(--u)) 0 0 calc(177*var(--u))}
.ordermade-story__quote--design{box-sizing:border-box;width:calc(1123*var(--u));margin:calc(56.8*var(--u)) 0 0 calc(194*var(--u));padding:calc(26*var(--u)) calc(29*var(--u)) calc(23.2*var(--u)) calc(34*var(--u));--quote-top:calc(90*var(--u));--quote-bottom:calc(90*var(--u));--quote-close-x:calc(-8*var(--u));--quote-close-y:calc(-11*var(--u))}
.ordermade-story-design__text--answer{width:calc(1238*var(--u));margin:calc(61*var(--u)) 0 0 calc(177*var(--u))}

.ordermade-story-finish__inner{min-height:calc(1061*var(--u));padding:calc(307.3*var(--u)) 0 calc(90.8*var(--u) - 1px)}
.ordermade-story__arrow--down{top:0;left:calc(440.5*var(--u));width:calc(20*var(--u));height:calc(203.189*var(--u))}
.ordermade-story__photo--after{top:calc(100*var(--u));height:calc(683*var(--u))}
.ordermade-story-finish__title{margin-left:calc(176*var(--u))}
.ordermade-story-finish__text--smile{width:calc(622*var(--u));margin:calc(41.3*var(--u)) 0 0 calc(176*var(--u))}
.ordermade-story__quote--finish{box-sizing:border-box;width:calc(537*var(--u));margin:calc(56.2*var(--u)) 0 0 calc(189*var(--u));padding:calc(24*var(--u)) calc(37*var(--u)) calc(23.4*var(--u)) calc(39*var(--u));--quote-top:calc(167*var(--u));--quote-bottom:calc(124*var(--u));--quote-close-x:calc(-6*var(--u));--quote-close-y:calc(-4*var(--u))}
.ordermade-story-finish__text--result{width:calc(1161*var(--u));margin:calc(54*var(--u)) 0 0 calc(177*var(--u))}

.ordermade-story-message__inner{min-height:calc(578*var(--u))}
.ordermade-story-message__row{position:relative}
.ordermade-story-message__staff{position:absolute;top:calc(17*var(--u));left:calc(177*var(--u))}
.ordermade-story-message__staff-photo{width:calc(130*var(--u));height:calc(130*var(--u))}
.ordermade-story-message__staff-name{margin:calc(8*var(--u)) 0 0 calc(26*var(--u));font-size:calc(13*var(--u));line-height:calc(19*var(--u))}
.ordermade-story-message__quote{box-sizing:border-box;width:calc(982*var(--u));margin-left:calc(352*var(--u));padding:calc(24.2*var(--u)) calc(24*var(--u)) calc(25.2*var(--u)) calc(25*var(--u));--quote-inset:calc(603*var(--u));--quote-top:calc(79*var(--u));--quote-bottom:calc(79*var(--u))}
.ordermade-story-message__quote .ordermade-quote__text{font-size:calc(18*var(--u));line-height:calc(35.4*var(--u))}
.ordermade-story-message__cost{width:calc(1159*var(--u));height:calc(297*var(--u));margin:calc(90*var(--u)) 0 0 calc(177*var(--u));padding:calc(44*var(--u)) 0 0 calc(80*var(--u))}
.ordermade-story-message__cost-title{font-size:calc(25*var(--u));line-height:calc(37*var(--u))}
.ordermade-story-message__cost-total{margin-top:calc(24.3*var(--u));font-size:calc(20*var(--u));line-height:calc(45.4*var(--u));white-space:nowrap}
.ordermade-story-message__cost-guide{display:flex;margin-top:calc(24.3*var(--u))}
.ordermade-story-message__cost-tag{flex:none;width:calc(186*var(--u));height:calc(42*var(--u));font-size:calc(20*var(--u));line-height:calc(40*var(--u))}
.ordermade-story-message__cost-list{margin:calc(5.1*var(--u)) 0 0 calc(32*var(--u));font-size:calc(20*var(--u));line-height:calc(36.4*var(--u))}
/* 行位置の補正（PC）：Figma は行の縦位置を切り上げ気味に、Chrome は四捨五入で置くため、文字が 1px 上にずれる行が出る。基準幅 1512px で計測した 1px 未満のずらし量を入れている（tools/compare-all.mjs の参照画像との重心差で確認）。 */
.ordermade-story__quote--request .ordermade-quote__text{position:relative;top:.95px}
.ordermade-story-design__title{position:relative;top:.7px}
.ordermade-story-design__text--customer{position:relative;top:.65px}
.ordermade-story-design__text--issue{position:relative;top:.85px}
.ordermade-story__quote--design .ordermade-quote__text{position:relative;top:.75px}
.ordermade-story-design__text--answer{position:relative;top:.75px}
.ordermade-story-finish__title{position:relative;top:.75px}
.ordermade-story-finish__text--smile{position:relative;top:.75px}
.ordermade-story__quote--finish .ordermade-quote__text{position:relative;top:.85px}
.ordermade-story-finish__text--result{position:relative;top:.85px}
.ordermade-story-message__quote .ordermade-quote__text{position:relative;top:.4px}
.ordermade-story-message__cost-tag span{position:relative;top:.9px}
.ordermade-story-message__cost-list{position:relative;top:.7px}
}

/* Figma の切り抜き（基準幅以下。写真が画面端まで広がる 1513px 以上と、差し替え後の画像は cover）。 */
@media (min-width:768px) and (max-width:1512px){
.ordermade-story__photo--before img[src*="/ordermade/story-before."]{position:absolute;top:-14.38%;left:0;width:100%;height:133.13%;object-fit:fill}
.ordermade-story__photo--design img[src*="/ordermade/story-design."]{position:absolute;top:0;left:-4.32%;width:108.63%;height:100.21%;object-fit:fill}
.ordermade-story__photo--after img[src*="/ordermade/story-after."]{position:absolute;top:-13.77%;left:.07%;width:100.07%;height:131.08%;object-fit:fill}
}

@media (max-width:767px){
.ordermade-story__photo{position:relative}
.ordermade-story__title{font-size:calc(22*var(--u));line-height:calc(32*var(--u))}
.ordermade-story__text{font-size:calc(13*var(--u));letter-spacing:.1em}
.ordermade-story__quote{box-sizing:border-box;width:calc(355*var(--u));margin-left:calc(10*var(--u))}
.ordermade-story__quote .ordermade-quote__text{margin-right:-.15em;font-size:calc(16*var(--u));line-height:calc(32*var(--u))}

.ordermade-story__inner{min-height:calc(781*var(--u));padding-bottom:calc(38*var(--u) - 1px)}
.ordermade-story__smoke{top:calc(-44.5*var(--u));left:calc(-73.5*var(--u));width:calc(839*var(--u));height:calc(632*var(--u));transform:rotate(-90deg) scaleY(-1)}
.ordermade-story__heading{margin-left:calc(10*var(--u))}
.ordermade-story__photo--before{width:calc(360*var(--u));height:calc(270*var(--u));margin:calc(40*var(--u)) 0 0 calc(62*var(--u))}
.ordermade-story__photo--before img[src*="/ordermade/story-before."]{position:absolute;top:-14.38%;left:0;width:100%;height:133.13%;object-fit:fill}
.ordermade-story__quote--request{margin-top:calc(47*var(--u));padding:calc(56*var(--u)) 0 calc(56*var(--u)) calc(2*var(--u))}

.ordermade-story-design__inner{min-height:calc(1301*var(--u));padding:calc(179*var(--u)) 0 calc(20*var(--u) - 1px)}
.ordermade-story-design__smoke,.ordermade-story__arrow--turn{display:none}
.ordermade-story__arrow--turn-sp{top:0;left:calc(52.5*var(--u));display:block;width:calc(278.797*var(--u));height:calc(193.689*var(--u))}
.ordermade-story__photo--design{width:calc(279*var(--u));height:calc(260*var(--u))}
.ordermade-story__photo--design img[src*="/ordermade/story-design."]{position:absolute;top:0;left:calc(-20.8*var(--u));width:calc(391.07*var(--u));height:calc(260.55*var(--u));object-fit:fill}
.ordermade-story-design__title{margin:calc(20*var(--u)) calc(10*var(--u) - .15em) 0 calc(10*var(--u));text-align:center}
.ordermade-story-design__text{line-height:calc(25*var(--u));text-align:center}
.ordermade-story-design__text--customer{margin:calc(20*var(--u)) calc(10*var(--u) - .1em) 0 calc(10*var(--u))}
.ordermade-story-design__text--issue{margin:calc(40*var(--u)) calc(10*var(--u) - .1em) 0 calc(10*var(--u))}
.ordermade-story__quote--design{margin-top:calc(37*var(--u));padding:calc(43*var(--u)) calc(10*var(--u)) calc(43*var(--u)) calc(11*var(--u))}
.ordermade-story-design__text--answer{margin:calc(27*var(--u)) calc(9*var(--u)) 0 calc(11*var(--u));line-height:calc(30*var(--u));text-align:left}

.ordermade-story-finish__inner{min-height:calc(963*var(--u));padding-bottom:calc(20*var(--u) - 1px)}
.ordermade-story__arrow--down{top:calc(140*var(--u));left:calc(19.5*var(--u));width:calc(20*var(--u));height:calc(203.189*var(--u))}
.ordermade-story__photo--after{width:calc(289*var(--u));height:calc(294*var(--u));margin-left:calc(76*var(--u))}
.ordermade-story__photo--after img[src*="/ordermade/story-after."]{position:absolute;top:-13.77%;left:.07%;width:100.07%;height:131.08%;object-fit:fill}
.ordermade-story-finish__title{margin:calc(119*var(--u)) calc(10*var(--u)) 0}
.ordermade-story-finish__text{line-height:calc(30*var(--u))}
.ordermade-story-finish__text--smile{margin:calc(20*var(--u)) calc(10*var(--u)) 0}
.ordermade-story__quote--finish{margin:calc(27*var(--u)) 0 0 calc(9*var(--u));padding:calc(43*var(--u)) calc(10*var(--u)) calc(43*var(--u)) calc(11*var(--u))}
.ordermade-story-finish__text--result{margin:calc(27*var(--u)) calc(10*var(--u)) 0}

.ordermade-story-message__inner{min-height:calc(981*var(--u));padding-bottom:calc(140*var(--u) - 1px)}
.ordermade-story-message__staff-photo{width:calc(130*var(--u));height:calc(130*var(--u));margin-left:calc(121.5*var(--u))}
.ordermade-story-message__staff-name{margin:calc(8*var(--u)) 0 0 calc(147.5*var(--u));font-size:calc(13*var(--u));line-height:calc(19*var(--u))}
.ordermade-story-message__quote{box-sizing:border-box;width:calc(355*var(--u));margin:calc(20*var(--u)) 0 0 calc(10*var(--u));padding:calc(58*var(--u)) 0 calc(79*var(--u));--quote-inset:calc(55*var(--u));--quote-top:calc(79*var(--u));--quote-bottom:calc(79*var(--u))}
.ordermade-story-message__quote .ordermade-quote__text{font-size:calc(14*var(--u));line-height:calc(30*var(--u));letter-spacing:.1em}
.ordermade-story-message__cost{width:calc(355*var(--u));min-height:calc(297*var(--u));margin:calc(20*var(--u)) 0 0 calc(10*var(--u));padding:calc(25.8*var(--u)) calc(19*var(--u)) calc(15*var(--u)) calc(20*var(--u))}
.ordermade-story-message__cost-title{font-size:calc(20*var(--u));line-height:calc(20*var(--u))}
.ordermade-story-message__cost-total{margin-top:calc(14.2*var(--u));font-size:calc(14*var(--u));line-height:calc(30*var(--u));white-space:nowrap}
.ordermade-story-message__cost-guide{margin-top:calc(15*var(--u))}
.ordermade-story-message__cost-tag{width:calc(140*var(--u));height:calc(42*var(--u));font-size:calc(14*var(--u));line-height:calc(40*var(--u))}
.ordermade-story-message__cost-list{margin-top:calc(15*var(--u));font-size:calc(14*var(--u));line-height:calc(30*var(--u));white-space:nowrap}
/* 行位置の補正（SP）：基準幅 375px で計測した 1px 前後のずらし量（PC と同じ理由）。 */
.ordermade-story-design__text--answer{position:relative;top:.95px}
.ordermade-story-finish__text{position:relative;top:.95px}
.ordermade-story-message__cost-title{position:relative;top:1.25px}
.ordermade-story-message__cost-tag span{position:relative;top:1.05px}
/* 字間つきの文章は、行末の字間ぶんだけ箱を右へ広げる（Figma は行末の字間を幅に数えないため、折り返し位置を合わせる）。 */
.ordermade-story-finish__title{margin-right:calc(10*var(--u) - .15em)}
.ordermade-story-design__text--answer{margin-right:calc(9*var(--u) - .1em)}
.ordermade-story-finish__text--smile,.ordermade-story-finish__text--result{margin-right:calc(10*var(--u) - .1em)}
}
