@charset "UTF-8";
/* =========================================================
   牧野産業株式会社 コーポレートサイト 共通スタイル
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --c-navy: #1b3fa0;        /* メインカラー（ロゴのロイヤルブルー） */
  --c-navy-deep: #0e1e56;   /* さらに濃い紺（ヒーロー背景など） */
  --c-accent: #3f68d8;      /* アクセント（明るめのブルー） */
  --c-accent-light: #8fb0ff;/* 濃紺背景上で使う淡いブルー */
  --c-brass: #c99245;       /* 挿し色（真鍮色） */
  --c-brass-light: #d9ab5f; /* 濃紺背景上で使う明るめの真鍮色 */
  --c-text: #2b2f33;        /* 本文色 */
  --c-gray: #6b7480;        /* 補助テキスト */
  --c-bg-light: #f4f6f8;    /* 薄いグレー背景 */
  --c-line: #dde3e8;        /* 罫線 */
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --font-en: "Jost", sans-serif;
  --header-h: 72px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* PC/スマホ出し分け */
.pc-only { display: block; }
.sp-only { display: none; }

/* 文節単位でしか改行させない（中途半端な位置での折り返し防止） */
.nb { display: inline-block; } /* 文節の途中で折り返させないためのまとまり */
.sp-br { display: none; }      /* スマホでだけ改行したい場所に使う（パソコンでは無効） */
.pc-br { display: inline; }    /* パソコンでだけ改行したい場所に使う（スマホでは行が短くなるので無効） */
.pc-only { display: inline; }  /* マウス操作の説明など、パソコンだけに出す文言 */
.sp-only { display: none; }    /* タップ操作の説明など、スマホ・タブレットだけに出す文言 */

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow .4s;
}
/* スクロール後（JSで .is-scrolled 付与） */
.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(14, 30, 86, 0.1);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: flex; align-items: center; }
.header__logo-img { height: 32px; width: auto; }

/* グローバルナビ */
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 26px; }
.gnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  color: var(--c-navy);
  transition: opacity .3s;
}
.gnav__list a:hover { opacity: 0.6; }
.gnav__en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.gnav__ja { font-size: 10px; color: var(--c-brass); }
.gnav__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background-color .3s;
}
.gnav__contact:hover { background: var(--c-navy); }

/* ハンバーガーボタン（スマホ用） */
.header__menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.header__menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-navy);
  margin: 5px auto;
  transition: transform .3s, opacity .3s, background-color .4s;
}
/* メニュー展開時は必ず白 */
body.menu-open .header__menu-btn span { background: #fff; }
body.menu-open .header__menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .header__menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .header__menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--header-h); /* 白ヘッダーの分だけ下げる */
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, #2f5ad4 100%);
}
.hero__bg { position: absolute; inset: 0; }
.hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 装飾リング（部品の断面をイメージ） */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 69, 0.35);
  animation: ringFloat 12s ease-in-out infinite;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__ring--1 { width: 480px; height: 480px; top: -120px; right: -100px; }
.hero__ring--2 { width: 280px; height: 280px; bottom: 8%; right: 18%; animation-delay: -4s; }
.hero__ring--3 { width: 160px; height: 160px; top: 22%; right: 34%; animation-delay: -8s; }
@keyframes ringFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

