#index.company .main {
  background-color: var(--color-surface-cool);
}

#index.company .c-page-title {
    /* 字面の左右余白を揃える。理由は sp/common.css の .c-page-title を参照 */
    --page-title-heading-padding-end: 0.11rem;
  --page-title-notch-x: 0.93rem;
  --page-title-divider-margin-start: 0.08rem;
  --page-title-divider-margin-end: 0.08rem;
  --page-title-label-letter-spacing: 0.03em;
}

#index.company .pill {
  --beveled-cut: 0.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-family-brand);
  line-height: 1;
  letter-spacing: 0; /* SPIKVANSTAR（TEST_V13）は字間がフォントに含まれるため 0 */
  margin: 0;
  font-size: 0.23rem;
  /* L167: 青ベタの大きさを MESSAGE の青ベタ（.message-badge）に合わせる。高さ 0.58rem（文字 0.23rem ＋ 上下 0.175rem）、
     幅は MESSAGE の青ベタの実測 2.97rem（中身なりの幅）、左端は白背景の内側余白にそろう。文字の大きさと中央揃えはそのまま。
     旧: 幅 100%（2.85rem）・高さ 0.42rem（上下 0.095rem） */
  width: 2.97rem;
  max-width: 100%;
  padding-block: 0.175rem;
}

#index.company .pill--full {
  margin-top: 0.35rem;
}

#index.company .message-badge .pill-plus {
  margin-right: 0.09rem; /* L151（旧 0.08rem） */
}

#index.company .pill .pill-plus {
  margin-left: -0.17rem;
}

#index.company .pill--full .pill-plus {
  margin-left: -0.43rem;
}

#index.company .pill-plus {
  font-size: 0.2rem; /* 画像のときの字面 0.14rem ÷ 0.7 */
  margin-right: 0.09rem; /* L151（旧 calc(0.08rem - 0.14em)） */
}

#index.company .badge {
  --beveled-cut: 0.02rem;
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  background: var(--color-primary);
  color: var(--color-white); /* 青ベタ見出しは 500 */
  line-height: 1;
  letter-spacing: 0.04em;
  margin: 0;
  font-size: 0.16rem;
  padding: 0.115rem 0.18rem 0.115rem 0.17rem;
}

#index.company .badge > span {
  position: relative;
  top: 0.04em; /* 見出しの文字を少し下げて上下中央に（上下 padding は対称のまま。Gen Interface JP は字面が約1〜2px上寄り） */
}

#index.company .message-badge {
  --beveled-cut: 0.02rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  /* font-weight は指定しない（本文の 500）。600 だと Regular しかない専用書体の MESSAGE に疑似ボールドがかかる（L149） */
  line-height: 1;
  letter-spacing: 0.04em;
  font-size: 0.16rem;
  padding: 0.14rem 0.2rem;
  gap: 0.12rem;
  flex-wrap: wrap;
}

#index.company .message-badge-main {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family-brand);
  letter-spacing: 0; /* SPIKVANSTAR（TEST_V13）は字間がフォントに含まれるため 0 */
  font-size: 0.28rem;
}

#index.company .message-badge-divider {
  display: inline-block;
  width: 0.01rem;
  height: 0.3rem;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

#index.company .message-badge-sub {
  white-space: nowrap;
  font-size: 0.12rem;
}

#index.company .c-page-header .c-page-title__inner {
  max-width: none;
  margin: 0;
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 100%;
}

#index.company .hero {
  --subpage-hero-rails-display: none;
  --subpage-hero-image-height: 2.8rem;
  --subpage-hero-image-margin: -0.04rem auto 0;
  --subpage-hero-notch-x: 38.4%;
  --subpage-hero-notch-y: 11.4286%;
  --subpage-hero-cut-x: 0.03rem;
  --subpage-hero-cut-y: 0.03rem;
  flex: 1 1 auto;
}

/* FV写真の横スクロール（無限ループ）。PCと同じ仕組み（PC側のコメント参照）。
枠の高さは --subpage-hero-image-height（2.8rem）で決まる。1周 2 × 枠幅（≒720px）÷ 18px/秒 = 40秒 */
#index.company .hero__pan {
  overflow: hidden;
}

