/*
Theme Name: My Theme
Theme URI:
Author: Your Name
Author URI:
Description: 小規模コーポレートサイト用のオリジナルテーマ（クラシックテーマ / 素のCSS）
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

/* =========================================================
   1. CSS変数（デザインのトークンをここに集約）
   ========================================================= */
:root {
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --color-primary: #11448B;
  --color-hero: #0A325F;
  --color-accent: #d23f3f;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;

  --container: 1180px;
  --gutter: 20px; 
  --header-h: 88px;
  --color-tel: #2a7d9e;
  --font-base: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: Arial, Helvetica, sans-serif; 
}

/* =========================================================
   2. リセット（最小限）
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }
.screen-reader-text {
  position: absolute !important; clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* =========================================================
   3. レイアウト土台
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 共通ユーティリティ：PC時のみ改行（モバイルでは改行しない） */
.pc-only { display: inline; }
@media (max-width: 760px) {
  .pc-only { display: none; }
}

/* =========================================================
   4. ヘッダー / グローバルナビ
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}

/* ロゴ */
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 44px; width: auto; }

/* 右側まとめ（ナビ＋言語切替＋トグル） */
.header-right { display: flex; align-items: center; gap: 32px; }

/* バイリンガルナビ（英語＋日本語の2段） */
.gnav__list { display: flex; gap: 36px; }
.gnav__link { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.gnav__en {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1;
  color: var(--color-primary);
}
.gnav__ja { font-size: 16px; font-weight: 700; color: var(--color-text); }
.gnav__link:hover .gnav__ja,
.gnav__link:hover .gnav__en { color: var(--color-primary); opacity: .65; }

/* 言語切替 JP / EN */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(27, 58, 107, .10);
}
.lang-switch__btn {
  padding: 7px 18px; font-size: .85rem; font-weight: 700;
  color: var(--color-primary); line-height: 1;
  border-radius: 999px; transition: background .2s, color .2s;
}
.lang-switch__btn.is-active { background: var(--color-primary); color: #fff; }

/* ハンバーガー（モバイルのみ表示） */
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-right { gap: 16px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--color-text); transition: .3s; }

  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .gnav.is-open { transform: translateY(0); }
  .gnav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter); }
  .gnav__link {
    flex-direction: row; gap: 10px; align-items: baseline;
    padding: 14px 0; border-bottom: 1px solid var(--color-border);
  }
}

/* モバイル：グローバルナビ（#global-nav）開閉（旧・末尾の番号なし@mediaを合流） */
@media (max-width: 900px) {
  #global-nav {
    position: fixed;
    top: var(--header-h, 64px);   /* ヘッダーの高さ分だけ下げる */
    left: 0;
    width: 100%;
    background: #fff;
    /* 隠す：高さ0＋完全に隠す */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height .3s, opacity .3s, visibility .3s;
    z-index: 99;
  }
  #global-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }
}

/* =========================================================
   5. フッター
   ========================================================= */
.site-footer {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 130% at 0% 100%, rgba(33, 115, 200, .55) 0%, rgba(33, 115, 200, 0) 48%),
    linear-gradient(135deg, #0f3a6e 0%, #0a2348 100%);
  padding: 70px 0 44px;
}
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }

/* 右側の透かしロゴ */
.site-footer__watermark {
  position: absolute; right: 0; bottom: 40px;
  width: 38%; max-width: 620px; height: auto;
  opacity: .55; pointer-events: none; z-index: 0;
}
.site-footer__inner { position: relative; z-index: 1; }

/* 上段：ブランド＋ナビ */
.site-footer__top { display: flex; align-items: stretch; }
.site-footer__brand {
  flex: 0 0 30%; padding-right: 48px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}
.site-footer__logo { width: 210px; height: auto; display: block; }
.site-footer__company { margin: 14px 0 0; color: #fff; font-size: 1rem; }
.site-footer__address {
  margin: 35px 0 0; font-style: normal; line-height: 1.95; color: #fff;
  white-space: nowrap;
}

.site-footer__nav {
  flex: 1; padding-left: 56px;
  display: flex; flex-direction: column; gap: 26px;
}
.footer-group { display: flex; align-items: baseline; margin: 0; }
.footer-group dt { flex: 0 0 150px; font-weight: 700; font-size: 1.05rem; }
.footer-group dt a { color: #fff; }
.footer-group dd { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-group dd a { font-size: .95rem; }

/* 区切り線 */
.site-footer__divider {
  border: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 40px 0 0;
}

/* 下段：リンク＋コピーライト */
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px 32px; flex-wrap: wrap; margin-top: 36px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-footer__links a { font-size: .95rem; }
.site-footer__copy { margin: 0; color: rgba(255, 255, 255, .7); font-size: .85rem; }

@media (max-width: 900px) {
  .site-footer { padding: 48px 0 32px; }
  .site-footer__top { flex-direction: column; }
  .site-footer__brand {
    flex: none; padding-right: 0; padding-bottom: 32px;
    border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .25);
  }
  .site-footer__address { margin-top: 24px; }
  .site-footer__nav { padding-left: 0; padding-top: 32px; }
  .footer-group { flex-direction: column; gap: 8px; }
  .footer-group dt { flex: none; margin-bottom: 4px; }
  .site-footer__watermark { width: 60%; opacity: .35; }
  .site-footer__bottom { align-items: flex-start; }
}

/* =========================================================
   6. 共通ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 4px;
  font-weight: 700; letter-spacing: .04em; line-height: 1;
  transition: opacity .2s, background .2s;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { opacity: .85; }
.btn--tel { background: #fff; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn--tel::before { content: "\260E"; font-size: 1.1em; }
.btn--tel:hover { background: var(--color-primary); color: #fff; }

/* =========================================================
   7. Hero / メインビジュアル（ネットワークアニメーション＝採用MV）
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 56px 0 56px; }
.hero__inner {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: stretch;
  gap: 40px;
}

/* 左：見出し（上）＋リード（その下） */
.hero__copy {
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: 36px;
  max-width: 60%;
}
.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 700; line-height: 1.35; letter-spacing: .02em;
  color: #0A325F;
  white-space: nowrap;
}
.hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 700;
  line-height: 1.9; color: #0A325F;
}

/* 右：縦並びボタン */
.hero__actions {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 14px; min-width: 200px;
}
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 10px 15px; border-radius: 2px;
  color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  transition: opacity .2s;
}
.hero-btn:hover { opacity: .9; }
.hero-btn__icon { width: 18px; height: 18px; flex: none; object-fit: contain; }
.hero-btn--contact { background: var(--color-primary); }
.hero-btn--tel { background: var(--color-tel); }

/* 背景ウォーターマーク（画像 mv-logo.png） */
.hero__watermark {
  position: absolute; bottom: 0; left: 61%; transform: translateX(-50%);
  z-index: 0; pointer-events: none; user-select: none;
  width: auto; height: auto;
  max-width: 37%;    /* 横幅の上限 */
  max-height: 100%;  /* 高さは箱いっぱいまで許可（横幅で決まる） */
}


@media (max-width: 768px) {
  .hero { padding: 32px 0 48px; }
  .hero__inner { flex-direction: column; min-height: auto; gap: 32px; }
  .hero__copy { max-width: 100%; gap: 24px; }
  .hero__actions { min-width: 0; transform: none; }
  .hero-btn { width: 100%; }
  .hero__watermark { max-width: 80%; max-height: 50%; left: auto; right: -4%; top: auto; bottom: 6%; transform: none; }
}

/* --- メインビジュアル：ネットワークアニメーション（canvas #heroNetwork） --- */
.hero__network {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__copy, .hero__actions { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .hero__network { width: 100%; opacity: .5; }
}

/* =========================================================
   8. スライドショー（自動スクロール / マーキー）
   ========================================================= */
.slideshow {
  width: 100%;
  overflow: hidden;          /* はみ出した画像を隠す */
}
.slideshow__track {
  display: flex;
  width: max-content;        /* 中身の合計幅まで広がる */
  animation: slideshow-scroll 40s linear infinite; /* 速度はここで調整 */
}
.slideshow:hover .slideshow__track {
  animation-play-state: paused; /* ホバーで一時停止 */
}
.slideshow__item {
  flex: none;
  width: 600px;
  height: 450px;
}
.slideshow__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* 2セット出力 → 半分(=1セット分)動かしてループ */
@keyframes slideshow-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* スマホでは少し小さく（4:3を維持） */
@media (max-width: 768px) {
  .slideshow__item { width: 340px; height: 255px; }
}

/* モーションを減らす設定の人には自動スクロールを止め、手動スクロールに */
@media (prefers-reduced-motion: reduce) {
  .slideshow { overflow-x: auto; }
  .slideshow__track { animation: none; }
}

/* =========================================================
   9. News / お知らせ
   ========================================================= */
.news { padding: 80px 0; overflow: hidden; } /* overflow: 左はみ出しの安全弁（横スクロール防止） */
.news__inner { display: flex; gap: 56px; align-items: flex-start; }

/* 左：見出し＋画像 */
.news__head { flex: 0 0 300px; }
.news__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en);
  font-weight: 700; letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.news__title { margin: 0 0 32px; font-size: 38px; font-weight: 700; line-height: 1.3; }
.news__image {
  margin: 0;
  width: 100%;   /* 列の幅にそろえる（テキストと同じ左端） */
}
.news__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* PC：画像の左端を画面の左端まではみ出させる */
@media (min-width: 1180px) {
  .news__image { width: auto; max-width: 260px; margin-left: 0; }
}

/* 右：リスト */
.news__body { flex: 1; min-width: 0; }
.news-list { border-top: 1px solid var(--color-border); }
.news-list__item { border-bottom: 1px solid var(--color-border); }
.news-list__link {
  display: grid; grid-template-columns: auto 110px 1fr;
  align-items: center; gap: 28px; padding: 22px 4px;
}
.news-list__date { color: var(--color-muted); font-size: .9rem; white-space: nowrap; }
.news-list__cat {
  justify-self: start; white-space: nowrap;
  border: 1px solid var(--color-primary); color: var(--color-primary);
  font-size: .78rem; font-weight: 700; padding: 4px 16px; border-radius: 2px;
}
.news-list__cat--empty { border: none; padding: 0; }
.news-list__title { color: var(--color-text); }
.news-list__link:hover .news-list__title { color: var(--color-primary); }