/* 縦書き英字の装飾 */
.hero__vertical-en {
  position: absolute;
  right: 28px;
  bottom: 40px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.35);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  /* 左は SCROLL 表示の分だけ広くあけて、キャッチコピーと重ならないようにする */
  padding: 0 24px 0 76px;
}
.hero__tagline {
  font-family: var(--font-en);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--c-brass-light);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeIn 1s ease .1s forwards;
}
.hero__catch {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
/* キャッチコピーを1行ずつせり上げるアニメーション */
.hero__catch-line { display: block; overflow: hidden; }
.hero__catch-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp .9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__catch-line:nth-child(2) span { animation-delay: .18s; }
.hero__catch-line:nth-child(3) span { animation-delay: .36s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 2.1;
  opacity: 0;
  animation: fadeIn 1.2s ease .8s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  left: 26px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll-bar {
  width: 1px; height: 64px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll-bar::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--c-brass-light);
  animation: scrollBar 2s ease-in-out infinite;
}
@keyframes scrollBar {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: 110px 0; }
.section__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--c-brass);
}
.section__en--white { color: rgba(255, 255, 255, 0.8); }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.section__head--light .section__title { color: #fff; }
.section__desc { margin-top: 18px; color: var(--c-gray); }
.section__head--light .section__desc { color: rgba(255, 255, 255, 0.75); }
.section__more { text-align: center; margin-top: 56px; }
.section__more--left { text-align: left; }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 100px;
  padding: 14px 32px;
  transition: background-color .3s, color .3s;
}
.btn__arrow {
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s;
}
/* 矢印の先端。線の右端を起点に、左上へ1本だけのばした軽い表現 */
.btn__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 8px; height: 1px;
  background: currentColor;
  transform: rotate(35deg);
  transform-origin: right center;
}
.btn:hover { background: var(--c-navy); color: #fff; }
.btn:hover .btn__arrow { width: 32px; }
.btn--light { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--light:hover { background: #fff; color: var(--c-navy); }
.btn--white { color: var(--c-navy); background: #fff; border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; }

/* スクロールで表示されるアニメーション（JSで .is-visible 付与） */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   ABOUT（牧野産業とは）
   ========================================================= */
.about { background: #fff; }
.about__lead { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.about__copy {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--c-navy);
  line-height: 1.9;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.about__text { color: var(--c-gray); text-align: left; }
.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about__card {
  position: relative;
  background: var(--c-bg-light);
  border-radius: 12px;
  padding: 44px 30px 36px;
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.about__cards .about__card:nth-child(2) { transition-delay: .12s; }
.about__cards .about__card:nth-child(3) { transition-delay: .24s; }
.about__card-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 63, 160, 0.14);
}
.about__card-icon {
  width: 44px; height: 44px;
  color: var(--c-brass);
  margin-bottom: 20px;
}
.about__card h3 {
  font-size: 18px;
  color: var(--c-navy);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.about__card p { font-size: 14px; color: var(--c-gray); }

/* =========================================================
   PRODUCTS（取扱製品）
   ========================================================= */
.products {
  background: linear-gradient(160deg, var(--c-navy-deep), var(--c-navy));
  position: relative;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.products__note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.products__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22,1,0.36,1), background-color .3s, border-color .3s;
}
.products__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 146, 69, 0.6);
}
.products__item:nth-child(4n+2) { transition-delay: .08s; }
.products__item:nth-child(4n+3) { transition-delay: .16s; }
.products__item:nth-child(4n+4) { transition-delay: .24s; }

/* 製品カテゴリのビジュアル（写真、無いものはCSSで抽象表現） */
.products__item-visual {
  height: 130px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201,146,69,0.16), rgba(255,255,255,0.04));
}
/* 写真タイプ：白背景の切り抜き写真を収まりよく表示し、ホバーで少し拡大 */
.products__item-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  transition: transform .5s ease;
}
.products__item:hover .products__item-visual img { transform: scale(1.06); }
.products__item-visual::before,
.products__item-visual::after {
  content: "";
  position: absolute;
  border: 1.5px solid rgba(201, 146, 69, 0.55);
  transition: transform .5s ease;
}
.products__item:hover .products__item-visual::before { transform: scale(1.12) rotate(8deg); }
/* 冷間圧造：円柱の断面 */
.products__item-visual--forging::before { width: 64px; height: 64px; border-radius: 50%; left: calc(50% - 32px); top: 33px; }
.products__item-visual--forging::after { width: 34px; height: 34px; border-radius: 50%; left: calc(50% - 17px); top: 48px; }
/* 転造：ネジ山（斜線） */
.products__item-visual--rolling::before { width: 70px; height: 46px; left: calc(50% - 35px); top: 42px; border-radius: 6px;
  background: repeating-linear-gradient(115deg, transparent 0 6px, rgba(201,146,69,0.5) 6px 8px); border: none; }
