@charset "UTF-8";

/* =========================================================
   WEB FONTS
   ========================================================= */
/* Printvetica（カンプ指定の見出し英字書体 / Javier Guaschetti）
   ※ ライセンス確認要：個人利用は無償、商用は要ライセンス */
@font-face {
  font-family: "Printvetica";
  src: url("../fonts/printvetica.woff2") format("woff2"),
       url("../fonts/printvetica.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   ROOT / TOKENS
   ========================================================= */
:root {
  /* colors */
  --color-bg: #868686;          /* ページ基本背景（カンプのフレーム地色） */
  --color-bg-dark: #000000;     /* FV/フッター/オーバーレイ */
  --color-bg-card: #2c2c2c;     /* Contact/Download カード */
  --color-primary: #f99c00;     /* ブランドオレンジ */
  --color-white: #ffffff;
  --color-text: #ffffff;        /* ダーク地のため白が基本 */
  --color-text-sub: #cfcfcf;
  --color-text-muted: #cccccc;
  --color-text-light: #dcdcdc;
  --color-text-gray: #c6c6c6;
  --color-border: #404040;
  --color-dummy: #d9d9d9;

  /* fonts */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Poppins", sans-serif;
  /* カンプ指定の Printvetica を実フォントで適用（未読込時は Helvetica 系にフォールバック） */
  --font-display: "Printvetica", "Helvetica Neue", Arial, "Poppins", sans-serif;
}

/* =========================================================
   BASE / RESET
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

/* =========================================================
   LAYOUT
   ========================================================= */
.l-inner {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .l-inner { padding: 0 16px; }
}

/* =========================================================
   セクション見出し（English + 日本語）
   ========================================================= */
.sec-ttl { line-height: 1.05; }

.sec-ttl__en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.861vw, 70px);
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.sec-ttl__jp {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
}

/* =========================================================
   m-circle-link（View More 等の丸リンク）
   ========================================================= */
.m-circle-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--color-white);
}
.m-circle-link__icon {
  position: relative;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border: 1px dashed var(--color-white);
  border-radius: 50%;
}
/* オレンジの円：デフォルトは 5px のドット、ホバーで 19px に拡大 */
.m-circle-link__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: width 0.3s ease, height 0.3s ease;
}
/* 白い矢印：ホバー時のみ表示 */
.m-circle-link__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 8.5px;
  height: 7.4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.5 7.36396' fill='none'%3E%3Cpath d='M8.35355 4.03553C8.54882 3.84027 8.54882 3.52369 8.35355 3.32843L5.17157 0.146447C4.97631 -0.0488155 4.65973 -0.0488155 4.46447 0.146447C4.2692 0.341709 4.2692 0.658291 4.46447 0.853554L7.29289 3.68198L4.46447 6.51041C4.2692 6.70567 4.2692 7.02225 4.46447 7.21751C4.65973 7.41278 4.97631 7.41278 5.17157 7.21751L8.35355 4.03553ZM0 3.68198V4.18198H8V3.68198V3.18198H0V3.68198Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.m-circle-link:hover .m-circle-link__icon::after {
  width: 19px;
  height: 19px;
}
.m-circle-link:hover .m-circle-link__icon::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .m-circle-link__icon::after,
  .m-circle-link__icon::before { transition: none; }
}
.m-circle-link__label {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

.m-circle-link--center { justify-content: center; }

/* =========================================================
   m-scale-change（画像ホバー拡大：リンク内のみ使用）
   ========================================================= */
.m-scale-change { overflow: hidden; }
.m-scale-change img { transition: transform 0.6s ease; }
a:hover .m-scale-change img,
a.m-scale-change:hover img { transform: scale(1.08); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 40px;
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo-img { display: block; width: auto; height: 40px; }

@media (max-width: 768px) {
  .header__logo-img { height: 30px; }
}

.gnav { display: flex; gap: 2.222vw; }
.gnav__link { display: flex; flex-direction: column; }
.gnav__en {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.gnav__en .dot {
  /* デフォルトはドット非表示。ホバー時にオレンジ円＋矢印を表示（スロットは確保） */
  position: relative;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}
.gnav__jp {
  font-size: 11px;
  color: var(--color-text-muted);
  padding-left: 27px;
}
.gnav__link:hover { opacity: 0.7; }

/* hamburger / sp-nav */
.sp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.sp-hamburger__line {
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
}
.sp-hamburger.is-active .sp-hamburger__line:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.sp-hamburger.is-active .sp-hamburger__line:nth-child(2) { opacity: 0; }
.sp-hamburger.is-active .sp-hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9); /* 背後がうっすら透ける程度 */
  transform: translateX(100%);
  transition: transform 0.3s;
  z-index: 1050;
}
.sp-nav.is-open { transform: translateX(0); }
.sp-nav__logo {
  display: inline-flex;
  align-items: center;
  padding: 28px 24px 0;
}
.sp-nav__logo-img { width: 129px; height: auto; }
.sp-nav__list { padding: 40px 24px; }
.sp-nav__item { border-bottom: 1px solid var(--color-border); }
.sp-nav__item a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 4px;
}
.sp-nav__item .en {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-white);
}
.sp-nav__item .jp { font-size: 12px; color: var(--color-text-muted); }

