:root {
  /* カラー変数 */
  --color-corp: #003775;
  --color-main: #333333;
  --color-bg: #ffffff;
  --color-bg-light: #f9f9f9;

  /* フォント */
  --font-ja: "Noto Sans JP", sans-serif;

  /* ヘッダーの高さ */
  --header-height: 80px;

  /* ▼ いただいたタイポグラフィ変数 ▼ */
  /* micro text */
  --font-size10--12: clamp(0.625rem, 0.22vw + 0.575rem, 0.75rem);
  --font-size12--14: clamp(0.75rem, 0.22vw + 0.7rem, 0.875rem);

  /* body text */
  --font-size14--16: clamp(0.875rem, 0.25vw + 0.8rem, 1rem);
  --font-size16--18: clamp(1rem, 0.3vw + 0.9rem, 1.125rem);

  /* sub heading */
  --font-size18--24: clamp(1.125rem, 0.6vw + 1rem, 1.5rem);
  --font-size20--28: clamp(1.25rem, 0.8vw + 1rem, 1.75rem);

  /* heading */
  --font-size24--32: clamp(1.5rem, 1vw + 1.1rem, 2rem);
  --font-size28--40: clamp(1.75rem, 1.4vw + 1.1rem, 2.5rem);

  /* large heading */
  --font-size32--48: clamp(2rem, 2vw + 1.3rem, 3rem);
  --font-size40--56: clamp(2.5rem, 2.6vw + 1.6rem, 3.5rem);

  /* hero */
  --font-size48--64: clamp(3rem, 3vw + 2rem, 4rem);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid #ea00ff; */
}

html {
  font-size: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scrollbar-gutter: stable; /* スクロールバーの有無による左右レイアウトシフト（ガタつき）を防止 */
}

/* =========================================================
   Base Styles
========================================================= */

body {
  color: var(--color-main);
  font-family: var(--font-ja);
  font-size: var(--font-size14--16); /* ベースフォントサイズを適用 */
  padding-top: var(--header-height);
  margin: 0;

  /* ▼ フッター下端固定のためのFlexbox設定 ▼ */
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Layout Utility (共通レイアウト)
========================================================= */
/* コンテンツエリアを拡張してフッターを下に押しやる */
.site-main {
  flex: 1;
}

/* コンテンツの最大幅を制限し、中央寄せにする共通クラス */
.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* =========================================================
   Component: Section Header (共通セクションタイトル)
========================================================= */
.c-sec-header {
  margin-bottom: 4rem;
}

.c-sec-header__sub {
  display: block;
  font-size: var(--font-size16--18);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-main);
}

.c-sec-header__main {
  font-size: var(--font-size40--56);
  font-weight: 800;
  color: var(--color-corp);
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
}
/* =========================================================
   Page Header (下層ページ共通MV)
========================================================= */
.page-header {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-corp);
  opacity: 0.5;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 5%;
}

.page-header__title {
  color: #ffffff;
  font-size: var(--font-size32--48);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.page-header__en {
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size14--16);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}

/* =========================================================
   Component: Heading Line (下線付き見出し)
========================================================= */
.c-heading-line {
  font-size: var(--font-size16--18);
  font-weight: 700;
  color: var(--color-corp);
  margin: 0 0 2rem 0;
  padding-bottom: 0.5rem;
  /* 見出しの文字幅に合わせて下線を引く */
  display: inline-block;
  border-bottom: 2px solid var(--color-corp);
}

/* =========================================================
   PC First Styles (Desktop Base)
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 2rem; /* ロゴの左余白 */
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: 1rem; /* ロゴとテキストの間隔 */
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header__logo a:hover {
  opacity: 0.8;
}

.header__logo img {
  height: 60px; /* 画像の比率に合わせて調整 */
  width: auto;
  vertical-align: middle;
}

/* テキストを縦に並べるコンテナ */
.header__logo-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
}

/* 日本語社名 */
.header__logo-name {
  color: var(--color-corp);
  font-weight: 700;
  font-size: var(--font-size16--18);
  letter-spacing: 0.05em;
}

/* 英語社名 */
.header__logo-en {
  color: var(--color-corp);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: var(--font-size10--12);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* スマホ時の調整 */
@media (max-width: 1080px) {
  .page-header__inner {
    padding: 0 5%;
  }

  .header__logo img {
    height: 48px; /* スマホではロゴを少し小さく */
  }

  .header__logo a {
    gap: 0.75rem;
  }

  .header__logo-name {
    font-size: var(--font-size14--16); /* スマホサイズ */
  }

  .header__logo-en {
    font-size: 10px; /* 最小サイズに固定、あるいは非表示にする選択肢も */
  }
}

/* PCナビゲーション */
.header__nav {
  margin-left: auto;
  margin-right: 3rem; /* お問い合わせボタンとの余白 */
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* メニュー間の余白 */
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__nav-item > a {
  color: var(--color-corp);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem; /* 16px */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.header__nav-item > a:hover {
  opacity: 0.7;
}

/* ドロップダウン（PC） */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 1rem;
  margin: 0;
  min-width: 220px;
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  border-radius: 4px;
}

.header__nav-item.has-child:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
}

.header__dropdown li {
  margin-bottom: 0.5rem;
}
.header__dropdown li:last-child {
  margin-bottom: 0;
}

.header__dropdown li a {
  color: var(--color-corp);
  text-decoration: none;
  display: flex;
  justify-content: space-between; /* テキスト左、矢印右 */
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem; /* 15px */
  transition: background-color 0.2s ease;
}

.header__dropdown li a:hover {
  background-color: #f5f7fa; /* 軽くホバーエフェクト */
}

/* CTAボタン（PC） */
.header__cta {
  height: 100%;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--color-corp);
  color: #fff;
  text-decoration: none;
  height: 100%;
  padding: 0 4rem; /* 画像の横長な比率を再現 */
  font-size: 1rem; /* 16px */
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.btn-contact:hover {
  opacity: 0.85;
}

/* スマホ用要素をPCでは隠す */
.header__hamburger {
  display: none;
}
.mobile-menu {
  display: none;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  /* ブレイクポイントはデザインに合わせて調整可能 */

  :root {
    --header-height: 60px; /* スマホでは少しヘッダーを狭くする */
  }

  .header__inner {
    padding: 0 1rem;
  }

  /* PCナビとCTAを隠す */
  .header__nav,
  .header__cta {
    display: none;
  }

  /* ハンバーガーボタン表示 */
  .header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101; /* ドロワーより上に */
    padding: 0;
  }

  .header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-corp);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* ハンバーガー メニュー開閉時のバッテン（×）アニメーション */
  .header__hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* ドロワーメニュー展開 */
  .mobile-menu {
    display: block; /* PCのnoneを上書き */
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    transform: translateX(100%);
    transition:
      transform 0.3s ease-in-out,
      visibility 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 99;
    visibility: hidden; /* 画面外にある時はフォーカスさせない */
  }

  .mobile-menu.is-active {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* 親階層のリンクとラベル */
  .mobile-menu__item:not(.cta-item) > a,
  .mobile-menu__label {
    display: block;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    color: var(--color-corp);
    text-decoration: none;
    font-weight: 700;
  }

  /* 子階層のリスト（インデント） */
  .mobile-menu__sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa; /* 親と区別するため少しグレーに */
    border-bottom: 1px solid #eee;
  }

  .mobile-menu__sublist li {
    border-bottom: 1px dashed #e0e0e0;
  }
  .mobile-menu__sublist li:last-child {
    border-bottom: none;
  }

  .mobile-menu__sublist a {
    display: flex;
    align-items: center;
    /* 左側の余白（padding-left）を大きく取ってインデントを表現 */
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    color: var(--color-main);
    text-decoration: none;
    font-size: var(--font-size14--16);
    position: relative;
  }

  /* 子階層の左側に小さなドットを置く（視認性アップ） */
  .mobile-menu__sublist a::before {
    content: "";
    position: absolute;
    left: 1.5rem; /* ドットの位置 */
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-corp);
    opacity: 0.5;
  }

  /* スマホ用CTA */
  .mobile-menu__item.cta-item {
    padding: 1.5rem;
    border-bottom: none;
  }
  .btn-contact--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-corp);
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: bold;
  }
}

/* =========================================================
   Hero Section (MV)
========================================================= */
.hero {
  position: relative;
  width: 100%;
  /* ヘッダーの高さを引いた画面いっぱいの高さ。最低高さを設けて崩れを防止 */
  height: calc(100svh - var(--header-height));
  min-height: 500px;
  display: flex;
  align-items: flex-end; /* ★ 下寄せ */
  justify-content: flex-start; /* ★ 左寄せ */
  padding: 0 0 6rem 5%;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* 30%の不透明度で重ねる */
  background-color: rgba(0, 20, 43, 0.4);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 0 1rem;
  width: 100%;
}
/* =========================================================
   Hero Section Text Styles
========================================================= */
.hero__title {
  color: #ffffff;
  font-size: var(--font-size32--48);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin: 0;
}

.hero__title-line {
  display: block;
}

/* 1行目を少し小さく見せる調整 */
.hero__title .hero__title-line:first-child {
  font-size: var(--font-size24--32);
  margin-bottom: 0.5rem;
}

/* 英語サブコピーのスタイル */
.hero__subtitle {
  color: #ffffff;
  /* Manropeフォントを適用 */
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size16--18);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  /* 日本語タイトルとの間に余白を設ける */
  margin: 1.5rem 0 0 0;
}

