/* 人材業界TOPの導線を標準TOPと揃える。 */
#cases.ir-cases .case-index-entry>a{box-sizing:border-box;max-width:100%;padding:13px 96px;gap:27px;font-feature-settings:"palt"}
#contact .ic-final-contact a{white-space:nowrap}
#news .news-more,#news .news-more:hover,#news .news-more:focus-visible{background:transparent}
/* 文字の直下だけに、セクションと同じ位置のグラデーションを敷く。 */
#overview .isx-cycle-label>span,#overview .isx-cycle-label>strong{
 padding-inline:2px;
 background-color:#091c32;
 background-image:var(--isx-label-paint,none);
 background-size:var(--isx-label-paint-width,100%) var(--isx-label-paint-height,100%);
 background-position:var(--isx-label-paint-x,0px) var(--isx-label-paint-y,0px);
 background-repeat:no-repeat;
}
@media(max-width:599px){#cases.ir-cases .case-index-entry>a{flex-shrink:0;width:calc(100vw - 40px);max-width:400px;padding:13px 20px}}

/* 人材業界TOPもタブレットは2列・受賞パネルは中央配置。 */
@media(min-width:600px) and (max-width:1179px){
 #cases.ir-cases .ir-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .industry-service-cta #technology-contact .awd-surface,.industry-service-cta #technology-contact .awd-technology-copy,.industry-service-cta #technology-contact .awd-invitation-copy,.industry-service-cta #technology-contact .awd-award-line{text-align:center}
 .industry-service-cta #technology-contact .awd-award-line,.industry-service-cta #technology-contact .awd-phone{justify-content:center}
 .industry-service-cta #technology-contact .awd-technology-copy h3>br:first-of-type{display:none}
}

/* ヒーローだけ既存の1000pxブレイクを保ち、タブレットでは見出しを1行にする。 */
@media(min-width:600px) and (max-width:999px){
 .industry-mv #hero-title{font-size:clamp(30px,5vw,49px);white-space:nowrap}
 .industry-mv #hero-title>span{display:inline}
 .industry-mv .hero-copy{text-align:center}
 .industry-mv .hero-description{margin-inline:auto}
 .industry-mv .hero-cta-row,.industry-mv .hero-plan{justify-content:center}
 .industry-mv .hero-demo{margin-inline:auto}
}

/* 既存の人材業界メニューだけ、TOPと同じ開閉・閉じるアイコンにする。 */
@media(max-width:999px){
 .header #industry-menu[hidden]{display:none!important}
 .header #industry-menu{max-height:calc(100dvh - var(--common-site-header-height,72px))}
 .header .menu-toggle>span{transition:transform .18s ease,opacity .18s ease}
 .header .menu-toggle[aria-expanded=true]>span:nth-child(1){transform:translateY(6px) rotate(45deg)}
 .header .menu-toggle[aria-expanded=true]>span:nth-child(2){opacity:0}
 .header .menu-toggle[aria-expanded=true]>span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){.header .menu-toggle>span{transition:none}}

/* 人材業界ブランドのナビは、左右の要素の幅にかかわらず中央へ。 */
@media(min-width:1000px){
 .header:has(.brand-industry) .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:calc(100% - 64px);max-width:1240px}
 .header:has(.brand-industry) .header-action{justify-self:end}
}

/* 料金図の実幅で3・4カードを切り替え、記号との余白を保つ。 */
@media(max-width:1179px){
 #pricing.is-flat-fee .is-fee-usage{container:pricing-fee / inline-size}
 #pricing.is-flat-fee .is-usage-diagram{grid-template-columns:var(--is-month-base) 14px minmax(0,1fr) 14px minmax(0,1fr) 16px;gap:8px}
 #pricing.is-flat-fee .is-usage-diagram>span:nth-of-type(-n+3){display:flex;font-size:clamp(11px,2.8vw,14px);padding-inline:1px;box-shadow:none}
 #pricing.is-flat-fee .is-usage-diagram>span:nth-of-type(4),#pricing.is-flat-fee .is-usage-diagram>i{display:none}
 #pricing.is-flat-fee .is-usage-diagram>i:nth-of-type(-n+2),#pricing.is-flat-fee .is-usage-diagram>i:last-of-type{display:flex;align-items:center;justify-content:center;font-size:12px}
}
@media(max-width:767px){#pricing.is-flat-fee .is-usage-diagram{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr) 16px;gap:4px}}
@media(max-width:359px){#pricing.is-flat-fee .is-fee-usage{padding-inline:0}}
/* 72pxのカード4つ、記号3つと省略記号、要素間8pxが収まる最小幅。 */
@media(max-width:1179px){
 @container pricing-fee (min-width:402px){
  #pricing.is-flat-fee .is-usage-diagram{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr) 16px;gap:8px}
  #pricing.is-flat-fee .is-usage-diagram>span:nth-of-type(4){display:flex;box-shadow:none;font-size:clamp(11px,2.8vw,14px);padding-inline:1px}
  #pricing.is-flat-fee .is-usage-diagram>i:nth-of-type(3){display:flex;align-items:center;justify-content:center;font-size:12px}
 }
}