.news__more { display: flex; justify-content: flex-end; margin-top: 28px; }
.news-more { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; color: var(--color-text); }
.news-more__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--color-primary);
  border-radius: 50%; color: var(--color-primary); transition: background .2s, color .2s;
}
.news-more__icon svg { width: 16px; height: 16px; }
.news-more:hover .news-more__icon { background: var(--color-primary); color: #fff; }

@media (max-width: 768px) {
  .news { padding: 48px 0; }
  .news__inner { flex-direction: column; gap: 28px; }
  .news__head { flex: none; width: 100%; }
  .news__image { max-width: 260px; }
  .news-list__link { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .news-list__cat--empty { display: none; }
}

/* =========================================================
   10. About Us
   ========================================================= */
.about {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about__inner { display: flex; gap: 64px; align-items: center; }

/* 左：画像（about-img.png 1枚） */
.about__images { flex: 1 1 50%; min-width: 0; }
.about__img { margin: 0; }
.about__img img { width: 100%; height: auto; object-fit: contain; display: block; }

/* 右：テキスト */
.about__body { flex: 1 1 50%; min-width: 0; }
.about__label {
  margin: 0 0 18px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 1.2rem;
}
.about__title {
  margin: 0 0 28px; font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.5; color: var(--color-text);
}
.about__text { margin: 0 0 36px; line-height: 2; color: var(--color-text); }

.about__links { display: flex; flex-wrap: wrap; gap: 12px; }
.about-btn {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: .9rem; height: 33px; padding: 0 20px; border-radius: 0;
  transition: opacity .2s;
}
.about-btn:hover { opacity: .88; }
.about-btn__arw { display: inline-flex; }
.about-btn__arw svg { width: 7px; height: 9px; }

@media (max-width: 900px) {
  .about { padding: 64px 0; }
  .about__inner { flex-direction: column; gap: 40px; align-items: stretch; }
  .about__images { width: 100%; }
}

/* =========================================================
   11. Our Business / 事業紹介
   ========================================================= */
.business { padding: 90px 0; }
.business__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.business__title { margin: 0 0 24px; font-size: 38px; font-weight: 700; line-height: 1.3; }
.business__intro { margin: 0; line-height: 1.9; color: var(--color-text); }

/* 3枚並び（画像は隙間なし） */
.business__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.biz-card__link { display: block; }
.biz-card__media {
  position: relative; display: block; overflow: hidden;
}
.biz-card__media img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.biz-card__link:hover .biz-card__media img { transform: scale(1.05); }
/* 下部に暗いグラデ（白文字を読みやすく） */
.biz-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%);
}
.biz-card__name {
  position: absolute; z-index: 1; left: 24px; bottom: 22px;
  color: #fff; font-weight: 700; font-size: 1.25rem;
}
.biz-card__arrow {
  position: absolute; z-index: 1; right: 24px; bottom: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--color-primary);
  transition: background .2s, color .2s;
}
.biz-card__arrow svg { width: 11px; height: 11px; margin-left: 2px; }
.biz-card__link:hover .biz-card__arrow { background: var(--color-primary); color: #fff; }
.biz-card__desc { margin: 0; padding: 10px 25px 0 0; line-height: 1.9; color: var(--color-text); }

@media (max-width: 768px) {
  .business { padding: 56px 0; }
  .business__grid { grid-template-columns: 1fr; gap: 8px; }
  .biz-card__desc { padding: 20px 0 24px; }
}

/* =========================================================
   12. Quality / 品質管理（TOP）
   ========================================================= */
.quality {
  display: flex; align-items: center;
  min-height: 640px; padding: 80px 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.quality__box {
  max-width: 560px;
  background: rgba(255, 255, 255, .88);
  padding: 56px 64px;
}
.quality__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.quality__title { margin: 0 0 24px; font-size: 38px; font-weight: 700; line-height: 1.3; }
.quality__text p { margin: 0 0 20px; line-height: 2; color: var(--color-text); }
.quality__text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .quality { min-height: 0; padding: 56px 0; }
  .quality__box { max-width: 100%; padding: 32px 24px; }
}

/* =========================================================
   13. Offices / 事業所紹介
   ========================================================= */
.offices { padding: 90px 0; }

/* 上段：左テキスト＋右画像（画像幅を下段カードと揃える） */
.offices__top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: center;
}
.offices__head {}
.offices__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.offices__title { margin: 0 0 24px; font-size: 38px; font-weight: 700; line-height: 1.3; }
.offices__intro { margin: 0; line-height: 1.9; color: var(--color-text); }
.offices__hero { margin: 0; }
.offices__hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* 下段：3枚カード（間に余白あり） */
.offices__grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.office-card__link { display: block; }
.office-card__media { position: relative; display: block; overflow: hidden; }
.office-card__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.office-card__link:hover .office-card__media img { transform: scale(1.05); }
.office-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent 45%);
}
.office-card__name {
  position: absolute; z-index: 1; left: 20px; bottom: 18px;
  color: #fff; font-weight: 700; font-size: 1.2rem;
}
.office-card__arrow {
  position: absolute; z-index: 1; right: 18px; bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--color-primary);
  transition: background .2s, color .2s;
}
.office-card__arrow svg { width: 10px; height: 10px; margin-left: 2px; }
.office-card__link:hover .office-card__arrow { background: var(--color-primary); color: #fff; }
.office-card__arrow svg { width: 10px; height: 10px; margin-left: 2px; }
.office-card__link:hover .office-card__arrow { opacity: .85; }
.office-card__desc { margin: 0; padding: 18px 10px 0 0; line-height: 1.9; color: var(--color-text); }

@media (max-width: 900px) {
  .offices { padding: 56px 0; }
  .offices__top { grid-template-columns: 1fr; gap: 28px; }
  .offices__grid { grid-template-columns: 1fr; gap: 24px; }
  .office-card__desc { padding: 16px 0 0; }
}

/* =========================================================
   14. Daily Price / 相場情報
   ========================================================= */
.price {
  padding: 80px 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.price__inner { display: flex; align-items: flex-start; gap: 48px; }

.price__head { flex: 0 0 22%; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }

.price__label {
  margin: 0 0 6px; font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.price__title { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.3; color: #fff; }

.price__panel { flex: 1; min-width: 0; }
.price__scroll { overflow-x: auto; }

.price-table {
  width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed;
}
.price-table th {
  background: var(--color-primary); color: #fff; text-align: left;
  padding: 18px 24px; font-size: .95rem; font-weight: 700;
}
.price-table th:nth-child(1) { width: 34%; }
.price-table th:nth-child(2) { width: 40%; }
.price-table th:nth-child(3) { width: 26%; }
.price-table td {
  padding: 18px 24px; border-bottom: 1px solid var(--color-border);
  vertical-align: middle; background: #fff;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table__name { display: block; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.price-table__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-primary); font-size: .85rem; font-weight: 400;
}
.price-table__link svg { width: 13px; height: 13px; }
.price-table__link:hover { opacity: .7; }
.price-table__val { color: var(--color-primary); font-weight: 700; font-size: 20px; }
.price-table__unit { color: var(--color-text); font-weight: 700; }

.price__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 8px; background: #fff; padding: 14px 24px;
  font-size: .85rem; color: var(--color-text);
}

@media (max-width: 900px) {
  .price { padding: 56px 0; }
  .price__inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .price__head { flex: none; }
  .price-table { min-width: 540px; } /* 横スクロールで全列見えるように */
  .price__foot { flex-wrap: wrap; }
}

/* =========================================================
   15. Recruit / 採用情報（TOP）
   ========================================================= */
.recruit {
  padding: 90px 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.recruit__inner { display: flex; align-items: center; gap: 56px; }

.recruit__body { flex: 0 0 38%; }
.recruit__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 28px; line-height: 1;
}
.recruit__title { margin: 0 0 24px; font-size: 38px; font-weight: 700; line-height: 1.3; color: var(--color-text); }
.recruit__lead { margin: 0; line-height: 1.9; color: var(--color-text); }

.recruit-btn {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 36px; padding: 16px 32px; border-radius: 2px;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: 1rem; transition: background .2s;
}
.recruit-btn__icon { width: 8px; height: 10px; margin-left: 2px; }
.recruit-btn:hover { background: #0d3a78; }

.recruit__image { flex: 1; min-width: 0; }
.recruit__image img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .recruit { padding: 56px 0; }
  .recruit__inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .recruit__body { flex: none; }
}

/* =========================================================
   16. Contact / お問い合わせ（全ページ共通CTA）
   ========================================================= */
.contact {
  position: relative;
  padding: 80px 0 90px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 28, 58, .55);
}
.contact__inner { position: relative; z-index: 1; }

.contact__head { text-align: center; color: #fff; margin-bottom: 36px; }
.contact__label {
  margin: 0 0 6px; font-family: var(--font-en); font-weight: 700;
  letter-spacing: .12em; font-size: 26px; line-height: 1;
}
.contact__title { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.3; color: #fff; }

.contact__card {
  background: #fff;
  padding: 48px 56px;
}
.contact__lead {
  margin: 0 0 36px; text-align: center; line-height: 1.9; font-weight: 500; font-size: 16px; color: #333333;
}

.contact__cols {
  display: flex; justify-content: center; align-items: center;
  gap: 56px;
}
/* 電話 */
.contact__tel { text-align: center; }
.contact__tel-link {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--color-tel); font-weight: 700; font-family: var(--font-en); font-size: 46px; line-height: 1;
}
.contact__tel-icon { width: 34px; height: auto; }
.contact__hours { margin: 12px 0 0; font-size: 16px; font-weight: 500; color: #333333; }

/* メールボタン */
.contact__mail {
  text-align: center;
  border-left: 1px solid var(--color-border); padding-left: 56px;
}
.contact__mail-label { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: #333333; }
.contact__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  width: 360px; height: 65px; padding: 0;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: 1.575rem; transition: background .2s;
}
.contact__btn-icon { width: 30px; height: auto; }
.contact__btn:hover { background: #0d3a78; }

@media (max-width: 760px) {
  .contact { padding: 56px 0; }
  .contact__card { padding: 32px 24px; }
  .contact__cols { flex-direction: column; gap: 28px; }
  .contact__tel-link { font-size: 1.7rem; }
  .contact__mail { border-left: none; padding-left: 0; }
  .contact__btn { width: 100%; min-width: 0; }
}

/* =========================================================
   17. 下層ページ共通：ページ見出し（page-hero）＋パンくず
   ========================================================= */
.page-hero { background: var(--color-bg); padding-top: 48px; }
.page-hero__head {
  position: relative; min-height: 130px;
  padding: 8px 0 40px; border-bottom: 1px solid var(--color-border);
}
.page-hero__label {
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-en); font-weight: 700; letter-spacing: .06em;
  font-size: 26px; line-height: 1; color: var(--color-text);
}
.page-hero__title {
  position: relative; z-index: 1; margin: 8px 0 0;
  font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.2;
  color: var(--color-primary);
}
.page-hero__watermark {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1;
  font-size: clamp(4rem, 9vw, 8rem); color: #e9eef6;
  z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
}

.page-hero__crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 18px 0; font-size: .85rem; color: var(--color-muted);
}
.page-hero__crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); }
.page-hero__crumb a:hover { color: var(--color-primary); }
.page-hero__home { width: 15px; height: 15px; color: var(--color-primary); }
.page-hero__sep { color: var(--color-border); }
.page-hero__current { color: var(--color-text); }

/* =========================================================
   18. 会社案内タブ（about-nav）
   ========================================================= */
.about-nav { margin-top: 24px; }
.about-nav__list {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 18px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.about-nav__item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 26px; border-radius: 999px;
  color: var(--color-primary); font-weight: 700; font-size: 1.05rem;
  white-space: nowrap;
}
.about-nav__item:hover { opacity: .75; }
.about-nav__item.is-active { background: var(--color-primary); color: #fff; }
.about-nav__item.is-active:hover { opacity: 1; }

.about-nav__arrow {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #cbd5e1; color: var(--color-primary);
}
.about-nav__arrow svg { width: 7px; height: 8px; margin-left: 1px; }
.about-nav__item.is-active .about-nav__arrow { background: #fff; border-color: #fff; }

/* =========================================================
   19. 代表あいさつ（message）
   ========================================================= */
.message-portrait { margin: 32px 0 0; }
.message-portrait img { width: 100%; height: auto; display: block; }

.message-body { padding: 48px 0 90px; }
.message-title {
  margin: 0 0 36px; font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900; line-height: 1.5; color: var(--color-text);
}
.message-text p { margin: 0 0 28px; line-height: 2.1; color: var(--color-text); }
.message-text p:last-child { margin-bottom: 0; }

.message-sign { margin-top: 44px; text-align: right; }
.message-sign__role { display: block; margin-bottom: 8px; font-size: .8rem; color: var(--color-muted); }
.message-sign__name { width: 180px; height: auto; display: inline-block; }

.message-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-top: 28px;
}
.message-foot__text { margin: 0; flex: 1; line-height: 2.1; color: var(--color-text); }
.message-sign__name { width: 90px; height: auto; flex-shrink: 0; }

@media (max-width: 900px) {
  .page-hero { padding-top: 32px; }
  .page-hero__head { min-height: 0; padding-bottom: 28px; }
  .page-hero__watermark { font-size: 3.4rem; }
  .about-nav__list {
    justify-content: flex-start; overflow-x: auto; border-radius: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .about-nav__item { padding: 10px 18px; font-size: .95rem; }
  .message-body { padding: 36px 0 56px; }
}

/* =========================================================
   20. 会社概要（company）
   ========================================================= */
/* 共通セクション見出し（英ラベル＋和タイトル） */
.sec-head { margin-bottom: 32px; }
.sec-head__label {
  margin: 0 0 6px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700; letter-spacing: .06em;
  font-size: 1.5rem; line-height: 1;
}
.sec-head__title { margin: 0; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 900; color: var(--color-text); }

/* イントロ（左：文章＋PDF / 右：画像） */
.company-intro { display: flex; align-items: flex-start; gap: 56px; padding: 56px 0 80px; }
.company-intro__body { flex: 1; min-width: 0; }
.company-intro__title {
  margin: 0 0 28px; font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 900; line-height: 1.5; color: var(--color-text);
}
.company-intro__body p { margin: 0 0 20px; line-height: 2; color: var(--color-text); }
.company-intro__image { flex: 0 0 46%; margin: 0; }
.company-intro__image img { width: 100%; height: auto; display: block; }

/* PDFダウンロードボタン */
.pdf-dl {
  display: inline-flex; align-items: stretch; margin-top: 16px;
  border: 1px solid var(--color-border); background: #fff; transition: background .2s;
}
.pdf-dl:hover { background: #f7f8fa; }
.pdf-dl__badge {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: #fff; font-weight: 700; font-size: .7rem;
  letter-spacing: .04em; padding: 0 16px;
}
.pdf-dl__text { display: flex; flex-direction: column; justify-content: center; padding: 12px 22px; }
.pdf-dl__title { font-weight: 700; color: var(--color-text); }
.pdf-dl__note { margin-top: 2px; font-size: .8rem; color: var(--color-muted); }

/* 会社概要テーブル */
.company-detail { background-size: cover; background-position: center; background-repeat: no-repeat; padding: 80px 0; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  text-align: left; vertical-align: top; padding: 22px 8px;
  border-bottom: 1px solid var(--color-border);
}
.company-table th {
  width: 220px; font-weight: 700; color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
}
.company-table td { color: var(--color-text); line-height: 1.8; }
.company-table__note { display: block; margin-top: 6px; font-size: .8rem; color: var(--color-muted); }

/* 役員リスト */
.officers { list-style: none; margin: 0; padding: 0; }
.officers li { display: flex; gap: 40px; margin-bottom: 12px; }
.officers li:last-child { margin-bottom: 0; }
.officers__role { flex: 0 0 110px; color: var(--color-muted); }
.officers__name { font-weight: 700; }

/* 「・」付きリスト */
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding-left: 1.3em; margin-bottom: 8px; line-height: 1.7; }
.dot-list li::before { content: "・"; position: absolute; left: 0; color: var(--color-text); }
.dot-list li:last-child { margin-bottom: 0; }

/* 本社アクセス */
.access { padding: 80px 0 90px; }
.access__map { width: 100%; }
.access__map iframe { display: block; width: 100%; height: 460px; border: 0; }
.access__info { margin-top: 24px; }
.access__info p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--color-text); }
.access__info p:last-child { margin-bottom: 0; }
.access__info svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

@media (max-width: 900px) {
  .company-intro { flex-direction: column; gap: 32px; padding: 40px 0 56px; }
  .company-intro__image { flex: none; width: 100%; }
  .company-detail { padding: 56px 0; }
  .company-table th, .company-table td { display: block; width: auto; }
  .company-table th { border-bottom: none; padding-bottom: 4px; }
  .company-table td { padding-top: 4px; padding-bottom: 22px; }
  .officers li { gap: 20px; }
  .access { padding: 56px 0; }
  .access__map iframe { height: 320px; }
}

/* =========================================================
   21. 企業理念（philosophy）
   ========================================================= */
/* 共通：英ラベル（小）＋和タイトル */
.ph-head { margin-bottom: 28px; }
.ph-head__label {
  margin: 0 0 8px; color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; line-height: 1;
}
.ph-head__title { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; line-height: 1.4; color: var(--color-text); }

/* ヒーローコピー */
.ph-hero { display: flex; align-items: center; gap: 56px; padding: 56px 0; }
.ph-hero__title {
  flex: 0 0 52%; margin: 0; color: #0A325F;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.45;
}
.ph-hero__text { flex: 1; margin: 0; color: var(--color-primary); line-height: 1.9; }

/* スライド（フルブリード・マーキー） */
.ph-slideshow { width: 100%; overflow: hidden; }
.ph-slideshow__track { display: flex; width: max-content; animation: ph-marquee 32s linear infinite; }
.ph-slideshow:hover .ph-slideshow__track { animation-play-state: paused; }
.ph-slideshow__item { height: 420px; flex: 0 0 auto; box-sizing: border-box; }
.ph-slideshow__item img { height: 100%; width: auto; display: block; padding-right: 12px; box-sizing: border-box; }
@keyframes ph-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ph-slideshow__track { animation: none; }
}