.hero__subtitle .hero__title-line {
  display: block;
}

/* =========================================================
   Mobile Styles (レスポンシブ)
========================================================= */
@media (max-width: 1080px) {
  .hero {
    height: 80svh;
    min-height: 450px;
    padding: 0 0 3rem 0; /* ★ スマホ・タブレット時は余白を少し狭める */
  }

  .hero__bg img {
    /* ★ SP時は画像の左側を基準に表示 */
    object-position: left center;
  }

  .hero__title-line {
    display: block;
    margin-bottom: 0;
  }
  .hero__title-line:first-child {
    margin-bottom: 0.25rem;
  }
  .hero__subtitle {
    margin-top: 1rem;
    font-size: var(--font-size14--16);
  }
}

/* =========================================================
   News Section
========================================================= */
.news {
  padding: 8rem 0; /* セクション上下の余白 */
  background-color: var(--color-bg-light);
}

.news__header {
  margin-bottom: 4rem;
}

.news__subtitle {
  display: block;
  font-size: var(--font-size16--18);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-main);
}

.news__title {
  font-size: var(--font-size40--56);
  font-weight: 800;
  color: var(--color-corp);
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* --- ニュースリスト --- */
.news__list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  /* 一番上のボーダー */
  border-top: 1px solid #dcdcdc;
}

.news__item {
  border-bottom: 1px solid #dcdcdc;
}

.news__item a {
  display: grid;
  /* 日付(固定幅) と タイトル(残り全幅) の比率 */
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news__item p {
  padding: 2.5rem 0;
  text-decoration: none;
}

/* ホバー時にうっすら背景色をつける演出 */
.news__item a:hover {
  background-color: rgba(0, 55, 117, 0.03);
}

.news__item time {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  letter-spacing: 0.05em;
}

.news__item-title {
  font-size: var(--font-size16--18);
  color: var(--color-corp);
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

/* --- ボタンエリア --- */
.news__btn-area {
  text-align: right; /* PCでは右寄せ */
}

/* 汎用ボタンクラス（他のセクションでも使い回せます） */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem; /* テキストと矢印の間隔 */
  background-color: var(--color-corp);
  color: #fff;
  text-decoration: none;
  padding: 1.25rem 3rem;
  font-size: var(--font-size14--16);
  font-weight: 700;
  min-width: 240px;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .news {
    padding: 4rem 0;
  }

  .news__header {
    margin-bottom: 2.5rem;
  }

  .news__item a {
    /* スマホでは縦並び（Flexbox）に変更 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .news__item p {
    padding: 1.5rem 0;
    text-decoration: none;
  }
  .news__btn-area {
    text-align: center; /* スマホでは中央寄せ */
  }

  .btn-primary {
    width: 100%; /* スマホでは横幅いっぱいのボタンに */
  }
}

/* =========================================================
   Utility (汎用クラス)
========================================================= */
/* PCでのみ表示（スマホでは改行させない） */
@media (max-width: 1080px) {
  .u-desktop-only {
    display: none;
  }
}

/* =========================================================
   Concept Section
========================================================= */
.concept {
  position: relative;
  width: 100%;
  padding: 8rem 0; /* セクション上下の余白（広めにとるとリッチに見えます） */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- 背景画像とオーバーレイ --- */
.concept__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.concept__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concept__overlay {
  position: absolute;
  inset: 0;
  /* 画像の明るさに合わせてオーバーレイの不透明度を調整 */
  background-color: var(--color-corp);
  opacity: 0.4;
}

/* --- コンテンツエリア --- */
.concept__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.concept__content {
  text-align: left; /* 画像を見る限り左揃えのようです */
  /* テキストが横に広がりすぎないように最大幅を設定し、中央に配置 */
  max-width: 900px;
  margin: 0 auto;
}

.concept__text {
  color: #ffffff;
  font-size: var(--font-size16--18);
  font-weight: 500;
  line-height: 2.2; /* 行間を広めにとることで洗練された印象に */
  letter-spacing: 0.08em;
  margin: 0 0 2.5rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* 白文字の可読性アップ */
}

.concept__text:last-child {
  margin-bottom: 0;
}

h2.concept__text {
  font-size: var(--font-size18--24);
  font-weight: 700;
}
/* =========================================================
   Mobile Styles (レスポンシブ)
========================================================= */
@media (max-width: 1080px) {
  .concept {
    padding: 5rem 0;
  }

  .concept__content {
    /* スマホ時はテキストを少し小さくし、行間も微調整 */
    text-align: justify;
  }

  .concept__text {
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
}

/* =========================================================
   Feature Section (3つのこだわり)
========================================================= */
.feature {
  padding: 8rem 0;
  overflow: hidden; /* 横スクロール防止の念押し */
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 6rem; /* 各項目の間隔 */
}

.feature__item {
  display: flex;
  align-items: center;
  width: 100%;
}

.feature__item--reverse {
  flex-direction: row-reverse; /* クラス付与で左右反転 */
}

/* --- テキストエリア --- */
.feature__text-box {
  width: 50%;
  /* 【魔法の計算式】
    画面端から .l-inner の端までの距離を自動計算して左余白にします。
    max(5vw, (100vw - 1200px) / 2) -> 1200pxは.l-innerのmax-width
  */
  padding-left: max(5%, calc(50vw - 600px));
  padding-right: 5rem; /* 画像との間隔 */
}

.feature__item--reverse .feature__text-box {
  padding-left: 5rem; /* 画像との間隔 */
  padding-right: max(5%, calc(50vw - 600px)); /* 反転時は右側に余白計算を適用 */
}

.feature__num {
  font-size: 4rem;
  font-family: "Manrope", sans-serif;
  color: #b4bac2; /* 薄いグレー */
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.feature__title {
  font-size: var(--font-size18--24);
  color: var(--color-main);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.feature__desc {
  font-size: var(--font-size14--16);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* --- 画像エリア --- */
.feature__img-box {
  width: 50%;
  /* 画像の高さを固定（またはアスペクト比指定）にして揃える */
  height: 450px;
}

.feature__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を歪めずに枠いっぱいにトリミング */
  display: block;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .feature__list {
    gap: 4rem;
  }

  .feature__item,
  .feature__item--reverse {
    /* スマホ・タブレットでは縦並びに（画像が上、テキストが下） */
    flex-direction: column-reverse;
  }

  .feature__text-box,
  .feature__item--reverse .feature__text-box {
    width: 100%;
    /* スマホ時は通常の .l-inner と同じ5%の余白に戻す */
    padding: 2.5rem 5% 0;
  }

  .feature__img-box {
    width: 100%;
    height: 300px; /* スマホでは画像の高さを少し抑える */
  }
}

@media (max-width: 1080px) {
  .feature {
    padding: 4rem 0;
  }
  .c-sec-header {
    margin-bottom: 2.5rem;
  }
  .feature__num {
    font-size: 3.5rem;
  }
}

/* =========================================================
   Certification / SDGs Banner Section
========================================================= */
.cert-banner {
  padding: 0 0 8rem; /* 上下の余白（全体のバランスを見て調整） */
}

/* バナー本体のスタイル */
.cert-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background-color: #ffffff;
  padding: 2.5rem 4rem;
  border-radius: 8px; /* 少し角を丸める */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* うっすら影をつける */
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #f0f0f0; /* 薄いボーダー */
}

/* ホバー時の浮き上がりエフェクト */
.cert-banner__inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* --- 左側：ロゴエリア --- */
.cert-banner__logos {
  display: flex;
  align-items: center;
  gap: 2rem; /* ロゴ間の余白 */
  flex: 1; /* 残りのスペースを埋める */
}

.cert-banner__logos img {
  height: auto;
  /* 各ロゴの最大幅や高さを制限して揃える */
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
}

/* --- 右側：テキスト＆ボタンエリア --- */
.cert-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 300px; /* 右側エリアの最小幅 */
}

.cert-banner__title {
  margin: 0 0 1.5rem 0;
  color: var(--color-corp);
  line-height: 1.4;
}

.cert-banner__title-ja {
  font-size: var(--font-size24--32);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cert-banner__title-en {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size12--14);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 擬似的なボタンデザイン */
.cert-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: var(--color-corp);
  color: #fff;
  padding: 1rem 3rem;
  font-size: var(--font-size14--16);
  font-weight: 700;
  width: 100%; /* 親要素の幅いっぱいに広げる */
  transition: opacity 0.3s ease;
}

.cert-banner__inner:hover .cert-banner__btn {
  opacity: 0.85;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .cert-banner__inner {
    flex-direction: column; /* タブレット以下は縦並びに */
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .cert-banner__logos {
    flex-wrap: wrap; /* ロゴが多い場合は折り返す */
    justify-content: center;
  }

  .cert-banner__content {
    align-items: center; /* テキストとボタンを中央寄せ */
    text-align: center;
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 1080px) {
  .cert-banner {
    padding: 0 0 4rem;
  }

  .cert-banner__logos {
    gap: 1.5rem;
  }

  .cert-banner__logos img {
    /* スマホではロゴを少し小さく */
    max-width: calc(50% - 1rem); /* 2列になるように計算 */
    max-height: 80px;
  }
}

/* =========================================================
   CTA Section (Contact & Recruit)
========================================================= */
.cta {
  width: 100%;
}

.cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* PCは左右1:1で分割 */
  width: 100%;
}

/* 各ブロック（リンク）の基本スタイル */
.cta__block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem; /* 上下の高さをしっかり確保 */
  text-decoration: none;
  overflow: hidden; /* ホバー時の画像拡大を枠内に収める */
}

/* --- 背景画像とオーバーレイ --- */
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 滑らかなズーム用 */
}

.cta__overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
}

/* ホバーエフェクト：画像を少し拡大し、オーバーレイを少し明るくする */
.cta__block:hover .cta__bg img {
  transform: scale(1.05);
}
.cta__block:hover .cta__overlay {
  opacity: 0.5 !important; /* インラインスタイルを上書きして明るく見せる */
}

/* --- コンテンツエリア --- */
.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  width: 100%;
  max-width: 500px; /* テキストが広がりすぎないように制限 */
}

