/* -------------------------------------------------------------
 * デザイントークン（XDの実測値。_export/tokens/design-tokens.json 由来）
 * ---------------------------------------------------------- */
:root {
  --navy: #0c1285; /* ブランドネイビー（最多使用） */
  --navy-dark: #0b2859;
  --red: #850000;
  --red-light: #a80000;
  --green: #016414;
  --text: #333333;
  --text-sub: #777777;
  --line: #cccccc;
  --line-light: #dddddd;
  --bg-gray: #f9f9f9;
  --white: #ffffff;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-22: 22px;
  --fs-24: 24px;
  --fs-30: 30px;
  --fs-36: 36px;
  --fs-40: 40px;
  --fs-50: 50px;
  --fs-60: 60px;
  --fs-150: 150px;

  --container: 1240px; /* XD実測: カード列の内容域は 1200px（x=83〜1283）＋左右パディング */
  --header-h: 90px; /* XD実測: 下層ヘッダー 1366x90 */

  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--jp);
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.l-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.u-en {
  font-family: var(--en);
  font-weight: 600;
}

/* 画面外に出す（読み上げ用） */
.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 画面幅500px以下では改行させず、自然な折り返しに任せる */
@media (max-width: 500px) {
  .u-br-sp-hide {
    display: none;
  }
}

/* -------------------------------------------------------------
 * ヘッダー
 * ---------------------------------------------------------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}
/* XD実測: ヘッダーはコンテナ1146に収めず、ロゴx=24〜ボタン右端 x=1334 のほぼ全幅 */
.l-header__inner {
  display: flex;
  align-items: center;
  gap: 21px;
  max-width: none;
  padding-inline: 24px 32px;
  min-height: var(--header-h);
}

.l-header__logo-heading {
  margin: 0;
  margin-right: auto;
}
.l-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* ロゴ（logo.png, 1470x349）。旧ベクターロゴ（300x47）と同じ見た目の横幅に合わせる */
.l-header__logo img {
  width: 300px;
  height: auto;
}
.l-header__logo svg {
  width: 300px;
  height: auto;
  color: var(--navy-dark);
}
@media (max-width: 1110px) {
  .l-header__logo img,
  .l-header__logo svg {
    width: 240px;
  }
}
@media (max-width: 1040px) {
  .l-header__logo img,
  .l-header__logo svg {
    width: 200px;
  }
}
.l-header__name {
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.l-header__name small {
  display: block;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-sub);
}

/* TOP は FV 写真の上に透過で重ねる（XD: ロゴ・ナビとも白） */
.l-header--overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  border-bottom: 0;
}
.l-header--overlay .l-nav a,
.l-header--overlay .l-nav span,
.l-header--overlay .l-header__name,
.l-header--overlay .l-header__lang .is-current {
  color: var(--white);
}
.l-header--overlay .l-header__lang span,
.l-header--overlay .l-header__lang a {
  color: rgba(255, 255, 255, 0.75);
}
.l-header--overlay .l-nav a:hover {
  color: #ccc;
  text-decoration: none;
}

/* XD実測: ナビ項目の間隔は42px（狭い画面では詰める） */
.l-nav ul {
  display: flex;
  align-items: center;
  column-gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-nav a {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--text);
  transition: color 0.4s ease;
  font-size: 16px;
}
.l-nav a:hover {
  color: var(--navy);
  text-decoration: none;
}
@media (max-width: 1200px) {
  .l-nav ul {
    gap: 15px;
  }
  .l-nav a {
    font-size: 14px;
  }
}
/* ドロップダウンメニュー。ホバーで子メニューが上からふわっと出てくる（PCのみ） */
@media (min-width: 901px) {
  .l-nav .menu__parents {
    position: relative;
  }
  /* 子メニューがある項目には右側に下向き矢印を付ける */
  .l-nav .menu__parents > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .l-nav .menu__parents > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .l-nav .menu__child {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    visibility: hidden;
    opacity: 0;
    transition: 0.2s ease;
  }
  .l-nav .menu__parents:hover > .menu__child {
    visibility: visible;
    opacity: 1;
  }
  .l-nav .menu__child li + li {
    border-top: 1px solid var(--line-light);
  }
  .l-nav .menu__child a {
    display: block;
    padding: 12px 20px;
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
  }
  .l-nav .menu__child a:hover {
    background: var(--bg-gray);
    color: var(--navy);
  }
}

/* XD のナビ順は 採用情報 → JP/EN → お問い合わせ。DOM は SP メニュー順のまま、PC は order で入れ替える */
.l-header__lang {
  display: flex;
  gap: 6px;
  order: 2;
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 600;
}
.l-header__lang .is-current {
  color: var(--text);
}
.l-header__lang a {
  color: var(--text-sub);
}

.c-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 3;
  min-width: 148px;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-14);
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}
@media (max-width: 1040px) {
  .c-btn-contact {
    min-width: 126px;
    padding: 12px 10px;
  }
  .l-nav ul {
    gap: 20px;
  }
}
@media (max-width: 1000px) {
  .l-nav ul {
    gap: 15px;
  }
}
.c-btn-contact:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
}

.l-header__toggle {
  display: none;
}
/* PC ではヘッダー右のボタンがあるので、ナビ内の お問い合わせ は隠す */
.l-nav__contact {
  display: none;
}
/* ナビ〜JP/EN の間隔は XD実測 49px */
.l-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 49px);
}

/* -------------------------------------------------------------
 * ページ見出し（下層ページ共通のヒーロー）
 * ---------------------------------------------------------- */
/* XD実測: ヘッダー直下から高さ350px、写真の上に黒30%だけ。紺で染めない。 */
.p-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
@media (max-width: 500px) {
  .p-hero {
    min-height: 250px;
  }
}
.p-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.p-hero__inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px;
}
.p-hero__en {
  display: inline-block;
  position: relative;
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(34px, 5vw, var(--fs-50));
  line-height: 1.1;
}
/* XD実測: 英字の右に 30x30 の三角。TOP は紺だが下層は白。 */
.p-hero__en::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.18em;
  background: var(--white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.p-hero__ja {
  display: block;
  margin-top: 8px;
  /* h1 と p のどちらで出しても同じ余白にする（h1 の既定値） */
  margin-bottom: 0.67em;
  font-size: var(--fs-24);
  font-weight: 600;
}

/* 背面の大きな英字。XD では右端にわずかに覚く位置（x=1259 / 幅1366）なので、
   左端を 92% に置いて残りは親の overflow で切る。装飾なので読み上げ対象外。
   XD の重ね順では常にカードより「奥」にあるので z-index は 0 に置く。 */
.c-watermark {
  position: absolute;
  z-index: 0;
  left: 92%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(60px, 11vw, var(--fs-150));
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  user-select: none;
}

.l-main {
  position: relative;
  overflow: hidden;
  padding-block: 72px 96px;
}
/* 会社概要のように各セクションが自前で padding-block を持つページでは、
   .l-main 側の余白と二重にならないようゼロにする */
.l-main--flush {
  padding-block: 0;
}
/* 本文は袋文字より前面に置く。袋文字自身は絶対配置のままにしたいので除外する。 */
.l-main > *:not(.c-watermark) {
  position: relative;
  z-index: 1;
}
/* 本文エリアの端に縦書きで敷く袋文字（XD は下層ページでもヒーローではなく本文側に置く） */
.c-watermark--page {
  left: auto;
  right: 0;
  top: 40px;
  transform: none;
  z-index: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: calc(100% - 80px);
  overflow: hidden;
  -webkit-text-stroke-color: rgba(12, 18, 133, 0.3);
}
.c-watermark--page.is-left {
  left: 0;
  right: auto;
}
/* お知らせ・コラムの本文は読みやすい幅に絞る */
.l-narrow {
  max-width: 820px;
}
.p-article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
  font-size: var(--fs-14);
}

/* XD実測: 英字60px #222 ＋右に30x30の青三角、日本語24px #0c1285 */
.c-section-head {
  margin-bottom: 56px;
}
.c-section-head__en {
  position: relative;
  white-space: nowrap;
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, var(--fs-60));
  line-height: 1.2;
  color: #222222;
}
/* 三角マーク。アニメーション版（.c-section-head__en-wipe を内包する場合）は
   帯が覆う範囲に含めるため wipe 側の ::after で出す。それ以外（Pick UP や
   トップページ以外）はこれまで通り .c-section-head__en 側の ::after で出す。 */
.c-section-head__en:not(:has(.c-section-head__en-wipe))::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.18em;
  background: var(--navy);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* 文字が下にはみ出ないアニメーション見出し（has-descender が無い）は、
   line-height の余白の分だけ帯が文字より大きく見えるため詰める。
   はみ出る見出し（has-descender）は 1.2 のまま（下端の余白が必要）。 */
.c-section-head__en:has(.c-section-head__en-wipe:not(.has-descender)) {
  line-height: 1;
}
/* 背景色が左から右へ伸びて、三角マークの位置まで覆ってから消える。
   帯が退場したあとに三角だけが残って見えるよう、三角（::after）も
   このラッパーの内側（帯が覆う範囲）に含める。 */
.c-section-head__en-wipe {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  overflow: hidden;
}
/* g や Q の尾のようにベースラインより下へはみ出る見出しは、
   三角をボックス下端に揃えて文字とぶつからないようにする。 */
.c-section-head__en-wipe.has-descender {
  align-items: flex-end;
}
.c-section-head__en-wipe::after {
  content: "";
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.18em;
  background: var(--navy);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.c-section-head__en-wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
}
.c-section-head__en-wipe.is-inview::before {
  animation: c-section-head-en-wipe 1s forwards;
}
@keyframes c-section-head-en-wipe {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
.c-section-head__en-text {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.6s ease;
  transition-delay: 0.5s;
}
.c-section-head__en-wipe.is-inview .c-section-head__en-text {
  opacity: 1;
}
.c-section-head__ja {
  display: block;
  margin-top: 4px;
  font-size: clamp(16px, 1.8vw, var(--fs-24));
  font-weight: 600;
  color: var(--navy);
}

/* -------------------------------------------------------------
 * 加工事例：一覧上部の検索パネル（XD サイドバーなし版の横並び検索）
 * ---------------------------------------------------------- */
/* XD実測: 白いカード 1200x176（枠なし）。中に見出しと入力欄が横並びで入る。 */
.p-search {
  padding-block: 56px 0;
}
.p-search__panel {
  padding: 28px 36px 32px;
  background: var(--white);
  border: 1px solid #cccccc;
}
.p-search .c-section-head--sm {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.p-search .c-section-head--sm .c-section-head__en {
  font-size: var(--fs-40);
}
.p-search .c-section-head--sm .c-section-head__ja {
  display: inline;
  margin-top: 0;
  font-size: var(--fs-18);
}
.p-search__form {
  display: grid;
  gap: 20px 24px;
  align-items: end;
  /* フリーワード入力欄：検索ボタンエリア = 3：1 */
  grid-template-columns: 3fr 1fr;
}
@media (max-width: 600px) {
  .p-search__form {
    grid-template-columns: 1fr;
  }
}
.p-search__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-16);
  font-weight: 600;
}
/* XD実測: 入力欄は 280x50 の #f5f5f5。枠線は無く、プレースホルダは #777777 */
.p-search__field input[type="search"] {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: var(--fs-16);
  color: var(--text);
  background: #f5f5f5;
  border: 0;
  border-radius: 0;
}
.p-search__field input::placeholder {
  color: var(--text-sub);
}
/* プルダウンはフリーワード欄と違い、白背景＋枠線＋シェブロンで選択欄と分かるようにする */
.p-search__select {
  position: relative;
  display: block;
}
.p-search__field select {
  width: 100%;
  height: 50px;
  padding: 12px 40px 12px 16px;
  font-family: inherit;
  font-size: var(--fs-16);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.p-search__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border: solid var(--text-sub);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.p-search__submit {
  display: flex;
  justify-content: center;
}
.p-search__submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  height: 50px;
  padding: 0 24px;
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 999px;
  cursor: pointer;
}
.p-search__submit button:hover {
  color: var(--white);
  background: var(--navy);
}
.p-search__submit button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.p-search__submit button:hover {
  background: var(--navy);
}