/* Values（価値観カード） */
.ph-values { padding: 72px 0 0; }
.value-card {
  display: flex; align-items: center; gap: 44px;
  background: #e9edf3; border-radius: 8px; padding: 40px 48px; margin-bottom: 28px;
}
.value-card:last-child { margin-bottom: 0; }
.value-card__body { flex: 1; min-width: 0; }
.value-card__head { display: flex; align-items: center; margin-bottom: 18px; }
.value-card__num { font-family: var(--font-en); font-weight: 700; font-size: 3rem; line-height: 1; color: #3a4654; }
.value-card__title {
  margin: 0 0 0 26px; padding-left: 26px; border-left: 1.5px solid #aab4c2;
  font-size: 1.4rem; font-weight: 900; color: var(--color-text);
}
.value-card__desc { margin: 0; line-height: 1.9; color: var(--color-text); }
.value-card__image { flex: 0 0 280px; margin: 0; }
.value-card__image img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* 地球延命 */
.ph-future { display: flex; align-items: center; gap: 56px; padding: 80px 0; }
.ph-future__left { flex: 0 0 32%; }
.ph-future__lead { margin: 18px 0 28px; line-height: 1.9; color: var(--color-primary); }
.ph-future__photo { margin: 0; }
.ph-future__photo img { width: 100%; max-width: 300px; height: auto; display: block; }
.ph-future__diagram { flex: 1; margin: 0; min-width: 0; }
.ph-future__diagram img { width: 100%; height: auto; display: block; }

/* Our Industries / Technology（2×2グリッド） */
.ph-industries { padding: 0 0 80px; }
.ig {
  display: grid; grid-template-columns: 1fr 1fr;
}
.ig__text { background: #fff; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.ig__desc { margin: 20px 0 0; line-height: 1.9; color: var(--color-primary); }
.ig__image { background: #fff; margin: 0; }
.ig__image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }

/* Resources（レアメタル） */
.ph-resources { padding: 0 0 80px; }
.ph-resources__head { display: flex; align-items: flex-start; gap: 56px; margin-bottom: 32px; }
.ph-resources__head .ph-head { flex: 0 0 48%; margin: 0; }
.ph-resources__text { flex: 1; margin: 0; line-height: 1.9; color: var(--color-text); }
.metal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.metal-card { position: relative; margin: 0; }
.metal-card img { width: 100%; height: auto; display: block; }
.metal-card__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px; text-align: center; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}

/* Vision & Mission */
.ph-vm { padding: 0 0 90px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.vm-card {
  position: relative; min-height: 280px; border-radius: 8px; overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
}
.vm-card::before { content: ""; position: absolute; inset: 0; background: rgba(10, 28, 58, .55); }
.vm-card__inner { position: relative; z-index: 1; padding: 40px 44px; }
.vm-card__en { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.vm-card__title { margin: 6px 0 0; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; letter-spacing: .1em; }
.vm-card__line { display: block; width: 100%; height: 1px; background: rgba(255, 255, 255, .5); margin: 20px 0; }
.vm-card__desc { margin: 0; line-height: 1.9; font-size: .95rem; }

@media (max-width: 900px) {
  .ph-hero { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 0; }
  .ph-hero__title { flex: none; }
  .ph-slideshow__item { height: 260px; }
  .value-card { flex-direction: column; align-items: stretch; gap: 24px; padding: 28px 24px; }
  .value-card__image { flex: none; }
  .ph-future { flex-direction: column; align-items: stretch; gap: 32px; padding: 56px 0; }
  .ph-future__left { flex: none; }
  .ph-future__photo img { max-width: 100%; }
  .ig { grid-template-columns: 1fr; }
  .ig__image img { min-height: 220px; }
  .ph-resources__head { flex-direction: column; gap: 20px; }
  .ph-resources__head .ph-head { flex: none; }
  .metal-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* =========================================================
   22. 組織図（organization）＋拡大モーダル（旧44番を統合）
   ========================================================= */
.organization { padding: 56px 0 90px; }
.organization__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 56px;
  margin-bottom: 40px;
}
.organization__head .sec-head { margin: 0; }
.organization__lead { margin: 0; line-height: 1.9; color: var(--color-text); text-align: right; }
.organization__chart {
  margin: 0; padding: 48px; border: 1px solid var(--color-border); border-radius: 8px;
  background: #fafbfc;
}
.organization__chart img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .organization { padding: 40px 0 56px; }
  .organization__head { flex-direction: column; gap: 16px; }
  .organization__lead { text-align: left; }
  .organization__chart { padding: 20px; overflow-x: auto; }
}

/* --- 組織図 拡大（SPのみ）。旧44番を統合 --- */
.organization__zoom {
  display: block; width: 100%; padding: 0; border: none;
  background: none; cursor: default;
}
.organization__zoom img { width: 100%; height: auto; display: block; }
/* 「タップで拡大」注釈：PCでは非表示 */
.organization__zoom-note { display: none; }

.org-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 30, 60, .9); padding: 16px;
}
.org-modal.is-open { display: flex; }
.org-modal__inner {
  width: 100%; max-height: 90vh; overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.org-modal__inner img {
  display: block; width: 100%; height: auto;
  min-width: 760px;   /* SPでも原寸感→横スクロールで隅々まで見れる */
}
.org-modal__close {
  position: fixed; top: 14px; right: 16px; z-index: 1001;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: #fff; color: var(--color-primary);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* SPのときだけ：拡大ボタンを有効化＆注釈を表示 */
@media (max-width: 768px) {
  .organization__zoom { cursor: zoom-in; }
  .organization__zoom-note {
    display: block; margin-top: 8px;
    font-size: .8rem; color: var(--color-muted); text-align: center;
  }
}

/* =========================================================
   23. 沿革（history）
   ========================================================= */
.history { padding: 56px 0 64px; }
.history--last { padding-bottom: 90px; }
.history__lead { margin: -8px 0 36px; font-size: 1.05rem; font-weight: 700; color: var(--color-text); }

/* タイムライン */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item {
  position: relative; display: flex; gap: 48px; align-items: baseline;
  padding: 0 0 36px 28px;
}
.timeline__item:last-child { padding-bottom: 0; }
/* 縦線 */
.timeline__item::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px;
  width: 2px; background: var(--color-border);
}
.timeline__item:last-child::before { display: none; }
/* ドット */
.timeline__item::after {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 0 3px rgba(17, 68, 139, .15);
}
.timeline__date { flex: 0 0 130px; font-weight: 700; color: var(--color-text); }
.timeline__text { flex: 1; line-height: 1.7; color: var(--color-text); }

/* マイルストーン帯（フルブリード背景） */
.milestone {
  position: relative; color: #fff;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.milestone::before { content: ""; position: absolute; inset: 0; background: rgba(15, 35, 70, .55); }
.milestone__inner { position: relative; z-index: 1; padding: 70px 0 80px; }
.milestone__en {
  margin: 0; font-family: var(--font-en); font-weight: 700; letter-spacing: .06em; font-size: 1.1rem;
}
.milestone__year {
  margin: 0; font-family: var(--font-en); font-weight: 900; line-height: 1;
  font-size: clamp(3.5rem, 8vw, 6rem);
}
.milestone__title { margin: 28px 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; }
.milestone__desc { margin: 0; line-height: 1.9; }

@media (max-width: 900px) {
  .history { padding: 40px 0 48px; }
  .history--last { padding-bottom: 56px; }
  .timeline__item { flex-direction: column; gap: 4px; }
  .timeline__date { flex: none; }
  .milestone__inner { padding: 48px 0 56px; }
}

/* milestone__inner 左右padding（旧・末尾の番号なし@mediaを合流） */
@media (max-width: 768px) {
  .milestone__inner {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

/* =========================================================
   24. 事業紹介（business）
   ========================================================= */
/* イントロ（金属は蘇生する。） */
.biz-intro { display: flex; align-items: stretch; gap: 56px; padding: 48px 0 80px; }
.biz-intro__body { flex: 1; min-width: 0; }
.biz-intro__title { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 900; color: var(--color-text); }
.biz-intro__sub { margin: 0 0 28px; font-weight: 700; color: var(--color-primary); }
.biz-intro__body p { margin: 0 0 22px; line-height: 2; color: var(--color-text); }
.biz-intro__sub-img { margin: 28px 0 0; }
.biz-intro__sub-img img { width: 100%; height: auto; display: block; }
.biz-intro__main { flex: 0 0 46%; margin: 0; }
.biz-intro__main img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FOCUS：リチウムリサイクル */
.biz-focus { display: flex; align-items: center; gap: 56px; padding: 0 0 80px; }
.biz-focus__images { flex: 0 0 46%; margin: 0; }
.biz-focus__images img { width: 100%; height: auto; display: block; }
.biz-focus__img img { width: 100%; height: auto; display: block; }
.biz-focus__img--front { position: relative; z-index: 2; width: 74%; margin-top: 90px; }
.biz-focus__img--back { position: absolute; top: 0; right: 0; z-index: 1; width: 56%; }
.biz-focus__body { flex: 1; min-width: 0; }
.biz-focus__tag {
  display: inline-block; margin-bottom: 22px; padding: 6px 22px; border-radius: 999px;
  border: 1px solid var(--color-primary); color: var(--color-primary);
  font-family: var(--font-en); font-weight: 700; font-size: .85rem; letter-spacing: .04em;
}
.biz-focus__title {
  margin: 0 0 28px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; line-height: 1.6;
}
.biz-focus__body p { margin: 0 0 22px; line-height: 2; color: var(--color-text); }
.biz-focus__body p:last-child { margin-bottom: 0; }

/* Products：取扱商品 */
.biz-products { padding: 0 0 80px; }
.biz-products__lead { margin: 16px 0 32px; line-height: 1.9; color: var(--color-text); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Recycling Flow */
.biz-flow { padding: 0 0 80px; }
.biz-flow__lead { margin: 16px 0 40px; line-height: 1.9; color: var(--color-text); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.flow-card {
  position: relative; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 44px 18px 24px; text-align: center;
}
.flow-card:not(:last-child)::after {
  content: ""; position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--color-primary);
}
.flow-card__step {
  position: absolute; top: -26px; left: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--color-primary); color: #fff;
  font-family: var(--font-en); font-weight: 700; font-size: .55rem; line-height: 1.1;
}
.flow-card__step strong { font-size: 1.25rem; }
.flow-card__title { margin: 8px 0 0; font-size: 1.2rem; font-weight: 900; color: var(--color-text); }
.flow-card__img { margin: 18px -18px 0; }
.flow-card__img img { width: 100%; height: auto; display: block; }
.flow-card__desc { margin: 18px 0 0; line-height: 1.8; font-size: .9rem; color: var(--color-text); text-align: left; }

/* Strength：TMCの強み */
.biz-strength { padding: 0 0 90px; }
.biz-strength__body { display: flex; align-items: stretch; gap: 48px; }
.biz-strength__image { flex: 0 0 34%; margin: 0; }
.biz-strength__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strength-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.strength-item {
  border: 1px solid var(--color-border); border-radius: 8px; padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}
.strength-item__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--color-border);
}
.strength-item__num { font-family: var(--font-en); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--color-primary); }
.strength-item__title { margin: 0; padding-left: 14px; border-left: 1px solid var(--color-border); font-size: 1.05rem; font-weight: 700; color: var(--color-text); }
.strength-item__desc { margin: 0; line-height: 1.8; font-size: .92rem; color: var(--color-text); }

@media (max-width: 900px) {
  .biz-intro { flex-direction: column; gap: 32px; padding: 32px 0 56px; }
  .biz-intro__main { flex: none; }
  .biz-focus { flex-direction: column; gap: 40px; padding: 0 0 56px; }
  .biz-focus__images { flex: none; width: 100%; min-height: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flow-grid { grid-template-columns: 1fr; gap: 48px; }
  .flow-card:not(:last-child)::after {
    right: auto; top: auto; left: 50%; bottom: -30px; transform: translateX(-50%);
    border-width: 12px 8px 0 8px;
    border-color: var(--color-primary) transparent transparent transparent;
  }
  .biz-strength__body { flex-direction: column; gap: 28px; }
  .biz-strength__image { flex: none; }
  .strength-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   25. 品質管理（quality）
   ========================================================= */
/* メインビジュアル */
.qa-mv {
  position: relative; margin-top: 48px; min-height: 460px;
  display: flex; align-items: flex-end; padding: 40px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.qa-mv__copy {
  margin: 0; background: rgba(255, 255, 255, .9); padding: 28px 36px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.6; color: var(--color-text);
}

/* Certification：ISO認証 */
.qa-cert { padding: 64px 0 0; }
.qa-cert__row { display: flex; align-items: flex-start; gap: 32px; }
.qa-cert__docs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-width: 0; }
.qa-cert__doc {
  margin: 0; text-align: center; padding: 24px;
  border: 1px solid var(--color-border); border-radius: 6px; background: #fff;
}
.qa-cert__doc img { width: 100%; height: auto; display: block; }
.qa-cert__doc figcaption { display: block; margin-top: 16px; }
.qa-cert__doc-title { display: block; font-weight: 700; color: var(--color-text); }
.qa-cert__doc-no { display: block; margin-top: 4px; font-size: .8rem; color: var(--color-muted); }
.qa-cert__marks {
  flex: 0 0 110px; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 8px;
}
.qa-cert__marks img { width: 80px; height: auto; display: block; }

.qa-cert__lead { display: flex; align-items: center; gap: 56px; padding: 64px 0 80px; }
.qa-cert__lead-body { flex: 1; min-width: 0; }
.qa-cert__lead-title { margin: 0 0 28px; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 900; line-height: 1.5; color: var(--color-text); }
.qa-cert__lead-body p { margin: 0 0 20px; line-height: 1.95; color: var(--color-text); }
.qa-cert__lead-body p:last-child { margin-bottom: 0; }
.qa-cert__lead-img { flex: 0 0 42%; margin: 0; }
.qa-cert__lead-img img { width: 100%; height: auto; display: block; }

/* Quality Policy：品質方針 */
.qa-policy {
  position: relative;
  height: 360px; padding: 0 56px; margin-bottom: 80px;
  display: flex; flex-direction: column; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.qa-policy__body { position: relative; z-index: 1; color: #fff; max-width: 50%; }
.qa-policy__en { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.qa-policy__sub { margin: 6px 0 0; font-weight: 700; }
.qa-policy__title { margin: 24px 0 16px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; }
.qa-policy__desc { margin: 0; line-height: 1.9; }

.qa-policy__images {
  position: absolute; z-index: 2;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  margin: 0;
}
.qa-policy__images img { width: 100%; height: auto; display: block; }

/* Our Approach：取り組み */
.qa-approach { padding: 0 0 90px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.approach-card {
  border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; background: #fff;
}
.approach-card__img { margin: 0; }
.approach-card__img img { width: 100%; height: auto; display: block; }
.approach-card__title { margin: 0; padding: 24px 26px 12px; font-size: 1.15rem; font-weight: 700; color: var(--color-text); }
.approach-card__desc { margin: 0; padding: 0 26px 26px; line-height: 1.8; font-size: .92rem; color: var(--color-text); }

@media (max-width: 900px) {
  .qa-mv { min-height: 320px; padding: 20px; margin-top: 32px; }
  .qa-cert__row { flex-direction: column; gap: 28px; }
  .qa-cert__docs { width: 100%; }
  .qa-cert__marks { flex-direction: row; flex: none; justify-content: center; }
  .qa-cert__lead { flex-direction: column; gap: 28px; padding: 40px 0 56px; }
  .qa-cert__lead-img { flex: none; }
  .qa-policy { flex-direction: column; align-items: stretch; height: auto; padding: 40px 24px; }
  .qa-policy__body { max-width: 100%; }
  .qa-policy__images { position: static; transform: none; width: 100%; margin: 20px 0 0; }
  .qa-policy__img { position: static; width: 50%; }
  .approach-grid { grid-template-columns: 1fr; }
}

/* qa-cert__marks 中央寄せ（旧・末尾の番号なし@mediaを合流） */
@media (max-width: 768px) {
  .qa-cert__marks {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   26. 取扱商品（products）＋周期表 拡大モーダル（旧45番を統合）
   ========================================================= */
/* イントロ */
.pr-intro { padding: 64px 0 0; }
.pr-intro__title { margin: 0 0 18px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: .04em; color: var(--color-text); }
.pr-intro__lead { margin: 0 0 40px; line-height: 1.9; color: var(--color-text); }
.pr-intro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pr-box { background: #f3f5f8; border-radius: 8px; padding: 28px 32px; }
.pr-box__title { margin: 0 0 18px; padding-bottom: 12px; font-size: 1.2rem; font-weight: 700; color: var(--color-primary); border-bottom: 1px solid #d7dde6; }
.pr-box__group { margin-bottom: 18px; }
.pr-box__group:last-child { margin-bottom: 0; }
.pr-box__label { margin: 0 0 10px; padding-left: 10px; font-weight: 700; color: var(--color-text); border-left: 3px solid var(--color-primary); }
.pr-chips { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pr-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; padding: 6px 10px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 5px;
  font-family: var(--font-en); font-weight: 700; color: var(--color-text);
}
.pr-chip--lg { min-width: 0; padding: 10px 18px; font-family: var(--font-base); }
.pr-chip-note { color: var(--color-muted); font-size: .9rem; margin-left: 2px; }

/* 元素カード（ギャラリー＆詳細で共通） */
.element-card {
  position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
}
.element-card__no,
.element-card__sym,
.element-card__en { display: none; }
.element-card__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  text-align: center; font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}

/* Product Gallery */
.pr-gallery { padding: 72px 0 0; }
.pr-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }

/* Product Detail：左右交互 */
.pr-detail { padding: 80px 0 0; }
.pr-row {
  display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--color-border);
}
.pr-row:first-of-type { border-top: 0; }
.pr-row--rev { grid-template-columns: 1fr 360px; }
.pr-row--rev .pr-row__img { order: 2; }
.pr-row--rev .pr-row__body { order: 1; }
.pr-row__img { width: 360px; }
.pr-row__name { margin: 0 0 10px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 900; color: var(--color-text); }
.pr-row__formula { margin: 0 0 24px; font-family: var(--font-en); font-weight: 700; color: var(--color-text); }
.pr-row__desc { margin: 0; line-height: 1.95; color: var(--color-text); }

/* Periodic Table */
.pr-periodic { padding: 80px 0 90px; }
.pr-periodic__img { margin: 8px 0 0; }
.pr-periodic__img img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .pr-intro__cols { grid-template-columns: 1fr; }
  .pr-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pr-row, .pr-row--rev { grid-template-columns: 1fr; gap: 20px; }
  .pr-row--rev .pr-row__img { order: 0; }
  .pr-row--rev .pr-row__body { order: 0; }
  .pr-row__img { width: 100%; max-width: 320px; }
}
@media (max-width: 768px) {
  .pr-row,
  .pr-row--rev {
    flex-direction: column;
    align-items: center;
  }
  .pr-row__img {
    margin: 0 auto;
  }
  .pr-row__body {
    width: 100%;
    max-width: 360px; 
    margin: 16px auto 0;
    text-align: left;
  }
  .pr-periodic {
    padding-top: 24px;  
　}
}

/* --- 周期表 拡大モーダル。旧45番を統合 --- */
.pr-periodic__zoom {
  display: block; width: 100%; padding: 0; border: none;
  background: none; cursor: zoom-in;
}
.pr-periodic__zoom img { width: 100%; height: auto; display: block; }
.pr-periodic__zoom-note { display: none; }

.periodic-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 30, 60, .9); padding: 16px;
}
.periodic-modal.is-open { display: flex; }
.periodic-modal__inner {
  width: 100%; max-width: 1200px; max-height: 90vh; overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.periodic-modal__inner img {
  display: block; width: 100%; height: auto;
  min-width: 760px;   /* SPでも原寸→横スクロールで見れる */
}
.periodic-modal__close {
  position: fixed; top: 14px; right: 16px; z-index: 1001;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: #fff; color: var(--color-primary);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
@media (max-width: 768px) {
  .pr-periodic__zoom-note {
    display: block; margin-top: 8px;
    font-size: .8rem; color: var(--color-muted); text-align: center;
  }
}

/* =========================================================
   27. 業務拠点（plants）
   ========================================================= */
/* 2タブナビ（業務拠点／営業拠点）：about-nav流用、中央寄せ2分割 */
.about-nav--2 .about-nav__list { justify-content: space-around; }
.about-nav--2 .about-nav__item { flex: 0 0 auto; }

/* イントロ */
.plants-intro { padding: 64px 0 0; }
.plants-intro__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.plants-intro__lead { margin: 0; line-height: 1.9; color: var(--color-text); flex: 0 0 56%; }

/* 拠点ナビ（施設名＋所在地のピル：縦並び） */
.plants-nav__list {
  display: flex; align-items: stretch; justify-content: space-between; gap: 8px;
  padding: 12px 18px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.plants-nav__item {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 44px 10px 22px; border-radius: 999px; white-space: nowrap; position: relative;
}
.plants-nav__item .about-nav__arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.plants-nav__item:hover { opacity: .75; }
.plants-nav__name { font-weight: 700; color: var(--color-primary); }
.plants-nav__area { font-size: .82rem; color: var(--color-muted); }
.plants-nav__item.is-active { background: var(--color-primary); }
.plants-nav__item.is-active:hover { opacity: 1; }
.plants-nav__item.is-active .plants-nav__name,
.plants-nav__item.is-active .plants-nav__area { color: #fff; }
.plants-nav__item.is-active .about-nav__arrow { background: #fff; border-color: #fff; }

/* プラントブロック */
.plant { padding: 40px 0 0; scroll-margin-top: 100px; }
.plant:last-of-type { padding-bottom: 40px; }

/* メインビジュアル */
.plant__mv {
  position: relative; padding: 56px; overflow: hidden;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.plant__mv::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to right, rgba(10, 26, 52, .9) 0%, rgba(10, 26, 52, .8) 35%, rgba(10, 26, 52, 0) 70%);
}
.plant__mv-inner { position: relative; z-index: 1; max-width: 52%; color: #fff; }
.plant__en {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px;
  background: var(--color-primary); font-family: var(--font-en); font-weight: 700; font-size: .85rem; letter-spacing: .05em;
}
.plant__name { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; }
.plant__lead { margin: 0 0 18px; font-size: 1.2rem; font-weight: 700; line-height: 1.6; }
.plant__divider { display: block; width: 80px; height: 1px; background: rgba(255, 255, 255, .6); margin: 0 0 22px; }
.plant__desc { margin: 0 0 18px; line-height: 1.95; font-size: .95rem; }
.plant__desc:last-child { margin-bottom: 0; }

/* サムネ帯（横幅は枚数で均等割り・高さは固定） */
.plant__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.plant__thumb { flex: 1 1 0; min-width: 0; margin: 0; height: 135px; overflow: hidden; }
.plant__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 連絡先カード */
.plant__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.info-card { display: flex; align-items: center; gap: 18px; padding: 24px 28px; background: #f3f5f8; border-radius: 8px; }
.info-card__icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: #fff;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card__label { margin: 0 0 4px; font-weight: 700; font-size: .9rem; color: var(--color-text); }
.info-card__value { margin: 0; line-height: 1.6; color: var(--color-text); }
.info-card__value--lg { font-size: 1.3rem; font-weight: 700; }
.info-card__value a { color: inherit; }

/* アクセス */
.plant__access { margin-top: 12px; }
.plant__access-title { margin: 0 0 10px; font-size: 1.5rem; font-weight: 900; color: var(--color-text); }
.plant__access .access__map { line-height: 0; }
.plant__access .access__map iframe { display: block; width: 100%; }
.plant__access-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.plant__map-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border-radius: 6px; font-weight: 700;
}
.plant__map-btn svg { width: 18px; height: 18px; }
.plant__map-btn--primary { background: var(--color-primary); color: #fff; }
.plant__map-btn--primary:hover { opacity: .9; }
.plant__map-btn--ghost { background: #fff; color: var(--color-primary); border: 1px solid var(--color-primary); }
.plant__map-btn--ghost:hover { background: #f3f5f8; }

@media (max-width: 900px) {
  .plants-intro__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .plants-intro__lead { flex: none; }
  .plants-nav__list { justify-content: flex-start; overflow-x: auto; border-radius: 16px; -webkit-overflow-scrolling: touch; }
  .plant__mv { padding: 28px; }
  .plant__mv-inner { max-width: 100%; }
  .plant__thumbs { grid-template-columns: repeat(3, 1fr); }
  .plant__info { grid-template-columns: 1fr; }
  .plant__access-btns { grid-template-columns: 1fr; }
}

/* plant__thumbs 3列×2行（旧・末尾の番号なし@mediaを合流） */
@media (max-width: 768px) {
  .plant__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
	  margin-bottom: 20px;   /* ← 追加。広い余白を詰める */
  }
  .plant__thumb { margin: 0; height: auto; }
  .plant__thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;   /* サムネの縦横比を揃える（任意） */
    object-fit: cover;
  }
}

/* =========================================================
   28. 採用情報（recruit）
   ========================================================= */
/* page-hero のサブテキスト */
.page-hero__sub { margin: 18px 0 0; color: var(--color-text); }

/* 共通リード */
.rc-lead { margin: 0 0 36px; line-height: 1.9; color: var(--color-text); }

/* ---- Message ---- */
.rc-message { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; padding: 72px 0 0; }
.rc-message__body { display: flex; flex-direction: column; }
.rc-message__body .ph-head__label { color: var(--color-primary); margin-bottom: 0; }
/* 採用ページの英語ラベルを28pxに */
.rc-message .ph-head__label,
.rc-why .ph-head__label,
.rc-interview .ph-head__label,
.rc-benefits .ph-head__label,
.rc-data .ph-head__label,
.rc-career .ph-head__label,
.rc-req .ph-head__label,
.rc-flow .ph-head__label,
.rc-faq .ph-head__label { font-size: 28px; }
/* Message見出しブロックの下の余白を詰める */
.rc-message .ph-head { margin-bottom: 10px; }
.rc-message__catch { margin: 24px 0 28px; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 900; line-height: 1.5; color: var(--color-text); }
.rc-message__body p { margin: 0 0 20px; line-height: 1.95; color: var(--color-text); }
.rc-message__body p:last-child { margin-bottom: 0; }
.rc-message__gallery { margin: 0; height: 100%; }
.rc-message__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-message__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-message__img--a { grid-area: a; }
.rc-message__img--b { grid-area: b; }
.rc-message__img--c { grid-area: c; }
.rc-message__img--d { grid-area: d; }

/* ---- Why TMC ---- */
.rc-why { padding: 90px 0 0; }
.rc-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.why-card__img { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; }
.why-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-card__no { margin: 24px 28px 4px; font-family: var(--font-en); font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.why-card__title { margin: 0 28px 12px; font-size: 1.25rem; font-weight: 700; color: var(--color-text); }
.why-card__desc { margin: 0 28px 28px; line-height: 1.9; color: var(--color-text); }

/* ---- Interview ---- */
.rc-interview { padding: 90px 0 0; }
.rc-interview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.iv-card { display: grid; grid-template-columns: 38% 1fr; gap: 24px; padding: 0; background: #f3f5f8; border-radius: 8px; overflow: hidden; }
.iv-card__img { margin: 0; overflow: hidden; }
.iv-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-card__body { padding: 28px 28px 28px 0; }
.iv-card__meta { margin: 0 0 8px; font-size: .85rem; color: var(--color-muted); }
.iv-card__bar { margin: 0 6px; }
.iv-card__name { margin: 0 0 14px; font-weight: 700; color: var(--color-text); }
.iv-card__roman { margin-left: 10px; font-size: .82rem; font-weight: 400; color: var(--color-muted); }
.iv-card__title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; line-height: 1.5; color: var(--color-text); }
.iv-card__desc { margin: 0 0 20px; font-size: .9rem; line-height: 1.8; color: var(--color-text); }
.iv-card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; background: var(--color-primary); color: #fff;
  border-radius: 4px; font-weight: 700; font-size: .95rem;
}
.iv-card__btn:hover { opacity: .9; }

/* ---- Benefits ---- */
.rc-benefits { padding: 90px 0 0; }
.rc-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { padding: 32px 24px; text-align: center; background: #fff; border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.benefit-card__icon {
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.benefit-card__icon img { width: 64px; height: 64px; object-fit: contain; display: block; }
.benefit-card__title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; color: var(--color-primary); }
.benefit-card__desc { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--color-text); }

/* ---- Data ---- */
.rc-data { padding: 90px 0 0; }
.rc-data__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.data-card { position: relative; padding: 44px 28px 32px; text-align: center; background: #fff; border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.data-card__label {
  position: absolute; top: 22px; left: 24px;
  padding: 5px 18px; background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: .85rem; border-radius: 999px;
}
.data-card__icon {
  display: inline-flex; align-items: center; justify-content: center; margin: 20px 0 10px;
}
.data-card__icon img { width: 84px; height: 84px; object-fit: contain; display: block; }
.data-card__num { margin: 0 0 14px; font-family: var(--font-en); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--color-primary); }
.data-card__unit { font-size: 1.1rem; margin-left: 4px; }
.data-card__desc { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--color-text); }

/* ---- Career Path ---- */
.rc-career { padding: 90px 0 0; }
.rc-career__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.rc-career__arrow { margin: -140px 0 0; }
.rc-career__arrow img { width: 100%; height: auto; display: block; }
.career-card {
  position: relative; padding: 0 0 28px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
/* 階段の段差（個別調整） */
.career-card:nth-child(1) { margin-top: 144px; }
.career-card:nth-child(2) { margin-top: 96px; }
.career-card:nth-child(3) { margin-top: 48px; }
.career-card:nth-child(4) { margin-top: 0; }
.career-card__icon {
  display: flex; align-items: center; justify-content: center; height: 130px;
  background: #eef2f9;
}
.career-card__icon img { width: 70px; height: 70px; object-fit: contain; display: block; }
.career-card__icon::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-primary);
}
.career-card__step {
  display: inline-block; margin: -16px 0 14px 28px; padding: 6px 16px;
  background: var(--color-primary); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 999px; position: relative;
}
.career-card__title { margin: 0 28px 12px; font-size: 1.15rem; font-weight: 700; color: var(--color-text); }
.career-card__desc { margin: 0 28px; font-size: .88rem; line-height: 1.8; color: var(--color-text); }

/* ---- Requirements ---- */
.rc-req { padding: 90px 0 0; }
.rc-req__tabs { display: flex; gap: 0; margin-bottom: 0; }
.rc-req__tab {
  flex: 1; padding: 18px; border: none; cursor: pointer;
  background: #d9dde3; color: var(--color-text); font-weight: 700; font-size: 1rem;
}
.rc-req__tab.is-active { background: var(--color-primary); color: #fff; }
.rc-req__panel { display: none; }
.rc-req__panel.is-active { display: block; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { border: 1px solid var(--color-border); padding: 22px 26px; text-align: left; vertical-align: top; line-height: 1.8; }
.req-table th { width: 200px; background: #eef2f9; font-weight: 700; color: var(--color-text); white-space: nowrap; }
.req-table td { color: var(--color-text); }

/* ---- Flow ---- */
.rc-flow { padding: 90px 0 0; }
.rc-flow__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.rc-flow__img { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.rc-flow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-flow__steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: grid; grid-template-columns: 72px 1fr 72px; gap: 18px; align-items: center;
  padding: 22px 26px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}
.flow-step__no {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); color: #fff;
}
.flow-step__no-en { font-family: var(--font-en); font-size: .65rem; letter-spacing: .05em; }
.flow-step__no-num { font-family: var(--font-en); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.flow-step__title { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--color-primary); }
.flow-step__desc { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--color-text); }
.flow-step__icon { display: flex; justify-content: center; }
.flow-step__icon img { width: 64px; height: 64px; object-fit: contain; display: block; }
.flow-arrow { display: flex; justify-content: center; padding: 8px 0; color: var(--color-primary); }
.flow-arrow svg { width: 18px; height: 12px; }

/* ---- FAQ ---- */
.rc-faq { padding: 90px 0; }
.rc-faq__layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.rc-faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.faq-item__q {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px 24px; background: #fff; border: none; cursor: pointer; text-align: left;
}
.faq-item.is-open .faq-item__q { background: var(--color-primary); }
.faq-item__mark {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 700; font-family: var(--font-en);
}
.faq-item.is-open .faq-item__mark { background: #fff; color: var(--color-primary); }
.faq-item__qtext { flex: 1; font-weight: 700; color: var(--color-text); }
.faq-item.is-open .faq-item__qtext { color: #fff; }
.faq-item__toggle { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-item__toggle::before, .faq-item__toggle::after {
  content: ""; position: absolute; background: var(--color-primary); transition: opacity .2s;
}
.faq-item__toggle::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item__toggle::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.is-open .faq-item__toggle::before { background: #fff; }
.faq-item.is-open .faq-item__toggle::after { opacity: 0; }
.faq-item__a {
  display: flex; align-items: flex-start; gap: 16px;
  max-height: 0; overflow: hidden; padding: 0 24px;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-item__a { max-height: 240px; padding: 20px 24px; }
.faq-item__mark--a { background: var(--color-primary); }
.faq-item__atext { margin: 0; line-height: 1.9; color: var(--color-text); }

/* ---- RECRUIT CTA ---- */
.rc-cta { position: relative; padding: 80px 0; background-size: cover; background-position: center; }
.rc-cta > .container { position: relative; z-index: 1; text-align: center; }
.rc-cta__en { margin: 0 0 8px; font-family: var(--font-en); font-weight: 700; color: var(--color-primary); letter-spacing: .05em; }
.rc-cta__title { margin: 0 0 24px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; color: var(--color-text); }
.rc-cta__lead { margin: 0 auto 44px; max-width: 760px; line-height: 1.9; color: var(--color-text); }
.rc-cta__btns { display: grid; grid-template-columns: 48% 48%; justify-content: space-between; gap: 4%; max-width: 1080px; margin: 0 auto; }
.cta-box {
  display: block; position: relative;
  padding: 32px 40px; background: var(--color-primary); color: #fff; border-radius: 6px; text-align: left;
}
.cta-box:hover { opacity: .94; }
.cta-box__head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.cta-box__icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
}
.cta-box__icon img { width: 52px; height: 52px; object-fit: contain; display: block; }
.cta-box__title { font-size: 1.3rem; font-weight: 700; }
.cta-box__desc { display: block; font-size: .9rem; line-height: 1.8; opacity: .9; }
.cta-box__arrow {
  position: absolute; right: 28px; bottom: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6);
}
.cta-box__arrow svg { width: 8px; height: 10px; margin-left: 1px; }

@media (max-width: 900px) {
  .rc-message { grid-template-columns: 1fr; gap: 28px; }
  .rc-message__gallery { grid-template-areas: "a b" "a c" "d c"; }
  .rc-why__grid { grid-template-columns: 1fr; gap: 28px; }
  .rc-interview__grid { grid-template-columns: 1fr; }
  .iv-card { grid-template-columns: 1fr; }
  .iv-card__body { padding: 0 24px 24px; }
  .rc-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-data__grid { grid-template-columns: 1fr; }
  .rc-career__steps { grid-template-columns: 1fr; }
  .career-card { margin-top: 0; }
  .rc-req__tabs { flex-direction: column; }
  .req-table th { width: 120px; }
  .rc-flow__cols { grid-template-columns: 1fr; }
  .rc-faq__layout { grid-template-columns: 1fr; }
  .rc-cta__btns { grid-template-columns: 1fr; }
}

/* career-card 段ずらし無効（旧・末尾の番号なし@mediaを合流） */
@media (max-width: 768px) {
  .career-card {
    margin-top: 0 !important;   /* PCの段ずらし（--lv連動）を無効化 */
    transform: none;
  }
}

/* =========================================================
   29. 営業拠点（sales）
   ========================================================= */
.sales-intro { padding: 64px 0 0; }
.sales-intro__lead { margin: 16px 0 0; line-height: 1.9; color: var(--color-text); }

/* 営業拠点の本社ブロックは .plant 系を流用 */
.sales-intro + .plant .plant__en { background: #fff; color: var(--color-primary); }

/* 連絡先テーブル */
.sales-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.sales-table th, .sales-table td { padding: 22px 26px; text-align: left; vertical-align: top; line-height: 1.7; }
.sales-table th { width: 140px; font-weight: 700; color: var(--color-text); white-space: nowrap; background: #eef2f9; border-bottom: 1px solid #11448B; }
.sales-table td { color: var(--color-text); border-bottom: 1px solid #AFAFAF; }

.sales-table tr:first-child th { border-top: 1px solid #11448B; }
.sales-table tr:first-child td { border-top: 1px solid #AFAFAF; }

@media (max-width: 900px) {
  .sales-table th { width: 90px; padding: 16px; }
  .sales-table td { padding: 16px; }
}

/* =========================================================
   30. お知らせ一覧（home / News）
   ========================================================= */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding-bottom: 90px; }

/* ---- カテゴリタブ ---- */
.news-tabs {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; margin-bottom: 32px;
  border: 1px solid var(--color-border); border-radius: 999px;
}
.news-tab {
  flex: 1; text-align: center; padding: 12px 8px;
  font-weight: 700; color: var(--color-text); border-radius: 999px; font-size: .95rem;
}
.news-tab:hover { color: var(--color-primary); }
.news-tab.is-active { background: var(--color-primary); color: #fff; }

/* ---- 記事リスト ---- */
.news-list { display: flex; flex-direction: column; }
.news-card { border: 1px solid var(--color-border); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.news-card__link { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 24px; }
.news-card__link:hover .news-card__title { color: var(--color-primary); }
.news-card__thumb { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__body { padding: 4px 0; }
.news-card__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.news-card__date { font-family: var(--font-en); font-size: .9rem; color: var(--color-muted); }
.news-card__cat { padding: 3px 14px; background: var(--color-primary); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 3px; }
.news-card__title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; line-height: 1.5; color: var(--color-text); }
.news-card__excerpt { margin: 0; font-size: .92rem; line-height: 1.9; color: var(--color-text); }

/* ---- ページネーション ---- */
.news-pager { display: flex; justify-content: center; margin-top: 40px; }
.news-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 8px; margin: 0 5px;
  background: #eef2f9; color: var(--color-text); border-radius: 6px; font-family: var(--font-en); font-weight: 700;
}
.news-pager .page-numbers.current { background: var(--color-primary); color: #fff; }
.news-pager .page-numbers.dots { background: transparent; }
.news-pager a.page-numbers:hover { background: var(--color-primary); color: #fff; }

/* ---- サイドバー ---- */
.news-side { display: flex; flex-direction: column; gap: 28px; }
.news-widget { border: 1px solid var(--color-border); border-radius: 8px; padding: 24px; }
.news-widget__title { margin: 0 0 8px; padding-bottom: 14px; font-size: 1.15rem; font-weight: 700; color: var(--color-primary); border-bottom: 2px solid var(--color-border); }
.news-widget__list { list-style: none; margin: 0; padding: 0; }
.news-widget__item, .news-widget__list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--color-border);
}
.news-widget__item:last-child, .news-widget__list li:last-child { border-bottom: none; }
.news-widget__item a, .news-widget__list li a { color: var(--color-text); font-size: .95rem; }
.news-widget__item a:hover, .news-widget__list li a:hover { color: var(--color-primary); }
.news-widget__count { font-family: var(--font-en); font-size: .85rem; font-weight: 700; color: var(--color-muted); }
.news-widget__list--archive li { position: relative; }

.news-empty { padding: 40px 0; color: var(--color-muted); }

@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; gap: 32px; }
  .news-tabs { flex-wrap: wrap; border-radius: 12px; }
  .news-tab { flex: 0 0 auto; }
  .news-card__link { grid-template-columns: 1fr; gap: 16px; }
  .news-card__thumb { aspect-ratio: 16 / 9; }
}

/* =========================================================
   31. お知らせ個別（single）
   ========================================================= */
.news-single__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.news-single__date { font-family: var(--font-en); font-size: .95rem; color: var(--color-muted); }
.news-single__cat { padding: 3px 14px; background: var(--color-primary); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 3px; }
.news-single__title { margin: 0 0 24px; padding-bottom: 24px; font-size: 1.6rem; font-weight: 700; line-height: 1.5; color: var(--color-text); border-bottom: 1px solid var(--color-border); }

.news-single__eyecatch { margin: 0 0 32px; }
.news-single__eyecatch img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* 本文（投稿エディタ出力） */
.news-single__body { line-height: 1.95; color: var(--color-text); }
.news-single__body p { margin: 0 0 24px; }
.news-single__body img { max-width: 100%; height: auto; border-radius: 4px; }
.news-single__body figure { margin: 0 0 28px; }
.news-single__body figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--color-muted); }
.news-single__body h2 { margin: 40px 0 18px; padding-left: 14px; font-size: 1.3rem; font-weight: 700; color: var(--color-text); border-left: 4px solid var(--color-primary); line-height: 1.4; }
.news-single__body h3 { margin: 32px 0 14px; font-size: 1.15rem; font-weight: 700; color: var(--color-text); }
.news-single__body ul, .news-single__body ol { margin: 0 0 24px; padding-left: 1.4em; }
.news-single__body li { margin-bottom: 10px; line-height: 1.8; }
.news-single__body a { color: var(--color-primary); text-decoration: underline; }

/* シェア */
.news-share { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.news-share__label { font-weight: 700; color: var(--color-text); }
.news-share__btns { display: flex; gap: 12px; }
.news-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
.news-share__btn img { width: 38px; height: 38px; object-fit: contain; display: block; }
.news-share__btn:hover { opacity: .85; }

/* 前後ナビ */
.news-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.news-nav__item { padding: 22px 26px; background: #f3f5f8; border-radius: 8px; }
.news-nav__label { display: block; margin-bottom: 10px; font-size: .85rem; color: var(--color-muted); }
.news-nav__link { color: var(--color-text); font-weight: 700; line-height: 1.6; }
.news-nav__link:hover { color: var(--color-primary); }
.news-nav__none { font-size: .9rem; color: var(--color-muted); }

/* 最近の記事（サイドバー） */
.news-recent { list-style: none; margin: 0; padding: 0; }
.news-recent__item { border-bottom: 1px solid var(--color-border); }
.news-recent__item:last-child { border-bottom: none; }
.news-recent__link { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; align-items: start; }
.news-recent__thumb { margin: 0; width: 72px; height: 56px; overflow: hidden; border-radius: 4px; }
.news-recent__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-recent__date { display: block; margin-bottom: 4px; font-family: var(--font-en); font-size: .8rem; color: var(--color-muted); }
.news-recent__title { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--color-text); }
.news-recent__link:hover .news-recent__title { color: var(--color-primary); }

@media (max-width: 900px) {
  .news-single__title { font-size: 1.3rem; }
  .news-share { flex-direction: column; align-items: flex-start; gap: 14px; }
  .news-nav { grid-template-columns: 1fr; }
}

/* =========================================================
   32. 404（Not Found）
   ========================================================= */
.notfound { text-align: center; padding: 80px 0 110px; }
.notfound__code {
  margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 900;
  line-height: 1; color: var(--color-primary); opacity: .12; letter-spacing: .04em;
}
.notfound__title { margin: 8px 0 20px; font-size: 1.6rem; font-weight: 900; color: var(--color-text); }
.notfound__text { margin: 0 0 36px; line-height: 1.9; color: var(--color-muted); }
.notfound__btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 40px; background: var(--color-primary); color: #fff;
  font-weight: 700; border-radius: 2px; transition: background .2s;
}
.notfound__btn:hover { background: var(--color-hero); }
.notfound__arw { display: inline-flex; }
.notfound__arw svg { width: 8px; height: 10px; }

@media (max-width: 768px) {
  .notfound { padding: 48px 0 64px; }
  .notfound__title { font-size: 1.3rem; }
}

/* =========================================================
   33. TOPへ戻る
   ========================================================= */
.page-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 50, 95, .25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s; z-index: 90;
}
.page-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.page-top:hover { background: var(--color-hero); }
.page-top svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .page-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

/* =========================================================
   34. GTranslate（標準UI非表示 ＋ JP/ENボタン見た目）＋ lang-switch追記を統合
   ========================================================= */
/* --- 標準UI非表示 --- */
.gtranslate_wrapper { display: none !important; }
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* --- JP/ENボタン見た目（白い角丸カード＋現在言語の丸ピル） --- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid #e8ebf0;
  border-radius: 999px; padding: 5px;
  box-shadow: 0 2px 10px rgba(17, 68, 139, .10);
}
/* gt-link が生成するリンク本体 */
.lang-switch a,
.lang-switch .gt-current-lang,
.lang-switch a.gt-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 18px; font-size: .85rem; font-weight: 700;
  color: var(--color-primary); line-height: 1;
  border-radius: 999px; text-decoration: none;
  transition: background .2s, color .2s;
}
/* gt-link が出す国旗画像は隠す（文字だけにする） */
.lang-switch img { display: none !important; }
/* 現在の言語をネイビーの丸ピルに */
.lang-switch a.gt-current-lang,
.lang-switch a[aria-current="true"] {
  background: var(--color-primary); color: #fff;
}

/* --- lang-switch 追記（旧・末尾の番号なし分を合流） --- */
@media (max-width: 900px) {
  .lang-switch { position: relative; z-index: 200; }
  .lang-switch .glink { pointer-events: auto; }
}
.lang-switch .glink {
  cursor: pointer;
}

/* =========================================================
   35. お問い合わせ（フォーム）
   ========================================================= */
.contact-lead { text-align: center; line-height: 2; margin: 56px 0 40px; color: var(--color-text); }

/* 電話・FAX */
.contact-tel { display: flex; gap: 24px; margin-bottom: 48px; }
.contact-tel__box {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px;
  background: #f4f5f7; padding: 28px 20px; border-radius: 4px;
}
.contact-tel__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; flex: none;
  background: none;   /* CSSの丸背景を消す（画像に丸が含まれる前提） */
}
.contact-tel__icon img { width: 60px; height: 60px; object-fit: contain; }
.contact-tel__label { margin: 0 0 2px; font-size: .85rem; color: var(--color-muted); }
.contact-tel__num { margin: 0; font-size: 1.9rem; font-weight: 900; color: var(--color-primary); line-height: 1.2; }
.contact-tel__note { margin: 2px 0 0; font-size: .8rem; color: var(--color-muted); }

/* タブ */
.contact-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.contact-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 8px; border: none; cursor: pointer;
  background: #e9ebef; color: var(--color-text); transition: background .2s, color .2s;
}
.contact-tab__sub { font-size: .78rem; opacity: .8; }
.contact-tab__main { font-size: 1.05rem; font-weight: 700; }
.contact-tab.is-active { background: var(--color-primary); color: #fff; }
.contact-tab.is-active .contact-tab__sub { opacity: .9; }

/* パネル */
.contact-panels { border: 1px solid var(--color-border); border-top: none; padding: 44px; }
.contact-panel { display: none; }
.contact-panel.is-active { display: block; }

/* フォーム共通 */
.cf-form { max-width: 880px; margin: 0 auto; }
.cf-lead-head { font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.cf-lead { line-height: 1.9; color: var(--color-text); margin: 0 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--color-border); }

.cf-row { display: flex; gap: 28px; }
.cf-row .cf-field { flex: 1; min-width: 0; }
.cf-field { margin: 0 0 24px; }
.cf-field label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; }

/* 必須・任意バッジ */
.cf-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 3px; color: #fff; line-height: 1;
}
.cf-badge--req { background: var(--color-primary); }
.cf-badge--any { background: #8a93a0; }

/* 入力欄（CF7のcontrolを全部拾う） */
.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form input[type="tel"],
.cf-form select,
.cf-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd5dd; border-radius: 4px;
  font-size: 1rem; font-family: inherit; color: var(--color-text); background: #fff;
  transition: border-color .2s;
}
.cf-form input:focus,
.cf-form select:focus,
.cf-form textarea:focus { outline: none; border-color: var(--color-primary); }
.cf-form textarea { min-height: 180px; resize: vertical; }
.cf-form .wpcf7-form-control-wrap { display: block; }

/* チェックボックス（素材） */
.cf-form .wpcf7-checkbox { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 20px; }
.cf-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.cf-form .wpcf7-checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; cursor: pointer; }
.cf-form .wpcf7-checkbox input { width: 18px; height: 18px; accent-color: var(--color-primary); }

/* プライバシー */
.cf-privacy { background: #f4f5f7; padding: 24px; border-radius: 4px; text-align: center; margin: 8px 0 28px; }
.cf-privacy p { margin: 0 0 12px; font-size: .9rem; }
.cf-privacy .wpcf7-list-item { margin: 0; }
.cf-privacy label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cf-privacy input { width: 18px; height: 18px; accent-color: var(--color-primary); }

/* 送信ボタン */
.cf-form .wpcf7-submit {
  display: block; width: 100%; padding: 18px; border: none; cursor: pointer;
  background: var(--color-primary); color: #fff; font-size: 1.05rem; font-weight: 700;
  border-radius: 4px; transition: background .2s;
}
.cf-form .wpcf7-submit:hover { background: var(--color-hero); }

/* CF7メッセージ */
.cf-form .wpcf7-response-output { margin: 20px 0 0 !important; border-radius: 4px; }

@media (max-width: 768px) {
  .contact-tel { flex-direction: column; gap: 14px; }
  .contact-tabs { grid-template-columns: repeat(2, 1fr); }
  .contact-panels { padding: 24px 16px; }
  .cf-row { flex-direction: column; gap: 0; }
  .cf-form .wpcf7-checkbox { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   36. プライバシーポリシー
   ========================================================= */
.privacy { max-width: 880px; margin: 0 auto; padding: 56px 0 90px; }
.privacy__intro { line-height: 2; margin: 0 0 40px; color: var(--color-text); }
.privacy__block { margin-bottom: 36px; }
.privacy__title {
  font-size: 1.2rem; font-weight: 700; color: var(--color-primary);
  margin: 0 0 14px; padding-left: 14px; border-left: 4px solid var(--color-primary);
}
.privacy__block p { line-height: 2; margin: 0 0 12px; color: var(--color-text); }
.privacy__list { margin: 0 0 12px; padding-left: 1.4em; }
.privacy__list li { line-height: 2; list-style: disc; color: var(--color-text); }
.privacy__company { margin-top: 16px; padding: 20px 24px; background: #f4f5f7; border-radius: 4px; }
.privacy__company p { margin: 0 0 4px; line-height: 1.8; }
.privacy__date { margin-top: 48px; text-align: right; line-height: 1.9; color: var(--color-muted); }

@media (max-width: 768px) {
  .privacy { padding: 40px 0 56px; }
  .privacy__title { font-size: 1.05rem; }
}

/* =========================================================
   37. サイトマップ
   ========================================================= */
.sitemap {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px; padding: 56px 0 90px;
}
.sitemap__parent {
  display: block; font-size: 1.15rem; font-weight: 700; color: var(--color-primary);
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--color-primary);
}
.sitemap__parent:hover { opacity: .75; }
.sitemap__list { margin: 0; padding: 0; list-style: none; }
.sitemap__list li { margin-bottom: 10px; }
.sitemap__list a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-text); line-height: 1.7;
}
.sitemap__list a::before {
  content: ""; width: 6px; height: 6px; flex: none;
  border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}
.sitemap__list a:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .sitemap { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 56px; }
}

/* =========================================================
   38. 英語表示時の調整（GTranslate / html[lang="en"]）
   ========================================================= */

/* --- Hero見出し：英語の長い語をはみ出させない --- */
html[lang="en"] .hero__title {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* --- PCグローバルナビ：英語が長いので詰める --- */
@media (min-width: 901px) {
  html[lang="en"] .gnav__list { gap: 18px; }
  html[lang="en"] .gnav__link { font-size: .8rem; line-height: 1.3; }
  html[lang="en"] .gnav__en { font-size: .62rem; }
  html[lang="en"] .site-header__inner { gap: 14px; }
}

/* --- スマホ：英語見出しのサイズを少し抑える --- */
@media (max-width: 768px) {
  html[lang="en"] .hero__title { font-size: 2rem; line-height: 1.35; }
  html[lang="en"] .hero__lead { word-break: break-word; overflow-wrap: break-word; }
}

/* 役員名：言語による出し分け（GTranslate対応） */
.officers .en { display: none; }            /* 通常（日本語）は英語名を隠す */
html[lang="en"] .officers .jp { display: none; }  /* 英語表示時は日本語名を隠す */
html[lang="en"] .officers .en { display: inline; } /* 英語表示時は英語名を表示 */