#index.company .hero__pan-track {
  display: flex;
  width: 400%;
  height: 100%;
  animation: spik-hero-pan 40s linear infinite;
  will-change: transform;
}

#index.company .hero__pan-tile {
  flex: 0 0 25%;
  height: 100%;
}

#index.company .hero__pan-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes spik-hero-pan {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #index.company .hero__pan-track {
    animation: none;
  }
}

/* * STATEMENT以降をまとめた1ブロックの背景。
* iOS Safariは background-attachment: fixed を正しく扱えず表示が崩れるため、
* SPでは固定せず通常のスクロール背景にし、画面幅に合わせて上部を見せる */
#index.company .parallax {
  /* 配下の白いセクションは少し透かして固定背景を見せる */
  --parallax-panel-bg: rgba(255, 255, 255, 0.95);
  /* 会社概要とフッターの間隔。旧 #company-decoration 削除時は */
  padding-bottom: 1.91rem;
  /* 動画の上の余った領域を埋める背景色（PCと同じ） */
  /* 画像の上が画面に出たときの地色。bg-parallax_sp.webp 上端の空（実測 #d2deea）に合わせ、境目を出さない */
  --parallax-bg-color: #d2deea;
  /* 背景は動画（PC/SP）。までは PC と同じ
横長ストリップ画像を要素基準でブロック下端に敷いていた。
SPは background-attachment: fixed が使えないが、position: fixed の video なら
iOS でも固定できるため、PCと同じ「画面下端に固定して .parallax の範囲だけ見せる」構成にする。
背景色はラッパー（.parallax__video）側。isolation と役員モーダルの位置については PC 側のコメント参照 */
  position: relative;
  isolation: isolate;
}

/* 動画は position: sticky で画面下端に付ける。
ラッパー（.parallax と同じ大きさ）を縦の flex にして動画を末尾に置き、bottom: 0 で吸着させると、
ブロックが画面内にある間は画面下端に固定され、ブロックの下端（＝フッターの上）が近づくと
そこに留まって一緒にスクロールしていく。fixed のように切り抜く必要がなく、フッターの裏にも回らない */
#index.company .parallax__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--parallax-bg-color);
  pointer-events: none;
}

/* 負の z-index の video は iOS Safari で描画レイヤーごと消えることがあるため、
背景を z-index: 0、通常コンテンツを z-index: 1 に固定する。 */
#index.company .parallax > :not(.parallax__video) {
  position: relative;
  z-index: 1;
}

/* 見た目は従来の横長帯（1368 : 578）のまま。height も明示して、
aspect-ratio の計算が不安定な端末でも高さが潰れないようにする。 */
/* 帯は画像そのものの大きさ。画面下端に吸着させる。 */
#index.company .parallax__video-frame {
  position: sticky;
  bottom: 0;
  width: 100%;
}

/* 従来の表示サイズと切り抜き位置を維持する。
aspect-ratio と max-width を明示し、動画メタデータ読込前後の潰れを防ぐ。 */
#index.company .parallax__video-frame picture {
  display: block;
  width: 100%;
}

/* 支給画像（PC 2720×1066 / SP 750×443）を画面幅いっぱいに。高さは比率どおりで、切り抜かない。 */
#index.company .parallax__video-media {
  display: block;
  width: 100%;
  height: auto;
}

#index.company .statement {
  overflow-x: clip;
  background-color: var(--color-white);
  padding-top: 0.32rem;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

#index.company .statement-frame {
  padding-inline: 0.12rem;
}

#index.company .statement-layout {
  position: relative;
  width: 100%;
  max-width: 10.8rem;
  margin: 0 auto;
}