.cta__sub {
  display: block;
  font-size: var(--font-size16--18);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta__main {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size40--56);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta__desc {
  font-size: var(--font-size14--16);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta__icon {
  font-size: 2.5rem; /* アイコンサイズ */
  line-height: 1;
  transition: transform 0.3s ease;
}

/* ホバー時に矢印アイコンを少し右へ動かす */
.cta__block:hover .cta__icon {
  transform: translateX(10px);
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .cta__block {
    padding: 6rem 2rem; /* タブレット時は少し高さを抑える */
  }

  .cta__wrapper {
    grid-template-columns: 1fr; /* スマホ時は1列（縦並び）に変更 */
  }

  .cta__block {
    padding: 5rem 1.5rem;
  }

  .cta__desc {
    font-size: var(--font-size12--14);
  }
}

/* =========================================================
   Footer
========================================================= */
.footer {
  position: relative;
  background-color: #ffffff;
  padding: 8rem 0 2rem; /* 上に十分な余白をとる */
  overflow: hidden; /* マーキーのはみ出しを隠す */
}

/* --- 流れる背景テキスト (Marquee Animation) --- */
.footer__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* 親要素に揃えてはみ出しを防止 */
  overflow: hidden;
  z-index: 0;
  pointer-events: none; /* テキストがリンクのクリックを邪魔しないようにする */
  user-select: none;
}

.footer__marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite; /* 60秒かけてゆっくり1周 */
}

.footer__marquee span {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(6rem, 15vw, 15rem); /* 画面サイズに合わせて巨大化 */
  font-weight: 800;
  color: rgba(0, 55, 117, 0.03); /* 案A: 白背景に溶け込む微細なブランドカラー透過（帯感を解消し上品にアニメーション） */
  line-height: 0.8;
  white-space: nowrap;
  padding-right: 4rem; /* ループ時の隙間 */
}

/* 左に50%移動したら一瞬で0に戻るループアニメーション */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- フッターコンテンツ共通 --- */
.footer__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%; /* 他のコンテンツ(.l-inner)と左右の開始位置を正確に揃える */
  z-index: 1; /* マーキーの上にコンテンツを配置 */
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 6rem;
}

/* --- 左側：企業情報エリア --- */
.footer__info {
  width: 40%;
}

.footer__logo a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}
.footer__logo a:hover {
  opacity: 0.8;
}
.footer__logo img {
  height: 48px;
  width: auto;
}
.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer__logo-name {
  color: var(--color-corp);
  font-weight: 700;
  font-size: var(--font-size16--18);
}
.footer__logo-en {
  color: var(--color-corp);
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size12--14);
  font-weight: 500;
  margin-top: 2px;
}

.footer__address-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__address-block p {
  margin: 0 0 0.25rem 0;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  line-height: 1.5;
}
.footer__address-block p:last-child {
  margin-bottom: 0;
}
.footer__address-title {
  font-weight: 700;
}

/* --- 右側：ナビゲーション --- */
.footer__nav {
  width: 60%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 均等に3列配置 */
  gap: 2rem;
}

.footer__nav-title {
  font-weight: 700;
  font-size: var(--font-size16--18);
  margin: 0 0 1.5rem 0;
  color: var(--color-main);
}

.footer__nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-col li {
  margin-bottom: 1rem;
}
.footer__nav-col li:last-child {
  margin-bottom: 0;
}

.footer__nav-col a {
  color: var(--color-corp);
  text-decoration: none;
  font-size: var(--font-size14--16);
  font-weight: 500;
  transition: opacity 0.3s ease;
  display: inline-block;
  line-height: 1.5;
}
.footer__nav-col a:hover {
  opacity: 0.7;
}

/* --- コピーライト --- */
.footer__bottom {
  text-align: right;
  /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
  padding-top: 2rem;
}

.footer__copyright {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size12--14);
  color: var(--color-main);
  letter-spacing: 0.05em;
}

/* =========================================================
   Mobile Styles (レスポンシブ)
========================================================= */
@media (max-width: 1080px) {
  .footer__top {
    flex-direction: column; /* タブレット以下は上下に積む */
    gap: 4rem;
  }
  .footer__info,
  .footer__nav {
    width: 100%;
  }

  .footer {
    padding: 5rem 0 2rem;
  }
  .footer__nav {
    grid-template-columns: 1fr; /* スマホではナビを1列に */
    gap: 2.5rem;
  }
  .footer__bottom {
    text-align: center;
  }
}

/* =========================================================
   Page Top Button
========================================================= */
.page-top-btn {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-corp);
  color: #fff;
  border: none;
  /* 精密さを感じさせる、ごく僅かな角丸（ほぼ正方形） */
  border-radius: 2px;
  cursor: pointer;
  z-index: 90; /* フッター等より上、ドロワーメニューより下に配置 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  /* 初期状態は少し下に下げて透明に */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* JSでクラスが付与されたら表示 */
.page-top-btn.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-btn:hover {
  /* ホバー時は少し色を暗くするか、メインカラーに変える */
  background-color: var(--color-main);
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .page-top-btn {
    bottom: 0;
    right: 0;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

/* =========================================================
   Breadcrumb (Breadcrumb NavXT 対応)
========================================================= */
.breadcrumb {
  width: 100%;
  padding: 1rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

/* Breadcrumb NavXT の出力（span等）を右寄せに制御 */
.breadcrumb__list {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--font-size10--12);
  color: var(--color-main);
}

/* プラグインが出力する各要素のスタイル */
.breadcrumb__list a {
  color: var(--color-main);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb__list a:hover {
  opacity: 0.7;
}

/* カレント（現在地）の太字設定など */
.breadcrumb__list span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* スマホ表示の調整 */
@media (max-width: 1080px) {
  .page-header {
    height: 250px;
  }
  .breadcrumb__list {
    justify-content: flex-start; /* スマホでは左寄せ */
  }
}

/* =========================================================
   Intro Section (序章・導入)
========================================================= */
.intro {
  padding: 6rem 0; /* 上下にゆったりとした余白 */
}

.intro__content {
  /* 文章が長くなりすぎないよう最大幅を絞り、中央寄せ */
  max-width: 1000px;
  margin: 0 auto;
}

.intro__title {
  /* 明朝体を適用 */
  font-family: "Noto Serif JP", serif;
  color: var(--color-corp);
  font-size: var(--font-size24--32); /* 見出し */
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  /* 左側の青いライン */
  padding-left: 1.5rem;
  border-left: 8px solid var(--color-corp);
  margin: 0 0 3rem 0;
}

.intro__text {
  color: var(--color-main);
  font-size: var(--font-size14--16);
  line-height: 2; /* 読みやすさを重視した広めの行間 */
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
}

.intro__text:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .intro {
    padding: 4rem 0;
  }

  .intro__title {
    padding-left: 1rem;
    border-left-width: 6px; /* スマホではラインを少し細くする */
    margin-bottom: 2rem;
  }

  .intro__text {
    line-height: 1.8;
  }
}

/* =========================================================
   Product Intro Section (製品紹介)
========================================================= */
.product-intro {
  padding: 0 0 6rem 0;
  background-color: #ffffff; /* 白背景 */
}

.product-intro__content {
  /* 文章が長くなりすぎないよう最大幅を絞り、中央寄せ（Figmaに合わせて調整可） */
  max-width: 900px;
  margin: 0 auto;
}

/* --- メイン画像 --- */
.product-intro__main,
.product-intro__sub {
  margin: 0 0 3rem 0; /* 下部の並列画像との間隔 */
  text-align: center;
}

.product-intro__main img,
.product-intro__sub img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* メイン画像下のキャプション */
.product-intro__caption {
  margin-top: 1rem;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- 並列画像コンテナ --- */
.product-intro__sub-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 3rem; /* 画像間の余白 */
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .product-intro {
    padding: 0 0 4rem 0;
  }

  .product-intro__main {
    margin-bottom: 3rem;
  }

  .product-intro__sub-images {
    grid-template-columns: 1fr; /* スマホでは1列（縦並び）に変更 */
    gap: 2rem;
  }
}

/* =========================================================
   Product Lead Section (製品加工の概要リード文)
========================================================= */
.product-lead {
  /* 上の画像セクションからの余白 */
  padding: 6rem 0;
  background-color: rgba(0, 55, 117, 0.15);
}

.product-lead__content {
  /* テキストが横に広がりすぎないように最大幅を設定し、中央に配置 */
  max-width: 840px;
  margin: 0 auto;
}

.product-lead__text {
  font-size: var(--font-size16--18);
  color: var(--color-main);
  /* 画像の文字がしっかりとしているため太字に設定 */
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .product-lead {
    padding: 5rem 0;
  }

  .product-lead__text {
    text-align: left;
    line-height: 1.8;
  }
}

/* =========================================================
   Component: Table (汎用テーブル)
========================================================= */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  background-color: #ffffff;
  border: 1px solid #dcdcdc; /* 全体の外枠 */
}

.c-table th,
.c-table td {
  padding: 0.75rem 1.5rem;
  border: 1px solid #dcdcdc;
  text-align: left;
  line-height: 1.6;
}

.c-table th {
  background-color: #f5f5f5; /* 画像に合わせた薄いグレー */
  font-weight: 500;
  white-space: nowrap; /* ヘッダーは改行させない */
}

.c-table td {
  background-color: #ffffff;
}

/* =========================================================
   Material Info Section (対応材質)
========================================================= */
.material-info {
  padding: 6rem 0; /* 前セクションからの余白 */
}

.material-info__wrapper {
  display: flex;
  align-items: flex-start; /* 上端で揃える */
  gap: 4rem; /* 表と画像の間の余白 */
}

/* --- 左側：テーブルエリア --- */
.material-info__table-wrap {
  flex: 1.5; /* 表を少し広めにとる（60%程度） */
  min-width: 0; /* Flexbox内のテーブルのはみ出し防止 */
}

/* 今回の表における列幅の調整 */
.col-material {
  width: 25%; /* 「材質」列の幅 */
  text-align: center !important; /* 材質名は中央揃えにすると綺麗です */
}
.material-info__table-wrap td:first-child {
  text-align: center;
}

/* --- 右側：画像エリア --- */
.material-info__img-wrap {
  flex: 1; /* 画像は40%程度 */
}

.material-info__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px; /* 少しだけ角を丸めて柔らかくする（不要なら削除） */
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* ほんのり影をつける */
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .material-info__wrapper {
    gap: 2.5rem;
  }

  .material-info {
    padding: 5rem 0;
  }

  .material-info__wrapper {
    flex-direction: column; /* スマホでは縦並びに変更 */
    gap: 2rem;
  }

  .material-info__table-wrap,
  .material-info__img-wrap {
    width: 100%; /* 両方とも横幅いっぱいに広げる */
  }

  /* スマホでのテーブル調整 */
  .c-table th,
  .c-table td {
    padding: 1rem;
    font-size: var(--font-size12--14);
  }
}