/* -------------------------------------------------------------
 * 加工事例：一覧（サイドバー版の残り。詳細ページで使用）
 * ---------------------------------------------------------- */
.l-with-side {
  display: grid;
  gap: 56px;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.c-side__block + .c-side__block {
  margin-top: 36px;
}
.c-side__title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: var(--fs-18);
  font-weight: 700;
  border-bottom: 2px solid var(--navy);
}
.c-side__note {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--text-sub);
}
.c-side__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-side__list li {
  padding: 6px 0;
}
.c-side__list label {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
/* reset.css が input の appearance を消しているため、ラジオボタンは個別に復元する */
.c-side__list input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.c-side__search {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: var(--fs-16);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.c-searchform {
  display: flex;
  gap: 8px;
}
.c-searchform input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  font-size: var(--fs-16);
  font-family: inherit;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.c-searchform button {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

/* カード共通（加工事例・コラム）。XD実測: 白カード・タイトル22px・
   英字14px Montserrat #0c1285・右に紺の矢印円50px。 */
.c-cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0 24px 50px;
}
.c-card:hover {
  text-decoration: none;
}
.c-card__thumb {
  display: block;
  margin: 0 -24px 20px;
  aspect-ratio: 378 / 213;
  overflow: hidden;
  background: var(--bg-gray);
}
/* XD実測: コラムカードの写真は 352x198 でカード兤24pxインセット */
.p-columns .c-card {
  padding-top: 24px;
  padding-bottom: 90px;
}
.p-columns .c-card__thumb {
  margin: 0 0 20px;
  aspect-ratio: 352 / 198;
}
.c-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.c-card:hover .c-card__thumb img {
  transform: scale(1.04);
}
.c-card__title {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.5;
}
.c-card__title a {
  color: var(--text);
}
.c-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
/* 技術コラムの一覧のカードでは、カテゴリをタイトルの上に置く */
.c-card__cats--above {
  margin: 0 0 8px;
}
/* 加工事例のカードでは、カテゴリをカード下部の左（右の矢印ボタンと同じ高さ）に置く */
.c-card__cats--bottom {
  position: absolute;
  left: 24px;
  right: 76px;
  bottom: 20px;
  align-items: center;
  min-height: 40px;
  margin: 0;
}
/* 矢印ボタンと同じ高さに置くぶん、カテゴリのあるカードは下の余白を広げる */
.c-card:has(.c-card__cats--bottom) {
  padding-bottom: 70px;
}
.c-card__cat {
  display: inline-block;
  padding: 1px 8px 2px;
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}
.c-card__en {
  margin: 4px 60px 0 0;
  font-family: var(--en);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--navy);
}
.c-card__excerpt {
  margin: 10px 0 0;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text);
}
.c-card__link {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}
.c-card__link svg {
  width: 16px;
  height: 12px;
}
/* XD の トップ Processing・加工事例一覧のカードは タイトル＋英字のみ（本文なし） */
.p-processing .c-card__excerpt,
.c-cards--compact .c-card__excerpt {
  display: none;
}

.c-empty {
  padding: 40px 0;
  font-size: var(--fs-16);
}
/* 準備中の表示。ページの中央に大きめに置く */
.c-empty--preparing {
  padding: 96px 0;
  font-size: var(--fs-20);
  line-height: 1.8;
  text-align: center;
}

/* ページネーション。前後は#0C1285の丸ボタン、選択中の数字は#19A4DB */
.pagination {
  margin-top: 48px;
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.pagination .page-numbers {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--text);
}
.pagination a.page-numbers:hover {
  color: var(--navy);
}
.pagination .page-numbers.current {
  color: #ccc;
  font-weight: 700;
}
.pagination .page-numbers.dots {
  color: var(--text-sub);
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0c1285;
}
.pagination .prev.page-numbers::before,
.pagination .next.page-numbers::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
}
.pagination .prev.page-numbers::before {
  left: 17px;
  transform: rotate(135deg);
}
.pagination .next.page-numbers::before {
  right: 17px;
  transform: rotate(-45deg);
}

/* -------------------------------------------------------------
 * 加工事例：詳細
 * ---------------------------------------------------------- */
.p-case__title {
  margin: 0 0 16px;
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1.5;
}
.p-case__notice {
  margin: 0 0 24px;
  padding: 10px 14px;
  font-size: var(--fs-14);
  font-weight: 400;
  background: var(--bg-gray);
  border-left: 3px solid var(--line);
}
.p-case__thumb {
  margin: 0 0 32px;
}
.p-case__body > * {
  margin-block: 1.4em;
}
.p-case__body h2 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-left: 14px;
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.5;
  border-left: 4px solid var(--navy);
}
.p-case__body h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--navy);
}
.p-case__body h4 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: var(--fs-18);
  font-weight: 600;
  border-bottom: solid 1px #dddddd;
  padding-bottom: 5px;
  color: #6d6d6d;
}
.p-case__body p {
  font-weight: 400;
  font-size: var(--fs-16);
}
.wp-block-list {
  padding-left: 20px;
}
.wp-block-list li {
  list-style: disc;
  font-weight: 400;
  font-size: var(--fs-16);
}
.p-case__body img {
  height: auto;
}
.p-case__back {
  margin-top: 48px;
  text-align: center;
}

.c-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.c-taglist a {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}
.c-taglist a:hover {
  background: var(--navy);
  text-decoration: none;
}

.c-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
}
.c-pager a {
  font-size: var(--fs-14);
  font-weight: 600;
}

/* -------------------------------------------------------------
 * お問い合わせフォーム（Contact Form 7 ＋自作の確認ステップ）
 * 入力部品は加工事例の検索パネルと同じ見た目に揃えている。
 * ---------------------------------------------------------- */
.c-form {
  max-width: 820px;
  margin-inline: auto;
}
.c-notes {
  margin: 0 0 40px;
  padding: 24px 28px;
  background: var(--bg-gray);
  border: 1px solid var(--line-light);
  list-style: none;
}
.c-notes li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--fs-14);
  line-height: 1.9;
  color: var(--text);
}
.c-notes li::before {
  content: "■";
  position: absolute;
  left: 0;
  font-size: 0.7em;
  color: var(--navy);
}
.c-notes li + li {
  margin-top: 4px;
}
.c-notes a {
  text-decoration: underline;
}
.c-form__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-light);
}
.c-form__label {
  flex: 0 0 200px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.c-form__row > *:not(.c-form__label) {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 700px) {
  .c-form__row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .c-form__label {
    flex: none;
    padding-top: 0;
  }
}
.c-form__req,
.c-form__any {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: var(--fs-12);
  font-weight: 600;
  border-radius: 3px;
  vertical-align: 2px;
}
.c-form__req {
  color: var(--white);
  background: var(--red);
}
.c-form__any {
  color: var(--text-sub);
  background: var(--bg-gray);
  border: 1px solid var(--line-light);
}
.c-form__help {
  margin: 8px 0 0;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text-sub);
}
.c-form__zip {
  display: flex;
  align-items: flex-start; /* 〒・ー は入力欄の行に置き、エラー文言が出ても入力欄と横一列に並べる */
  gap: 8px;
  font-weight: 600;
  line-height: 44px; /* 入力欄の高さに合わせる */
}
.c-form__zip .wpcf7-form-control-wrap[data-name="your-zip1"] {
  width: 90px;
}
.c-form__zip .wpcf7-form-control-wrap[data-name="your-zip2"] {
  width: 110px;
}
.c-form__zip input[type="text"] {
  width: 100%;
  text-align: center;
}
/* 郵便番号の入力欄は幅が狭いので、エラー文言（必須項目です。）を2行に折り返さず1行で出す */
.c-form__zip .wpcf7-not-valid-tip {
  white-space: nowrap;
  line-height: 1.75;
}

/* reset.css が appearance を消しているため個別に復元する */
.c-form input[type="radio"],
.c-form input[type="checkbox"] {
  appearance: auto;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.c-form .wpcf7-radio,
.c-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.c-form .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.c-form input[type="text"],
.c-form input[type="email"],
.c-form input[type="tel"],
.c-form select,
.c-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: var(--fs-16);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
/* reset.cssでselectのappearanceが消えているため、ドロップダウンだと
   分かるよう矢印アイコンを自前で表示する */
.c-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c1285' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.c-form textarea {
  min-height: 12em;
  resize: vertical;
}
.c-form input:focus-visible,
.c-form select:focus-visible,
.c-form textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.c-form input[type="file"] {
  font-size: var(--fs-14);
}

.c-form__consent {
  padding-block: 24px;
  text-align: center;
  font-size: var(--fs-16);
}
.c-form__consent input[type="checkbox"] {
  margin-right: 6px;
}

.c-form__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
/* 確認ページで、ボタンの入れ物が表（dl のグリッド）の中に入ってしまっても、
   ラベル列の幅に押し込められず、表の全幅で中央に並べる */
.c-form__reviewList .c-form__actions {
  grid-column: 1 / -1;
}
.c-form__actions .c-btn,
.c-form input[type="submit"] {
  min-width: 240px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.c-form input[type="submit"]:hover {
  background: var(--navy-dark);
}
/* Multi-Step Forms プラグインの [previous] ボタン（確認ページの「修正する」） */
.c-form input.wpcf7-previous {
  min-width: 240px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 999px;
  cursor: pointer;
}
.c-form input.wpcf7-previous:hover {
  background: var(--bg-gray);
}
.c-btn--ghost {
  color: var(--navy) !important;
  background: var(--white) !important;
  border: 1px solid var(--navy) !important;
}
.c-btn--ghost:hover {
  background: var(--bg-gray) !important;
}

/* 確認ステップ */
.c-form__review {
  padding: 8px 0 24px;
}
.c-form__reviewLead {
  margin: 0 0 20px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.c-form__reviewList {
  display: grid;
  grid-template-columns: 14em minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-light);
}
.c-form__reviewList dt,
.c-form__reviewList dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-light);
}
.c-form__reviewList dt {
  font-weight: 600;
  background: var(--bg-gray);
}
.c-form__reviewList dd {
  font-weight: 400;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.c-form__reviewList dd.is-empty {
  color: var(--text-sub);
}

/* 自前の入力エラー表示 */
.c-form__error {
  margin: 8px 0 0;
  padding: 8px 12px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--red-light);
  background: #fff5f5;
  border-left: 3px solid var(--red-light);
}
.c-form [aria-invalid="true"] {
  border-color: var(--red-light);
}
.c-form input::placeholder,
.c-form textarea::placeholder {
  color: #a6a6a6;
}

/* CF7 のメッセージ */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: var(--fs-14);
  color: var(--red-light);
}
.wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 16px !important;
  font-size: var(--fs-16);
  border: 1px solid var(--line) !important;
  border-radius: 4px;
}
.wpcf7-form.invalid .wpcf7-response-output {
  border-color: var(--red-light) !important;
  background: #fff5f5;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--green) !important;
  background: #f0fff0;
}
.wpcf7-spinner {
  position: absolute;
  margin-left: 12px;
}

@media (max-width: 700px) {
  .c-form__reviewList {
    grid-template-columns: 1fr;
  }
  .c-form__reviewList dt {
    border-bottom: 0;
  }
  .c-form__actions .c-btn,
  .c-form input[type="submit"] {
    min-width: 0;
    width: 100%;
  }
}

/* -------------------------------------------------------------
 * 表（設備一覧・材料一覧）
 * ---------------------------------------------------------- */
.c-table-group + .c-table-group {
  margin-top: 56px;
}
.c-table-group__title {
  margin: 0 0 16px;
  font-size: var(--fs-24);
  font-weight: 600;
}
.c-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* 材料一覧は行数が多くなりうるため、一定の高さを超えたら縦スクロールにし、
   見出し行（材料・サイズ mm）を上部に固定する。 */