#index.company .statement-panel {
  --statement-panel-cut: 0.03rem;
  --statement-panel-notch-x: 55.01%;
  --statement-panel-notch-top: 95.06%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  background: #002d96;
  clip-path: polygon(
    var(--statement-panel-cut) 0,
    calc(100% - var(--statement-panel-cut)) 0,
    100% var(--statement-panel-cut),
    100% calc(100% - var(--statement-panel-cut)),
    calc(100% - var(--statement-panel-cut)) 100%,
    var(--statement-panel-notch-x) 100%,
    calc(var(--statement-panel-notch-x) - var(--statement-panel-cut)) calc(100% - var(--statement-panel-cut)),
    calc(var(--statement-panel-notch-x) - var(--statement-panel-cut)) var(--statement-panel-notch-top),
    calc(var(--statement-panel-notch-x) - var(--statement-panel-cut) - var(--statement-panel-cut)) calc(var(--statement-panel-notch-top) - var(--statement-panel-cut)),
    var(--statement-panel-cut) calc(var(--statement-panel-notch-top) - var(--statement-panel-cut)),
    0 calc(var(--statement-panel-notch-top) - var(--statement-panel-cut) - var(--statement-panel-cut)),
    0 var(--statement-panel-cut)
  );
  width: 3.51rem;
  height: 6.72rem;
  padding: 0.28rem 0.2rem 0.36rem 0.3rem;
}

/* 右下の＋マークは支給SVG。
 支給SVG `アセット 1.svg` は viewBox 185.92 × 214.18。SPも 1rem = 100 デザインpx なので
1.8592 × 2.1418rem。マークは右と下が切れた状態で書き出されているので、
パネルの右下角にぴったり合わせて置く。色はSVG側の #2b51a8 */
#index.company .statement-panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 1.8592rem;
  height: 2.1418rem;
  background: url("../../images/company/bg-statement_sp.svg") right bottom / 100% 100% no-repeat;
}

#index.company .statement-decoration {
  --statement-decoration-cut: 0.03rem;
  position: absolute;
  top: 0;
  bottom: 0;
  display: none;
}

#index.company .statement-decoration--left {
  right: calc(100% + 0.4rem);
  aspect-ratio: 100 / 749;
}

#index.company .statement-decoration--right {
  left: 100%;
  aspect-ratio: 140 / 749;
}

#index.company .statement-decoration--left::after,
#index.company .statement-decoration--right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
}

#index.company .statement-decoration--left::after {
  clip-path: polygon(
    0 0,
    calc(100% - var(--statement-decoration-cut)) 0,
    100% var(--statement-decoration-cut),
    100% calc(100% - var(--statement-decoration-cut)),
    calc(100% - var(--statement-decoration-cut)) 100%,
    0 100%
  );
}

#index.company .statement-decoration--right::before {
  clip-path: polygon(
    100% 100%,
    var(--statement-decoration-cut) 100%,
    0 calc(100% - var(--statement-decoration-cut)),
    0 63.952%,
    var(--statement-decoration-cut) calc(63.952% - var(--statement-decoration-cut)),
    calc(0.4rem - var(--statement-decoration-cut)) calc(63.952% - var(--statement-decoration-cut)),
    0.4rem calc(63.952% - var(--statement-decoration-cut) - var(--statement-decoration-cut)),
    0.4rem var(--statement-decoration-cut),
    calc(0.4rem + var(--statement-decoration-cut)) 0,
    100% 0
  );
}

#index.company .statement-decoration--left::before,
#index.company .statement-decoration--right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 99.99rem;
  background: var(--color-primary);
}

#index.company .statement-decoration--left::before {
  right: 100%;
}

#index.company .statement-decoration--right::after {
  left: 100%;
}

#index.company .statement-heading {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-family-brand);
  line-height: 1;
  letter-spacing: 0; /* SPIKVANSTAR（TEST_V13）は字間がフォントに含まれるため 0 */
  padding-top: 0.11rem;
  font-size: 0.33rem;
}

#index.company .statement-plus {
  font-size: 0.314rem; /* 画像のときの字面 0.22rem ÷ 0.7 */
  margin: 0.02rem 0.09rem 0 calc(0.04rem - 0.11em); /* 右は L151（旧 calc(0.14rem - 0.14em)） */
}

#index.company .statement-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin-top: 0.22rem;
  max-width: none;
}

#index.company .statement-text {
  margin: 0;
  color: var(--color-white);
  letter-spacing: 0.02em;
  font-size: 0.15rem;
  line-height: 0.32rem;
  font-weight: 400;
}