@media (max-width: 1080px) {
  .gnav { gap: 24px; }
  .gnav__en { font-size: 16px; }
}
@media (max-width: 900px) {
  .pc-nav { display: none; }
  .sp-hamburger { display: flex; }
  .sp-nav { display: block; }
}
@media (max-width: 600px) {
  .header__inner { height: 64px; padding: 0 16px; }
  .header__logo-img { height: 26px; }
}

/* =========================================================
   FV / HERO
   ========================================================= */
.fv {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.fv__bg { position: fixed; inset: 0; z-index: -1; }
.fv__bg img,
.fv__bg video { width: 100%; height: 100%; object-fit: cover; }
.fv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.65) 100%);
}
/* オープニングの集合コピーをそのまま引き継ぐワードマーク（Figma書き出しSVG・同サイズ・同位置） */
.fv__wordmark {
  /* 2つのSVGは同一フォント/サイズを別書き出ししたもの。--wm-u（px/座標）を共有し、
     それぞれの viewBox 寸法に掛けることで描画スケールを厳密に一致させる（片側だけ拡縮させない）。 */
  --wm-u: clamp(1.2002px, 0.1512vw, 2.1716px); /* テキスト clamp(32.9px,4.144vw,59.5px) 相当の字高 ÷ 27.4（従来比85%） */
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: flex-end; /* 2つの句をベースライン（下端）で揃える */
  color: var(--color-white);
  line-height: 1;
  white-space: nowrap;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.5));
}
.fv__wordmark-svg { display: block; fill: currentColor; }
/* 「まっすぐに、」136.3 × 27.4 */
.fv__wordmark-svg--1 { width: calc(136.3 * var(--wm-u)); height: calc(27.4 * var(--wm-u)); }
/* 「その1mmのために。」249.8 × 27 */
.fv__wordmark-svg--2 { width: calc(249.8 * var(--wm-u)); height: calc(27 * var(--wm-u)); }