.products__item-visual--rolling::after { display: none; }
/* 切削：六角形 */
.products__item-visual--cutting::before { width: 58px; height: 58px; left: calc(50% - 29px); top: 36px; border: none;
  background: rgba(201,146,69,0.14); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  outline: 1.5px solid rgba(201,146,69,0.55); outline-offset: -1.5px; }
.products__item-visual--cutting::after { display: none; }
/* 樹脂：角丸四角の重なり */
.products__item-visual--resin::before { width: 52px; height: 52px; border-radius: 14px; left: calc(50% - 36px); top: 38px; }
.products__item-visual--resin::after { width: 52px; height: 52px; border-radius: 14px; left: calc(50% - 12px); top: 46px; border-color: rgba(255,255,255,0.35); }
/* ばね：コイル */
.products__item-visual--spring::before { width: 76px; height: 40px; left: calc(50% - 38px); top: 45px; border: none;
  background: repeating-linear-gradient(90deg, rgba(201,146,69,0.55) 0 2px, transparent 2px 11px); }
.products__item-visual--spring::after { width: 76px; height: 40px; left: calc(50% - 38px); top: 45px; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 20px; }
/* プレス：打ち抜き穴のあいた板 */
.products__item-visual--press::before { width: 78px; height: 44px; border-radius: 6px; left: calc(50% - 39px); top: 43px; }
.products__item-visual--press::after { width: 60px; height: 12px; left: calc(50% - 30px); top: 59px; border: none;
  background: radial-gradient(circle 5px, rgba(201,146,69,0.55) 100%, transparent 0);
  background-size: 20px 12px; background-position: center; }
/* 鋼材：積まれた棒材 */
.products__item-visual--steel::before { width: 76px; height: 42px; left: calc(50% - 38px); top: 44px; border: none;
  background: repeating-linear-gradient(0deg, rgba(201,146,69,0.55) 0 2px, transparent 2px 14px); }
.products__item-visual--steel::after { width: 76px; height: 42px; left: calc(50% - 38px); top: 44px;
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: 4px; }
/* 規格品：小さな点の並び */
.products__item-visual--standard::before { width: 72px; height: 48px; left: calc(50% - 36px); top: 41px; border: none;
  background: radial-gradient(circle 5px, rgba(201,146,69,0.55) 100%, transparent 0);
  background-size: 24px 24px; background-position: center; }
.products__item-visual--standard::after { display: none; }

.products__item-body { padding: 20px 22px 24px; }
.products__item-body h3 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.products__item-body h3::after {
  content: "→";
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--c-brass-light);
  transition: transform .3s;
}
.products__item:hover h3::after { transform: translateX(6px); }
.products__item-body p { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   COMPANY（会社情報）
   ========================================================= */
.company { background: var(--c-bg-light); overflow: hidden; }
.company__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.company__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-navy) 0%, #2f5ad4 100%);
  overflow: hidden;
}
/* 会社情報パネルの背景写真（紺のグラデーションに薄く重ねる） */
.company__visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}
.company__visual-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(201,146,69,0.3), transparent 45%),
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(255,255,255,0.05) 26px 27px);
}
.company__visual-en {
  position: absolute;
  left: 24px; bottom: 16px;
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.16);
}
.company__body .section__head { text-align: left; margin-bottom: 24px; }
.company__text { color: var(--c-gray); margin-bottom: 28px; }
.company__summary { border-top: 1px solid var(--c-line); margin-bottom: 36px; }
.company__summary > div {
  display: flex;
  padding: 14px 4px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.company__summary dt { width: 90px; flex-shrink: 0; color: var(--c-navy); font-weight: 700; }
.company__summary dd { color: var(--c-gray); }

/* =========================================================
   NEWS（ニュース）
   ========================================================= */
.news { background: #fff; }
.news__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
}
.news__head .section__en { display: block; }
.news__head .section__more { margin-top: 32px; }
.news__list { border-top: 1px solid var(--c-line); }
.news__list li { border-bottom: 1px solid var(--c-line); }
.news__loading { padding: 22px 4px; color: var(--c-gray); font-size: 14px; }
.news__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  transition: background-color .3s;
}
a.news__item:hover { background: var(--c-bg-light); }
.news__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--c-gray);
  flex-shrink: 0;
}
.news__cat {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 100px;
  padding: 2px 12px;
  min-width: 80px;
  text-align: center;
}
.news__title { font-size: 14px; }