/* =========================================================
   Industry Info Section (納入先業界)
========================================================= */
.industry-info {
  padding: 0 0 8rem 0; /* 前セクションからの余白 */
}

.industry-info__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

/* --- 左側：テーブルエリア --- */
.industry-info__table-wrap {
  flex: 1.5; /* 表を少し広めにとる（約60%） */
  min-width: 0;
}

/* 「業界」列の幅調整 */
.col-industry {
  width: 25%;
  text-align: center !important;
}
.industry-info__table-wrap td:first-child {
  text-align: center;
}

/* --- 右側：画像エリア --- */
.industry-info__img-wrap {
  flex: 1; /* 画像は約40% */
}

.industry-info__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .industry-info__wrapper {
    gap: 2.5rem;
  }

  .industry-info {
    padding: 0 0 5rem 0;
  }

  .industry-info__wrapper {
    flex-direction: column; /* スマホでは縦並び */
    gap: 2rem;
  }

  .industry-info__table-wrap,
  .industry-info__img-wrap {
    width: 100%;
  }
}

/* =========================================================
   Workflow Section (受注から納品までの流れ) -
========================================================= */
.workflow {
  background-color: #ffffff; /* 白背景に変更 */
  padding: 0 0 8rem 0;
}

.workflow__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

/* --- 左側：テキストエリア --- */
.workflow__content {
  flex: 1;
}

.workflow__title {
  font-family: "Noto Serif JP", serif;
  color: var(--color-corp); /* コーポレートカラーを適用 */
  font-size: var(--font-size24--32);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  padding-left: 1.5rem;
  border-left: 8px solid var(--color-corp);
  margin: 0 0 4rem 0;
}

.workflow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.workflow__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* 番号の丸枠 */
.workflow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-corp); /* コーポレートカラー */
  border-radius: 50%;
  color: var(--color-corp); /* コーポレートカラー */
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.workflow__text {
  flex: 1;
}

.workflow__item-title {
  color: var(--color-main); /* メインカラー（濃いグレー） */
  font-size: var(--font-size16--18);
  font-weight: 700;
  margin: 0 0 0.5rem 0; /* 視認性向上のため、説明文との余白を少し広げました */
  letter-spacing: 0.05em;
}

.workflow__item-desc {
  color: var(--color-main);
  font-size: var(--font-size14--16); /* 読みやすい基本サイズに変更 */
  line-height: 1.6;
  margin: 0;
}

/* --- 右側：画像エリア --- */
.workflow__img-wrap {
  flex: 1;
  /* 2枚の画像を縦に並べるためのFlexbox設定 */
  display: flex;
  flex-direction: column; /* 垂直方向に並べる */
  gap: 2rem; /* 2枚の画像の間隔  */
}

.workflow__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .workflow__wrapper {
    gap: 3rem;
  }

  .workflow {
    padding: 0 0 5rem 0;
  }

  .workflow__wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .workflow__content,
  .workflow__img-wrap {
    width: 100%;
  }

  .workflow__title {
    margin-bottom: 3rem;
    padding-left: 1rem;
    border-left-width: 6px;
  }

  .workflow__list {
    gap: 1.5rem;
  }
}

/* =========================================================
   FAQ Section (よくある質問)
========================================================= */
.faq {
  padding: 0 0 8rem 0;
  background-color: #ffffff;
}

/* --- ヘッダー（見出しとリード文の横並び） --- */
.faq__header {
  display: flex;
  align-items: flex-end; /* 下のラインで揃える */
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.faq__title {
  font-family: "Noto Serif JP", serif;
  color: var(--color-corp);
  font-size: var(--font-size24--32);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  padding-left: 1.5rem;
  border-left: 8px solid var(--color-corp);
  margin: 0;
  white-space: nowrap; /* 見出しの折り返しを防ぐ */
}

.faq__lead {
  font-size: var(--font-size14--16);
  color: var(--color-main);
  font-weight: 500;
  margin: 0 0 0.25rem 0; /* 見出しとの縦位置の微調整 */
}

/* --- アコーディオン全体 --- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 各項目の間隔 */
}

.faq__item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

/* --- 質問（Q）エリア --- */
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #f8f9fa; /* 閉じた状態は薄いグレー背景 */
  cursor: pointer;
  font-weight: 700;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  transition: background-color 0.3s ease;

  /* デフォルトの三角形マーカーを隠す（モダンCSS対応） */
  list-style: none;
}
.faq__q::-webkit-details-marker {
  display: none; /* Safari用のマーカー非表示設定 */
}

.faq__q:hover {
  background-color: #f0f0f0;
}

.faq__icon {
  font-size: 1.25rem;
  color: var(--color-main);
  transition: transform 0.3s ease;
}

/* --- 回答（A）エリア --- */
.faq__a {
  padding: 0 2rem 1.5rem;
  background-color: #ffffff;
}

.faq__a p {
  margin: 0;
  color: var(--color-corp); /* 回答はコーポレートカラー */
  font-size: var(--font-size14--16);
  line-height: 1.8;
  font-weight: 500;
}

/* --- アコーディオンが開いた時（[open]）のスタイル --- */
.faq__item[open] .faq__q {
  background-color: #ffffff; /* 開いた時は背景を白に */
  border-bottom: 1px solid #f0f0f0; /* QとAの間に薄い線を引く（お好みで削除可） */
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg); /* 矢印を上向きに回転 */
}

/* =========================================================
   Mobile Styles (レスポンシブ: max-width)
========================================================= */
@media (max-width: 1080px) {
  .faq {
    padding: 0 0 5rem 0;
  }

  .faq__header {
    flex-direction: column; /* スマホでは見出しとリード文を縦並び */
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .faq__title {
    padding-left: 1rem;
    border-left-width: 6px;
  }

  .faq__q {
    padding: 1.25rem 1.5rem;
  }

  .faq__a {
    padding: 0 1.5rem 1.25rem;
  }
}

/* =========================================================
   Recruit Page Title Area (Viewport Height Layout)
========================================================= */
.page-header--recruit {
  position: relative;
  width: 100%;
  height: 60dvh; /* PC用：画面の60%の高さ */
  display: block;
  overflow: hidden;
  background-color: #fff;
  padding: 0; /* 高さを厳密にコントロールするためpaddingは0に */
}

.page-header--recruit .page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header--recruit .page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-header--recruit .page-header__overlay {
  display: none;
}

.page-header--recruit .page-header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%; /* 親の60dvh/svhの高さを継承 */
}

.page-header--recruit .page-header__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* タイトルをエリアの中央に配置 */
  position: relative; /* メッセージの絶対配置の基準 */
}