#index.company .statement-catch {
  margin: 0.29rem 0 0;
  color: var(--color-white);
  margin-top: 0.24rem;
  font-size: 0.15rem;
  letter-spacing: 0.025em;
}

/* VMV の帯（.vmv の上半分白＋.vmv-inner の水色、段差付き）は廃止し、PC と同じく
.vmv / .vmv-inner は背景なし。白97%は .vmv-panel だけにして、パネルの周囲に
パララックス背景が見えるようにする。
上端の段差（STATEMENT の白が右側だけ 0.4rem 下まで続く、面取り付き）は
帯の clip-path で作っていたため、::before の白い形として残す */
#index.company .vmv {
  width: 100%;
  position: relative;
  overflow: clip;
  margin-top: 0;
}

#index.company .vmv::before {
  --beveled-cut: 0.03rem;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.4rem;
  z-index: 1;
  pointer-events: none;
  background: var(--color-white); /* STATEMENT と同じ白 */
  clip-path: polygon(44.5333% 0,
      100% 0,
      100% 100%,
      46.1333% 100%,
      45.3333% calc(100% - var(--beveled-cut)),
      45.3333% var(--beveled-cut));
}

#index.company .vmv-inner {
  position: relative;
  z-index: 2;
  padding-block: 0.81rem 0.4rem;
  padding-inline: 0; /* 白背景の幅は .vmv-panel で MESSAGE と同じ 3.51rem にする（L167。旧 0.23rem） */
}

/* L167: 白背景の幅と左右の内側余白を下の MESSAGE（.message: 幅 3.51rem・padding-inline 0.23rem）と同じに。
   旧: 幅 3.29rem（.vmv-inner の左右 0.23rem の内側）・左右 0.22rem */
#index.company .vmv-panel {
  --beveled-cut: 0.03rem;
  width: 3.51rem;
  margin-inline: auto;
  background: var(--parallax-panel-bg);
  padding: 0.28rem 0.23rem 0.09rem;
}

#index.company .vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
}

#index.company .vm-item {
  min-width: 0;
}

#index.company .vm-text {
  margin: 0.54rem 0 0;
  text-align: center;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 0.14rem;
  font-size: 0.18rem;
  line-height: 0.28rem;
}

#index.company .values {
  margin-top: -0.15rem;
}

#index.company .values-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 0.11rem;
  margin-top: 0.29rem;
}

#index.company .values-label {
  margin-top: -0.2rem;
  text-align: center;
  color: var(--color-primary);
  letter-spacing: 0.01rem;
  line-height: 1.1;
  flex: none;
  font-size: 0.22rem;
  font-weight: 600; /* （共通リセットの 500 から） */
  padding: 0.17rem 0.04rem 0 0.09rem;
}

#index.company .values-list {
  margin: 0.15rem -0.02rem 0.15rem 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#index.company .values-item {
  display: flex;
  border-top: 0.01rem solid var(--color-border-light);
  flex-direction: column;
  gap: 0.08rem;
  align-items: center;
  text-align: center;
  padding-block: 0.19rem;
}

#index.company .values-item:first-child {
  border-top: 0.01rem solid var(--color-border-light);
  gap: 0.1rem;
}

#index.company .values-item-head {
  flex: none;
}

#index.company .values-item-title {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.3;
  font-size: 0.21rem;
  font-weight: 600;
}

#index.company .values-item-sub {
  margin: 0.04rem 0 0;
  color: var(--color-primary);
  font-size: 0.12rem;
  margin-top: 0.08rem;
}

#index.company .values-item-desc {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--color-primary);
  font-size: 0.13rem;
  line-height: 0.2rem;
  /* 400 の書体を読み込む前はここも 500 で描画されていた。今回のウエイト調整の対象外なので
見た目を保つため 500 を明示する */
}

#index.company .message {
  --beveled-cut: 0.03rem;
  overflow-x: clip;
  background: var(--parallax-panel-bg);
  clip-path: polygon(var(--beveled-cut) 0,
      calc(100% - var(--beveled-cut)) 0,
      100% var(--beveled-cut),
      100% calc(100% - var(--beveled-cut)),
      100% 100%,
      0 100%,
      0 var(--beveled-cut));
  margin-top: 0; /* VMV との間隔 */
  padding-top: 0.36rem;
  padding-bottom: 0;
  width: 3.51rem;
  padding-inline: 0.23rem;
}