/* =========================================================
   RECRUIT（採用情報）
   ========================================================= */
.recruit {
  background:
    linear-gradient(rgba(14, 30, 86, 0.82), rgba(14, 30, 86, 0.82)),
    linear-gradient(120deg, #2f5ad4, var(--c-navy-deep));
  padding: 120px 24px;
  text-align: center;
}
.recruit__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  margin: 10px 0 18px;
}
.recruit__text { color: rgba(255, 255, 255, 0.8); margin-bottom: 36px; }

/* =========================================================
   CONTACT（お問い合わせCTA）
   ========================================================= */
.contact-cta { background: var(--c-bg-light); }
.contact-cta__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-cta__box {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(14, 30, 86, 0.06);
}
.contact-cta__box:nth-child(2) { transition-delay: .12s; }
.contact-cta__label {
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 16px;
}
.contact-cta__tel a {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: 0.04em;
}
.contact-cta__btn { margin-bottom: 4px; }
.contact-cta__note { font-size: 12px; color: var(--c-gray); margin-top: 10px; }

/* =========================================================
   フッター
   ========================================================= */
.footer { background: var(--c-navy-deep); color: #fff; padding: 64px 24px 0; }
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer__address { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
/* フッターの電話番号。タップで発信できることが分かるよう、周りの文字より少し明るくして下線を引く */
.footer__address a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.footer__address a:hover { color: var(--c-brass-light); }
.footer__nav { display: flex; gap: 56px; }
.footer__nav li { margin-bottom: 10px; }
.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: color .3s;
}
.footer__nav a:hover { color: var(--c-brass-light); }
.footer__notice {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px 0;
}
.footer__notice + .footer__copy { border-top: 0; padding-top: 10px; }

.footer__copy {
  text-align: center;
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

/* =========================================================
   レスポンシブ（タブレット以下）
   ========================================================= */
@media (max-width: 960px) {
  .pc-only { display: none; }
  .sp-only { display: block; }

  /* ナビをドロワー化 */
  .header__menu-btn { display: block; }
  .gnav {
    position: fixed;
    inset: 0;
    background: rgba(14, 30, 86, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  body.menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; align-items: center; gap: 22px; }
  .gnav__list a { color: #fff !important; }
  .gnav__en { font-size: 18px; }
  .gnav__ja { font-size: 11px; }
  body.menu-open { overflow: hidden; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }

  .hero { min-height: 520px; }
  .hero__ring--1 { width: 300px; height: 300px; top: -80px; right: -90px; }
  .hero__ring--2 { width: 180px; height: 180px; }
  .hero__ring--3 { display: none; }
  .hero__vertical-en { display: none; }
  /* 画面が狭いと左端に置く余白が取れない。
     位置指定をやめて本文の下に流し込み、横向きの文字で中央に置く
     （絶対配置のままだと本文ブロックの下端が基準になり、本文に重なってしまう） */
  .hero__scroll {
    position: static;
    align-items: flex-start; /* キャッチコピーと同じ左揃えにそろえる */
    margin-top: 32px;
    gap: 8px;
  }
  .hero__scroll span { writing-mode: horizontal-tb; font-size: 10px; }
  .hero__scroll-bar { height: 40px; }
  .hero__inner { padding-left: 24px; }
  .hero__sub { font-size: 13.5px; }

  .about__cards { grid-template-columns: 1fr; gap: 18px; }
  .products__grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .company__inner { grid-template-columns: 1fr; gap: 36px; }
  .company__visual { aspect-ratio: 16 / 9; }

  .news__layout { grid-template-columns: 1fr; gap: 24px; }
  .news__head { text-align: center; }

  .contact-cta__boxes { grid-template-columns: 1fr; }
}

/* スマホ */
@media (max-width: 560px) {
  body { font-size: 14px; }
  .header__logo-img { height: 26px; }

  /* キャッチコピーが行の途中で折り返さないサイズ・字間（11文字が1行に収まる）
     ※vwはスクロールバーの幅を含むため、本文に使える幅より大きく出る。その分の余裕を見込んでいる */
  .hero__catch { font-size: clamp(22px, 7vw, 38px); letter-spacing: 0.02em; }

  .sp-br { display: inline; }
  .pc-br { display: none; }
  /* 左寄せの長い本文は、文節ごとに折り返すと行が短くなりすぎて階段状になる。
     狭い画面では自然な折り返しに戻して行を埋める（中央寄せの短い文はそのまま） */
  .page-lead__text .nb, .about__text .nb { display: inline; }
  /* リード見出しは字間を詰めて、1行に収まる文字数を増やす */
  .page-lead__copy { letter-spacing: 0.04em; }
  .hero__inner { padding: 0 22px; }

  .products__grid { grid-template-columns: 1fr; }
  .products__item-visual { height: 110px; }

  .news__item { flex-wrap: wrap; gap: 10px 14px; }
  .news__title { width: 100%; }

  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__nav { gap: 36px; }
}

/* =========================================================
   下層ページ共通
   ========================================================= */
/* ページタイトル部 */
.page-header {
  margin-top: var(--header-h);
  padding: 72px 24px 56px;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 70%, #2f5ad4 100%);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  right: -80px; top: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 69, 0.4);
}
.page-header__inner { max-width: 1120px; margin: 0 auto; }
.page-header__en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--c-brass-light);
}
.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* パンくずリスト */
.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 12px;
  color: var(--c-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb a { color: var(--c-navy); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "／"; margin-left: 6px; color: var(--c-line); }

/* リード文 */
.page-lead { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.page-lead__copy {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--c-navy);
  line-height: 1.9;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.page-lead__text { color: var(--c-gray); text-align: left; }

/* 見出し（左寄せ・下層用） */
.heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-left: 4px solid var(--c-brass);
  padding-left: 16px;
}
.heading__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: 0.08em;
}
.heading__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-brass);
}