.c-table-scroll--material {
  max-height: 600px;
  overflow-y: auto;
}
@media (max-width: 600px) {
  .c-table-scroll--material {
    max-height: 400px;
  }
}
/* XD実測（設備一覧PC）: 表は 1100px（300/300/300/200）で、コンテナ幅いっぱいには広げない */
.c-table {
  width: 100%;

  border-collapse: collapse;
  font-size: var(--fs-16);
  background: var(--white);
  table-layout: fixed;
  font-weight: 400;
  line-height: 1.8;
}

/* .c-table th:nth-child(-n + 3),
.c-table td:nth-child(-n + 3) {
  width: 300px;
}
.c-table th:nth-child(4),
.c-table td:nth-child(4) {
  width: 200px;
} */
/* 材料一覧のマトリクスは列数が違うので固定幅を効かせない */
.c-table--matrix {
  max-width: none;
  table-layout: auto;
}
.c-table--matrix th,
.c-table--matrix td {
  width: auto;
}
.c-table th,
.c-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid var(--line);
}
.c-table thead th {
  font-weight: 600;
  background: var(--bg-gray);
  white-space: nowrap;
}
/* XD は数量も左揃え（中央寄せではない） */
.c-table td.is-num {
  text-align: left;
  white-space: nowrap;
}
.c-table--matrix th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--white);
}
/* 縦スクロール時、見出し行（材料・サイズ mm）を上部に固定する。
   2行分あるため、1行目は top:0、2行目は「1行目の実際の高さ」分だけ
   ずらす必要がある（高さは可変のため site.js が実測して top を設定する）。 */
.c-table-scroll--material .c-table--matrix thead th {
  position: sticky;
  top: 0;
  z-index: 3;
}
/* 左上の角（縦横どちらのstickyとも重なる）は最前面に出す */
.c-table-scroll--material .c-table--matrix thead th:first-child {
  z-index: 4;
}
/* 「サイズ（mm）」は colspan セル自体ではなく中の span を固定する
   （colspan されたセルには position: sticky が効かないブラウザがあるため）。
   left の値は site.js が「材料」列の実幅に合わせて動的に設定する。 */
.c-table__size-label {
  display: inline-block;
  position: sticky;
  left: 0;
  /* thead th の white-space: nowrap を上書き。折り返しを許可しないと、
     結合セル内でこのラベル分の最小幅を確保しようとして、結合範囲の
     先頭側の列（0.1・0.3など）だけ幅が不均等に広がってしまう。 */
  white-space: normal;
}
.c-table--matrix thead th {
  text-align: center;
}
.c-table--matrix td {
  text-align: center;
  white-space: nowrap;
}
.c-legend {
  margin: 0 0 16px;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text);
}
@media (max-width: 600px) {
  .c-table {
    font-size: var(--fs-14);
  }
  .c-table--matrix thead th {
    text-align: left;
  }
}
/* -------------------------------------------------------------
 * CONTACT
 * ---------------------------------------------------------- */
.p-contact {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
  color: var(--white);
  background: var(--navy-dark);
  text-align: center;
}
/* ::before は実要素より先に描かれるので、重ね順を明示して写真の上に覆いを置く */
.p-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-contact {
  background: url(../img/cvarea-bg.jpg);
  background-size: cover;
  background-position: center center;
}
/* CONTACT も他セクションと同じ縦書きの袋文字。XD実測: 左 x=92・帯上端から42px・stroke #f9f9f9 1px */
.p-contact .c-watermark {
  z-index: 2;
  left: 6.7%;
  top: 42px;
  transform: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: calc(100% - 84px);
  -webkit-text-stroke-color: rgba(249, 249, 249, 0.5);
}
.p-contact__inner {
  position: relative;
  z-index: 3;
}
.p-contact__en {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(34px, 5vw, var(--fs-60));
  line-height: 1.1;
  margin: 0;
}
.p-contact__lead {
  margin: 16px auto 40px;
  max-width: 40em;
  font-size: var(--fs-24);
  font-weight: 500;
}
/* XD実測: バナー380x180・白枠1px・間隀30px。アイコン上・タイトル30px・ラベル18px。
   mail / LINE のみ右下に白い矢印円50px。 */
.p-contact__list {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* 3枚の高さを揃え、中身は上から並べる（電話だけ行が1つ多いため） */
.p-contact__list > li {
  display: flex;
}
/* XD実測: 3枚とも opacity 0.9 */
.p-contact__item {
  position: relative;
  flex: 1;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  padding: 24px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.p-contact__icon {
  display: grid;
  place-items: center;
  height: 44px;
  margin-bottom: 4px;
}
.p-contact__icon svg {
  max-height: 44px;
  width: auto;
  max-width: 52px;
}
.p-contact__value {
  font-family: var(--en);
  font-size: var(--fs-30);
  font-weight: 600;
  color: var(--white);
}
.p-contact__sub {
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* リンクの既定色（紺）を継がせない */
.p-contact__item,
.p-contact__item * {
  color: var(--white);
}
.p-contact__label {
  font-size: var(--fs-18);
  font-weight: 600;
}
.p-contact__arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
}
.p-contact__arrow svg {
  width: 16px;
  height: 12px;
}
/* .p-contact__item * の白色指定が svg 内の path にも効くため、円の中は紺で上書きする */
.p-contact__arrow,
.p-contact__arrow * {
  color: var(--navy) !important;
}
a.p-contact__item:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* -------------------------------------------------------------
 * フッター
 * ---------------------------------------------------------- */
.l-footer {
  padding-block: 80px 24px;
  background: var(--white);
}
.l-footer__nav {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 56px;
}
/* 加工事例は記事タイトルが長いため広めに、強み・技術は項目が短いため狭めに配分する */
@media (min-width: 901px) {
  .l-footer__nav {
    grid-template-columns: 0.55fr 2fr 1.1fr 0.9fr;
  }
}
/* 各列は高さの短い列の下端を、一番長い列に揃える。伸びるのは見出しの上の余白だけ */
.l-footer__nav > div {
  display: flex;
  flex-direction: column;
}
/* XD実測: 列見出しは 16px #0c1285 */
.l-footer__heading {
  margin: 0 0 12px;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--navy);
}
/* 1カラム内に2つ目の見出し（お問い合わせ等）が続く場合は上に余白を空ける。
   最低40pxを確保し、列の高さが余っている分はこの余白が伸びて下端を揃える */
.l-footer__nav ul + .l-footer__heading {
  margin-top: auto;
  padding-top: 40px;
}
.l-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.l-footer__nav li {
  margin-bottom: 8px;
}
.l-footer__nav li,
.l-footer__nav a,
.l-footer__nav span {
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text);
}
.l-footer__company {
  font-size: var(--fs-14);
  font-weight: 400;
}
.l-footer__company b {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.l-footer__company address span {
  display: block;
}
.l-footer__company address .l-footer__company-telfax {
  display: flex;
  gap: 8px;
}
.l-footer__company address .l-footer__company-telfax span {
  display: inline;
}
.l-footer__company address a {
  color: inherit;
}
/* XD実測: 会社情報の帯は全幅の #dddddd 1px 線で上下を挿む */
.l-footer__band {
  border-block: 1px solid var(--line-light);
}
.l-footer__bottom {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  padding-block: 24px;
}
/* XD実測: 各マークは高さ100px。Aichi Quality(350x100) と 健康経営(133x100) だけ
   #cccccc 1px の枠が付き、ISO2種とカーボンオフセット(100x100)は枠なし。 */
.l-footer__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.l-footer__marks li {
  display: grid;
  place-items: center;
  height: 100px;
}
.l-footer__marks img {
  max-height: 100px;
  max-width: 100%;
  width: auto;
}
.l-footer__marks li:nth-child(1) {
  width: 270px;
  border: 1px solid var(--line);
}
/* 1枚目（Aichi Quality）と2枚目は同じ幅の枠にそろえる（5つが1行に収まる幅） */
.l-footer__marks li:nth-child(2) {
  width: 270px;
  border: 1px solid var(--line);
}
.l-footer__marks li:nth-child(1) img {
  max-height: 71px;
}
/* PC幅が狭いときも5つを1行に保つ（1・2枚目の枠を同じ割合で縮める。SP は下の別指定） */
@media (min-width: 901px) {
  .l-footer__marks {
    flex-wrap: nowrap;
    min-width: 0;
  }
  .l-footer__marks li:nth-child(-n + 2) {
    flex: 0 1 270px;
    min-width: 0;
  }
  .l-footer__marks li:nth-child(n + 3) {
    flex: 0 0 auto;
  }
}

.l-footer__copyright {
  margin: 40px 0 0;
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--text-sub);
}

/* -------------------------------------------------------------
 * パンくず
 * ---------------------------------------------------------- */
/* XD実測: 本文の下・CONTACT の直前に置き、上に全幅 #cccccc 1px の線。文字は中央寄せ。 */
.c-breadcrumb {
  padding-block: 20px;
  font-size: var(--fs-14);
  font-weight: 400;
  border-top: 1px solid var(--line);
}
.c-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-sub);
}
.c-breadcrumb a {
  color: #555555;
}
.c-breadcrumb li[aria-current] {
  color: var(--navy);
  font-weight: 600;
}

/* -------------------------------------------------------------
 * トップページ
 * ---------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 28px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}
.c-btn:hover {
  background: var(--navy);
  text-decoration: none;
}
.c-btn--red {
  background: var(--red);
  border: 2px solid transparent;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}
.c-btn--red:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
}
/* ホバーで塗り→アウトラインに反転する（矢印は currentColor で追従） */
.c-btn--navy {
  border: 2px solid transparent;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}
.c-btn--navy:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.c-btn--gray {
  background: var(--text-sub);
  border: 2px solid transparent;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}
.c-btn--gray:hover {
  background: var(--white);
  color: var(--text-sub);
  border-color: var(--text-sub);
}
.c-more {
  margin-top: 48px;
  text-align: center;
}
/* Achievements だけ XD の間隔が狭い（カード列の下から19px） */
.p-achievements .c-more {
  margin-top: 20px;
}
/* もっと見る系ボタン。XD実測: 250x50、右端から32pxに白矢印 16x12 */
.c-more .c-btn {
  position: relative;
  min-width: 250px;
  min-height: 50px;
  padding-inline: 40px;
}
.c-more .c-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 12px;
  transform: translateY(-50%);
  background: currentColor;
  -webkit-mask: url("../img/svg/arrow.svg") no-repeat center / contain;
  mask: url("../img/svg/arrow.svg") no-repeat center / contain;
}
/* ダウンロード系など「もっと見る」ではないボタンは矢印なし */
.c-more .c-btn--no-arrow::after {
  content: none;
}

.p-section {
  position: relative;
  overflow: hidden;
  padding-block: 96px 80px;
}
/* XD実測の背景色: Achievements #f9f9f9 / Q&A #dae6f6 / 他は白 */
.p-achievements {
  background: var(--bg-gray);
}
/* Q&A の背景は #dae6f6 の矩形が減衰されて実描画は #f8fafd（PNG実測） */
.p-faq {
  background: #f8fafd;
}
/* XD ではセクションごとに左右が入れ替わる（左 x=92 / 右 x=1174）。150pxの袋文字は縦書きで
   セクション全高に伸びる。 */
/* XD実測: 線は #0c1285 1px（PNG上の見え方は約50%濃度）。開始位置はセクション上端から80px */
.c-watermark--dark {
  left: auto;
  right: 4.5%;
  top: 80px;
  transform: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: calc(100% - 160px);

  -webkit-text-stroke-color: rgba(12, 18, 133, 0.5);
}
.c-watermark--dark.is-left {
  left: 6.7%;
  right: auto;
}
/* 袋文字はカードの下に敷く（XDの重ね順）。中身側を必ず前面に出す。 */
.p-section > .l-container,
.p-section > .c-more,
.p-section > .c-scroller {
  position: relative;
  z-index: 1;
}
.c-section-head--center {
  text-align: center;
}

/* ファーストビュー。全幅の写真の上に、左のコピーと右のバブルマップが乗る。
   XD は 1366x768 の写真をマスクで切っているので同じ比率で敷く。 */