.fv__copy {
  position: absolute;
  /* ブラウザサイズの比率に連動して右下に配置（極端なサイズは clamp で制御） */
  right: clamp(24px, 6vw, 110px);
  bottom: clamp(32px, 8vh, 120px);
  z-index: 2;
  font-size: clamp(16px, 1.53vw, 20px);
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-align: left;
  /* カーニングはオプティカル相当に：和文はプロポーショナルメトリクス（palt）で詰め、
     欧文・約物はカーニングペアを効かせる。下層ページの指定と揃えている。 */
  font-kerning: normal;
  font-feature-settings: "palt" 1, "kern" 1;
  text-rendering: optimizeLegibility;
}
.fv__scroll {
  position: absolute;
  left: 40px;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fv__scroll-text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-white);
  writing-mode: vertical-rl;
}
.fv__scroll-line {
  position: relative;
  width: 1px;
  height: 113px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.fv__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--color-primary);
  animation: fv-scroll-flow 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes fv-scroll-flow {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

@media (prefers-reduced-motion: reduce) {
  .fv__scroll-line::after { animation: none; }
}

@media (max-width: 768px) {
  /* SPは1行だと極端に小さくなるため、2行に積んで大きく見せる（字高 ≒ 29〜36px） */
  .fv__wordmark {
    top: 46%;
    --wm-u: clamp(1.05px, 0.336vw, 2px);
    flex-direction: column;
    align-items: center;
    row-gap: calc(4 * var(--wm-u));
  }
  .fv__copy { right: 16px; left: 16px; bottom: 14%; text-align: right; }
  .fv__scroll { left: 16px; }
}
@media (max-width: 600px) {
  .fv__scroll-line { height: 70px; }
}

/* =========================================================
   NEWS
   ========================================================= */
.top-news {
  position: relative;
  padding: 100px 0 90px;
}
/* 背景（パララックスの写真）を下端に向けて落とす。下端の濃度は Our Strength 側の
   .lower-veil::before の開始値と同じにして、境界に切れ目を作らない。テキストは z-index で前面。 */
.top-news::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.top-news__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 5.556vw;
  align-items: flex-start;
}
.top-news__head { flex: 0 0 auto; width: 30%; }
.top-news__more { margin-top: 56px; }

.news-list { flex: 1 1 auto; min-width: 0; }
.news-list__link {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}
.news-list__date {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-text-sub);
}
.news-list__cat {
  position: relative;
  min-width: 88px;
  padding: 0 4px 6px;
  font-size: 13px;
  text-align: center;
  color: var(--color-white);
  transition: color 0.3s;
}
/* 下線のオレンジバー。ホバーすると ::before（通常時のバー）が一度完全に消え、
   入れ替わりに ::after が中央から引き直される。 */
.news-list__cat::before,
.news-list__cat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-primary);
  pointer-events: none;
}
/* 戻り：バーが中央へ縮みきってから元のバーを出す */
.news-list__cat::before { transition: opacity 0.2s linear 0.3s; }
.news-list__cat::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
/* 行き：まず消してから引く */
.news-list__link:hover .news-list__cat::before {
  opacity: 0;
  transition: opacity 0.1s linear;
}
.news-list__link:hover .news-list__cat::after {
  transform: scaleX(1);
  transition-delay: 0.12s;
}
.news-list__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 行全体を opacity で落とすとオレンジバーまで沈むため、文字だけを個別に落とす */
.news-list__date,
.news-list__title { transition: opacity 0.3s; }
.news-list__link:hover .news-list__date,
.news-list__link:hover .news-list__title { opacity: 0.7; }
.news-list__link:hover .news-list__cat { color: rgba(255, 255, 255, 0.7); }

@media (prefers-reduced-motion: reduce) {
  .news-list__cat::after { transition: none; }
}

@media (max-width: 768px) {
  .top-news { padding: 64px 0 56px; }
  .top-news__inner { flex-direction: column; gap: 32px; }
  /* View More は記事一覧の下に置く。head を display:contents で透過させ、
     見出し・一覧・View More を .top-news__inner の並びに参加させて order で入れ替える。 */
  .top-news__head { display: contents; }
  .top-news__head > .sec-ttl { order: 1; }
  .news-list { order: 2; width: 100%; }
  .top-news__more { order: 3; margin-top: 8px; }
}
@media (max-width: 600px) {
  .news-list__link {
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    padding: 16px 0;
  }
  /* 1fr のカラムに置くと下線のオレンジバーが行末まで伸びてしまうので、内容幅で止める */
  .news-list__cat { justify-self: start; min-width: 72px; }
  .news-list__title { grid-column: 1 / -1; white-space: normal; }
}

