/* 事業内容（/services/）と詳細4ページ専用 */

/* 事業内容：サービスの行 */
.svc{scroll-margin-top:calc(var(--header-h) + 16px)}
.svc + .svc{border-top:1px solid var(--c-rule)}
.svc__head .h2{margin-bottom:.9rem}
@media (min-width:1024px){.svc__head{position:sticky;top:calc(var(--header-h) + 1.5rem)}}
.row{display:grid;gap:.15rem;line-height:1.8}
.row__label{font-weight:700;color:var(--c-ai)}
@media (min-width:768px){.row{grid-template-columns:6.5em 1fr;gap:1rem}}
.row--cost{margin-top:1.25rem;padding-top:1rem;border-top:1px dotted var(--c-mist-line)}
.svc__cta{margin-top:1.25rem}
.svc__cta .btn{width:100%}
@media (min-width:600px){.svc__cta .btn{width:auto}}
.svc--web .h2{margin-bottom:1rem}

/* 詳細ページ */
.section--tight{padding-block:clamp(2.5rem,2rem + 2vw,3.5rem)}
.section--tight .h2{margin-bottom:0}
.stack > .h3 + *{margin-top:.5rem}
.stack > .day2{margin-top:2.25rem}

.bul{border-top:1px solid var(--c-rule)}
.bul li{display:flex;gap:.7rem;align-items:baseline;padding:.7rem 0;border-bottom:1px solid var(--c-rule);line-height:1.75}
.bul li::before{content:"";flex:none;width:7px;height:7px;background:var(--c-sky);transform:translateY(-.15em)}
@media (min-width:600px){
  .bul--2{display:grid;grid-template-columns:1fr 1fr;column-gap:2rem}
}

.seq{counter-reset:seq}
.seq li{position:relative;padding:0 0 1.5rem 3.5rem;line-height:1.8;counter-increment:seq}
.seq li::before{content:counter(seq);position:absolute;left:0;top:0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--c-ai);color:#fff;font-weight:700;font-variant-numeric:tabular-nums}
.seq li::after{content:"";position:absolute;left:19px;top:46px;bottom:6px;border-left:2px dashed var(--c-mist-line)}
.seq li:last-child{padding-bottom:0}
.seq li:last-child::after{display:none}
.seq__t{display:block;font-weight:700;color:var(--c-ai);line-height:1.6;padding-top:.5rem;word-break:auto-phrase}
.seq li p{margin-top:.25rem}
.seq--tight li{padding-bottom:1rem}

.sched{border-top:1px solid var(--c-rule)}
.sched li{display:grid;grid-template-columns:4em 1fr;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--c-rule);line-height:1.7}
.sched time{white-space:nowrap;font-weight:700;color:var(--c-ai);font-variant-numeric:tabular-nums}

.cases{grid-template-columns:1fr}
.results.cases{grid-template-columns:1fr}
.cases .result__what{line-height:1.8}
.cases .num{color:var(--c-ai);font-weight:700}
@media (min-width:600px){
  .cases .result{flex-direction:row}
  .cases .result__art{width:34%;height:auto;min-height:170px;flex:none}
}

.who{display:flex;gap:1.25rem;align-items:center}
.who__photo{flex:none;width:96px;height:96px;border-radius:10px;object-fit:cover;background:var(--c-mist)}
.who__body .figs{margin-top:.5rem}
@media (min-width:768px){.who__photo{width:120px;height:120px}}
.no1box{background:var(--c-mist);border-left:4px solid var(--c-ai);border-radius:0 10px 10px 0;padding:1.1rem 1.25rem}
.no1box__t{font-weight:700;color:var(--c-ai);line-height:1.7}
.no1{font-size:1.4em;font-weight:900;font-family:var(--ff-head)}
.no1box .note{margin-top:.5rem;color:var(--c-sub)}
.extlink{border:1px solid var(--c-mist-line);border-radius:10px;padding:.9rem 1.25rem;background:#fff}
.extlink p{line-height:1.7}

.closing__back{margin-top:1rem}
.closing__back .text-link{font-size:1rem}

/* 語の途中で切れにくくする */
.page-head p,.stack p,.stack li,.seq li,.sched span,.qa__a,.closing p,.row span{word-break:auto-phrase;text-wrap:pretty}

.h1__sub{display:block;font-size:.7em;margin-top:.15em;letter-spacing:.02em}