/* .p-fv {
	position: relative; overflow: hidden;
	display: grid; align-items: center;
	min-height: min(768px, 56vw);
	padding-block: 56px;
	background: var(--navy-dark);
} */
.p-fv {
  background: url(../img/main-v.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
.p-fv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 白抜きのコピーを読ませるための薄い覆い。写真自体が左側で暗いので控えめにする。 */
/* .p-fv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 20, 45, 0.58) 0%,
    rgba(8, 20, 45, 0.3) 42%,
    rgba(8, 20, 45, 0.08) 70%,
    rgba(8, 20, 45, 0) 100%
  );
} */
/* XD実測: コピーは x=102 から、マップは x=442〜1356（ほぼ右端）まで広がる。
   コンテナ幅 1146 に収めず、ビューポート基準で敷く。 */
.p-fv__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  max-width: none;
  padding-inline: 7.4% 0.7%;
  /* コピー列は XD 実測の 340px（x=102〜442）。ボタン行はマップ列の空き領域へはみ出す */
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .p-fv__inner {
    padding-inline: 40px 20px;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .p-fv__inner {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  }
}
.p-fv__copy {
  color: var(--white);
}
.p-fv__lead {
  margin: 0 0 8px;
  font-size: var(--fs-36);
  font-weight: 600;
}
/* 改行は <br> で制御しているため折り返さない（列幅 340px を少し超えて描く。XDも同じ） */
.p-fv__title {
  margin: 0 0 20px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .p-fv__title {
    font-size: 50px;
  }
}
@media (max-width: 1100px) {
  .p-fv__title {
    font-size: 48px;
  }
}
@media (max-width: 1000px) {
  .p-fv__title {
    font-size: 38px;
  }
  .p-fv__lead {
    font-size: 24px;
  }
}
/* XD実測: 2行目「プレス加工技術」のみ #ffd700。
   画面に表示されたら左から右へゆっくりマーカーが伸びるようにする。 */
.p-fv__title-accent {
  color: #fff;
  background-image: linear-gradient(
    transparent 75%,
    rgba(255, 215, 0, 0.8) 20%
  );
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1.4s ease;
}
.p-fv__title-accent.is-inview {
  background-size: 100% 100%;
}
.p-fv__text {
  margin: 0 0 20px;
  font-size: var(--fs-18);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .p-fv__text {
    font-size: var(--fs-16);
  }
}
.p-fv__buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 0;
  width: max-content;
}
.p-fv__buttons .c-btn {
  min-width: 0;
  padding: 12px 22px;
}

/* 円の外接矩形 914x703 をそのまま器にする（XD 実寸） */
.p-fv__map {
  position: relative;
  top: 15px;
  aspect-ratio: 914 / 703;
  min-height: 360px;
  container-type: inline-size;
  max-height: 620px;
}
@media (max-width: 900px) {
  .p-fv__map {
    min-height: auto;
    max-height: 460px;
  }
}
@media (min-width: 901px) {
  .p-fv {
    box-sizing: border-box;
    padding-top: clamp(0px, calc(610px - 100vh), var(--header-h));
  }
  .p-fv__map {
    --fv-map-h: min(620px, calc(100vh - (var(--header-h) - 15px) * 2));
    width: min(100%, calc(var(--fv-map-h) * 914 / 703));
    justify-self: center;
    min-height: 0;
    max-height: none;
  }
}
@media (min-width: 901px) and (max-width: 1090px) {
  .p-fv__map {
    --fv-map-h: min(460px, calc(100vh - (var(--header-h) - 15px) * 2));
  }
}
/* バブルから中央円への連結線（XD 白4px x 10本）。バブルの下に敷く */
.p-fv__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.p-fv__lines svg {
  display: block;
  width: 100%;
  height: 100%;
}
.p-fv__map .c-bubble {
  z-index: 1;
}
.c-bubble {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
  line-height: 1.3;
  font-weight: 600;
  /* 幅・高さ・文字サイズは XD 実寸から PHP 側で付与している */
  font-size: var(--fs, 2cqw);
}
.c-bubble--main {
  background: var(--navy);
  color: var(--white);
  z-index: 2;
  line-height: 1.25;
  box-shadow: 0 0 0 var(--ring, 0) #e6e6fa;
}
/* XD実測: ピンク円と紺ピルには白4pxのふち（4/914 = 0.44cqw） */
.c-bubble--red {
  background: #fff0f5;
  color: var(--red);
  border: max(2px, 0.44cqw) solid var(--white);
  opacity: 0.8;
}
/* XD実測: 緑の環は塗りではなく「白2pxの細線円」。fill円から --ring 分外側に離れる */
.c-bubble--green {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  opacity: 0.8;
}
.c-bubble--green::after {
  content: "";
  position: absolute;
  inset: calc(var(--ring, 1cqw) * -1);
  border-radius: 999px;
  /* border: 2px solid rgba(255, 255, 255, 0.95); */
}
.c-bubble--navy {
  background: var(--navy);
  color: var(--white);
  z-index: 3;
  white-space: nowrap;
  padding: 0.214em 1.25em;
  border: max(2px, 0.44cqw) solid var(--white);
}

/* News と Columns の間に入る全幅の写真帯（XD: 高さ250px） */
.p-band {
  height: 250px;
}
.p-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pick UP。XD実測: 見出しが左、写真列（clip実寸 380x214・間隀32）が右端へブリード。
   上下の余白は 20px（スライドショーの上下）。 */
.p-pickup {
  padding-block: 20px;
}
.p-pickup__inner {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: minmax(200px, 262px) minmax(0, 1fr);
  /* 左端はコンテナに合わせ、右は端まで流す */
  padding-left: max(20px, calc((100% - var(--container)) / 2 + 20px));
}
.p-pickup .c-section-head {
  margin-bottom: 0;
}
.c-tiles {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
}
.c-tile {
  display: block;
  position: relative;
  overflow: hidden;
}
.c-tile:hover {
  text-decoration: none;
}
.c-tile__link {
  display: block;
  color: inherit;
}
.c-tile__link:hover {
  text-decoration: none;
}
.c-tile__link img {
  transition: opacity 0.2s;
}
.c-tile__link:hover img {
  opacity: 0.85;
}
.c-tile img {
  width: 100%;
  aspect-ratio: 380 / 214;
  object-fit: cover;
  display: block;
}
.c-tile__title {
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 20px 12px;
  line-height: 1.4;
  font-size: clamp(16px, 1.7vw, var(--fs-20));
  font-weight: 600;
  color: var(--white);
  text-align: center;
}
/* XD実測: PEEKバッジは 100x100 の円（#193d77）で写真左上に乗る */
.c-tile__badge {
  position: absolute;
  left: 7%;
  top: 3%;
  display: grid;
  place-items: center;
  width: 100px;
  aspect-ratio: 1;
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}
/* XD実測: 塗りは無く、白1pxの輪郭だけを写真の上に重ねている（r75＝150px） */
/* Processing セクションの背景写真（XD: PROCESSING/bg） */
.p-processing {
  background: var(--bg-gray);
}
.p-processing__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.p-processing > .l-container {
  position: relative;
}

/* 数字で語る山田製作所。XD実測: カード280x197白（枠なし）・間隀30px、
   ラベル18px #333 上・アイコン中・数値24px #333 下。不良流出率のみ580幅（2枠分）。 */
/* XD実測: カードは 280x197・間隀30px。カード列の下から取引先ブロックまで 59px。 */
.c-stats {
  display: grid;
  gap: 30px;
  margin: 0 0 59px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
}

.c-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  height: 197px;
  padding: 16px 20px;
  text-align: center;
  background: var(--white);
}

.c-stat--wide {
  grid-column: span 2;
}
/* XD実測: 累計金型製作数・会社の継続力の2枚だけ opacity 0.9（背面の袋文字が透ける） */
.c-stat.is-dim {
  opacity: 0.9;
}
.c-stat__label {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.c-stat__icon {
  display: grid;
  place-items: center;
  height: 68px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  transition-delay: calc(150ms + var(--stat-i, 0) * 100ms);
}
.c-stats.is-inview .c-stat__icon {
  opacity: 1;
  transform: translateY(0);
}
.c-stat__icon svg {
  max-height: 68px;
  width: auto;
  max-width: 90px;
}
.c-stat__value {
  margin: 0;
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--text);
}
/* XD実測: 数字部分は 40px Montserrat-SemiBold、ppm・億個は 30px */
.c-stat__value-num {
  font-family: var(--en);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
}
.c-stat__value-unit {
  font-size: var(--fs-30);
}

.p-achievements__title {
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1;
}
.p-achievements__catch {
  margin: 0 0 8px;
  font-size: var(--fs-30);
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
}
.p-achievements__note {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 500;
  text-align: center;
}

/* 取引先・実績。XD実測: 380x253のカードが全幅ブリードで並び、
   テキストは写真の上に白字で重なる。 */
.c-scroller {
  display: flex;
  gap: 30px;
  margin: 13px 0 0;
  padding: 0 20px 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
/* slick-carousel初期化後は、自前のflex横スクロールを解除してslick側の配置に委ねる */
.c-scroller.slick-initialized {
  display: block;
  overflow: visible;
  scroll-snap-type: none;
  padding: 0 20px;
}
.c-scroller.slick-initialized .c-scroller__item {
  flex: none;
  width: auto;
  margin-inline: 15px;
}
.c-scroller .slick-track {
  display: flex;
}
.c-scroller .slick-list {
  margin-inline: -15px;
  overflow: hidden;
}
.c-scroller__item {
  position: relative;
  flex: 0 0 380px;
  scroll-snap-align: start;
  overflow: hidden;
}
.c-scroller__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 380 / 253;
  object-fit: cover;
  display: block;
}
/* XD実測: 写真の上に黒 40% の矩形を敷き、その上に白文字 */
.c-scroller__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
}
/* XD実測: タイトル20px SemiBold・本扈14px SemiBold（ともに白） */
.c-scroller__title {
  margin: 0 0 8px;
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
}
.c-scroller__text {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--white);
}

/* 当社の強み。XD実測: 白カード380x450・間隀30px、写真がカード上部（高さ約250px）、
   番号60pxの白字を写真左上に重ね、タイトル右に紺の矢印円50px。 */
.c-strengths {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  counter-reset: none;
}
/* XD実測: カードは #dddddd 1px 枠。写真は全カード均一の 332x187（カード兤24pxインセット） */
.c-strength {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 24px 24px 28px;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition:
    border-color 0.3s ease,
    opacity 0.35s ease calc(var(--i, 0) * 100ms),
    transform 0.35s ease calc(var(--i, 0) * 100ms);
}
.c-strength.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.c-strength:hover {
  border-color: var(--navy);
  text-decoration: none;
}
.c-strength__media {
  display: block;
  position: relative;
  margin: 0 0 24px;
  aspect-ratio: 332 / 187;
  overflow: hidden;
}
/* XD実測: 3列目のカードだけ opacity 0.9（背面の袋文字が透ける） */
.c-strengths .c-strength:nth-child(3n) {
  opacity: 0.9;
}
.c-strength__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* XD実測: 番号は写真の内側（上端から6px・左から4px）に白字で乗る */
.c-strength__num {
  position: absolute;
  left: 4px;
  top: 6px;
  font-size: var(--fs-60);
  line-height: 1;
  color: var(--white);
}
.c-strength__title {
  position: relative;
  margin: 0 0 16px;
  padding-right: 60px;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.5;
}
.c-strength__text {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 400;
}
/* 説明文は1行ずつ段落にする。「・」で始まる行は、折り返した2行目以降を「・」の後ろにそろえる */
.c-strength__line {
  display: block;
}
.c-strength__line.is-bullet {
  padding-left: 1em;
  text-indent: -1em;
}
/* タイトル右の矢印円。タイトルの右上を基準にすることで、タイトルが1〜2行に
   折り返してもカード全体に対する相対位置がずれないようにする */