/* 定義テーブル（会社概要・募集要項など） */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.c-table th, .c-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.c-table th {
  width: 200px;
  color: var(--c-navy);
  font-weight: 700;
  background: var(--c-bg-light);
}

/* 沿革タイムライン */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--c-line);
}
.timeline__item { position: relative; padding: 0 0 36px 24px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c-brass);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--c-brass);
}
.timeline__date {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.timeline__text { font-size: 14px; color: var(--c-text); }

/* 地図 */
.map-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-top: 32px;
}
.map-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* サービス詳細カード */
.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
}
.service-block:first-of-type { border-top: 1px solid var(--c-line); }
.service-block__visual {
  height: 150px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy));
  position: relative;
  overflow: hidden;
}
.service-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}
.service-block__visual:has(img) { border: 1px solid var(--c-line); }

/* 写真バナー（ページ内の見せ場用） */
.photo-banner {
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 64px;
}
.photo-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
/* カタログ風（白背景切り抜き）写真用のバナー */
.photo-banner--catalog {
  border: 1px solid var(--c-line);
  background: #fff;
}
.photo-banner--catalog img {
  object-fit: contain;
  aspect-ratio: 21 / 10;
  padding: 16px;
}
.service-block__title {
  font-size: 19px;
  color: var(--c-navy);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.service-block__text { font-size: 14px; color: var(--c-gray); }
.service-block__note {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--c-navy);
  background: var(--c-bg-light);
  border-radius: 6px;
  padding: 4px 12px;
}

/* ステップ（ワンストップの流れ） */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.flow__step {
  background: var(--c-bg-light);
  border-radius: 10px;
  padding: 22px 10px 18px;
  text-align: center;
  position: relative;
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  border-top: 2px solid var(--c-brass);
  border-right: 2px solid var(--c-brass);
  z-index: 1;
}
.flow__num {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--c-brass);
  display: block;
  margin-bottom: 6px;
}
.flow__label { font-size: 13.5px; font-weight: 700; color: var(--c-navy); }