/* タイトル設定 */
.page-header--recruit .page-header__title {
  color: var(--color-main);
  font-size: var(--font-size32--48);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.page-header--recruit .page-header__en {
  color: var(--color-main);
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size14--16);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* --- メッセージを常に下端から6%の位置へ --- */
.page-header--recruit .page-header__message {
  position: absolute;
  bottom: 6%; /* 常に下端から6%の位置をキープ */
  left: 0;
  width: 100%;

  font-family: "Noto Serif JP", serif;
  color: var(--color-main);
  font-size: var(--font-size18--24);
  line-height: 2.2;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* =========================================================
   Mobile Styles (SP)
========================================================= */
@media (max-width: 1080px) {
  .page-header--recruit {
    height: 60svh; /* スマホ用：URLバーを含まない画面の60%の高さ */
  }

  .page-header--recruit .page-header__title {
    font-size: 1.75rem;
  }

  .page-header--recruit .page-header__message {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 375px) {
  .page-header--recruit .page-header__title {
    font-size: 1.5rem;
  }
  .page-header--recruit .page-header__message {
    font-size: 0.9rem;
  }
}

/* =========================================================
   Component: Heading Bar (左太線 + 英語添え)
========================================================= */
.c-heading-bar {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-left: 1.5rem;
  border-left: 8px solid var(--color-corp);
  margin-bottom: 3rem;
}

.c-heading-bar__ja {
  font-family: "Noto Serif JP", serif;
  color: var(--color-corp);
  font-size: var(--font-size24--32);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

.c-heading-bar__en {
  font-family: "Manrope", sans-serif;
  color: var(--color-corp);
  font-size: var(--font-size14--16);
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* =========================================================
   Requirements Section (募集要項)
========================================================= */
.requirements {
  padding: 6rem 0 8rem;
  background-color: #ffffff;
}

.requirements__location {
  font-size: var(--font-size20--24);
  color: var(--color-main);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.05em;
}

.requirements__accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- アコーディオンのガワ --- */
.req-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.req-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #f8f9fa; /* 閉じた状態は薄いグレー */
  cursor: pointer;
  font-weight: 700;
  font-size: var(--font-size16--18);
  color: var(--color-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

.req-item__q::-webkit-details-marker {
  display: none; /* Safariのデフォルトマーカー消去 */
}

.req-item__q:hover {
  background-color: #f0f0f0;
}

.req-item__icon {
  font-size: 1.25rem;
  color: var(--color-main);
  transition: transform 0.3s ease;
}

/* --- 開いた時のスタイル --- */
.req-item[open] .req-item__q {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.req-item[open] .req-item__icon {
  transform: rotate(180deg);
}

.req-item__a {
  padding: 2rem;
  background-color: #ffffff;
}

/* --- テーブル部分（横線のみのシンプルデザイン） --- */
.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table th,
.req-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  line-height: 1.8;
}

/* 最後の行の下線は消す */
.req-table tr:last-child th,
.req-table tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

/* 最初の行の上余白を詰める */
.req-table tr:first-child th,
.req-table tr:first-child td {
  padding-top: 0;
}

.req-table th {
  width: 25%;
  font-weight: 700;
  white-space: nowrap; /* 見出しの改行を防ぐ */
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .c-heading-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left-width: 6px;
    margin-bottom: 2.5rem;
  }

  .req-item__q {
    padding: 1.25rem 1.5rem;
  }

  .req-item__a {
    padding: 1.5rem;
  }

  /* スマホではテーブルを縦積みにする */
  .req-table th,
  .req-table td {
    display: block;
    width: 100%;
    padding: 1rem 0;
  }

  .req-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
    color: var(--color-corp); /* スマホで見出しを少し目立たせる */
  }

  .req-table tr:first-child th {
    padding-top: 0;
  }
}

/* =========================================================
   Welfare Section
========================================================= */
.welfare {
  padding: 8rem 0;
  background-color: #f8fafc;
}

.welfare__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.welfare__card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  text-align: center;
}

.welfare__icon {
  font-size: 2.5rem;
  color: var(--color-corp);
  margin-bottom: 1.5rem;
}

.welfare__card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  color: var(--color-corp);
  margin-bottom: 1.5rem;
}

.welfare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.welfare__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.welfare__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-corp);
}

/* =========================================================
   Holidays Section
========================================================= */
.holidays {
  padding: 8rem 0;
}

.holiday__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.holiday__item {
  margin: 0;
}

.holiday__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.holiday__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.holiday__item:hover img {
  transform: scale(1.05);
}

.holiday__caption {
  margin-top: 1rem;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: var(--color-main);
  font-size: 1.125rem;
}

.holiday__lead {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-main);
}

/* Mobile Adjustments */
@media (max-width: 1080px) {
  .welfare__grid {
    grid-template-columns: 1fr;
  }

  .holiday__gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Recruit Message Section (結びのメッセージ)
========================================================= */
.recruit-message {
  /* 上下に大きく余白を取り、特別な空間を演出します */
  padding: 0 0 7rem;
  background-color: #ffffff;
  text-align: center;
}

.recruit-message__inner {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-message__catch {
  font-family: "Noto Serif JP", serif;
  color: var(--color-corp); /* コーポレートカラーで誠実さを表現 */
  /* 画面幅に合わせて滑らかに可変するモダンCSS（最小24px〜最大40px） */
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em; /* 少し広めの字間で堂々とした印象に */
  margin: 0 0 3rem 0;
}

.recruit-message__lead {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-main);
  font-size: var(--font-size16--18);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
}

/* =========================================================
   Mobile Styles (SP)
========================================================= */
@media (max-width: 1080px) {
  .recruit-message {
    padding: 0 0 4rem;
  }

  .recruit-message__catch {
    line-height: 1.5;
    margin-bottom: 2rem;
  }
}

/* =========================================================
   ISO Certification Section
========================================================= */
.iso-intro {
  padding: 6rem 0 4rem;
  background-color: #ffffff;
}

.iso-intro__lead {
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 1.8;
  margin: 1.5rem 0 0 0;

  /* デザイン再現の要：見出しテキストの開始位置(1.5rem)とインデントを揃える */
  padding-left: 1.5rem;
}

.u-hidden-sp {
  display: block;
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .iso-intro {
    padding: 4rem 0 3rem;
  }

  .iso-intro__lead {
    /* スマホ版の .c-heading-bar の padding-left (1rem) と揃える */
    padding-left: 1rem;
    margin-top: 1.25rem;
  }

  .u-hidden-sp {
    display: none;
  }
}

/* =========================================================
   ISO Card Component (ISO詳細ブロック)
========================================================= */
.iso-card {
  background-color: #ffffff; /* 透過PNG用の白背景 */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 4rem;
  margin-top: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* 浮遊感のある上品な影 */
}

/* --- 上段：ロゴとテキスト --- */
.iso-card__header {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px dashed #cccccc; /* 下段との区切り線 */
}

.iso-card__badge {
  flex-shrink: 0;
  width: 280px; /* バッジのサイズ（画像に合わせて調整可） */
  margin: 0;
}

.iso-card__badge img {
  width: 100%;
  height: auto;
  display: block;
}

.iso-card__info {
  flex: 1;
}

.iso-card__title {
  font-family: "Noto Sans JP", sans-serif; /* 堅実さを出すためゴシック体推奨 */
  font-size: var(--font-size20--24);
  color: var(--color-corp); /* コーポレートカラーで統一 */
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
}

.iso-card__desc {
  font-size: var(--font-size14--16);
  text-align: left;
  color: var(--color-main);
  line-height: 1.8;
  margin: 0;
}

/* --- 下段：登録証グリッド --- */
.iso-card__certs {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.iso-card__cert {
  width: 400px; /* PCでの画像横幅を400pxに固定 */
  max-width: 100%; /* 親要素をはみ出さないための保険 */
  margin: 0;
}

.iso-card__cert img {
  width: 100%; /* 親の400pxに対して100% */
  height: auto;
  display: block;
  border: 1px solid #ebebeb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .iso-card {
    padding: 2rem;
    margin-top: 3rem;
  }

  .iso-card__header {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    text-align: center; /* スマホ時は中央揃えが見やすい */
  }

  .iso-card__badge {
    width: 200px; /* スマホでは少し縮小 */
  }

  .iso-card__certs {
    flex-direction: column;
    align-items: center;
  }

  .iso-card__cert {
    width: 100%; /* スマホでは画面幅いっぱいに */
    max-width: 400px; /* 大きくなりすぎないよう上限は維持 */
  }
}

/* =========================================================
   SDGs Section
========================================================= */
.sdgs-intro {
  padding: 6rem 0;
  background-color: #ffffff;
}

.sdgs-intro__lead {
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 1.8;
  margin: 1.5rem 0 0 0;
  padding-left: 1.5rem; /* 見出しのテキスト開始位置と揃える */
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .sdgs-intro {
    padding: 4rem 0;
  }

  .sdgs-intro__lead {
    padding-left: 1rem; /* スマホ時の見出しインデントと揃える */
    margin-top: 1.25rem;
  }
}

/* =========================================================
   SDGs Card Component (SDGs詳細ブロック)
========================================================= */
.sdgs-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 4rem;
  margin-top: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);

  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せ */
  gap: 5rem;
}

/* --- 左側：ロゴエリア（縦積み） --- */
.sdgs-card__logos {
  flex: 0 1 auto; /* コンテンツに合わせて伸縮 */
}

.sdgs-card__badge {
  margin: 0;
  width: 160px; /* ロゴのサイズ（バランスを見て調整してください） */
}

.sdgs-card__cert img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ebebeb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- 右側：登録証エリア --- */
.sdgs-card__cert-wrap {
  flex: 0 0 400px; /* 右側の証明書エリアを400pxで固定 */
  max-width: 100%;
}

.sdgs-card__cert {
  margin: 0;
}

.sdgs-card__cert img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ebebeb; /* ISOと同じく白い紙面に極薄の枠線 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .sdgs-card {
    flex-direction: column; /* 左右分割から上下分割へ */
    gap: 3rem;
  }

  .sdgs-card__logos {
    display: flex; /* 横並び！ */
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
  }

  /* ロゴ画像のサイズ調整（3つ均等） */
  .sdgs-card__badge {
    width: calc(33.333% - 1rem);
    min-width: 80px;
    max-width: 120px;
  }

  /* 登録証エリア */
  .sdgs-card__cert-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px; /* SPでも400pxを上限にする */
    margin: 0 auto; /* 中央寄せ */
  }
}