.c-strength__link {
  position: absolute;
  right: 0px;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.c-strength__link svg {
  width: 16px;
  height: 12px;
}

/* 当社の強み（XD「当社の強み　PC」: 長尺1ページ・写真とテキストを左右交互） */
.p-strength__lead {
  margin-bottom: 40px;
  font-size: var(--fs-16);
  font-weight: 400;
}
.p-strength {
  margin-top: 48px;
}
/* XD は全体を白地にしている（背景の帯は無い） */
.p-strength__block {
  padding-block: 56px;
}
/* XD実測: 写真の実表示は全ブロック 500x281.25（16:9）で均一。写真列500px＋余白71px。
   奇数は写真が左、偶数は写真が右。 */
.p-strength__inner {
  display: grid;
  gap: 40px 71px;
  align-items: center;
  grid-template-columns: 500px minmax(0, 1fr);
}
.p-strength__block.is-right .p-strength__inner {
  grid-template-columns: minmax(0, 1fr) 500px;
}
.p-strength__block.is-right .p-strength__figure {
  order: 2;
}
.p-strength__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.p-strength__num {
  display: block;
  font-size: var(--fs-60);
  line-height: 1;
  color: var(--navy);
}
.p-strength__title {
  margin: 8px 0 16px;
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1.5;
}
.p-strength__text {
  font-size: var(--fs-16);
  font-weight: 400;
}
.p-strength__text p {
  margin: 0 0 1em;
}
.p-strength__text ul {
  margin: 0;
  padding-left: 1.2em;
}
.p-strength__text li {
  margin-bottom: 0.4em;
}

.p-case__num {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-40);
  line-height: 1;
  color: var(--navy);
}

/* お知らせ。XD実測: 区切り線は x=133〜1233（幅1100）でコンテナより内側 */
.c-news {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
/* XD実測: 1行79px・区切りは #cccccc 1px（各行の下） */
.c-news__item {
  display: grid;
  gap: 4px 20px;
  align-items: center;
  padding: 25px 22px;
  grid-template-columns: auto auto minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.c-news__date {
  font-family: var(--en);
  font-size: var(--fs-16);
  font-weight: 600;
}
/* XD実測: バッジ 120x30 r22 #0c1285・12px */
.c-news__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-news__cat {
  display: inline-block;
  min-width: 120px;
  padding: 4px 12px;
  text-align: center;
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}
.c-news__title {
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--text);
}

/* Q&A。XD実測: 白カード（1100x168・間隀16px・枠なし）、
   Q=紺円50px / A=#850000円50px に白字30px、質問18px #0c1285。 */
.c-faq {
  max-width: 1100px;
  margin: 0 auto;
}
.c-faq__item {
  margin-bottom: 16px;
  padding: 24px 30px;
  background: var(--white);
}
.c-faq__q,
.c-faq__a {
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  margin: 0;
}
.c-faq__q {
  align-items: center;
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--navy);
}
.c-faq__a {
  margin-top: 14px;
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--text);
}
.c-faq__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  font-size: var(--fs-30);
  line-height: 1;
  color: var(--white);
}
.c-faq__mark--q {
  background: var(--navy);
}
.c-faq__mark--a {
  background: var(--red);
}
.c-faq__body {
  align-self: center;
}
.c-faq__body a {
  font-weight: 600;
  text-decoration: underline;
}
.c-faq__body a:hover {
  text-decoration: none;
}

.c-card__title--sm {
  font-size: var(--fs-20);
}

/* -------------------------------------------------------------
 * SP
 * ---------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    /* XD「SPメニュー」実測: ヘッダーは 390x60 */
    --header-h: 60px;
  }

  /* ヘッダーの要素幅の合計がビューポートを超えると、ページ全体が
	   横スクロールしてしまう。SP では詰めて必ず収める。 */
  .l-header__inner {
    gap: 8px;
    padding-inline: 20px;
  }
  .l-header__logo {
    min-width: 0;
  }
  .l-header__name {
    font-size: var(--fs-14);
  }
  .l-header__name small {
    font-size: 9px;
  }
  /* XD「TOPページSP」はヘッダーに お問い合わせ ボタンを置かない（メニュー内の項目のみ） */
  .c-btn-contact {
    display: none;
  }
  .l-header__toggle {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .l-with-side {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .l-side {
    order: 2;
  }

  .l-nav {
    display: none;
  }
  .l-header__nav.is-open {
    display: block;
  }

  .l-header__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .l-header__toggle span {
    display: block;
    height: 2px;
    background: var(--text);
  }

  /* XD「SPメニュー」: 背景は#f5f5f5、上部にJP/EN、以下16pxの項目が57px間隔・
     区切り線(#ccc 1px)付きで左寄せに並ぶ */
  .l-header__nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    padding: 20px 15px 20px;
    background: #f5f5f5;
    overflow-y: auto;
  }
  .l-header__nav.is-open {
    display: block;
  }
  .l-header__nav .l-nav,
  .l-header__nav .l-nav ul {
    display: block;
  }
  /* 各項目の上下に#ccc 1pxの区切り線が入る（隣り合う項目は線を共有） */
  .l-header__nav .l-nav ul {
    border-top: 1px solid #ccc;
  }
  .l-header__nav .l-nav li {
    border-bottom: 1px solid #ccc;
  }
  .l-header__nav .l-nav a,
  .l-header__nav .l-nav span {
    display: block;
    padding: 14px 0 14px 20px;
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text);
  }
  .l-header__nav .l-nav span {
    color: var(--text-sub);
  }
  .l-nav__contact {
    display: block;
  }

  /* 「強み・技術」などの子メニューはSPではアコーディオンで開閉する（PCはホバー表示） */
  .l-header__nav .l-nav .menu__parents {
    position: relative;
  }
  .l-header__nav .l-nav .menu__toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .l-header__nav .l-nav .menu__toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .l-header__nav .l-nav .menu__toggle[aria-expanded="true"]::after {
    margin-top: 4px;
    transform: rotate(-135deg);
  }
  .l-header__nav .l-nav .menu__child {
    display: none;
  }
  .l-header__nav .l-nav .menu__parents.is-open > .menu__child {
    display: block;
  }
  .l-header__nav .l-nav .menu__child a {
    padding-left: 36px;
  }
  /* 子メニュー同士の間には区切り線を入れない（グループ全体の下線のみ残す） */
  .l-header__nav .l-nav .menu__child li {
    border-bottom: 0;
  }

  /* 開いている間は背面を固定する */
  body.is-nav-open {
    overflow: hidden;
  }
  /* TOP の透過ヘッダーは、メニューを開いた状態だと下のFVが透けて見えてしまうため
     開いている間だけ不透明な白背景にする */
  body.is-nav-open .l-header--overlay {
    background: var(--white);
    border-bottom: 1px solid var(--line-light);
  }
  body.is-nav-open .l-header--overlay .l-header__name {
    color: var(--text);
  }
  /* ×ボタンも白背景に合わせて紺に戻す（白背景に白い線で消えるのを防ぐ） */
  body.is-nav-open .l-header--overlay .l-header__toggle span {
    background: var(--text);
  }
  /* JP/EN も同様に白文字のままだと白背景に消えるため濃色に戻す */
  body.is-nav-open .l-header--overlay .l-header__lang .is-current {
    color: var(--text);
  }
  body.is-nav-open .l-header--overlay .l-header__lang span,
  body.is-nav-open .l-header--overlay .l-header__lang a {
    color: var(--text-sub);
  }

  /* ハンバーガーを×に変える */
  .l-header__toggle span {
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .l-header__toggle.is-open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }
  .l-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .l-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .l-main {
    padding-block: 48px 64px;
  }
  .c-cards {
    gap: 32px;
  }

  /* XD の各SPアートボード実測: ヒーローは 390x350、英字40px・和摙20px。
	   袋文字は 100px で常に左端（PCと違って右には出ない）。 */
  .p-hero__en {
    font-size: 32px;
  }
  .p-hero__ja {
    font-size: var(--fs-20);
  }
  .c-watermark--page,
  .c-watermark--page.is-left {
    left: 0;
    right: auto;
    font-size: 100px;
  }
  /* SP のカード写真は 4:3（PCの 16:9 より縦長） */
  .c-card__thumb {
    aspect-ratio: 4 / 3;
  }
  .p-case__body h2 {
    font-size: var(--fs-20);
  }
  .p-contact {
    padding-block: 56px;
  }
  .p-contact__lead {
    font-size: var(--fs-18);
  }

  /* トップページ */
  .p-section {
    padding-block: 64px 56px;
  }
  .c-watermark--dark {
    top: 40px;
    max-height: calc(100% - 80px);
  }
  .p-fv__inner {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
  .p-fv__copy {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  .p-fv__title {
    font-size: var(--fs-30);
    white-space: normal;
  }
  .p-fv__text {
    white-space: normal;
  }
  .p-fv__buttons {
    flex-wrap: wrap;
    gap: 12px;
    width: auto;
  }
  /* バブルは cqw 指定なので器の幅に自動追従する。
	   min-height を残すと aspect-ratio が「高さ×1.3」で幅を決めてしまう
	   （実測 390→幅390で横溢れ）。高さは比率任せにする。 */
  .p-fv__map {
    order: 1;
    margin: 0 auto;
    padding-left: 0;
    /* max-width: 600px; */
    max-height: 0;
    min-height: 455px;
    text-align: center;
  }

  /* 透過ヘッダーのハンバーガーとロゴは白のまま */
  .l-header--overlay .l-header__toggle span {
    background: var(--white);
  }
  .l-header--overlay .l-header__toggle.is-open span {
    background: var(--white);
  }
  /* XD「TOPページSP」実測: ロゴ 161x25、ハンバーガーは 30x2 の線を14px間隔3本 */
  .l-header__logo img,
  .l-header__logo svg {
    width: 161px;
  }
  /* XD の並びは ロゴ … JP/EN … ハンバーガー（最も右） */
  .l-header__toggle {
    order: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  .l-header__toggle span {
    width: 30px;
  }
  /* XD の SP ヘッダーには JP / EN が出る */
  .l-header > .l-container > .l-header__lang {
    display: flex;
  }
  /* 開いたメニューパネル内は下層と同じ配色 */
  .l-header--overlay .l-header__nav .l-nav a,
  .l-header--overlay .l-header__nav .l-nav span {
    color: var(--text);
  }
  .l-header--overlay .l-header__nav .l-header__lang .is-current {
    color: var(--text);
  }
  .l-header--overlay .l-header__nav .l-header__lang span,
  .l-header--overlay .l-header__nav .l-header__lang a {
    color: var(--text-sub);
  }

  /* XD「TOPページSP」は Pick UP の写真を全幅で縦に積む */
  .p-pickup {
    padding-block: 48px 0;
  }
  .p-pickup__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 0;
    padding-left: 20px;
  }
  .c-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
    padding-right: 20px;
  }

  .c-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
  }
  .c-stat {
    min-height: 0;
  }
  /* 2カラムの行に1枚だけ余る項目は、行いっぱいに広げず中央寄せにする */
  .c-stats li:nth-child(5),
  .c-stats li:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 16px) / 2);
  }
  .c-news__item {
    padding: 20px 4px;
  }
  /* SP では会社情報とマークを縦積みにする */
  .l-footer__bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* SP ではマークを1列に収め、均等に縮小する */
  .l-footer__marks {
    flex-wrap: nowrap;
    gap: 4px;
    height: 46px;
    min-width: 0;
  }
  .l-footer__marks li {
    flex: 1 1 0;
    width: auto;
    height: 100%;
    min-width: 0;
  }
  .l-footer__marks li:nth-child(1) {
    flex: 2 1 0;
  }
  .l-footer__marks img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
  .c-strength__num {
    font-size: var(--fs-40);
  }
  .p-strength__inner,
  .p-strength__block.is-right .p-strength__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-strength__block.is-right .p-strength__figure {
    order: 0;
  }
  .p-strength__block {
    padding-block: 40px;
  }
  .p-strength__title {
    font-size: var(--fs-24);
  }
  .p-strength__num {
    font-size: var(--fs-40);
  }
  .c-news__item {
    grid-template-columns: auto auto;
    justify-content: start;
  }
  .c-news__title {
    grid-column: 1 / -1;
  }
  .c-faq__item {
    padding: 20px;
  }
  .c-faq__q {
    font-size: var(--fs-16);
  }
  .c-faq__mark {
    font-size: var(--fs-24);
  }
}
@media (max-width: 640px) {
  .p-fv {
    height: auto;
    padding: 60px 0 30px;
  }
  .p-fv__map {
    min-height: 430px;
  }
}
@media (max-width: 600px) {
  .p-fv__map {
    top: 0;
    background: url(../img/bubble-sp.png) no-repeat center center;
    background-size: contain;
    width: 100%;
    min-height: 254px;
    margin-bottom: 30px;
    /* margin-top: 80px; */
  }
  .p-fv__map span {
    display: none;
  }
}
@media (max-width: 400px) {
  .p-fv__buttons {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .p-fv__buttons .c-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
    font-size: var(--fs-12);
  }
}
@media (max-width: 600px) {
  .c-stats {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  .c-stat {
    height: auto;
    margin-bottom: 20px;
    width: 100%;
  }
  /* 900px用の半幅中央寄せ指定を打ち消し、他のカードと同じ幅にする */
  .c-stats li:nth-child(5),
  .c-stats li:last-child {
    max-width: none;
  }
  .p-contact {
    background: url(../img/cvarea-bg-sp.png);
    background-size: cover;
    background-position: center center;
  }
  .c-faq__mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .c-watermark {
    font-size: 100px;
  }
  .c-watermark--dark.is-left {
    left: 0px;
    right: auto;
  }
  .c-watermark--dark {
    right: 0;
  }
  .p-contact .c-watermark {
    left: 0;
  }
}
address {
  font-style: normal;
}
@media (max-width: 500px) {
  .p-achievements__catch {
    font-size: 24px;
  }
  .c-scroller__title {
    font-size: 18px;
  }
}
.c-strong-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  /* トップページからのアンカーリンクで、固定ヘッダーの下に隠れないようにする */
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.c-strong-flex:last-of-type {
  margin-bottom: 0;
}
.c-strong-flex.rev {
  flex-direction: row-reverse;
}
.c-strong-flex > li {
  width: 48%;
}
.c-strong-img img {
  width: 100%;
}

.c-strong-ul-num {
  padding-top: 50px;
  font-family: var(--en);
  color: var(--navy);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, var(--fs-60));
  line-height: 1;
}
@media (max-width: 800px) {
  .c-strong-flex {
    display: block;
    margin-bottom: 50px;
  }
  .c-strong-flex > li {
    width: 100%;
  }
  .c-strong-ul-num {
    padding-top: 30px;
  }
}
.l-title-01 {
  font-size: var(--fs-30);
  font-weight: 600;
  color: #222222;
  padding-bottom: 30px;
}
@media (max-width: 900px) {
  .l-title-01 {
    font-size: 20px;
  }
}
.c-strong-p {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 400;
}
.c-strong-content-ul {
  padding-left: 20px;
  margin-top: 10px;
}
.c-strong-content-ul > li {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 400;
  list-style: disc;
  margin-bottom: 5px;
}
@media (max-width: 500px) {
  .c-strong-ul-num {
    padding-top: 20px;
  }
  .l-title-01 {
    font-size: 18px;
    padding-bottom: 20px;
  }
}
.c-side__list li {
  font-size: 14px;
  font-weight: 400;
}
.c-legend {
  margin: 0 0 20px;
  padding-bottom: 8px;
  font-size: var(--fs-18);
  font-weight: 700;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
}
.c-lead-txt {
  margin: 0 0 16px;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text);
}
/* 表が横スクロール可能なときだけ site.js が表示する案内文 */
.c-lead-txt-02 {
  margin: 0 0 12px;
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--text);
}