#index.company .message-body {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 10.8rem;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  gap: 0.24rem;
  margin-top: 0.34rem;
}

#index.company .message-content {
  min-width: 0;
  width: 100%;
  padding-left: 0;
  padding-top: 0;
}

#index.company .message-heading {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.4;
  letter-spacing: 0.02rem;
  font-size: 0.29rem;
  padding-inline: 0.09rem;
}

#index.company .message-quote {
  --beveled-cut: 0.02rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.09rem;
  margin: 0.4rem 0 0;
  width: 100%;
  max-width: 100%;
  background-color: initial;
  color: var(--color-primary);
  margin-top: 0.21rem;
  padding-inline: 0.09rem;
  font-weight: 400;
}

#index.company .message-quote-main {
  display: inline-flex;
  align-items: center;
  border-radius: 0.04rem;
  font-weight: 600;
  letter-spacing: 0.005rem;
  font-size: 0.16rem;
  padding: 0;
}

#index.company .message-quote-sub {
  letter-spacing: 0.004rem;
  padding-right: 0.2rem;
  font-size: 0.12rem;
}

#index.company .message-text {
  margin: 0.28rem 0 0;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  font-size: 0.15rem;
  line-height: 0.28rem;
  margin-top: 0.19rem;
  padding-inline: 0.09rem;
  font-weight: 400;
}

#index.company .message-name {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  gap: 0.11rem;
  margin: 0.4rem 0 0 0.14rem;
}

#index.company .message-name-role {
  color: var(--color-primary);
  font-size: 0.12rem;
}

#index.company .message-name-person {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.19rem;
}

#index.company .message-photo {
  height: 4.82rem;
  flex: 0 0 4.3rem;
  margin-right: calc((100vw - 10.8rem) / -2);
  aspect-ratio: 570/481;
  background: var(--color-surface-lilac);
  overflow: hidden;
  flex-basis: 2.2rem;
  width: 2.2rem;
  display: none;
}

#index.company .message-photo img {
  --beveled-cut: 0.03rem;
  display: block;
  width: 4.3rem;
  height: 4.82rem;
  object-fit: cover;
  object-position: top center;
}

#index.company .message-photo-spacer {
  display: block;
  float: right;
  width: 0;
  height: 5.66rem;
}

#index.company .message-photo-float {
  display: block;
  float: right;
  clear: right;
  width: 1.23rem;
  height: 1.64rem;
  aspect-ratio: 240/300;
  background: var(--color-surface-lilac);
  border-radius: 0.04rem;
  overflow: hidden;
  margin: 0.2rem 0.05rem 0 0.3rem;
}

#index.company .officers {
  background-color: var(--parallax-panel-bg);
  padding-top: 0.39rem;
  padding-bottom: 0;
  padding-inline: 0.23rem;
  width: 3.51rem;
  margin-top: -0.01rem;
}

#index.company .officers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.04rem;
  margin-top: 0.19rem;
}

#index.company .officer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.16rem;
  background: var(--color-surface-light);
  border-radius: 0.04rem;
  min-width: 0;
  padding: 0.10rem 0.12rem 0.09rem 0.12rem;
  height: 0.64rem;
}

#index.company .officer-info {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  min-width: 0;
}

#index.company .officer-role {
  margin: 0;
  color: var(--color-primary);
  width: 0.92rem;
  flex-shrink: 0;
  font-size: 0.1rem;
  line-height: 0.13rem;
}

#index.company .officer-name {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  min-width: 0;
  font-size: 0.16rem;
}

#index.company .officer-arrow {
  flex-shrink: 0;
  display: block;
  border-radius: 0.02rem;
  width: 0.16rem;
  height: 0.16rem;
}

#index.company .history {
  background-color: var(--parallax-panel-bg);
  padding-top: 0.39rem;
  padding-bottom: 0;
  padding-inline: 0.23rem;
  width: 3.51rem;
}