/* お問い合わせフォーム */
.form-note { text-align: center; color: var(--c-gray); font-size: 14px; margin-bottom: 40px; }
.form { max-width: 760px; margin: 0 auto; }
.form__row { margin-bottom: 26px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-navy);
  margin-bottom: 8px;
}
/* 必須・任意のバッジ。説明文（.form-note）の中でも項目名と同じ見た目にそろえる */
.form-note .req, .form__label .req, .form__label .opt {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
}
.form-note .req, .form__label .req { background: #c0392b; }
.form__label .opt { background: #9aa4af; }
/* 説明文は横並びではなく文章の中に入るので、前後に少し間隔をあける */
.form-note .req { display: inline-block; vertical-align: 1px; margin: 0 3px; }
/* 説明文の中の電話番号 */
.form-note__tel { color: var(--c-navy); font-weight: 700; }
.form__input, .form__select, .form__textarea {
  width: 100%;
  font-family: var(--font-ja);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(27, 63, 160, 0.12);
}
.form__textarea { min-height: 180px; resize: vertical; }
/* 添付ファイル欄 */
.form__file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-bg-light);
  border: 1px dashed var(--c-navy);
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  transition: background-color .3s;
}
.form__file:hover { background: #e8edf5; }
.form__file input { display: none; }
.form__file-list { margin-top: 10px; }
.form__file-list li {
  font-size: 13px;
  color: var(--c-text);
  background: var(--c-bg-light);
  border-radius: 6px;
  padding: 6px 14px;
  margin-bottom: 6px;
  display: inline-block;
  margin-right: 8px;
}
.form__hint { font-size: 12px; color: var(--c-gray); margin-top: 10px; line-height: 1.8; }

.form__agree { text-align: center; font-size: 14px; margin: 36px 0 28px; }
.form__agree a { color: var(--c-navy); text-decoration: underline; }
.form__agree input { accent-color: var(--c-navy); margin-right: 8px; transform: scale(1.2); }
.form__submit { text-align: center; }
.form__submit button {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--c-navy);
  border: none;
  border-radius: 100px;
  padding: 18px 72px;
  cursor: pointer;
  transition: background-color .3s, transform .2s;
}
.form__submit button:hover { background: var(--c-navy-deep); transform: translateY(-2px); }
/* ハニーポット（スパム対策・人間には見えない欄） */
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* 完了ページ */
.thanks-box { text-align: center; padding: 40px 0 20px; }
.thanks-box__icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--c-bg-light);
  display: grid;
  place-items: center;
  color: var(--c-brass);
}
.thanks-box__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--c-navy);
  margin-bottom: 16px;
}
.thanks-box__text { color: var(--c-gray); font-size: 14px; margin-bottom: 40px; }

/* プライバシーポリシー */
.privacy-body { max-width: 800px; margin: 0 auto; }
.privacy-body h3 {
  font-size: 17px;
  color: var(--c-navy);
  border-left: 4px solid var(--c-brass);
  padding-left: 14px;
  margin: 40px 0 14px;
}
.privacy-body p, .privacy-body li { font-size: 14px; color: var(--c-text); }
.privacy-body ul { padding-left: 22px; margin: 10px 0; }
.privacy-body ul li { list-style: disc; }
.privacy-date { text-align: right; font-size: 13px; color: var(--c-gray); margin-top: 40px; }

