/* トップのサービス紹介を充実（2026-12-05）：実績のサムネ・v6アイコン・代表3つ・詳しく見る */
.svc-h3ic{width:56px;height:56px;flex:none}
#service .svc-scroll__panel h3{display:flex;align-items:center;gap:12px}
.svc-feat{display:block;color:inherit;text-decoration:none;border:1px solid #dbe6ef;border-radius:6px;overflow:hidden;background:#fff}
.svc-feat__img{display:block;aspect-ratio:16/9;overflow:hidden;background:#04497D}
.svc-feat__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.svc-feat:hover .svc-feat__img img{transform:scale(1.03)}
.svc-feat__cap{display:block;padding:12px 16px 14px;font-size:16px;line-height:1.5;color:#04497D}
.svc-feat__cap b{display:block;font-size:16px}
.svc-feat__cap span:last-child{display:block;color:#3c5a73}
.svc-feat__tag{display:inline-block;margin-bottom:6px;padding:2px 8px;background:#26A7E1;color:#fff;font-size:13px;font-weight:700;border-radius:2px}
.svc-more{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:10px 18px;border:1px solid #2470C9;border-radius:4px;color:#2470C9;font-size:16px;font-weight:700;text-decoration:none}
.svc-more:hover{background:#2470C9;color:#fff}
@media (min-width:761px){
 #service .svc-scroll__panel{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:32px;align-content:start}
 #service .svc-scroll__panel>.svc-scroll__category,#service .svc-scroll__panel>h3{grid-column:1/-1}
 #service .svc-scroll__panel>.svc-feat{grid-column:1;grid-row:3/span 3;align-self:start}
 #service .svc-scroll__panel>.svc-scroll__cards,#service .svc-scroll__panel>.svc-scroll__links,#service .svc-scroll__panel>.svc-more{grid-column:2}
 #service .svc-scroll__panel>.svc-more{justify-self:start}
 #service .svc-scroll__cards{grid-template-columns:1fr!important;margin-top:0}
}
@media (max-width:760px){
 .svc-feat{margin:4px 0 16px}
 .svc-h3ic{width:48px;height:48px}
}
/* 空きを減らす：見出しのすぐ下から始め、1分類あたりのスクロール量を100vh→65vhに */
#service{--hd-h:82px}
@media (min-width:761px) and (min-height:560px) and (prefers-reduced-motion:no-preference){
 .svc-scroll.is-ready .svc-scroll__runway{min-height:calc(var(--svc-count) * 65svh)}
 .svc-scroll.is-ready .svc-scroll__scene{align-items:start;min-height:0;padding-block:16px}
 .svc-scroll.is-ready .svc-scroll__panel{align-self:start}
 .svc-scroll.is-ready .svc-scroll__nav{align-self:start;margin-top:72px}
}
/* 2026-12-05 バランス調整：左の一覧を v6 アイコンで重く、右の空きをなくす */
.svc-navic{width:32px;height:32px;flex:none}
.svc-nav-en{font-family:Barlow,sans-serif;font-size:13px;color:#26A7E1;letter-spacing:.06em;white-space:nowrap}
#service .svc-scroll__nav a{gap:12px;padding:14px 16px;font-size:17px;border:1px solid transparent}
#service .svc-scroll__nav a[aria-current]{border-color:var(--ds-line,#dbe6ef);background:#fff}
#service .svc-scroll__nav li+li{margin-top:6px}
.svc-desc{border:1px solid #dbe6ef;border-radius:6px;background:#fff;padding:20px}
.svc-desc__lead{margin:0 0 12px;font-size:17px;font-weight:700;line-height:1.6;color:#04497D}
.svc-desc ul{margin:0;padding:0;list-style:none}
.svc-desc li{position:relative;padding-left:18px;font-size:16px;line-height:1.7;color:#24465f}
.svc-desc li+li{margin-top:8px}
.svc-desc li::before{content:"";position:absolute;left:0;top:.7em;width:8px;height:2px;background:#26A7E1}
@media (min-width:761px){
 #service .svc-scroll__panel>.svc-desc{grid-column:1;grid-row:3/span 3;align-self:stretch}
 #service .svc-scroll__panel>.svc-feat{align-self:stretch;display:flex;flex-direction:column}
 #service .svc-scroll__panel>.svc-feat .svc-feat__img{flex:1;aspect-ratio:auto;min-height:200px}
 #service .svc-scroll__card{min-height:60px!important;padding-block:0!important}
 #service .svc-scroll__links{margin-top:12px}
 #service .svc-more{margin-top:12px}
 #service .svc-scroll__panel{padding:28px 32px!important}
}
@media (max-width:760px){.svc-desc{margin:4px 0 16px}}
#service .svc-scroll__card .ot-ic{display:none}
#service .svc-scroll__card{padding-inline:18px!important}
@media (min-width:761px) and (min-height:560px) and (prefers-reduced-motion:no-preference){.svc-scroll.is-ready .svc-scroll__runway{min-height:calc(var(--svc-count) * 50svh)}}
/* 見出し・左の一覧・右のパネルをまとめて固定し、画面の縦の中央付近に置く（2026-12-05 松尾さん「上に寄りすぎ」） */
#service .svc-scroll__scene>.sec-head{grid-column:1/-1;margin-bottom:20px!important}
@media (min-width:761px) and (min-height:560px) and (prefers-reduced-motion:no-preference){
 .svc-scroll.is-ready .svc-scroll__scene{top:var(--svc-top,96px)!important;align-items:start}
 .svc-scroll.is-ready .svc-scroll__nav{margin-top:0!important}
 .svc-scroll.is-ready .svc-scroll__runway{min-height:calc(var(--svc-count) * 60svh)}
}
/* 固定したまとまりを1画面に収める：見出しの番号を外し、実績画像の高さを固定、パネルの内側を詰める */
@media (min-width:761px){
 #service .sec-head .sec-en::before{display:none!important}
 #service .svc-scroll__scene>.sec-head{margin-bottom:16px!important}
 #service .svc-scroll__panel{padding:22px 28px!important}
 #service .svc-scroll__panel>.svc-feat .svc-feat__img{flex:none!important;height:190px!important;min-height:0!important}
 #service .svc-scroll__panel>.svc-feat{align-self:start!important}
 #service .svc-scroll__panel h3{margin:4px 0 14px!important}
 #service .svc-scroll__card{min-height:54px!important}
 #service .svc-scroll__cards{gap:8px!important}
 #service .svc-scroll__links{gap:6px 16px!important}
}
/* 画面の低いPC（高さ860px以下）でも1画面に収める */
@media (min-width:761px) and (max-height:860px){
 #service .svc-scroll__panel>.svc-feat .svc-feat__img{height:118px!important}
 #service .svc-feat__cap{padding:8px 12px 10px!important}
 #service .svc-scroll__panel{padding:16px 24px!important}
 #service .svc-scroll__panel h3{margin:2px 0 10px!important}
 #service .svc-scroll__card{min-height:46px!important}
 #service .svc-scroll__links a{padding-block:2px!important}
 #service .svc-more{margin-top:8px!important;min-height:44px!important}
 #service .svc-scroll__scene>.sec-head{margin-bottom:10px!important}
 #service .sec-head .sec-en{font-size:32px!important}
 #service .svc-desc{padding:14px!important}
}
@media (min-width:761px) and (max-height:860px) and (min-height:560px) and (prefers-reduced-motion:no-preference){.svc-scroll.is-ready .svc-scroll__scene{padding-block:4px!important}}
@media (min-width:761px) and (min-height:560px) and (prefers-reduced-motion:no-preference){
 .svc-scroll.is-ready .svc-scroll__scene{padding-top:0!important}
 #service .svc-scroll__scene>.sec-head{margin-top:0!important;margin-bottom:12px!important}
}
/* サービス紹介：4分類とも→付きカードだけを並べる（2026-12-05 松尾さん「仲間外れを出さない」「→付きは全部表示」） */
@media (min-width:761px){#service .svc-scroll__panel{grid-template-columns:1fr!important}#service .svc-scroll__panel>*{grid-column:1/-1!important;grid-row:auto!important}#service .svc-scroll__cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important}#service .svc-scroll__card{min-height:52px!important;padding:0 16px!important;font-size:16px!important}}
@media (min-width:761px) and (max-width:1100px){#service .svc-scroll__cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* サービス紹介：4分類とも2列×3行の6枠にそろえる（2026-12-05 松尾さん） */
@media (min-width:761px){#service .svc-scroll__cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#service .svc-scroll__card--more{background:#F5FAFE!important}
@media (max-width:760px){#service .svc-nav-en{display:none}#service .svc-scroll__nav a{white-space:nowrap;font-size:15px!important;gap:8px!important;padding:12px 10px!important}#service .svc-scroll__nav .svc-navic{width:24px;height:24px}}
/* サービス紹介：10枠・サムネイル付きカード・英字なし（2026-12-05 松尾さん） */
#service .svc-scroll__nav a{white-space:nowrap}
#service .svc-nav-en{display:none!important}
@media (min-width:761px){
 #service .svc-scroll__scene{grid-template-columns:minmax(220px,1fr) minmax(0,3.4fr)!important}
 #service .svc-scroll__cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #service .svc-scroll__card{display:grid!important;grid-template-columns:88px 1fr auto;align-items:center;column-gap:12px;min-height:58px!important;padding:5px 14px 5px 5px!important}
 #service .svc-scroll__panel h3{margin:2px 0 10px!important}
}
#service .svc-th{display:block;width:88px;aspect-ratio:16/9;overflow:hidden;border-radius:3px;background:#EAF3FB}
#service .svc-th img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
#service .svc-scroll__card:hover .svc-th img{transform:scale(1.06)}
#service .svc-th--icon{display:grid;place-items:center}
#service .svc-th--icon img{width:30px;height:30px;object-fit:contain}
#service .svc-scroll__card:hover .svc-th--icon img{transform:scale(1.1)}
@media (max-width:760px){#service .svc-scroll__card{display:grid!important;grid-template-columns:80px 1fr auto;align-items:center;column-gap:12px;padding:5px 12px 5px 5px!important}#service .svc-th{width:80px}}
@media (prefers-reduced-motion:reduce){#service .svc-th img{transition:none}}
@media (min-width:761px){#service .svc-scroll__cards{grid-template-rows:repeat(5,58px)!important;grid-auto-rows:58px}#service .svc-scroll__card{min-height:0!important;height:58px}}
@media (max-width:760px){#service .svc-scroll__card{grid-template-columns:64px 1fr auto!important;column-gap:10px!important;font-size:15px!important;letter-spacing:0!important}#service .svc-th{width:64px}}
/* サービス紹介：代表の実績1枚＋→付きカード10枠（2026-12-05 松尾さん「代表選手のサムネイルを1つ」） */
#service .svc-th{display:none!important}
@media (min-width:761px){
 #service .svc-scroll__panel{display:grid!important;grid-template-columns:minmax(0,4fr) minmax(0,7fr)!important;column-gap:24px!important;align-content:start}
 #service .svc-scroll__panel>.svc-scroll__category,#service .svc-scroll__panel>h3{grid-column:1/-1!important}
 #service .svc-scroll__panel>.svc-feat{grid-column:1!important;grid-row:3!important;align-self:stretch!important;display:flex!important;flex-direction:column}
 #service .svc-scroll__panel>.svc-scroll__cards{grid-column:2!important;grid-row:3!important}
 #service .svc-feat .svc-feat__img{flex:1 1 auto!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important}
 #service .svc-scroll__card{display:flex!important;justify-content:space-between;align-items:center;height:50px!important;min-height:0!important;padding:0 14px!important;white-space:nowrap}
 #service .svc-scroll__cards{grid-template-rows:repeat(5,50px)!important;grid-auto-rows:50px!important}
}
#service .svc-feat--icon .svc-feat__img{display:grid;place-items:center;background:#EAF3FB}
#service .svc-feat--icon .svc-feat__img img{width:96px!important;height:96px!important;object-fit:contain}
@media (max-width:760px){#service .svc-scroll__card{display:flex!important;justify-content:space-between;align-items:center}#service .svc-feat{margin:0 0 12px}}
@media (min-width:761px){#service .svc-scroll__panel{min-height:440px}#service .svc-feat--icon .svc-feat__img{min-height:190px}}@media (min-width:761px) and (max-height:860px){#service .svc-scroll__panel{min-height:0}}
@media (min-width:761px) and (max-width:1439px){#service .svc-scroll__card{letter-spacing:0!important;padding:0 10px!important;font-size:15px!important}}
/* サービス紹介：カード10枠を中心に大きく、実績の例は下の横長の帯。1分類あたりのスクロールを画面1枚分に（2026-12-05 松尾さん） */
@media (min-width:761px) and (min-height:560px) and (prefers-reduced-motion:no-preference){.svc-scroll.is-ready .svc-scroll__runway{min-height:calc(var(--svc-count) * 100svh)!important}}
@media (min-width:761px){
 #service .svc-scroll__panel{display:flex!important;flex-direction:column!important;min-height:0!important}
 #service .svc-scroll__panel>*{grid-column:auto!important;grid-row:auto!important}
 #service .svc-scroll__cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(5,60px)!important;grid-auto-rows:60px!important;gap:8px 10px!important;margin:0 0 14px!important}
 #service .svc-scroll__card{height:60px!important;font-size:17px!important;padding:0 18px!important}
 #service .svc-scroll__panel>.svc-feat{display:grid!important;grid-template-columns:176px 1fr;align-items:center;column-gap:18px;height:auto!important;padding:0!important}
 #service .svc-scroll__panel>.svc-feat .svc-feat__img{width:176px!important;height:99px!important;aspect-ratio:16/9!important;flex:none!important;min-height:0!important}
 #service .svc-scroll__panel>.svc-feat .svc-feat__cap{padding:8px 14px 8px 0!important}
 #service .svc-feat--icon .svc-feat__img img{width:56px!important;height:56px!important}
}
@media (min-width:761px) and (max-height:860px){
 #service .svc-scroll__cards{grid-template-rows:repeat(5,52px)!important;grid-auto-rows:52px!important;margin-bottom:10px!important}
 #service .svc-scroll__card{height:52px!important;font-size:16px!important}
 #service .svc-scroll__panel>.svc-feat{grid-template-columns:128px 1fr}
 #service .svc-scroll__panel>.svc-feat .svc-feat__img{width:128px!important;height:72px!important}
 #service .svc-feat--icon .svc-feat__img img{width:44px!important;height:44px!important}
}
@media (min-width:761px) and (max-width:1439px){#service .svc-scroll__card{font-size:16px!important}}
@media (min-width:761px){#service .svc-scroll__panel>.svc-feat{min-height:113px}}@media (min-width:761px) and (max-height:860px){#service .svc-scroll__cards{grid-template-rows:repeat(5,48px)!important;grid-auto-rows:48px!important}#service .svc-scroll__card{height:48px!important}#service .svc-scroll__panel>.svc-feat{min-height:86px}}
@media (min-width:761px){#svc-training .svc-scroll__cards{grid-template-rows:repeat(7,60px)!important}}
@media (min-width:761px) and (max-height:860px){#svc-training .svc-scroll__cards{grid-template-rows:repeat(7,48px)!important}}
@media (min-width:761px){#svc-training .svc-scroll__cards{row-gap:6px!important;margin-bottom:0!important}#service #svc-training.svc-scroll__panel{min-height:602px!important}}@media (min-width:761px) and (max-height:860px){#service #svc-training.svc-scroll__panel{min-height:510px!important}}