/* =========================================================
   LOWER VEIL（Our Strength 以降に薄い黒フィルタ＋背景ブラー）
   ========================================================= */
.lower-veil { position: relative; z-index: 0; }
/* 黒フィルタ。開始値は NEWS 下端（.top-news::after の終端）と揃えて境界を消す */
.lower-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.8) 65.87%);
  pointer-events: none;
}
/* 背景ブラー。上端で急にボケ始めると境界線に見えるため、
   マスクでブラーそのものを徐々に立ち上げる（黒フィルタとは別レイヤーにする）。 */
.lower-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 420px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 420px);
  pointer-events: none;
}
.lower-veil > * { position: relative; z-index: 1; }

/* =========================================================
   OUR STRENGTH
   ========================================================= */
.top-strength {
  position: relative;
  padding: 80px 0;
}
/* 汚れテクスチャ。悪目立ちしないよう、背景に直接敷かず opacity を落として重ねる。
   上下端はマスクでフェードさせ、セクションの切り替わりで線に見えないようにする。 */
.top-strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/top/strength-bg-2.webp") center / cover no-repeat;
  opacity: 0.4;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 280px,
                                      #000 calc(100% - 220px), rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 280px,
                              #000 calc(100% - 220px), rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.top-strength__head {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}
.top-strength__lead {
  margin-top: 32px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.78;
  color: var(--color-white);
}

/* 写真帯・テキスト列は見出し（l-inner=1168）より広く取る（カンプの x30〜x1422 を再現） */
.top-strength__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1392px;
  margin: 0 auto;
  padding: 0 24px;
}

.strength-grid {
  display: flex;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.strength-grid__cell {
  flex: 1;
  padding: 24px;
}
.strength-grid__cell + .strength-grid__cell {
  border-left: 1px solid var(--color-border);
}
.strength-grid__cell img {
  width: 100%;
  aspect-ratio: 440 / 425;
  object-fit: cover;
  display: block;
}

.strength-list {
  display: flex;
  margin-top: 28px;
}
.strength-list__item { flex: 1; padding: 0 24px; }
.strength-list__num {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.strength-list__ttl {
  font-size: clamp(24px, 2.222vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  margin-bottom: 20px;
}
.strength-list__txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .top-strength { padding: 56px 0; }
  .top-strength__head { margin-bottom: 40px; }
  /* 写真の並びとテキストの並びを解体し、「写真→その説明」の順で交互に組み直す。
     display:contents で両ラッパーを透過させ、6要素を order で並べ替える。 */
  .top-strength__inner { padding: 0 16px; display: flex; flex-direction: column; }
  .strength-grid,
  .strength-list { display: contents; }
  .strength-grid__cell {
    padding: 0;
    border: none;
    margin-top: 40px;
  }
  .strength-grid__cell img { aspect-ratio: 16 / 10; }
  .strength-list__item { padding: 0; margin-top: 18px; }
  .strength-grid__cell:nth-of-type(1) { order: 1; margin-top: 0; }
  .strength-list__item:nth-of-type(1) { order: 2; }
  .strength-grid__cell:nth-of-type(2) { order: 3; }
  .strength-list__item:nth-of-type(2) { order: 4; }
  .strength-grid__cell:nth-of-type(3) { order: 5; }
  .strength-list__item:nth-of-type(3) { order: 6; }
}

/* =========================================================
   BUSINESS
   ========================================================= */
.top-business {
  padding: 130px 0;
}
.dept__head {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 28px;
}

.dept {
  display: flex;
  align-items: center;
  gap: 6.5vw;
  margin-bottom: 80px;
}
.dept__img {
  flex: 0 0 48%;
  align-self: stretch;
  width: 48%;
  max-width: 692px;
  border-radius: 0;
}
.dept__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 692 / 540;
  object-fit: cover;
  display: block;
}
.dept__body {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 6.5vw;
}
.dept__name {
  font-size: clamp(28px, 2.778vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 18px;
}
/* 部門キャッチ：部門名の直下に、上下の罫線で挟んだ横組みのキャッチとして置く */
.dept__catch {
  margin: 0 0 28px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(19px, 1.667vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-white);
}
.dept__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.71;
  color: var(--color-white);
  margin-bottom: 32px;
}
.dept__product {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.dept__product-img {
  flex: 0 0 140px;
  width: 140px;
  height: 104px;
  overflow: hidden;
  background: var(--color-dummy);
}
.dept__product-img img { width: 100%; height: 100%; object-fit: cover; }
.dept__product-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.dept__product-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  margin-bottom: 18px;
}
.dept__product-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-sub);
}