/* 下層ページのレスポンシブ */
@media (max-width: 960px) {
  .page-header { padding: 48px 24px 40px; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .flow__step:nth-child(3)::after { display: none; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .service-block__visual { height: 120px; }
}
@media (max-width: 560px) {
  .c-table th, .c-table td { display: block; width: 100%; }
  .c-table th { padding: 10px 14px; }
  .c-table td { padding: 12px 14px 16px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(2n)::after { display: none; }
  .flow__step:nth-child(3)::after { display: block; }
  .flow__step:nth-child(4)::after { display: none; }
  .map-wrap { aspect-ratio: 4 / 3; }

  /* お問い合わせフォーム
     中央揃えのままだと行ごとの長さがそろわず階段状になって読みにくいので、
     狭い画面では説明文を左寄せにして行を最後まで使う */
  .section--form { padding-top: 44px; }
  /* word-break: auto-phrase は「お問い合わせく／ださい」のような語の途中での
     折り返しを防ぐ（対応していないブラウザでは従来どおりの折り返しになる） */
  .form-note {
    text-align: left;
    font-size: 13.5px;
    line-height: 1.9;
    margin-bottom: 30px;
    word-break: auto-phrase;
  }
  .form__row { margin-bottom: 22px; }
  /* 指でタップしやすいように、ファイル選択は横幅いっぱいにする */
  .form__file { width: 100%; justify-content: center; padding: 15px 16px; }
  .form__agree { margin: 28px 0 24px; }
  .form__submit button { width: 100%; padding: 18px 20px; }
}

/* =========================================================
   製品カテゴリ詳細ページ
   ========================================================= */
/* 一覧側：ブロック全体をリンクにしたときの見た目 */
a.service-block {
  color: inherit;
  text-decoration: none;
  transition: background 0.25s;
}
a.service-block:hover { background: var(--c-bg-light); }
a.service-block:hover .service-block__title { color: var(--c-accent); }
.service-block__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
}
.service-block__more::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.25s;
}
a.service-block:hover .service-block__more { color: var(--c-accent); }
a.service-block:hover .service-block__more::after { width: 34px; }

/* 詳細ページ：大きな製品写真（クリックで拡大） */
.product-detail__photo {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  cursor: zoom-in;
  position: relative;
}

/* 虫眼鏡レンズ（マウスを重ねた部分の拡大表示） */
.magnify-lens {
  display: none;
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--c-navy);
  box-shadow: 0 6px 24px rgba(14, 30, 86, 0.25), inset 0 0 8px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 5;
}
.product-detail__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-detail__hint {
  text-align: center;
  font-size: 12px;
  color: var(--c-gray);
  margin-top: 12px;
}
/* マウスのない端末（スマホ・タブレット）では、操作の説明をタップ向けの文言に差し替える */
@media (hover: none) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}
.product-detail__lead {
  max-width: 760px;
  margin: 40px auto 64px;
  color: var(--c-text);
  line-height: 2.1;
}

/* 特長・留意点のリスト */
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 60px;
}
.detail-list li {
  position: relative;
  padding: 18px 20px 18px 54px;
  background: var(--c-bg-light);
  border-radius: 10px;
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.9;
}
.detail-list li strong {
  display: block;
  font-size: 15px;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.detail-list li::before {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.detail-list--merit li::before { content: "✓"; background: var(--c-brass); }
.detail-list--note li::before { content: "！"; background: var(--c-gray); }

/* 主な用途のタグ */
.usage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 64px;
}
.usage-tags li {
  padding: 10px 20px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--c-text);
  background: #fff;
}

/* 他カテゴリへのナビ */
.category-nav {
  border-top: 1px solid var(--c-line);
  padding-top: 36px;
}
.category-nav__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.category-chips a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--c-bg-light);
  font-size: 13px;
  color: var(--c-navy);
  transition: background 0.2s, color 0.2s;
}
.category-chips a:hover { background: var(--c-navy); color: #fff; }

/* 写真の拡大表示（ライトボックス） */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 30, 86, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  background: #fff;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* スマホ・タブレットの拡大表示：画面より大きく出して、指でずらす／つまんで拡大できるようにする */
body.is-lightbox-open { overflow: hidden; }
.lightbox--touch {
  padding: 0;
  display: block;
  background: rgba(6, 12, 32, 0.96);
}
.lightbox--touch .lightbox__scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}
.lightbox--touch .lightbox__scroll img {
  display: block;
  width: 220%;          /* 画面幅の2.2倍で表示＝開いた瞬間に拡大されて見える */
  max-width: none;
  max-height: none;
  height: auto;
  border-radius: 0;
}
.lightbox__btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

@media (max-width: 768px) {
  .detail-list { grid-template-columns: 1fr; }
  .detail-list li { padding: 16px 16px 16px 50px; }
  .detail-list li::before { left: 16px; top: 17px; }
  .product-detail__photo { padding: 8px; }
  .product-detail__lead { margin: 32px auto 52px; }
}