/* =========================================================
   Equipment Intro Section (主要設備 リード文)
========================================================= */
.equipment-intro {
  padding: 6rem 0 4rem;
  background-color: #ffffff;
}

.equipment-intro__lead {
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 1.8;
  margin: 1.5rem 0 0 0;
  padding-left: 1.5rem; /* .c-heading-bar のテキスト開始位置に揃える */
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .equipment-intro {
    padding: 4rem 0 3rem;
  }

  .equipment-intro__lead {
    padding-left: 1rem; /* スマホ時の見出しインデントと揃える */
    margin-top: 1.25rem;
  }

  /* スマホ表示では改行が不自然にならないよう br を非表示にするなどの調整推奨 */
  .equipment-intro__lead br {
    display: none;
  }
}

/* =========================================================
   Equipment Specs Section (主要設備 スペック表)
========================================================= */
.equipment-specs {
  padding: 0 0 8rem; /* 上のリード文との兼ね合いでpadding-topは0に */
  background-color: #ffffff;
}

.equip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* 最後のブロックの下余白を消す */
.equip-card:last-of-type {
  margin-bottom: 2rem;
}

/* --- 左側：テーブルエリア --- */
.equip-card__table-wrap {
  flex: 1;
}

.equip-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

/* 共通の罫線 */
.equip-table th,
.equip-table td {
  border: 1px solid #eaeaea;
  padding: 1rem;
  vertical-align: middle;
}

/* テーブル大見出し（本社工場 / 新潟工場） */
.equip-table__title {
  background-color: var(--color-corp);
  color: #ffffff;
  font-size: var(--font-size18--20);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.25rem 1rem !important; /* サブヘッダーより少し広めに */
  border-color: var(--color-corp) !important;
}

/* サブヘッダー（加工可能径など） */
.equip-table thead tr:nth-child(2) th {
  background-color: #e6e6e6; /* ライトグレー */
  color: var(--color-main);
  font-size: var(--font-size14--16);
  font-weight: 700;
}

/* データセル */
.equip-table td {
  color: var(--color-main);
  font-size: var(--font-size14--16);
  font-weight: 500;
}