.top-business__foot { margin-top: 60px; }

@media (max-width: 768px) {
  .top-business { padding: 64px 0; }
  /* 写真は全幅で抜き、テキスト側だけ他セクションと同じ左右マージンを取る。
     あわせて、セクション見出し（Business／事業内容）を写真より前に出したいので、
     dept__body を display:contents で透過させ、見出し・本文を .dept 直下の並びに参加させる。 */
  .dept__body { display: contents; }
  .dept__head,
  .dept__main { padding: 0 24px; }
  .dept__head { position: static; order: -1; margin-bottom: 8px; }
  .dept {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 56px;
  }
  .dept__img { width: 100%; max-width: none; flex-basis: auto; }
  .dept__name { margin-bottom: 14px; }
  .dept__catch { margin-bottom: 22px; padding: 12px 0; }
  .top-business__foot { margin-top: 40px; }
}

@media (max-width: 600px) {
  .dept__head,
  .dept__main { padding: 0 16px; } /* .l-inner と同じ左右マージン */
}

/* =========================================================
   ABOUT / TECHNOLOGY（2カラム フルブリード）
   ========================================================= */
.top-link2 { display: flex; }
.link-card {
  position: relative;
  flex: 1;
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 0 432px 0 80px;
  overflow: hidden;
}
.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
}
.link-card--about::before { background-image: url("../img/top/about-bg.webp"); }
.link-card--tech::before  { background-image: url("../img/top/tech-bg.webp"); }
.link-card:hover::before { transform: scale(1.06); }

