/* オーダーメイド：SERVICE（ご案内メニュー）。寸法の単位と見出しは ordermade.css。 */
.ordermade-service__list{display:flex;align-items:flex-start;margin:0;padding:0;list-style:none}
.ordermade-service__card{flex:none}
.ordermade-service__photo{position:relative;overflow:hidden}
.ordermade-service__photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
/* Figma の切り抜き（オーダーメイドの写真は書き出し画像を枠の比率に引き伸ばして使われている）。差し替え後の画像は cover のまま。 */
.ordermade-service__photo img[src*="/ordermade/service-ordermade."]{object-fit:fill}
.ordermade-service__photo img[src*="/ordermade/service-shop."]{position:absolute;top:-58.22%;left:-20.31%;width:133.5%;height:200.23%;object-fit:fill}
.ordermade-service__photo img[src*="/ordermade/service-buying."]{position:absolute;top:-2.45%;left:-22.53%;width:145.36%;height:102.53%;object-fit:fill}
.ordermade-service__title{display:flex;align-items:center;font-weight:500;letter-spacing:.15em}
.ordermade-service__text{letter-spacing:.15em}
.ordermade-service__link{position:relative;display:block;box-sizing:border-box;border-top:1px solid var(--agria-line)}
.ordermade-service__link-label{display:block;letter-spacing:.1em;white-space:nowrap}
.ordermade-service__link-arrow{position:absolute;max-width:none}
.ordermade-service{--ordermade-sans:'Noto Sans JP','Hiragino Sans','Yu Gothic',sans-serif}
.ordermade-service__hint{display:none}
@media (hover:hover){.ordermade-service__link:hover .ordermade-service__link-label{opacity:.6}}

@media (min-width:768px){
.ordermade-service__inner{min-height:calc(1708*var(--u));padding:calc(248*var(--u)) 0 calc(350*var(--u) - 1px)}
.ordermade-service__smoke{top:0;left:var(--bleed);width:calc(619*var(--u));height:calc(1000*var(--u))}
.ordermade-service__heading{margin-left:calc(640*var(--u));padding-top:calc(3*var(--u))}
.ordermade-service__heading .ordermade-heading__ja{margin-right:-.15em}
.ordermade-service__list{margin:calc(158.6*var(--u)) 0 0 calc(101*var(--u))}
.ordermade-service__card{width:calc(283.96*var(--u))}
.ordermade-service__card--ordermade{margin:calc(141*var(--u)) 0 0 calc(53.1*var(--u))}
.ordermade-service__card--buying{margin-left:calc(52.96*var(--u))}
.ordermade-service__card--repair{margin:calc(141.98*var(--u)) 0 0 calc(69.1*var(--u))}
.ordermade-service__photo{height:calc(284*var(--u))}
.ordermade-service__card--buying .ordermade-service__photo{width:calc(299.96*var(--u))}
.ordermade-service__card--repair .ordermade-service__photo{height:calc(283*var(--u))}
.ordermade-service__title{height:calc(75*var(--u));margin-top:calc(18*var(--u));font-size:calc(28*var(--u));line-height:calc(37.4*var(--u))}
.ordermade-service__card--buying .ordermade-service__title{margin-top:calc(17*var(--u))}
.ordermade-service__text{font-size:calc(16*var(--u));line-height:calc(27.4*var(--u))}
.ordermade-service__text + .ordermade-service__text{margin-top:calc(27.4*var(--u))}
.ordermade-service__link{height:calc(70*var(--u));margin-top:calc(30.2*var(--u) - 1px);padding:calc(4*var(--u)) 0 0 calc(59*var(--u));font-size:calc(16*var(--u));line-height:calc(65*var(--u))}
.ordermade-service__card--repair .ordermade-service__link{margin-top:calc(3.2*var(--u) - 1px)}
.ordermade-service__link-arrow{top:calc(32.5*var(--u));left:calc(197.46*var(--u));width:calc(28.6931*var(--u));height:calc(6.50006*var(--u))}
/* 行位置の補正（PC）：Figma は行の縦位置を切り上げ気味に、Chrome は四捨五入で置くため、文字が 1px 上にずれる行が出る。基準幅 1512px で計測した 1px 未満のずらし量を入れている（tools/compare-all.mjs の参照画像との重心差で確認）。 */
.ordermade-service__text{position:relative;top:.6px}
.ordermade-service__card--ordermade .ordermade-service__title span{position:relative;top:.7px}
}