/* 画面右側に固定表示する「上へ戻る」ボタン。ある程度スクロールしたら site.js が表示する */
.c-scrolltop {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 50;
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.c-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
}
.c-scrolltop svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  .c-scrolltop {
    right: 12px;
    bottom: 16px;
  }
}
.c-side__block {
  margin-bottom: 20px;
}

/* -------------------------------------------------------------
 * 会社概要（COMPANY）
 * ---------------------------------------------------------- */
/* ヘッダー直下に固定される、6セクションへのアンカータブ */
.p-profile__tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.p-profile__tabs ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
}
.p-profile__tabs li {
  border-right: 1px solid var(--line-light);
}
.p-profile__tabs li:last-child {
  border-right: none;
}
.p-profile__tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  color: var(--text);
  text-align: center;
}
.p-profile__tabs a:hover {
  background: var(--bg-gray);
  text-decoration: none;
}
.p-profile__tabs .u-en {
  font-size: var(--fs-12);
  color: var(--text-sub);
  letter-spacing: 0.08em;
}
.p-profile__tab-label {
  font-size: var(--fs-14);
  font-weight: 500;
}
@media (max-width: 900px) {
  .p-profile__tabs ul {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
  .p-profile__tabs li {
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }
  /* 3列グリッドでは各行の右端（3n番目）に枠が要らない。
     li:last-child だけでは1行目右端（3番目）の枠が消えず欠けて見えていた。 */
  .p-profile__tabs li:nth-child(3n) {
    border-right: none;
  }
  .p-profile__tabs li:nth-last-child(-n + 3) {
    border-bottom: none;
  }
  .p-profile__tabs a {
    padding: 10px 4px;
    gap: 2px;
  }
  .p-profile__tab-label {
    font-size: var(--fs-12);
  }
}

.p-profile__section {
  scroll-margin-top: calc(var(--header-h) + 70px);
  padding-block: 96px;
}
.p-profile__section:nth-of-type(even) {
  background: var(--bg-gray);
}
/* 縦書き英字（袋文字）はセクションの背面に敷く装飾。何もしないと
   position指定のないコンテナより前面に来て文字と重なって見えてしまうため、
   コンテナ側を明示的に手前へ出す。 */
.p-profile__section > .l-container {
  position: relative;
  z-index: 1;
}
/* サイト共通のSPルールは袋文字を常に左に寄せるが、資格・受賞歴だけは
   PCと同じ右のままにしたいので、詳細度を上げて上書きする。 */
@media (max-width: 900px) {
  #certification.p-profile__section > .c-watermark--page {
    left: auto;
    right: 0;
  }
}
@media (max-width: 900px) {
  .p-profile__section {
    padding-block: 56px;
  }
}

/* サブ見出し（例: 沿革 HISTORY） */
.c-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 64px 0 28px;
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--text);
}
.c-block-head:first-child,
.c-section-head + .c-block-head {
  margin-top: 0;
}
.c-block-head .u-en {
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--text-sub);
}

/* 代表挨拶 */
.p-profile__stats .p-profile__stat-unit {
  font-size: var(--fs-14);
  font-weight: 600;
}

.p-profile__lead-copy {
  margin: 0;
  font-size: clamp(22px, 3vw, var(--fs-40));
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
}
.p-profile__lead-rule {
  height: 1px;
  background: var(--line-light);
  margin: 24px 0 48px
    calc(-1 * (max(0px, (100vw - var(--container)) / 2) + 20px));
  width: calc(100% + max(0px, (100vw - var(--container)) / 2) + 20px);
}
.p-profile__msg-band {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.p-profile__msg-aside {
  display: flex;
  flex-direction: column;
}
.p-profile__portrait {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  background: var(--bg-gray);
}
.p-profile__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .p-profile__portrait {
    margin: 0 auto;
  }
}
.p-profile__text p {
  margin: 0 0 22px;
  font-size: var(--fs-16);
  line-height: 2;
  color: var(--text);
}
.p-profile__text p:last-child {
  margin-bottom: 0;
}
.p-profile__emphasis {
  font-weight: 700;
  color: var(--navy);
  padding-inline: 2px;
}
.p-profile__text + .p-profile__text {
  margin-top: 22px;
}
.p-profile__sign {
  margin-top: 24px;
}
.p-profile__sign-company {
  font-size: var(--fs-20);
  color: var(--text);
}
/* .p-profile__sign-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 5px;
} */
.p-profile__sign p.p-profile__sign-name {
  font-size: var(--fs-24);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.p-profile__sign p.p-profile__sign-role {
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--text-sub);
}
.p-profile__stats {
  margin: 30px 0 0;
  display: flex;
  justify-content: space-between;
}
.p-profile__stats > div {
  border: 1px solid var(--line-light);
  padding: 34px 30px 36px;
  width: 32%;
  box-sizing: border-box;
}

.p-profile__stats .u-en {
  display: block;
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--text-sub);
}
.p-profile__stats dt {
  margin: 14px 0 0;
  font-family: var(--en);
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.p-profile__stats dd {
  margin: 14px 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--text);
}
@media (max-width: 900px) {
  .p-profile__msg-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .p-profile__stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
}
@media (max-width: 768px) {
  .p-profile__stats > div {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .p-profile__stats {
    display: block;
  }
}
/* 会社情報・沿革・アクセスの情報テーブル（.c-table を流用）。
   デザインデータ通り、外枠とパディングは「パネル」側が持ち、
   セル自体は上下パディングのみ・行の下線のみのシンプルな形にする。 */
.p-profile__panel {
  background: var(--white);
  border: 1px solid var(--line-light);
}
.p-profile__panel--company {
  padding: 8px 40px 32px;
}
.p-profile__panel--history {
  padding: 8px 40px;
}
.p-profile__panel--access {
  padding: 8px 32px 20px;
}
.c-table--company,
.c-table--history,
.c-table--access {
  border: none;
}
/* 会社情報・沿革・アクセスの各テーブルは常に幅100%固定で組んでおり、
   横スクロールが発生する設計ではないため、.c-table-scroll 共通の
   overflow-x:auto によるスクロールバー表示自体を無効化する。 */
.p-profile__panel--company .c-table-scroll,
.p-profile__panel--history .c-table-scroll,
.p-profile__panel--access .c-table-scroll {
  overflow-x: visible;
}
.c-table--company th,
.c-table--company td,
.c-table--history th,
.c-table--history td,
.c-table--access th,
.c-table--access td {
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid var(--line-light);
  overflow-wrap: anywhere;
}
.c-table--history th,
.c-table--history td,
.c-table--access th,
.c-table--access td {
  padding: 16px 0;
}
.c-table--company tr:last-child th,
.c-table--company tr:last-child td,
.c-table--history tr:last-child th,
.c-table--history tr:last-child td,
.c-table--access tr:last-child th,
.c-table--access tr:last-child td {
  border-bottom: none;
}
/* 個人情報保護方針ページ：外枠・行の区切り線ともになしのシンプル表示にする */
.p-profile__panel--plain {
  border: none;
}
.c-table--plain th,
.c-table--plain td {
  border: none;
}
.c-table--company th[scope="row"],
.c-table--history th[scope="row"],
.c-table--access th[scope="row"] {
  width: 220px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  white-space: nowrap;
}
.c-table--history th[scope="row"] {
  width: 170px;
}
.c-table--access th[scope="row"] {
  width: 100px;
  font-size: 14px;
}
.c-table--history th[scope="row"] {
  font-weight: 600;
  font-family: var(--en);
}
.c-table--company td ul {
  margin: 0;
  padding-left: 1.1em;
}
.c-table--company td ul li {
  list-style: disc;
}
@media (max-width: 600px) {
  .p-profile__panel--company,
  .p-profile__panel--history,
  .p-profile__panel--access {
    padding: 8px 20px 20px;
  }
  .c-table--company,
  .c-table--history,
  .c-table--access {
    table-layout: fixed;
  }
  .c-table--company th[scope="row"],
  .c-table--access th[scope="row"] {
    width: 84px;
    white-space: normal;
  }
  .c-table--history th[scope="row"] {
    width: 108px;
    white-space: normal;
  }
}

/* 認証・認定、受賞歴、所属団体などの一覧表。デザインデータのカードリスト
   （枠線なし、行の上だけ薄い罫線）に合わせ、.c-table 標準の全罫線を打ち消す。 */
.c-table--card {
  border: 1px solid var(--line-light);
}
.c-table--card th,
.c-table--card td {
  border: none;
}
.c-table--card tbody tr {
  border-top: 1px solid var(--line-light);
}
.c-table--card thead th {
  background: var(--bg-gray);
  color: var(--navy);
}
.c-table--card {
  font-size: var(--fs-14);
}
.c-table--card tbody th[scope="row"] {
  font-family: var(--en);
  font-weight: 600;
  color: var(--navy);
}
.c-cell-strong {
  font-weight: 500;
  color: var(--text);
}
/* 受賞歴: 年月日は詰めて、表彰内容にスペースを回す。
   横スクロールさせず画面内に収めるため、px指定ではなく%で配分する。 */
.c-table--awards {
  max-width: none;
  table-layout: fixed;
}
.c-table--awards th:nth-child(1),
.c-table--awards td:nth-child(1) {
  width: 10%;
}
.c-table--awards th:nth-child(2),
.c-table--awards td:nth-child(2) {
  width: 18%;
}
.c-table--awards th:nth-child(3),
.c-table--awards td:nth-child(3) {
  width: 20%;
}
.c-table--awards th:nth-child(4),
.c-table--awards td:nth-child(4) {
  width: 32%;
}
.c-table--awards th:nth-child(5),
.c-table--awards td:nth-child(5) {
  width: 20%;
}
.c-table--awards td {
  word-break: break-word;
}
/* SPは5列だと1列あたりが狭すぎて読めないため、行ごとのカード表示に切り替える */
@media (max-width: 900px) {
  .c-table--awards {
    border: none;
  }
  .c-table--awards thead {
    display: none;
  }
  .c-table--awards,
  .c-table--awards tbody,
  .c-table--awards tr {
    display: block;
    width: 100%;
  }
  .c-table--awards th,
  .c-table--awards td,
  .c-table--awards th:nth-child(n),
  .c-table--awards td:nth-child(n) {
    display: flex;
    width: 100%;
    gap: 12px;
  }
  .c-table--awards tr {
    margin-bottom: 24px;
    border: 1px solid var(--line-light);
  }
  .c-table--awards tr:last-child {
    margin-bottom: 0;
  }
  .c-table--awards th,
  .c-table--awards td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-light);
    text-align: left;
    background: var(--white);
  }
  .c-table--awards tr td:last-child {
    border-bottom: none;
  }
  .c-table--awards [data-label]::before {
    content: attr(data-label);
    flex: 0 0 80px;
    font-size: var(--fs-14);
    font-weight: 700;
    color: var(--navy);
  }
  /* 賞状の画像だけは横並びにせず、ラベルの下いっぱいに大きく見せる */
  .c-table--awards td[data-label="賞状"] {
    flex-direction: column;
    align-items: flex-start;
  }
  .c-table--awards td[data-label="賞状"]::before {
    flex: none;
    margin-bottom: 8px;
  }
  .c-table--awards td[data-label="賞状"] .p-profile__award-img {
    align-self: center;
  }
  .c-table--awards .p-profile__award-img {
    max-width: 320px;
  }
}
/* 技術動向: 団体・委員会名が最も文字数が多いので一番広くする。
   横スクロールさせず画面内に収めるため、px指定ではなく%で配分する。 */