.link-card__body { position: relative; z-index: 2; }
.link-card__en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.861vw, 70px);
  line-height: 1.1;
  color: var(--color-white);
}
.link-card__jp {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.link-card__more { margin-top: 45px; }

@media (max-width: 768px) {
  .top-link2 { flex-direction: column; }
  .link-card { min-height: 300px; padding: 0 24px; }
}

/* =========================================================
   RECRUIT
   ========================================================= */
.top-recruit {
  position: relative;
  padding: 140px 0;
  background: #363636; /* テクスチャ画像の地色 */
  overflow: hidden;
}
/* 汚れテクスチャ。悪目立ちしないよう、地色の上に opacity を落として重ねる */
.top-recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/top/recruit-texture.webp") center / cover no-repeat;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.top-recruit__deco { position: absolute; inset: 0; z-index: 1; }
.rec-deco {
  position: absolute;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.5s ease;
}
.rec-deco--1   { top: 8.9%;  left: 9.4%;  width: 30.7%; }
.rec-deco--2   { top: 45.5%; left: 2.3%;  width: 14.4%; }
.rec-deco--3   { top: 9.9%;  left: 59.2%; width: 21.4%; }
.rec-deco--4   { top: 61.5%; left: 11.8%; width: 19.4%; }
.rec-deco--5   { top: 41%;   right: 0;    width: 33.3%; }
/* セクションのマウスオーバーで装飾画像を若干拡大（拡大率は画像ごとにバラす） */
.top-recruit:hover .rec-deco--1 { transform: scale(1.09); }
.top-recruit:hover .rec-deco--2 { transform: scale(1.04); }
.top-recruit:hover .rec-deco--3 { transform: scale(1.12); }
.top-recruit:hover .rec-deco--4 { transform: scale(1.05); }
.top-recruit:hover .rec-deco--5 { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .rec-deco { transition: none; }
  .top-recruit:hover .rec-deco { transform: none; }
}

.top-recruit__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.top-recruit__en {
  line-height: 0;
}
.top-recruit__wordmark {
  width: clamp(260px, 28vw, 403px);
  height: auto;
  transform: translateX(16px);
}
.top-recruit__cat {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.top-recruit__ttl {
  margin-top: 24px;
  font-size: clamp(26px, 2.639vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
}
.top-recruit__lead {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
}
.top-recruit__more {
  margin-top: 40px;
  justify-content: center;
}

@media (max-width: 768px) {
  .top-recruit { padding: 80px 0; }
  .top-recruit__deco { display: none; }
}

/* =========================================================
   BRAND SITE
   ========================================================= */
.top-brand {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
/* 背景画像はマウスオーバーで若干拡大 */
.top-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/top/brandsite-bg.webp") center / cover no-repeat;
  transition: transform 0.6s ease;
}
.top-brand:hover::before { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .top-brand::before { transition: none; }
  .top-brand:hover::before { transform: none; }
}
.top-brand__inner { position: relative; z-index: 1; text-align: center; }
.top-brand__logo { margin-bottom: 24px; }
.top-brand__logo img { width: 205px; height: auto; }
.top-brand__en {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.778vw, 40px);
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.top-brand__more { margin-top: 24px; }

@media (max-width: 600px) {
  .top-brand { padding: 64px 0; }
  .top-brand__logo img { width: 160px; }
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.top-insta {
  padding: 80px 0;
}
.top-insta__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.top-insta__lead {
  margin-top: 24px;
  font-size: 16px;
  color: var(--color-white);
}
.insta-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  /* PC はコンテナ幅（.l-inner と同じ 1168px）に収める */
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 24px;
}
.insta-list__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.insta-list__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  /* View More はフィード画像の下へ。head を display:contents で透過させ、
     見出し・フィード・View More を .top-insta の並びに参加させて order で入れ替える。
     head が担っていた .l-inner の左右余白と下マージンは、見出しブロックへ移す。 */
  .top-insta { padding: 56px 0; display: flex; flex-direction: column; }
  .top-insta__head { display: contents; }
  .top-insta__head-left { order: 1; padding: 0 24px; margin-bottom: 40px; }
  /* SP は従来どおり右端フルブリード */
  .insta-list { order: 2; grid-template-columns: repeat(3, 1fr); padding: 0 0 0 24px; }
  .top-insta__more { order: 3; padding: 0 24px; margin-top: 32px; }
}
@media (max-width: 600px) {
  .top-insta__head-left,
  .top-insta__more { padding: 0 16px; }
  .insta-list { grid-template-columns: repeat(2, 1fr); padding-left: 16px; }
}

/* =========================================================
   CONTACT / DOWNLOAD
   ========================================================= */
.top-cta {
  padding: 0 0 90px;
}
.top-cta__inner {
  display: flex;
  gap: 1.111vw;
}
.cta-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  min-height: 252px;
  background: var(--color-bg-card);
  /* カンプの左上・右下カット角を再現 */
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
/* ホバーで白背景をディゾルブ（クロスフェード）で重ねる */
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-white);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card:hover::before { opacity: 1; }
.cta-card__head { display: block; }
.cta-card__en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.472vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transition: color 0.4s ease;
}
.cta-card__jp {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.cta-card__desc {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-white);
  transition: color 0.4s ease;
}
.cta-card__more { margin-top: auto; padding-top: 32px; }
.cta-card .m-circle-link__label { transition: color 0.4s ease; }
.cta-card .m-circle-link__icon { transition: border-color 0.4s ease; }
/* 白背景のディゾルブに合わせて文字・円リンクを反転 */
.cta-card:hover .cta-card__en,
.cta-card:hover .cta-card__desc,
.cta-card:hover .m-circle-link__label { color: #1a1a1a; }
.cta-card:hover .m-circle-link__icon { border-color: #1a1a1a; }

@media (max-width: 768px) {
  .top-cta { padding: 0 0 64px; }
  .top-cta__inner { flex-direction: column; gap: 16px; }
}

/* =========================================================
   SCROLL REVEAL（スクロール連動フェードイン：JS有効時のみ）
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .is-js [data-reveal] {
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
  }
  .is-js [data-reveal].is-visible {
    opacity: 1;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-bg-dark);
  padding-top: 88px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 160px;
}
.footer__company { flex: 0 0 auto; }
.footer__logo { display: inline-flex; margin-bottom: 10px; }
.footer__logo-img { display: block; width: auto; height: 54px; }

@media (max-width: 768px) {
  .footer__logo-img { height: 36px; }
}
.footer__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer__address {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-gray);
}

.footer__nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-col { min-width: 72px; }
.foot-col__head { display: block; margin-bottom: 24px; }
.foot-col__en {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.foot-col__en .dot {
  /* デフォルトはドット非表示。ホバー時にオレンジ円＋矢印を表示（スロットは確保） */
  position: relative;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}
.foot-col__jp {
  display: block;
  margin-top: 4px;
  padding-left: 27px;
  font-size: 11px;
  color: var(--color-text-muted);
}
.foot-col__head:hover { opacity: 0.7; }

/* ヘッダー／フッターのナビ：デフォルトは小さいオレンジ丸、ホバーで円＋矢印に展開 */
.gnav__en .dot::after,
.foot-col__en .dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: width 0.3s ease, height 0.3s ease;
}
.gnav__en .dot::before,
.foot-col__en .dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 8.5px;
  height: 7.4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.5 7.36396' fill='none'%3E%3Cpath d='M8.35355 4.03553C8.54882 3.84027 8.54882 3.52369 8.35355 3.32843L5.17157 0.146447C4.97631 -0.0488155 4.65973 -0.0488155 4.46447 0.146447C4.2692 0.341709 4.2692 0.658291 4.46447 0.853554L7.29289 3.68198L4.46447 6.51041C4.2692 6.70567 4.2692 7.02225 4.46447 7.21751C4.65973 7.41278 4.97631 7.41278 5.17157 7.21751L8.35355 4.03553ZM0 3.68198V4.18198H8V3.68198V3.18198H0V3.68198Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gnav__link:hover .dot::after,