@media (max-width:767px){
.ordermade-service__inner{min-height:calc(1051*var(--u));padding-bottom:calc(140*var(--u) - 1px)}
.ordermade-service__smoke{display:none}
.ordermade-service__heading{justify-content:flex-end;margin-right:calc(10*var(--u))}
.ordermade-service__heading .ordermade-heading__en{order:1}
.ordermade-service__heading .ordermade-heading__slash{order:2}
.ordermade-service__heading .ordermade-heading__ja{order:3;margin-top:0;text-align:right}
.ordermade-service__scroll{position:relative;margin-top:calc(40*var(--u))}
.ordermade-service__list{padding-left:calc(10*var(--u));overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ordermade-service__list::-webkit-scrollbar{display:none}
.ordermade-service__card{width:calc(284*var(--u))}
.ordermade-service__card--ordermade{margin:calc(141*var(--u)) 0 0 calc(40*var(--u))}
.ordermade-service__card--buying{margin-left:calc(40*var(--u))}
.ordermade-service__card--repair{margin:calc(142*var(--u)) 0 0 calc(56*var(--u));padding-right:calc(49*var(--u));box-sizing:content-box}
.ordermade-service__photo{height:calc(284*var(--u))}
.ordermade-service__card--buying .ordermade-service__photo{width:calc(300*var(--u))}
.ordermade-service__card--repair .ordermade-service__photo{height:calc(283*var(--u))}
.ordermade-service__title{height:calc(75*var(--u));margin-top:calc(18*var(--u));font-size:calc(24*var(--u));line-height:calc(37.4*var(--u))}
.ordermade-service__card--buying .ordermade-service__title{margin-top:calc(16.5*var(--u))}
.ordermade-service__text{font-size:calc(14*var(--u));line-height:calc(27.4*var(--u))}
.ordermade-service__text + .ordermade-service__text{margin-top:calc(27.4*var(--u))}
.ordermade-service__link{height:calc(70*var(--u));margin-top:calc(30.2*var(--u) - 1px);padding:calc(4*var(--u)) 0 0 calc(59*var(--u));font-size:calc(16*var(--u));line-height:calc(65*var(--u))}
.ordermade-service__card--repair .ordermade-service__link{margin-top:calc(3.2*var(--u) - 1px)}
.ordermade-service__link-arrow{top:calc(32.5*var(--u));left:calc(197.46*var(--u));width:calc(28.6931*var(--u));height:calc(6.50006*var(--u))}
/* 横スクロールの案内。最初のスクロールで消す（assets/js/ordermade-service.js）。 */
.ordermade-service__hint{position:absolute;top:calc(235*var(--u));left:calc(102*var(--u));display:block;width:calc(170*var(--u));height:calc(170*var(--u));margin:0;border-radius:calc(10*var(--u));background:rgb(74 74 74 / .2);pointer-events:none}
.ordermade-service__hint.is-hidden{display:none}
.ordermade-service__hint img{position:absolute;display:block;max-width:none}
.ordermade-service__hint-hand{top:calc(43.13*var(--u));left:calc(48.84*var(--u));width:calc(73.0874*var(--u));height:calc(56.7196*var(--u));transform:rotate(-90deg)}
.ordermade-service__hint-arrow{width:calc(23.6665*var(--u));height:calc(23.625*var(--u))}
.ordermade-service__hint-arrow--left{top:calc(31.69*var(--u));left:calc(38.67*var(--u));transform:rotate(-90deg)}
.ordermade-service__hint-arrow--right{top:calc(32*var(--u));left:calc(100.95*var(--u));transform:rotate(90deg) scaleX(-1)}
.ordermade-service__hint-label{position:absolute;top:calc(119*var(--u));left:calc(13*var(--u));color:#fff;font-family:var(--ordermade-sans);font-size:calc(16*var(--u));font-weight:600;line-height:calc(32*var(--u));white-space:nowrap}
/* 行位置の補正（SP）：基準幅 375px で計測した 1px 前後のずらし量（PC と同じ理由）。 */
.ordermade-service__card--shop .ordermade-service__title span{position:relative;top:-1.25px}
.ordermade-service__card--ordermade .ordermade-service__title span{position:relative;top:-.25px}
.ordermade-service__text{position:relative;top:.35px}
.ordermade-service__heading .ordermade-heading__ja{margin-right:calc(-.15em - 1*var(--u))}
.ordermade-service__hint-label{margin-top:.55px}
}