.c-table--research {
  max-width: none;
  table-layout: fixed;
}
.c-table--research th:nth-child(1),
.c-table--research td:nth-child(1) {
  width: 60%;
}
.c-table--research th:nth-child(2),
.c-table--research td:nth-child(2) {
  width: 25%;
}
.c-table--research th:nth-child(3),
.c-table--research td:nth-child(3) {
  width: 15%;
}
.c-table--research td {
  word-break: break-word;
}
/* SPは%指定だと「区分」列が狭すぎて1文字ずつ縦積みになるため、
   賞状テーブルと同様に行ごとのカード表示に切り替える */
@media (max-width: 700px) {
  .c-table--research {
    border: none;
  }
  .c-table--research thead {
    display: none;
  }
  .c-table--research,
  .c-table--research tbody,
  .c-table--research tr {
    display: block;
    width: 100%;
  }
  .c-table--research th,
  .c-table--research td,
  .c-table--research th:nth-child(n),
  .c-table--research td:nth-child(n) {
    display: flex;
    width: 100%;
    gap: 12px;
  }
  .c-table--research tr {
    margin-bottom: 24px;
    border: 1px solid var(--line-light);
  }
  .c-table--research tr:last-child {
    margin-bottom: 0;
  }
  .c-table--research th,
  .c-table--research td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-light);
    text-align: left;
    background: var(--white);
  }
  .c-table--research tr td:last-child {
    border-bottom: none;
  }
  .c-table--research [data-label]::before {
    content: attr(data-label);
    flex: 0 0 112px;
    white-space: nowrap;
    font-size: var(--fs-14);
    font-weight: 700;
    color: var(--navy);
  }
}

/* 理念 */
.p-profile__philosophy {
  background: var(--navy) url("../img/company/company-bg.jpg") no-repeat
    center / cover;
  color: var(--white);
  padding: 70px 60px;
  text-align: center;
}
.p-profile__philosophy-en {
  margin: 0;
  font-family: var(--en);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}
.p-profile__philosophy-title {
  margin: 20px 0 0;
  font-size: clamp(26px, 3.6vw, var(--fs-40));
  font-weight: 700;
}
.p-profile__philosophy-body {
  margin: 26px auto 0;
  max-width: 720px;
  font-size: var(--fs-16);
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 900px) {
  .p-profile__philosophy {
    padding: 40px 20px;
  }
}

/* 私たちの姿勢・品質方針カード（3列） */
.p-profile__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.p-profile__card {
  border: 1px solid var(--line-light);
  padding: 38px 32px 40px;
}
.p-profile__card p.p-profile__card-num {
  margin: 0;
  font-family: var(--en);
  font-size: var(--fs-40);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.p-profile__card h4 {
  margin: 20px 0 14px;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}
.p-profile__card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.95;
}
.p-profile__card--policy {
  background: var(--bg-gray);
  border: none;
  border-top: 3px solid var(--navy);
  padding: 36px 32px 38px;
}
.p-profile__card--policy h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: var(--fs-24);
}
@media (max-width: 900px) {
  .p-profile__cards {
    grid-template-columns: 1fr;
  }
}

/* 経営方針・品質方針・環境方針（別紙の正式な文言） */
.p-profile__policies {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.p-profile__policy-block {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 80px;
  border-top: 1px solid var(--line-light);
}
.p-profile__policy-block--first {
  padding-top: 0;
  border-top: none;
}
.p-profile__policy-side {
  position: sticky;
  top: 170px;
}
.p-profile__policy-side .u-en {
  display: block;
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--text-sub);
}
.p-profile__policy-side h3 {
  margin: 10px 0 0;
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.p-profile__policy-side h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 18px;
  background: var(--navy);
}
.p-profile__policy-creed {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image: var(--creed-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 44px 48px 48px;
  margin: 0 0 56px;
}
.p-profile__policy-creed-label {
  position: relative;
  margin: 0 0 18px;
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
}
.p-profile__policy-creed-text {
  position: relative;
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 500;
  line-height: 2.05;
}
.p-profile__policy-heading {
  margin: 0 0 14px;
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.p-profile__policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.p-profile__policy-grid li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}
.p-profile__policy-grid .u-en {
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.p-profile__policy-grid p {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.95;
  color: var(--text);
}
@media (max-width: 900px) {
  .p-profile__policy-block {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 44px;
  }
  .p-profile__policy-side {
    position: static;
  }
  .p-profile__policy-creed {
    padding: 28px 22px 32px;
    margin-bottom: 36px;
  }
  .p-profile__policy-creed-text {
    font-size: var(--fs-18);
  }
  .p-profile__policy-grid {
    grid-template-columns: 1fr;
  }
}

/* 認証ロゴ（Aichi Quality/健康経営優良法人/ISO14001/ISO9001/カーボンオフセットを
   1枚にまとめた mark.svg を表示するだけ） */
.p-profile__cert-marks {
  margin: 0 0 34px;
  text-align: center;
}
.p-profile__cert-marks img {
  width: 100%;
  max-width: 848px;
  height: auto;
}

/* 社内の保有資格（2カラムのミニ表） */
.p-profile__skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.p-profile__skills-group {
  background: var(--white);
  border: 1px solid var(--line-light);
}
.p-profile__skills-group h4 {
  margin: 0;
  padding: 16px 24px;
  background: var(--bg-gray);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--navy);
}
.p-profile__skills-group table {
  width: 100%;
  border-collapse: collapse;
}
.p-profile__skills-group th,
.p-profile__skills-group td {
  padding: 14px 24px;
  font-size: var(--fs-14);
  line-height: 1.7;
  font-weight: 400;
  text-align: left;
  color: var(--text);
  border-top: 1px solid var(--line-light);
}
.p-profile__skills-group td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .p-profile__skills {
    grid-template-columns: 1fr;
  }
}

/* 受賞歴の画像 */
.p-profile__award-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border: 1px solid var(--line-light);
}
/* アクセス */
.p-profile__access {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.p-profile__access-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1 1 0;
  min-width: 0;
}
.p-profile__access .p-profile__map {
  flex: 1 1 0;
  min-width: 0;
  min-height: 100%;
}
.p-profile__map {
  min-height: 460px;
  border: 1px solid var(--line-light);
  overflow: hidden;
}
.p-profile__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}
.p-profile__factory {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 32px;
}
.p-profile__factory p.p-profile__factory-label {
  margin: 0 0 6px;
  font-family: var(--en);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-sub);
}
.p-profile__factory h3 {
  margin: 0 0 12px;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--text);
}
.p-profile__factory p {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--text);
}
@media (max-width: 768px) {
  .p-profile__access {
    flex-direction: column;
  }
  .p-profile__access .p-profile__map {
    min-height: 260px;
  }
  .p-profile__map iframe {
    min-height: 260px;
  }
}

/* 受賞歴の賞状画像をクリックしたときの拡大表示 */
.p-profile__award-img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.c-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(12, 12, 20, 0.85);
}
.c-lightbox[hidden] {
  display: none;
}
.c-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.c-lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
}
.c-lightbox__close::before,
.c-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.c-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.c-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 600px) {
  .c-lightbox {
    padding: 20px;
  }
}
.p-profile__panel--plain.p-profile__panel--company {
  padding: 0;
}
.c-form .c-section-head__ja {
  margin-bottom: 20px;
  font-size: 18px;
}
.c-form-title {
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-left: 14px;
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.5;
  border-left: 4px solid var(--navy);
}
@media (max-width: 900px) {
  .c-form-title {
    font-size: var(--fs-20);
  }
}
.c-form__actions {
  margin-top: 40px;
}

/* -------------------------------------------------------------
 * カーボンニュートラルへの取り組み（page-carbon-neutral.php）
 * ---------------------------------------------------------- */