.foot-col__head:hover .dot::after {
  width: 19px;
  height: 19px;
}
.gnav__link:hover .dot::before,
.foot-col__head:hover .dot::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .gnav__en .dot::after,
  .gnav__en .dot::before,
  .foot-col__en .dot::after,
  .foot-col__en .dot::before { transition: none; }
}
.foot-col__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* 英字見出し／日本語と左端を揃える（オレンジ丸19px＋gap8px分） */
  padding-left: 27px;
}
.foot-col__list a {
  font-size: 12px;
  line-height: normal;
  color: var(--color-text-light);
}
.foot-col__list a:hover { color: var(--color-primary); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 45px 0 58px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__privacy { font-size: 13px; color: var(--color-text-muted); }
.footer__privacy:hover { color: var(--color-primary); }
.footer__copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-gray);
}

@media (max-width: 900px) {
  .footer__inner { flex-direction: column; gap: 48px; padding-bottom: 88px; }
}
@media (max-width: 600px) {
  .footer { padding-top: 56px; }
  .footer__inner { padding-bottom: 64px; }
  .footer__nav { gap: 32px 24px; }
  .foot-col { min-width: 40%; }
  .footer__bottom { padding: 32px 0; }
  /* 左端にプライバシーポリシー・右端にコピーライト（PCと同じ space-between）。
     狭い端末で詰まらないよう最小限の余白だけ確保する。 */
  .footer__bottom-inner { gap: 12px; }
}