/* --- 右側：画像エリア --- */
.equip-card__figure {
  flex: 0 0 320px; /* 画像エリアの横幅を固定 */
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.equip-card__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.equip-card__figure figcaption {
  margin-top: 1rem;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  font-weight: 500;
  text-align: center;
}

/* --- 更新年月 --- */
.equip-date {
  text-align: center;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  font-weight: 500;
  margin: 30px 0 0;
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .equipment-specs {
    padding: 0 0 4rem;
  }

  .equip-card {
    flex-direction: column; /* スマホではテーブルを上に、画像を下に縦積み */
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .equip-card__table-wrap {
    width: 100%;
  }

  .equip-table th,
  .equip-table td {
    padding: 0.75rem 0.5rem; /* スマホではセルの余白を少し詰める */
    font-size: 0.875rem; /* 14px相当 */
  }

  .equip-card__figure {
    flex: 0 0 auto;
    width: 80%; /* スマホでは少し画像を縮める */
    max-width: 320px;
  }
}

/* =========================================================
   Component: Parallax Section
========================================================= */
.c-parallax-section {
  width: 100%;
  overflow: hidden;
  background-color: #f1f5f9;
}

.c-parallax-section__bg {
  position: relative;
  width: 100%;
  height: 250px; /* 推奨高さ（200px〜300pxの間で調整） */

  /* パララックスの要：背景固定 */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像を少し暗くして落ち着かせるためのオーバーレイ */
.c-parallax-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 55, 117, 0.2); /* コーポレートカラーを薄く乗せる */
  z-index: 1;
}

.c-parallax-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.c-parallax-section__text {
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  font-size: var(--font-size24--32);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   Mobile Optimization (iOS/SP対策)
========================================================= */
@media (max-width: 1080px) {
  .c-parallax-section__bg {
    /* iOSのSafariではfixedがバグるため、モバイルではスクロールさせる */
    background-attachment: scroll;
    height: 200px; /* スマホでは少し高さを抑える */
  }
}

/* =========================================================
   Equipment Specs Section (主要設備 スペック表)
   ※CNC自動旋盤セクションのCSSを流用します。
========================================================= */
.equip-card {
  display: flex;
  align-items: center; /* 垂直中央揃え */
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* 最後のブロックの下余白を消す */
.equip-card:last-of-type {
  margin-bottom: 0;
}

/* --- 左側：テーブルエリア --- */
.equip-card__table-wrap {
  flex: 1; /* 残りの幅を埋める */
}

.equip-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

/* 共通の罫線 */
.equip-table th,
.equip-table td {
  border: 1px solid #eaeaea;
  padding: 1rem;
  vertical-align: middle;
}

/* テーブル大見出し（本社工場 / 新潟工場） */
.equip-table__title {
  background-color: var(--color-corp);
  color: #ffffff;
  font-size: var(--font-size18--20);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.25rem 1rem !important;
  border-color: var(--color-corp) !important;
}

/* サブヘッダー（加工可能径など） */
.equip-table thead tr:nth-child(2) th {
  background-color: #e6e6e6;
  color: var(--color-main);
  font-size: var(--font-size14--16);
  font-weight: 700;
}

/* データセル */
.equip-table td {
  color: var(--color-main);
  font-size: var(--font-size14--16);
  font-weight: 500;
}

/* --- 【追加】測定機器テーブル用の調整 --- */
/* テキストが長いため3列目を左寄せにし、行間と余白を調整 */
.equip-table--measure td:nth-child(3) {
  text-align: left;
  line-height: 1.6;
  padding: 1.5rem;
}

/* --- 右側：画像エリア --- */
.equip-card__figure {
  flex: 0 0 320px; /* 画像エリアの横幅を固定 */
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.equip-card__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.equip-card__figure figcaption {
  margin-top: 1rem;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  font-weight: 500;
  text-align: center;
}

/* =========================================================
   Mobile Styles (1080px以下)
========================================================= */
/* ユーザーの指示通り max-width: 1080px に設定します。 */
@media (max-width: 1080px) {
  .equip-card {
    flex-direction: column; /* タブレット以下では縦積みに変更 */
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .equip-card__table-wrap {
    width: 100%;
  }

  .equip-table th,
  .equip-table td {
    padding: 0.75rem 0.5rem; /* セルの余白を縮小 */
    font-size: 0.875rem; /* 14px相当 */
  }

  /* 測定機器テーブル用の調整も縮小 */
  .equip-table--measure td:nth-child(3) {
    padding: 0.75rem 0.5rem;
  }

  .equip-card__figure {
    flex: 0 0 auto;
    width: 80%; /* 画像を少し縮小 */
    max-width: 320px;
  }
}

/* =========================================================
   Archive Layout (お知らせ一覧レイアウト)
========================================================= */
.archive-contents {
  display: flex;
  align-items: flex-start;
  gap: 6rem; /* サイドバーとメインの間のゆとり */
  padding: 4rem 0 8rem;
}

/* --- 左側：サイドバー --- */
.archive-sidebar {
  flex: 0 0 240px; /* サイドバーの横幅を固定 */
}

.archive-filter__select-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

/* プルダウンの矢印をCSSで作る */
.archive-filter__select-wrap::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none; /* クリックを下のselectに貫通させる */
}

.archive-filter__select {
  appearance: none; /* デフォルトのスタイルをリセット */
  -webkit-appearance: none;
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.archive-filter__select:hover,
.archive-filter__select:focus {
  border-color: var(--color-corp);
  outline: none;
}

/* --- 右側：メインコンテンツ --- */
.archive-main {
  flex: 1;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eaeaea; /* リストの一番上の線 */
}

.archive-item {
  border-bottom: 1px solid #eaeaea;
}

.archive-item__link {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  padding: 2rem 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.archive-item__link:hover {
  background-color: #fafbfc; /* ホバー時にうっすら背景色を敷く */
}

/* メタ情報（日付とカテゴリーのラッパー） */
.archive-item__meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 0 0 280px; /* メタ情報の幅を固定し、タイトルの開始位置を揃える */
}

.archive-item__date {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-size14--16);
  color: var(--color-main);
  flex: 0 0 90px; /* 日付の幅を固定 */
}

.archive-item__cat {
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 0.4rem 0;
  font-size: 0.875rem; /* 14px */
  color: var(--color-main);
  width: 120px; /* バッジの幅を固定して美しく揃える */
  text-align: center;
}

.archive-item__title {
  font-size: var(--font-size16--18);
  color: var(--color-corp); /* デザイン通りコーポレートカラーに */
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.archive-item__empty {
  padding: 3rem 0;
  color: var(--color-main);
}

/* =========================================================
   Mobile Styles (SP)
========================================================= */
@media (max-width: 1080px) {
  .archive-contents {
    flex-direction: column; /* スマホでは縦積みに */
    gap: 3rem;
    padding: 3rem 1.125rem 5rem;
  }

  .archive-sidebar {
    width: 100%;
    flex: none;
  }

  /* スマホのプルダウンは横並びに */
  .archive-filter {
    display: flex;
    gap: 1rem;
  }

  .archive-filter__select-wrap {
    flex: 1;
    margin-bottom: 0;
  }

  .archive-main {
    width: 100%;
  }

  /* スマホのリストアイテム */
  .archive-item__link {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0;
    gap: 1rem;
    width: 100%;
  }

  .archive-item__meta {
    flex: none; /* 幅固定を解除 */
    width: 100%;
    gap: 1.5rem;
  }
}

/* =========================================================
   Pagination (ページネーション)
========================================================= */
.archive-pagination {
  margin-top: 4rem;
  text-align: center;
}

/* WordPressが自動出力するラッパー */
.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* 各ページ番号のボタン */
.archive-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: var(--color-main);
  background-color: #ffffff;
  text-decoration: none;
  font-family: "Manrope", sans-serif; /* 数字が綺麗に見えるフォント */
  font-weight: 500;
  font-size: var(--font-size14--16);
  transition: all 0.3s ease;
}

/* ホバー時のアクション */
.archive-pagination .page-numbers:hover {
  background-color: var(--color-corp);
  border-color: var(--color-corp);
  color: #ffffff;
}

/* 現在のページ */
.archive-pagination .current.page-numbers {
  background-color: var(--color-corp);
  border-color: var(--color-corp);
  color: #ffffff;
  pointer-events: none; /* 現在地はクリックできないようにする */
}

/* 「前へ」「次へ」の矢印ボタンの調整 */
.archive-pagination .prev.page-numbers,
.archive-pagination .next.page-numbers {
  border: none;
  background-color: transparent;
  color: var(--color-corp);
  font-size: 1.25rem;
  width: auto;
  padding: 0 0.5rem;
}

.archive-pagination .prev.page-numbers:hover,
.archive-pagination .next.page-numbers:hover {
  background-color: transparent;
  color: var(--color-main);
  opacity: 0.7;
}

/* 省略記号 (...) の調整 */
.archive-pagination .dots.page-numbers {
  border: none;
  background-color: transparent;
  width: auto;
  pointer-events: none;
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 768px) {
  .archive-pagination {
    margin-top: 3rem;
  }

  .archive-pagination .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 0.875rem; /* 14px */
  }
}

/* =========================================================
   Single Layout (お知らせ詳細レイアウト)
========================================================= */
.single-contents {
  padding: 4rem 0 8rem;
}

/* 読みやすさを考慮し、テキストエリアの最大幅を制限（約800px） */
.single-contents__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* --- ヘッダー（タイトル・メタ情報） --- */
.single-header {
  margin-bottom: 3rem;
}

.single-title {
  color: var(--color-corp);
  /* 最小24px 〜 最大32px で画面幅に合わせて可変 */
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.single-date {
  font-family: "Manrope", sans-serif;
  color: var(--color-main);
  font-size: var(--font-size14--16);
}

.single-cat {
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 0.25rem 1rem;
  font-size: 0.875rem; /* 14px */
  color: var(--color-main);
}

/* --- 本文（WordPressから出力されるコンテンツ） --- */
.single-body {
  color: var(--color-main);
  font-size: var(--font-size16--18);
  line-height: 1.8;
}

.single-body p {
  margin-bottom: 2rem;
}

/* 記事内の画像を画面幅に収めるための基本設定 */
.single-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 3rem auto; /* 画像の上下にしっかり余白を取る */
  border-radius: 4px;
}

/* --- ナビゲーション（前へ・一覧へ・次へ） --- */
.single-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 中央の要素幅を自動にし、左右を均等に */
  align-items: center;
  margin-top: 6rem;
  padding: 2rem 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.single-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-main);
  font-weight: 500;
  font-size: var(--font-size14--16);
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.single-nav a:hover {
  color: var(--color-corp);
  opacity: 0.8;
}

.single-nav__prev {
  text-align: left;
}

.single-nav__back {
  text-align: center;
}

.single-nav__next {
  text-align: right;
  /* 右寄せの要素内のアイコン（矢印など）の配置用 */
  display: flex;
  justify-content: flex-end;
}

/* =========================================================
   Mobile Styles (SP)
========================================================= */
@media (max-width: 768px) {
  .single-contents {
    padding: 2rem 0 5rem;
  }

  .single-nav {
    /* スマホでは文字を少し小さくし、余白を詰める */
    padding: 1.5rem 0;
    margin-top: 4rem;
  }

  .single-nav a {
    font-size: 0.875rem; /* 14px */
    gap: 0.25rem;
  }
}

/* =========================================================
   Company Page - Representative Greeting (代表挨拶)
========================================================= */
.company-greeting {
  padding: 6rem 0;
  background-color: #ffffff;
}

/* 本文エリアのインデントをこれまでのページと統一 */
.company-greeting__content {
  margin-top: 3rem;
  padding-left: 1.5rem; /* 見出しのテキスト開始位置と揃える */
}

/* メインキャッチコピー */
.company-greeting__catch {
  font-family: "Noto Serif JP", serif; /* メッセージ性を強めるため明朝体推奨 */
  font-size: var(--font-size20--28);
  color: var(--color-corp);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

/* メッセージ本文 */
.company-greeting__text {
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 2; /* 挨拶文なので少しゆったりとした行間に */
}

.company-greeting__text p {
  margin-bottom: 2rem;
}

.company-greeting__text p:last-child {
  margin-bottom: 0;
}

/* 署名エリア */
.company-greeting__signature {
  text-align: right; /* デザイン通り右寄せ */
  margin-top: 4rem;
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 1.8;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

/* =========================================================
   Mobile Styles
========================================================= */
@media (max-width: 1080px) {
  .company-greeting {
    padding: 4rem 0;
  }

  .company-greeting__content {
    padding-left: 1rem; /* SP時の見出しインデントに合わせる */
    margin-top: 2rem;
  }

  .company-greeting__catch {
    margin-bottom: 2rem;
  }

  .company-greeting__signature {
    margin-top: 3rem;
  }
}

/* =========================================================
   Company Profile (会社概要テーブル)
========================================================= */
.company-profile {
  padding: 0 0 6rem;
  background-color: #ffffff;
}

.company-profile__content {
  margin-top: 4rem;
  padding-left: 1.5rem; /* 見出しのインデントと統一 */
}

.profile-list {
  border-top: 1px solid #eaeaea;
}

.profile-list__item {
  display: flex;
  padding: 2rem 0;
  border-bottom: 1px solid #eaeaea;
}

.profile-list__label {
  flex: 0 0 200px;
  font-weight: 700;
  color: var(--color-main);
  font-size: var(--font-size16--18);
}

.profile-list__data {
  flex: 1;
  color: var(--color-main);
  font-size: var(--font-size16--18);
  line-height: 1.8;
  margin: 0;
}

/* =========================================================
   Mobile Styles (1080px以下)
========================================================= */
@media (max-width: 1080px) {
  .company-profile {
    padding: 0 0 4rem;
  }

  .company-profile__content {
    padding-left: 0;
  }

  .profile-list__item {
    padding: 1.5rem 0;
    /* ラベルの幅を少し狭める、または完全に縦に積む場合は flex-direction: column; */
  }

  .profile-list__label {
    flex: 0 0 160px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .profile-list__item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .profile-list__label {
    flex: none;
    width: 100%;
  }
}

/* =========================================================
   Company History (会社沿革)
========================================================= */
.company-history {
  padding: 0 0 6rem;
  background-color: #ffffff;
}

.company-history__content {
  margin-top: 4rem;
  padding-left: 1.5rem; /* 見出しのインデントと統一 */
}

.history-list {
  position: relative;
  /* 必要であれば、ここに縦線を引くことも可能です */
}

.history-list__item {
  position: relative;
  display: flex;
  /* align-items: flex-start; */
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea;
}

.history-list__item:last-child {
  border-bottom: none;
}

.history-list__year {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: var(--color-corp);
  font-size: var(--font-size16--18);
}

/* 年数の横のドット */
.history-list__dot {
  position: relative;
  z-index: 2; /* 縦線よりも前面に出す */
  width: 8px;
  height: 8px;
  background-color: var(--color-corp);
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;

  /* 【デザインの隠し味】洗練された印象に */
  box-shadow: 0 0 0 4px #ffffff;
}

.history-list__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3.5px; /* ドット幅(8px)の中心から、線幅の半分(0.5px)を引いた位置 */
  width: 1px;
  height: 100%; /* 基本は上から下まで貫通させる */
  background-color: #d9d9d9; /* 薄いグレーの線 */
  z-index: 1; /* ドットの背面に配置 */
}

/* 最初の項目：上にはみ出さないよう、ドットの位置から下に向かって引く */
.history-list__item:first-child::before {
  top: 2.2rem; /* 上部の余白(1.5rem) ＋ テキストの高さの半分付近 */
  height: calc(100% - 2.2rem);
}

/* 最後の項目：下にはみ出さないよう、上の項目からドットの位置まで引く */
.history-list__item:last-child::before {
  height: 2.2rem;
}

/* （保険）もし沿革が1つしかない場合は線を消す */
.history-list__item:first-child:last-child::before {
  display: none;
}

.history-list__event {
  flex: 1;
  color: var(--color-main);
  font-size: var(--font-size16--18);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   Mobile Styles (1080px以下)
========================================================= */
@media (max-width: 1080px) {
  .company-history {
    padding: 4rem 0;
  }

  .company-history__content {
    padding-left: 0;
  }

  .history-list__year {
    flex: 0 0 150px;
  }
}

@media (max-width: 768px) {
  .history-list__item {
    padding: 1.25rem 0;
  }

  .history-list__year {
    flex: 0 0 110px;
    font-size: 1rem;
  }

  .history-list__dot {
    margin-right: 0.75rem;
    width: 6px;
    height: 6px;
  }

  /* ドットが縮小するため、線の位置も微調整 */
  .history-list__item::before {
    left: 2.5px; /* ドット幅(6px)の中心に合わせて調整 */
  }

  /* SP時の余白(1.25rem等)に合わせて線のスタート位置を調整 */
  .history-list__item:first-child::before {
    top: 1.8rem;
    height: calc(100% - 1.8rem);
  }

  .history-list__item:last-child::before {
    height: 1.8rem;
  }

  .history-list__event {
    font-size: 0.9375rem; /* 15px相当 */
  }
}

/* =========================================================
   Factory Introduction (工場紹介)
========================================================= */
.company-factory {
  padding: 0 0 6rem;
  background-color: #ffffff;
}

.company-factory__content {
  margin-top: 4rem;
  padding-left: 1.5rem; /* 見出しのインデントと統一 */
}

.factory-block {
  margin-bottom: 5rem;
}

.factory-block:last-child {
  margin-bottom: 0;
}

/* 〇〇工場 の見出し */
.factory-block__title {
  font-size: var(--font-size18--20);
  color: var(--color-main);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

/* 写真と地図のレイアウト */
.factory-block__media {
  display: flex;
  width: 100%;
}

.factory-block__img {
  flex: 1; /* 左右50%ずつ均等に割り当て */
  margin: 0;
  aspect-ratio: 16 / 9; /* 高さを揃えるための比率指定（画像の比率に合わせて変更可） */
}

.factory-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 比率に合わせてはみ出した部分をトリミング */
  display: block;
}

.factory-block__map {
  flex: 1;
  margin: 0;
  aspect-ratio: 16 / 9; /* これで左側の写真と高さが完全に一致します */
}

/* 枠の中で Google マップの iframe を縦横いっぱいに広げる */
.factory-block__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none; /* 念のため外枠の標準線をリセット */
}

/* 住所とアクセスの情報エリア */
.factory-block__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px dotted #888888; /* 下部の点線 */
  font-size: var(--font-size14--16); /* 少し小さめの文字サイズ */
  color: var(--color-main);
  font-weight: 500;
  line-height: 1.6;
}

/* 住所・TELと、アクセス情報をそれぞれ横並びに整える */
.factory-block__address,
.factory-block__access {
  display: flex;
  gap: 1.5rem; /* 項目同士の隙間 */
}

/* =========================================================
   Mobile Styles (1080px以下)
========================================================= */
@media (max-width: 1080px) {
  .company-factory {
    padding: 0 0 4rem;
  }

  .company-factory__content {
    padding-left: 0;
  }
}

/* 768px以下のスマホ対応 */
@media (max-width: 768px) {
  .factory-block {
    margin-bottom: 4rem;
  }

  .factory-block__media {
    flex-direction: column; /* 写真と地図を縦積みに */
  }

  .factory-block__img {
    aspect-ratio: auto; /* 縦積み時は高さを自動に */
  }

  .factory-block__map {
    aspect-ratio: 16 / 9; /* スマホで縦積みになったときも、見やすい横長比率を維持 */
    margin-top: 1rem; /* 写真との間に少し隙間をあける場合 */
  }

  .factory-block__info {
    flex-direction: column; /* 住所とアクセスも縦積みに */
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
  }

  .factory-block__address,
  .factory-block__access {
    flex-direction: column; /* テキストも1行ずつ折り返す */
    gap: 0.25rem;
  }
}

/* =========================================================
   Entry Form - Intro
========================================================= */
.entry-form-section,
.contact-form-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.entry-form-intro,
.contact-form-intro {
  margin-top: 3rem;
  padding-left: 1.5rem; /* 見出し開始位置と揃える */
  font-size: var(--font-size16--18);
  color: var(--color-main);
  line-height: 1.6;
}

.c-form-wrapper {
  margin-top: 4rem;
  max-width: 900px;
  margin-inline: auto; /* フォーム全体を中央寄せ */
}

/* =========================================================
   Snow Monkey Forms Custom Styles (HTML構造対応版)
========================================================= */

/* 1行ごとのラッパー */
.c-form-wrapper .smf-item {
  display: flex !important;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

/* --- 左側：ラベルカラム --- */
.c-form-wrapper .smf-item__col--label {
  flex: 0 0 280px !important;
  padding-top: 0.8rem;
  width: auto;
}

.c-form-wrapper .smf-item__label__text {
  font-weight: 700;
  color: var(--color-main);
  font-size: var(--font-size16--18);
}

/* ★魔法のコード★
  入力コントロール側に data-validations="required" (必須) がある場合、
  自動的に左カラムに「必須」バッジを生成します。
*/
.c-form-wrapper .smf-item:has([data-validations~="required"]) .smf-item__label {
  display: flex;
  align-items: center;
}
.c-form-wrapper
  .smf-item:has([data-validations~="required"])
  .smf-item__label::before {
  content: "必須";
  background-color: #c92a2a;
  color: #ffffff;
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  padding: 0.2em 1em;
  border-radius: 20px;
  margin-right: 1rem;
  white-space: nowrap;
  display: inline-block;
}

/* --- 右側：入力カラム --- */
.c-form-wrapper .smf-item__col--controls {
  flex: 1 !important;
  width: 100%;
}

/* テキスト・セレクト・テキストエリア共通 */
.c-form-wrapper input[type="text"],
.c-form-wrapper input[type="email"],
.c-form-wrapper input[type="tel"],
.c-form-wrapper select,
.c-form-wrapper textarea {
  width: 100% !important;
  padding: 1rem 1.25rem !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  color: var(--color-main) !important;
  font-size: 1rem !important;
  font-family: inherit;
  transition: border-color 0.3s ease;
  max-width: none !important;
}

/* プレースホルダー */
.c-form-wrapper input::placeholder,
.c-form-wrapper textarea::placeholder {
  color: #999999 !important;
}

/* フォーカス時 */
.c-form-wrapper input:focus,
.c-form-wrapper select:focus,
.c-form-wrapper textarea:focus {
  border-color: var(--color-corp) !important;
  outline: none;
}

.c-form-wrapper textarea {
  min-height: 180px;
  resize: vertical;
}

/* --- ラジオボタン・チェックボックス --- */
.c-form-wrapper input[type="radio"],
.c-form-wrapper input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
  accent-color: var(--color-corp);
}

.c-form-wrapper .smf-radio-buttons-control__control,
.c-form-wrapper .smf-checkboxes-control__control {
  display: flex !important;
  gap: 2rem;
  padding-top: 0.8rem;
  flex-wrap: wrap;
}

/* --- 生年月日などの複数セレクトボックス横並び --- */
.c-form-wrapper .smf-select-group {
  display: flex !important;
  align-items: center;
  flex-direction: row !important; /* グループブロックの縦並びを強制解除 */
  gap: 0.5rem;
  flex-wrap: wrap;
}

.c-form-wrapper .smf-select-group select {
  width: auto !important;
  min-width: 100px;
}

.c-form-wrapper .smf-select-group p {
  margin: 0 !important;
  margin-right: 0.5rem !important;
  color: var(--color-main);
  font-weight: 500;
  line-height: 1;
}

/* --- ファイル添付（履歴書など） --- */
.c-form-wrapper .smf-file-control {
  padding-top: 0.5rem;
}

/* --- プライバシーポリシーのテキスト（中央寄せ） --- */
.c-form-wrapper > p,
.c-form-wrapper .smf-form > p {
  text-align: center;
  margin-top: 4rem;
  line-height: 1.6;
}

/* --- プライバシーポリシー同意チェック（最後の項目） --- */
/* 一番最後の smf-item を同意チェックとみなし、ラベルを消して中央寄せします */
.c-form-wrapper .smf-item:last-of-type {
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 0;
}
.c-form-wrapper .smf-item:last-of-type .smf-item__col--label {
  display: none !important;
}
.c-form-wrapper .smf-item:last-of-type .smf-item__col--controls {
  flex: none !important;
  width: auto !important;
}

/* --- 送信ボタン周り --- 
   ※HTMLには出力されていませんでしたが、ボタン配置時に効くように設定しています */
.c-form-wrapper .smf-action {
  margin-top: 4rem;
  text-align: center;
}

.c-form-wrapper .smf-action__item button {
  background-color: var(--color-corp) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700;
  padding: 1.25rem 4rem !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.3s ease;
  width: auto !important;
}

/* =========================================================
   誤入力防止：ラベル内の改行タグを強制的に無効化する
========================================================= */
.c-form-wrapper .smf-item__label__text br {
  display: none !important;
}

/* =========================================================
   Mobile Styles (SP)
========================================================= */
@media (max-width: 1080px) {
  .c-form-wrapper .smf-item {
    flex-direction: column !important;
    margin-bottom: 2rem;
  }

  .c-form-wrapper .smf-item__col--label {
    flex: none !important;
    width: 100% !important;
    padding-top: 0 !important;
    margin-bottom: 0.75rem;
  }

  .c-form-wrapper .smf-radio-buttons-control__control,
  .c-form-wrapper .smf-checkboxes-control__control {
    flex-direction: column !important;
    gap: 1rem;
    padding-top: 0;
  }

  .c-form-wrapper .smf-select-group select {
    min-width: 80px;
    padding: 0.8rem 1rem !important;
  }

  /* --- プライバシーポリシーのテキスト（中央寄せ） --- */
  .c-form-wrapper > p,
  .c-form-wrapper .smf-form > p {
    text-align: left;
    margin-top: 3rem;
  }
}