#index.company .history-list {
  --beveled-cut: 0.03rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 0.17rem;
}

#index.company .history-item {
  display: flex;
  gap: 0.08rem;
  padding: 0.17rem 0.15rem 0.2rem 0.24rem;
}

#index.company .history-item:nth-child(odd) {
  background: var(--color-surface-lilac);
}

#index.company .history-item:nth-child(even) {
  background: #e9ecf7;
}

#index.company .history-year {
  flex: 0 0 1.78rem;
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.4;
  flex-basis: 0.96rem;
  font-size: 0.14rem;
}

#index.company .history-desc {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--color-primary);
  font-size: 0.13rem;
  line-height: 1.5;
}

#index.company .partners {
  padding-top: 1.12rem;
  background: var(--parallax-panel-bg);
  padding-block: 0.4rem;
  padding-bottom: 0;
  padding-inline: 0.23rem;
  width: 3.51rem;
}

#index.company .partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.08rem;
  margin-top: 0.2rem;
}

#index.company .partner-placeholder {
  --beveled-cut: 0.03rem;
  background: var(--color-surface-lilac);
  width: 100%;
  height: 0.95rem;
  aspect-ratio: auto;
}

#index.company .overview {
  --beveled-cut: 0.03rem;
  background-color: var(--parallax-panel-bg);
  clip-path: polygon(0 0,
      100% 0,
      100% calc(100% - var(--beveled-cut)),
      calc(100% - var(--beveled-cut)) 100%,
      var(--beveled-cut) 100%,
      0 calc(100% - var(--beveled-cut)));
  width: 3.51rem;
  padding-block: 0.42rem 0.28rem;
  padding-inline: 0.23rem;
}

#index.company .table {
  padding: 0 0.2rem 0.42rem 0.2rem;
  margin-top: 0.25rem;
  padding-inline: 0;
  padding-bottom: 0;
  border-top: none;
}

#index.company .table-row {
  display: flex;
  gap: 0.08rem;
  padding: 0;
  border: none;
}

#index.company .table-label {
  flex: 0 0 2.2rem;
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.6;
  flex-basis: auto;
  font-size: 0.13rem;
  width: 1.17rem;
  border-top: 0.01rem solid var(--color-border-light);
  padding-left: 0.08rem;
  padding-block: 0.15rem;
}

#index.company .table-value {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  border-top: 0.01rem solid var(--color-border-light);
  padding-block: 0.19rem 0.17rem;
}

#index.company .table-value p {
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  font-size: 0.12rem;
  line-height: 0.16rem;
}

#index.company .officer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

#index.company .officer-modal:target {
  display: block;
}

#index.company .officer-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 40, 0.5);
}

#index.company .officer-modal__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.23rem;
}

/* ダイアログ自体はスクロールさせず、中の __body だけをスクロールさせる。
ダイアログを overflow-y: auto にすると、absolute の白い背景（__bg、ノッチ形状）と閉じるボタンが
中身と一緒にスクロールして形が崩れ、iOS では中身をスクロールできないことがあった */
/* 形状・寸法は支給の SVG（329×680）どおり。
SP は 375px 基準で 1rem = 100px なので、SVG の px をそのまま ÷100 で rem にしている。
本体 3.29×6.8rem、右上のタブ 0.52×0.44rem、面取り 0.03rem。
画面が低くて max-height に当たった場合も、clip-path は rem 固定なのでタブの高さと面取りは変わらず、
下側だけが縮む */
#index.company .officer-modal__dialog {
  --modal-cut: 0.03rem;
  --modal-tab-width: 0.52rem;
  --modal-tab-height: 0.44rem;
  position: relative;
  width: 3.29rem;
  height: 6.8rem;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  /* 左右の padding は __info 側に持たせる（__body は overflow-y: auto のため横も clip され、
写真の両脇の矢印（本文より外側）が切れる） */
  padding: 0.92rem 0 0.33rem;
}

