/* companyカテゴリ共通：ナビ・Hero・見出し・ローカルナビ・表。 */
.company-nav { position: relative; z-index: 10; height: 40px; background: #fff; }
.company-nav .nav-list { justify-content: flex-end; height: 40px; padding-right: 20px; gap: 28px; }
.company-nav .nav-list__item::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; transition: transform 250ms ease; }
.company-nav .nav-list__item:hover::after,
.company-nav .nav-list__item:focus-within::after,
.company-nav .nav-list__item.is-current::after { transform: scaleX(1); }
.company-hero { height: 350px; text-align: center; background-image: url("../i/hero_bg_company.png"); }
.company-hero__inner { padding-top: 130px; }
.company-hero__heading { margin: 0; font-weight: var(--font-weight-bold); }
.company-hero__english { display: block; color: var(--color-accent); font-size: 46px; line-height: 1.3; }
.company-hero__japanese { display: block; margin-top: 14px; font-family: var(--font-hero-japanese); font-size: 26px; font-weight: var(--font-weight-regular); line-height: 1.6; }
.company-content { padding-top: 76px; padding-bottom: 100px; font-size: 15px; line-height: 1.9; }
.company-content p { margin: 0 0 20px; }
.company-content h3 { margin: 28px 0 16px; font-size: 20px; font-weight: var(--font-weight-bold); line-height: 1.7; }
.company-content h4 { margin: 0 0 8px; font-size: 16px; font-weight: var(--font-weight-bold); }
.company-content small { font-size: 12px; font-weight: var(--font-weight-regular); }
.company-content .company-eyebrow { margin: 0 0 12px; color: var(--color-accent); font-size: 13px; font-weight: var(--font-weight-medium); }
.company-heading { margin: 0 0 24px; font-size: 28px; font-weight: var(--font-weight-bold); line-height: 1.7; }
.company-section { margin-top: 76px; }
.company-local-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 52px; }
.company-local-nav__home { margin-right: auto; font-size: 13px; text-decoration: underline; }
.company-local-nav .button { font-size: 13px; }
.company-table { width: 960px; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.9; }
.company-table th, .company-table td { padding: 24px 28px; border-block: 1px solid #d4d4d4; text-align: left; vertical-align: top; }
.company-table th { width: 220px; color: #666; font-weight: var(--font-weight-medium); }
.company-actions { margin-top: 56px; text-align: center; }
.company-back { margin-top: 36px !important; text-align: center; }
.company-back a { text-decoration: underline; }
.company-link-grid { display: grid; grid-template-columns: repeat(3, 300px); gap: 30px; margin-top: 44px; }
.company-link-grid .card-link__image { height: 118px; aspect-ratio: auto; }
.company-link-grid .card-link__title { margin: 0; font-size: 21px; line-height: 1.5; }
.company-link-grid .card-link__en { margin: 4px 0 0; font-size: 12px; }
.company-link-grid .card-link__icon { top: auto; bottom: 0; }
/* company TOPのみ。バナーは支給順に並べ、未確定のリンクやスライド動作は追加しない。 */
.company-hero--top { height: 450px; }
.company-hero--top .company-hero__inner { padding-top: 170px; }
.company-hero__artwork { display: block; width: 470.79px; height: auto; margin-inline: auto; }
.company-hero--top .company-hero__japanese { margin-top: 24px; }
.company-top__news { margin-top: 100px; }
.company-top__news-heading { display: flex; align-items: center; justify-content: space-between; }
.company-top__notice { margin: 0; padding: 28px 0; border-block: 1px solid #d4d4d4; font-size: 14px; }
.company-news { margin: 0; padding: 0; list-style: none; }
.company-news__row { display: grid; grid-template-columns: 110px 100px 1fr; gap: 24px; align-items: baseline; padding: 28px 24px; border-top: 1px solid #d4d4d4; font-size: 13px; transition: background-color 180ms ease; }
.company-news > li:last-child .company-news__row { border-bottom: 1px solid #d4d4d4; }
.company-news__row:hover, .company-news__row:focus-visible { background-color: rgba(0, 0, 0, 0.03); }
.company-news__category { padding: 2px 10px; border-radius: 10px; background: #3e3a39; color: #fff; text-align: center; font-size: 11px; }
.company-news__category:empty { visibility: hidden; }
.company-news__title { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  .beside-you [class*="svg-elem-"] { transition: none !important; }
}

/* SP共通ブレイクポイント：PCの既存指定は維持する。 */
@media (max-width: 480px) {
  .company-nav { display: none; }
  .company-hero--top { height: 300px; }
  .company-hero--top .company-hero__japanese { font-size: 19px; }
  .company-hero--top .company-hero__inner { padding-top: 144px; }
  .company-hero__artwork { width: 202px; max-width: 100%; height: auto; }
  .company-content { padding-top: 40px; padding-bottom: 56px; }
  .company-heading { font-size: 24px; }
  .company-local-nav { margin-bottom: 32px; }
  .company-table { width: 100%; overflow-wrap: anywhere; }
  .company-table:not(.about-disclosure), .company-table:not(.about-disclosure) tbody, .company-table:not(.about-disclosure) tr, .company-table:not(.about-disclosure) th, .company-table:not(.about-disclosure) td { display: block; width: 100%; }
  .company-table:not(.about-disclosure) th { padding: 16px 12px; border-bottom: 0; background: #f7f7f7; }
  .company-table:not(.about-disclosure) td { padding: 16px 12px 24px; border-top: 0; border-bottom: 0; }
  .company-table:not(.about-disclosure) tr:last-child td { border-bottom: 1px solid #d4d4d4; }
  .company-link-grid:not(.recruit-staff) { --top-card-image-ratio: 252 / 118; }
  .company-link-grid:not(.recruit-staff) .card-link__title { white-space: normal; }
  .company-link-grid.recruit-staff { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .company-top__news-heading .company-heading { margin-bottom: 0; }
  .company-news__row { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 20px 8px; font-size: 14px; }
  .company-news__category { justify-self: start; }
  .company-news__title { grid-column: 1 / -1; }
}