.p-cn__section {
  padding-block: 80px;
}
.p-cn__section--gray {
  background: var(--bg-gray);
}
.p-cn__intro {
  padding-block: 72px 24px;
}
.p-cn__lead {
  margin: 0 0 16px;
  font-size: clamp(18px, 2vw, var(--fs-22));
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
  color: var(--navy);
}
.p-cn__lead-sub {
  margin: 0 0 40px;
  font-size: var(--fs-16);
  line-height: 1.9;
  text-align: center;
}
.p-cn__intro .p-cn__lead-sub {
  margin-bottom: 0;
}
.p-cn__banner {
  margin: 0 0 32px;
  padding: 28px 32px;
  background: var(--bg-gray);
  border-left: 6px solid var(--navy);
}
.p-cn__section--gray .p-cn__banner {
  background: var(--white);
}
.p-cn__banner p {
  margin: 0;
  line-height: 1.9;
}
.p-cn__banner p + p {
  margin-top: 4px;
}
.p-cn__banner-title {
  margin: 0 0 8px;
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--navy);
}
.p-cn__banner--note {
  margin: 48px 0 0;
}
.p-cn__cards {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.p-cn__cards li {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line-light);
}
.p-cn__section:not(.p-cn__section--gray) .p-cn__cards li {
  background: var(--bg-gray);
}
.p-cn__cards p {
  margin: 0;
  line-height: 1.8;
}
.p-cn__card-title {
  margin: 0 0 8px;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--navy);
}
.p-cn__cards p.p-cn__num {
  margin: 0 0 4px;
  font-family: var(--en);
  font-size: var(--fs-30);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.p-cn__policy {
  margin: 0 0 32px;
  padding: 24px 32px;
  font-size: clamp(16px, 1.6vw, var(--fs-20));
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  color: var(--white);
  background: var(--navy-dark);
}
.p-cn__policy-label {
  display: inline-block;
  margin-right: 12px;
  padding: 2px 14px;
  font-size: var(--fs-14);
  color: var(--navy-dark);
  background: var(--white);
  border-radius: 999px;
}
.p-cn__goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__goals li {
  padding: 40px 24px;
  text-align: center;
  background: var(--bg-gray);
  border: 1px solid var(--line-light);
}
.p-cn__goals p {
  margin: 0;
}
.p-cn__goals p.p-cn__goal-term {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--text-sub);
}
.p-cn__goals p.p-cn__goal-value {
  margin: 8px 0 12px;
  font-family: var(--en);
  font-size: clamp(48px, 6vw, var(--fs-60));
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.p-cn__goal-value span {
  font-family: var(--jp);
  font-size: clamp(22px, 2.6vw, var(--fs-30));
}
.p-cn__goals p.p-cn__goal-value--text {
  font-family: var(--jp);
  font-size: clamp(36px, 5vw, var(--fs-50));
}
.p-cn__goal-text {
  line-height: 1.8;
}
.p-cn__chart {
  margin: 0;
}
.p-cn__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
  font-size: var(--fs-14);
}
.p-cn__legend-item::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 3px;
}
.p-cn__legend-item--bar::before {
  background: var(--navy);
}
.p-cn__legend-item--gap::before {
  background: rgba(12, 18, 133, 0.12);
}
.p-cn__trend {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__trend-row {
  display: grid;
  grid-template-columns: 200px 1fr 130px;
  gap: 16px;
  align-items: center;
}
.p-cn__trend-label {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.4;
}
.p-cn__trend-year {
  font-family: var(--en);
  font-size: var(--fs-16);
  font-weight: 700;
}
.p-cn__trend-note {
  font-size: var(--fs-12);
  color: var(--text-sub);
}
.p-cn__trend-track {
  height: 28px;
  overflow: hidden;
  background: rgba(12, 18, 133, 0.12);
  border-radius: 4px;
}
.p-cn__trend-bar {
  display: block;
  width: calc(var(--v) * 1%);
  height: 100%;
  background: var(--navy);
  border-radius: 4px;
}
.p-cn__trend-row.is-goal .p-cn__trend-bar {
  background: var(--green);
}
.p-cn__trend-value {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-family: var(--en);
  font-size: var(--fs-18);
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
}
.p-cn__trend-row.is-goal .p-cn__trend-value {
  font-family: var(--jp);
  color: var(--green);
}
.p-cn__trend-badge {
  padding: 2px 10px;
  font-family: var(--jp);
  font-size: var(--fs-14);
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
}
.p-cn__two {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.p-cn__sub-title {
  margin: 0 0 20px;
  padding-left: 12px;
  font-size: var(--fs-18);
  font-weight: 700;
  border-left: 4px solid var(--navy);
}
.p-cn__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__timeline > li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.p-cn__timeline-year {
  margin: 0;
  font-family: var(--en);
  font-weight: 700;
  color: var(--navy);
}
.p-cn__timeline-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__timeline-items li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: space-between;
}
.p-cn__timeline-tag {
  padding: 2px 10px;
  font-size: var(--fs-12);
  font-weight: 600;
  white-space: nowrap;
  color: var(--navy);
  background: rgba(12, 18, 133, 0.08);
  border-radius: 999px;
}
.p-cn__daily {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__daily li {
  padding: 20px 24px;
  background: var(--bg-gray);
  border: 1px solid var(--line-light);
}
.p-cn__daily p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
}
.p-cn__daily p.p-cn__daily-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.p-cn__daily-title {
  font-size: var(--fs-16);
  font-weight: 700;
}
.p-cn__daily-figure {
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--navy);
}
.p-cn__note {
  margin: 32px 0 0;
  font-size: var(--fs-14);
  color: var(--text-sub);
}
.p-cn__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-cn__steps > li {
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--navy);
}
.p-cn__steps p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
}
.p-cn__steps p.p-cn__step-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-bottom: 12px;
}
.p-cn__step-year {
  font-family: var(--en);
  font-size: var(--fs-30);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.p-cn__step-tag {
  padding: 2px 10px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--navy);
  background: rgba(12, 18, 133, 0.08);
  border-radius: 999px;
}
.p-cn__steps .p-cn__card-title {
  min-height: 3.2em;
}
@media (max-width: 1000px) {
  .p-cn__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-cn__steps .p-cn__card-title {
    min-height: 0;
  }
}
@media (max-width: 900px) {
  .p-cn__section {
    padding-block: 56px;
  }
  .p-cn__cards--3,
  .p-cn__goals,
  .p-cn__two {
    grid-template-columns: 1fr;
  }
  .p-cn__two {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .p-cn__banner {
    padding: 22px 20px;
  }
  .p-cn__trend-row {
    grid-template-columns: 1fr 130px;
    gap: 6px 12px;
  }
  .p-cn__trend-label {
    flex-direction: row;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 0 10px;
    align-items: baseline;
  }
  .p-cn__timeline > li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 600px) {
  .p-cn__steps {
    grid-template-columns: 1fr;
  }
}

/* 年表の「現在進行中」（2024年〜・2025年〜）と、ロードマップの目標年は緑で強調する */
.p-cn__timeline > li.is-current {
  margin: 6px -14px;
  padding: 16px 14px;
  background: rgba(1, 100, 20, 0.07);
  border: 1px solid rgba(1, 100, 20, 0.3);
  border-radius: 6px;
}
.p-cn__timeline > li.is-current + li.is-current {
  margin-top: 0;
}
.p-cn__timeline > li.is-current .p-cn__timeline-year {
  color: var(--green);
}
.p-cn__timeline > li.is-current .p-cn__timeline-tag {
  color: var(--green);
  background: rgba(1, 100, 20, 0.14);
}
.p-cn__steps > li.is-goal {
  background: rgba(1, 100, 20, 0.07);
  border: 1px solid rgba(1, 100, 20, 0.3);
  border-top: 4px solid var(--green);
}
.p-cn__steps > li.is-goal .p-cn__step-year,
.p-cn__steps > li.is-goal .p-cn__card-title {
  color: var(--green);
}
.p-cn__steps > li.is-goal .p-cn__step-tag {
  color: var(--white);
  background: var(--green);
}
.p-cn__timeline + .p-cn__note {
  margin-top: 24px;
}

/* タブレット幅（501〜900px）は SP の縮小表示だと大きすぎて崩れるので、PC と同じ固定サイズで折り返して並べる */
@media (min-width: 501px) and (max-width: 900px) {
  .l-footer__marks {
    flex-wrap: wrap;
    gap: 16px;
    height: auto;
  }
  .l-footer__marks li,
  .l-footer__marks li:nth-child(1) {
    flex: 0 0 auto;
    width: auto;
    height: 100px;
  }
  .l-footer__marks li:nth-child(-n + 2) {
    width: 270px;
  }
  .l-footer__marks img {
    max-height: 100px;
  }
  .l-footer__marks li:nth-child(1) img {
    max-height: 71px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .l-footer__marks {
    flex-wrap: nowrap;
  }
  .l-footer__marks li:nth-child(-n + 2) {
    flex: 0 1 270px;
    width: auto;
    min-width: 0;
  }
}

/* PC幅が狭いと会社情報の横でマークがつぶれるので、マークを会社情報の下に回して全幅を使う */
@media (min-width: 901px) and (max-width: 1239px) {
  .l-footer__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 768px 以下では認証マークを3段に並べる（1段目 Aichi Quality / 2段目 健康経営優良法人 / 3段目 ISO 2種とカーボンオフセット） */
@media (max-width: 768px) {
  .l-footer__marks {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    height: auto;
  }
  .l-footer__marks li:nth-child(-n + 2) {
    flex: 0 0 100%;
    width: 100%;
    height: 90px;
  }
  .l-footer__marks li:nth-child(n + 3) {
    flex: 0 1 100px;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
  }
  .l-footer__marks img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
  .l-footer__marks li:nth-child(1) img {
    max-height: 71px;
  }
  .l-footer__marks li:nth-child(2) img {
    max-height: 80px;
  }
}

/* Pick UP を4枚のスライドショーにする。同じ並びを2回置いて、半分（1セット分）だけ左へ流し続けると切れ目なく見える。
   速さは1セット分を 48 秒かけて流す（約 35px/秒。JS が動くときは site.js が同じ速さで動かす）。マウスを載せる・キー操作で止まる */
.p-pickup__slider {
  min-width: 0;
  overflow: hidden;
}
.c-tiles.c-tiles--slide {
  display: flex;
  width: max-content;
  gap: 0;
  padding-right: 0;
  overflow: visible;
  animation: ym-pickup-slide 72s linear infinite;
}
.c-tiles--slide:hover,
.c-tiles--slide:focus-within {
  animation-play-state: paused;
}
.c-tiles__set {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-tiles--slide .c-tile {
  flex: none;
  width: 380px;
  margin-right: 32px;
}
@keyframes ym-pickup-slide {
  to {
    transform: translateX(calc(-100% / 3));
  }
}
@media (max-width: 900px) {
  .c-tiles--slide .c-tile {
    width: 280px;
    margin-right: 16px;
  }
}
/* 動きを減らす設定の人には自動で動かさず、横スクロールで見られるようにする */
@media (prefers-reduced-motion: reduce) {
  .p-pickup__slider {
    overflow-x: auto;
  }
  .c-tiles.c-tiles--slide {
    animation: none;
  }
  .c-tiles__set[aria-hidden="true"] {
    display: none;
  }
  .p-pickup__arrow {
    display: none !important;
  }
}

/* ピックアップ左右の丸ボタン。JS が動くときだけ出す（動かすのは site.js） */
.p-pickup__slider {
  position: relative;
}
.c-tiles.c-tiles--slide.is-js {
  animation: none;
  will-change: transform;
}
.p-pickup__arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: -18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.p-pickup__slider.is-js .p-pickup__arrow {
  display: block;
}
.p-pickup__arrow--prev {
  left: 12px;
}
.p-pickup__arrow--next {
  right: 12px;
}
/* 矢印は枠線だけで描く（画像を使わない） */
.p-pickup__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--navy);
  border-right: 3px solid var(--navy);
}
.p-pickup__arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.p-pickup__arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
.p-pickup__arrow:hover {
  background: var(--navy);
}
.p-pickup__arrow:hover::before {
  border-color: var(--white);
}
.p-pickup__arrow:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .p-pickup__arrow--prev {
    left: 8px;
  }
  .p-pickup__arrow--next {
    right: 8px;
  }
}

/* トップページのバナー（ピックアップの下）。背景は薄い青の帯、1行ずつ白い帯にして文字は中央・紺色。
   マウスを載せると背景色が付く。管理画面「バナー」の テキスト・リンク先・掲載順 から出力する */
.p-banners {
  padding: 38px 20px;
  margin-bottom: 20px; /* 下のグレーの帯（Achievements）との間の白い余白 */
  background: #eff5ff;
}
.p-banners__list {
  width: 80.5%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.p-banners__item {
  margin-bottom: 2px;
  background: var(--white);
}
.p-banners__item:last-child {
  margin-bottom: 0;
}
.p-banners__link {
  display: block;
  padding: 16px 20px;
  font-size: var(--fs-14);
  line-height: 1.6;
  text-align: center;
  color: #0c1285;
  transition: background-color 0.2s;
}
a.p-banners__link:hover {
  text-decoration: none;
  background: #dce8fb;
}
@media (max-width: 900px) {
  .p-banners {
    padding: 28px 16px;
  }
  .p-banners__list {
    width: 100%;
  }
  .p-banners__link {
    padding: 14px 12px;
  }
}