#index.company .officer-modal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-white);
  clip-path: polygon(0 calc(var(--modal-tab-height) + var(--modal-cut)),
      0 calc(100% - var(--modal-cut)),
      var(--modal-cut) 100%,
      calc(100% - var(--modal-cut)) 100%,
      100% calc(100% - var(--modal-cut)),
      100% var(--modal-cut),
      calc(100% - var(--modal-cut)) 0,
      calc(100% - var(--modal-tab-width) + var(--modal-cut)) 0,
      calc(100% - var(--modal-tab-width)) var(--modal-cut),
      calc(100% - var(--modal-tab-width)) calc(var(--modal-tab-height) - var(--modal-cut)),
      calc(100% - var(--modal-tab-width) - var(--modal-cut)) var(--modal-tab-height),
      var(--modal-cut) var(--modal-tab-height));
}

/* 閉じる「×」はタブの中央（右端から 0.26rem・上端から 0.26rem）。線は 0.2rem 四方の対角線、太さ 0.03rem。
タップ領域は 0.32rem 四方に広げている */
#index.company .officer-modal__close {
  position: absolute;
  z-index: 2;
  width: 0.32rem;
  height: 0.32rem;
  top: 0.1rem;
  right: 0.1rem;
}

#index.company .officer-modal__close::before,
#index.company .officer-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.283rem;
  height: 0.03rem;
  background: var(--color-primary);
}

#index.company .officer-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#index.company .officer-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#index.company .officer-modal__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 0.04rem;
  display: none;
}

#index.company .officer-modal__nav--prev {
  left: 0.24rem;
}

#index.company .officer-modal__nav--next {
  right: 1rem;
}

#index.company .officer-modal__nav--prev img {
  transform: scaleX(-1);
}

#index.company .officer-modal__nav img {
  width: 100%;
  height: 100%;
  display: block;
}

#index.company .officer-modal__body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* 文字の位置は SVG のベースライン（役職 357.68 / 氏名 389.6 / 本文 424.32、左端 41px）から逆算 */
#index.company .officer-modal__info {
  min-width: 0;
  flex: 0 0 auto;
  order: 2;
  margin-top: 0.34rem;
  padding-inline: 0.41rem;
}

#index.company .officer-modal__role {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.11rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

#index.company .officer-modal__name {
  margin: 0.13rem 0 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.2rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

#index.company .officer-modal__bio {
  margin: 0.15rem 0 0;
  color: var(--color-primary);
  font-size: 0.14rem;
  line-height: 0.24rem;
  letter-spacing: 0.03em;
}

/* 写真 1.85×2.22rem を中央に、両脇の矢印（0.2rem）は写真から 0.24rem 離す（SVG: 左 28px / 写真 72px / 右 281px） */
#index.company .officer-modal__photo-row {
  flex: 0 0 auto;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  width: 100%;
  margin: 0 auto;
}

#index.company .officer-modal__photo {
  width: 1.85rem;
  height: 2.22rem;
  background: var(--color-surface-lilac);
  overflow: hidden;
  flex: 0 0 auto;
  min-width: 0;
}

#index.company .officer-modal__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

#index.company .officer-modal__photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface-lilac);
}

/* icon-arrow.svg 自体が SVG カンプと同じ 20×20（面取り 1px・青地に白矢印）なので、サイズを合わせるだけ */
#index.company .officer-modal__nav-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.2rem;
  height: 0.2rem;
}

#index.company .pill .pill-plus,
#index.company .pill--full .pill-plus {
  margin-left: 0;
}

#index.company .c-page-header {
  flex-direction: column;
}

#index.company .message-photo-float img {
  display: block;
  width: 100%;
  height: 1.64rem;
  object-fit: cover;
  object-position: top center;
}

#index.company .table-entry {
  display: block;
  margin-top: 0.16rem;
}

/* 最終行の下線。ラベル側も他の罫線と同じ色にする */
#index.company .table-row:last-child .table-label,
#index.company .table-row:last-child .table-value {
  border-bottom: 0.01rem solid var(--color-border-light);
}

#index.company .main+.c-site-footer {
  position: relative;
  z-index: 1;
}

#index.company .officer-modal__nav-side--prev img {
  transform: scaleX(-1);
}

#index.company .officer-modal__nav-side img {
  width: 100%;
  height: 100%;
  display: block;
}