/* =========================================================
   OPENING ANIMATION（オープニング演出 / 5フレームの絵コンテ準拠）
   設計値: 1440×900 フレーム / 中央軸 x=720 / オレンジ #f99c00
   ========================================================= */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-white);
}
.opening.is-hidden { display: none; }

/* スクロールロック */
.is-opening,
.is-opening body { overflow: hidden; }

/* 中央の縦オレンジ軸（フレーム2）
   初期状態は CSS で非表示にしておく（opening.js の gsap.set より先に描画される
   最初の1フレームで写真・ロゴ・コピーが丸見えになるちらつき防止。JS が同値を上書きする） */
.opening__axis {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--color-primary);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  /* 背景写真（.opening__bg）より前面に出し、シーン4〜5でも線を見せる。コピー（z-index:3）より背面。 */
  z-index: 2;
}

/* 背景写真（フレーム5）左=溶接 / 右=金属 */
.opening__bg {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
}
.opening__bg--left {
  left: 0;
  background-image: url("../img/opening/bg-left.webp");
}
.opening__bg--right {
  right: 0;
  background-image: url("../img/opening/bg-right.webp");
}

/* コピー */
.opening__lead {
  /* 読み込み画面ではFVワードマークの 80% で見せ、集合しながらFVと同寸まで拡大して着地させる
     （倍率は opening.js が両者の実寸から自動算出するので、ここは自由に変えてよい） */
  --wm-u: clamp(0.9605px, 0.121vw, 1.7372px); /* 従来比85%（FV側の縮小に合わせる） */
  position: absolute;
  z-index: 3;
  margin: 0;
  display: flex;
  align-items: flex-end; /* 文字SVGを下端（ベースライン）で揃える */
  line-height: 1;
  color: var(--color-bg-dark); /* currentColor 経由でSVGに反映（集合後に #fff へトゥイーン）*/
  white-space: nowrap;
}
/* 1文字ずつ分解したSVG（幅/高さは各文字ごとに inline style で指定）。JSでスタッガー表示する
   初期は非表示（起動時ちらつき防止。表示は opening.js のタイムラインが行う） */
.opening__char { display: block; fill: currentColor; opacity: 0; }

@media (max-width: 768px) {
  /* 読み込み画面は左右に振り分ける構図のため、画面幅に収まるサイズに独立して設定する。
     FVとの倍率差は opening.js が実測して集合時に吸収する。 */
  .opening__lead { --wm-u: clamp(0.44px, 0.152vw, 0.7px); }
}

.opening__lead--top {
  top: 19%;
  right: 50%;
  margin-right: 1.88vw;
  text-align: right;
}

@media (max-width: 600px) {
  .opening__lead--top { top: 13%; }
}

.opening__lead--bottom {
  top: 78%;
  left: 50%;
  margin-left: 2.4vw;
}

@media (max-width: 600px) {
  .opening__lead--bottom { top: 82%; }
}

/* ロゴ（左 TAS / 右 2AT・鏡像） */
.opening__logo {
  position: absolute;
  top: 50%;
  width: 40.13vw;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .opening__logo { width: 42vw; }
}

.opening__logo--left {
  right: 50%;
  margin-right: 3.72vw;
}

@media (max-width: 600px) {
  .opening__logo--left { margin-right: 1.5vw; }
}

.opening__logo--right {
  left: 50%;
  margin-left: 3.36vw;
}

@media (max-width: 600px) {
  .opening__logo--right { margin-left: 1.5vw; }
}
.opening__logo-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0; /* 初期は非表示（起動時ちらつき防止。表示は opening.js が行う） */
}

/* 単色ワードマーク（フレーム5用・写真ロゴと差し替え表示） */
.opening__logo-solid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
}

/* モーション無効設定 */
@media (prefers-reduced-motion: reduce) {
  .opening { display: none; }
}
