@charset "UTF-8";

/* =========================================================
   Yamazaki Souken — main.css（サイト全体のスタイルはこの1ファイル）
   1. Variables / 2. Base / 3. Layout & Parts / 4. Header / 5. Top (MV, News, ...)
   6. Lower pages / 7. Form / 8. Footer / 9. Utilities / 10. Motion
   ========================================================= */

/* ---------------------------------------------------------
   1. Variables
--------------------------------------------------------- */
:root {
  --c-main: #0457aa;
  --c-accent: #359BC9;
  --c-dark: #0d1c35;
  --c-text: #333;
  --c-sub: #6b7280;
  --c-gray: #F6F7F9;
  --c-line: #d9dde3;
  --c-error: #c0392b;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", YuGothic, "游ゴシック体", "BIZ UDPGothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
  --font-en: "Roboto", "Noto Sans JP", sans-serif;

  --hh: 100px;           /* ヘッダー高さ(上の余白を広めに取る) */
  --radius: 4px;
  --shadow: 0 8px 28px rgba(0, 20, 60, .10);
}

/* ---------------------------------------------------------
   2. Base
--------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hh);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  line-break: strict;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 10000;
  padding: 10px 16px;
  background: #fff;
  color: var(--c-main);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

body.nav-locked { overflow: hidden; }

.pc-br { display: inline; }

/* ---------------------------------------------------------
   3. Layout & Parts
--------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.section--gray { background: var(--c-gray); }

/* Section title */
.sec-title { line-height: 1.2; }
.sec-title__en {
  display: flex;
  align-items: center;
  gap: .28em;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--c-main);
}
.sec-title__en::before { content: ""; flex: none; width: .42em; height: .42em; border-radius: 50%; background: currentColor; } /* ● */
.sec-title__ja {
  display: block;
  margin-top: 14px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 200; /* 細字 */
  line-height: 1.3;
  letter-spacing: .08em;
  color: var(--c-text);
}
.sec-title--center { text-align: center; }
.sec-title--center .sec-title__en { justify-content: center; }
.sec-title--light .sec-title__en,
.sec-title--light .sec-title__ja { color: #fff; }

.sec-lead {
  max-width: 40em;
  margin: 32px auto 0;
  text-align: center;
}

.sub-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-main);
}
.sub-title span {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: .2em;
  color: var(--c-accent);
}
.sub-title--center { text-align: center; margin-top: clamp(64px, 8vw, 96px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
  transition: background .25s, color .25s, transform .25s;
}
.btn::after { content: "→"; margin-left: 10px; font-family: var(--font-en); transition: transform .25s; }
.btn:hover::after { transform: translateX(4px); }
.btn--primary { background: var(--c-main); color: #fff; }
.btn--primary:hover { background: var(--c-accent); }
.btn--dark { background: #4b4b4b; color: #fff; }
.btn--dark:hover { background: #222; }
.btn--white { background: #fff; color: var(--c-main); }
.btn--white:hover { background: var(--c-dark); color: #fff; }
.btn--gray { background: #e6e8ec; color: #333; }
.btn--gray::after { display: none; }
.btn--gray:hover { background: #d5d8de; }

/* News list（トップ・一覧共通） */
.news-list { border-top: 1px solid var(--c-line); }
.news-item { border-bottom: 1px solid var(--c-line); }
.news-item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 28px;
  padding: 24px 12px;
  transition: background .25s;
}
.news-item a::after { content: "→"; font-family: var(--font-en); color: var(--c-main); transition: transform .25s; }
.news-item a:hover { background: rgba(4, 87, 170, .04); }
.news-item a:hover::after { transform: translateX(4px); }
.news-item__meta { display: flex; align-items: center; gap: 14px; }
.news-item__date { font-family: var(--font-en); font-size: 16px; font-weight: 500; color: var(--c-sub); letter-spacing: .08em; }
.news-item__tag {
  display: inline-block;
  min-width: 92px;
  padding: 1px 12px;
  border: 1px solid var(--c-main);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--c-main);
  background: #fff;
}
.news-item__title { font-weight: 700; }
.news-empty { padding: 32px 0; color: var(--c-sub); }

/* Pagination */
.pagination { margin-top: 48px; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff; font-family: var(--font-en); font-weight: 700;
}
.page-numbers.current { background: var(--c-main); border-color: var(--c-main); color: #fff; }
a.page-numbers:hover { border-color: var(--c-main); color: var(--c-main); }

/* ---------------------------------------------------------
   4. Header
   - MV上(.site-header--overlay): 背景なし・白文字。左右は画面端から20px
   - MVを出る(.is-solid): 白背景・濃色文字。下層ページは最初から .is-solid
   - ハンバーガー切替幅は main.js の NAV_BP と揃える(1279px)
--------------------------------------------------------- */
.site-header {
  --ink: #fff;
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--hh);
  z-index: 9999;
  color: var(--ink);
  background: transparent;
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid,
.site-header.is-open { --ink: var(--c-dark); background: #fff; }
.site-header.is-solid { box-shadow: 0 2px 16px rgba(0, 20, 60, .08); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 中央ナビを画面中央に */
  align-items: center;
  column-gap: 24px;
  height: 100%;
  padding: 0 20px; /* 画面左右端から20px。中身は上下中央 */
}

/* 左: ロゴ(高さ基準。幅は自動) + 社名 */
.site-header__logo { position: relative; z-index: 2; justify-self: start; display: flex; align-items: center; gap: 12px; color: inherit; }
.site-header__logo img { height: 40px; width: auto; flex: none; transition: filter .3s; }
/* MV上のロゴは白抜き。白背景になったら元の色 */
.site-header:not(.is-solid):not(.is-open) .site-header__logo img { filter: brightness(0) invert(1); }
.site-header__logo-text { font-size: 22px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; white-space: nowrap; }

/* 中央: ナビ */
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
  position: relative; display: block; padding: 8px 18px;
  font-size: 16px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; color: inherit;
}
.site-nav__list a::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-nav__list a:hover::after,
.site-nav__list a.is-current::after { transform: scaleX(1); }
.site-header.is-solid .site-nav__list a:hover,
.site-header.is-solid .site-nav__list a.is-current { color: var(--c-main); }
.site-nav__cta { display: none; }

/* アイコン(電話・メール) */
.ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.ico::before { content: ""; width: 54%; height: 54%; background: var(--ico-color, currentColor); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico--tel  { --ico-color: #05a9e6; --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/></svg>"); }
.ico--mail { --ico-color: var(--c-main); --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v.35l-10 6.25L2 6.35V6zm0 2.7V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8.7l-9.47 5.92a1 1 0 0 1-1.06 0L2 8.7z'/></svg>"); }

/* 右: 電話 + フォーム */
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.hd-tel { display: flex; align-items: center; gap: 10px; color: inherit; white-space: nowrap; text-align: left; }
.hd-tel .ico { width: 40px; height: 40px; }
.hd-tel__text { display: block; }
.hd-tel__num { display: block; font-family: var(--font-en); font-size: 20px; font-weight: 700; letter-spacing: .04em; line-height: 1.15; }
.hd-tel { height: 56px; color: #fff; }
/* 白いヘッダーのとき: 文字は青、アイコンの丸は水色地に白抜き */
.site-header.is-solid .hd-tel { color: #05a9e6; }
.site-header.is-solid .hd-tel .ico { background: #05a9e6; --ico-color: #fff; }

.hd-form {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0;
  color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
  transition: opacity .25s;
}
/* 白いヘッダーのとき: 文字は青、アイコンの丸は青地に白抜き */
.site-header.is-solid .hd-form { color: var(--c-main); }
.site-header.is-solid .hd-form .ico { background: var(--c-main); --ico-color: #fff; }
.hd-form .ico { width: 40px; height: 40px; }
.hd-form:hover { opacity: .75; }

/* Hamburger(狭い画面のみ) */
.site-header__toggle { display: none; position: relative; z-index: 2; justify-self: end; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--c-main); color: #fff; }
.site-header__toggle span { position: absolute; left: 14px; width: 20px; height: 2px; border-radius: 1px; background: #fff; transition: transform .3s, opacity .3s, top .3s; }
.site-header__toggle span:nth-child(1) { top: 16px; }
.site-header__toggle span:nth-child(2) { top: 23px; }
.site-header__toggle span:nth-child(3) { top: 30px; }
.site-header.is-open .site-header__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.site-header.is-open .site-header__toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1360px) {
  .site-nav__list a { padding: 8px 12px; }
  .site-nav__list a::after { left: 12px; right: 12px; }
  .site-header__actions { gap: 16px; }
}

/* 1279px以下: ハンバーガー + 全画面メニュー */
@media (max-width: 1279px) {
  :root { --hh: 76px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__logo img { height: 32px; }
  .site-header__logo-text { font-size: 18px; }
  .site-header__actions { display: none; }
  .site-header__toggle { display: block; }

  .site-nav {
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh;
    padding: calc(var(--hh) + 24px) 24px 40px; background: #fff; color: var(--c-dark); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { position: relative; padding: 20px 40px 20px 4px; border-bottom: 1px solid #ccd1cd; font-size: 16px; }
  .site-nav__list a:hover, .site-nav__list a.is-current { color: var(--c-main); }
  /* 全項目の右端に、常に青い「＞」 */
  .site-nav__list a::after, .site-nav__list a:hover::after, .site-nav__list a.is-current::after { content: ""; display: block; position: absolute; left: auto; right: 10px; top: 50%; bottom: auto; width: 9px; height: 9px; border: 0; border-top: 2px solid var(--c-main); border-right: 2px solid var(--c-main); background: none; transform: translateY(-50%) rotate(45deg); }

  .site-nav__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
  .nav-cta { display: flex; border-radius: 14px; text-align: center; }
  .nav-cta--tel { flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px; background: #eaf1fa; color: var(--c-main); }
  .nav-cta__label { font-size: 16px; font-weight: 700; letter-spacing: .08em; }
  .nav-cta__main { display: flex; align-items: center; gap: 12px; }
  .nav-cta--tel .ico { width: 44px; height: 44px; background: var(--c-main); --ico-color: #fff; }
  .nav-cta__num { font-family: var(--font-en); font-size: 32px; font-weight: 700; letter-spacing: .04em; line-height: 1.1; }
  .nav-cta__time { font-size: 16px; color: #444; }
  .nav-cta--mail { align-items: center; justify-content: center; gap: 12px; padding: 20px 16px; background: var(--c-main); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
  .nav-cta--mail .ico { width: 40px; height: 40px; background: #fff; --ico-color: var(--c-main); }
}

/* ---------------------------------------------------------
   5. Top
--------------------------------------------------------- */

/* --- MV : どのデバイスでも画面の縦横100% --- */
.mv-stage { position: relative; }

.mv {
  position: relative;
  width: 100%;
  height: 100vh;   /* fallback */
  height: 100svh;  /* モバイルのURLバーを含めない安定した高さ */
  overflow: hidden;
  background: var(--c-dark);
  color: #fff;
}
.mv picture, .mv__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.mv__img { object-fit: cover; object-position: 55% center; } /* 溶接の光(画像の横55%付近)を縦長画面でも残す */
.mv::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 45, .42) 0, rgba(8, 20, 45, 0) 180px),
    linear-gradient(90deg, rgba(8, 20, 45, .62) 0%, rgba(8, 20, 45, .28) 55%, rgba(8, 20, 45, .12) 100%);
  pointer-events: none;
}
.mv__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--hh) 4vw 26vh; /* 流れる文字との間に余白を取る */
}
.mv__title {
  font-size: clamp(34px, 6.2vw, 100px);
  font-weight: 700;
  font-style: italic; /* 太字イタリック(Noto Sans JPに斜体はないため擬似斜体) */
  line-height: 1.25;
  letter-spacing: .02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.mv__lead {
  max-width: 40em;
  margin-top: 20px;
  font-size: clamp(16px, 2.2vw, 32px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.mv__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 48px); bottom: calc(clamp(64px, 11vw, 180px) * 0.6 + 8px); /* 流れる文字の上に退避 */
  display: block;
  width: 84px; height: 92px; white-space: nowrap;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
}
.mv__scroll span { display: block; padding-left: .2em; }
.mv__scroll::after {
  content: "";
  position: absolute; left: 50%; top: 30px;
  width: 1px; height: 52px;
  background: rgba(255, 255, 255, .35);
}
.mv__scroll::before {
  content: "";
  position: absolute; left: 50%; top: 30px;
  width: 1px; height: 22px;
  background: #fff;
  z-index: 1;
  animation: mvScroll 1.8s ease-in-out infinite;
}
@keyframes mvScroll {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

/* --- MVと次のセクションの境目: もやっとした青(マーキーの背景) --- */
.mv-haze {
  --haze-h: clamp(260px, 32vw, 500px);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100vh - var(--haze-h) / 2);
  top: calc(100svh - var(--haze-h) / 2); /* MVの下端が帯の真ん中に来る */
  z-index: 2;
  height: var(--haze-h);
  background: linear-gradient(180deg,
    rgba(70, 140, 224, 0) 0,
    rgba(70, 140, 224, .5) 34%,
    rgba(96, 158, 236, .66) 52%,
    rgba(170, 203, 245, .5) 74%,
    rgba(214, 229, 250, 0) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 60%, transparent 100%);
  pointer-events: none;
}

/* --- MV直下: 常に流れる文字(マーキー) --- */
.marquee {
  --mq-fs: clamp(64px, 11vw, 180px);
  --mq-split: calc(var(--mq-fs) * 0.6); /* 文字の上端からMV下端までの距離(= margin-topと同じ値) */
  position: relative;
  z-index: 3;
  margin-top: calc(var(--mq-fs) * -0.6); /* MV写真の下端にかぶせる */
  height: calc(var(--mq-fs) * 1.1);
  overflow: hidden;
  pointer-events: none;
}
.marquee__track { position: absolute; top: 0; left: 0; display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__track--white { color: #fff; clip-path: inset(0 0 calc(100% - var(--mq-split)) 0); }
.marquee__track--blue  { color: var(--c-main); clip-path: inset(var(--mq-split) 0 0 0); }
.marquee__group { display: flex; flex: none; }
.marquee__item {
  flex: none;
  padding-right: .8em;
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: var(--mq-fs);
  line-height: 1.1;
  letter-spacing: .02em;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- お知らせ --- */
.mv-next { padding: clamp(120px, 16vw, 260px) 0 clamp(72px, 9vw, 120px); background: #fff; }
.news-sec { padding: clamp(64px, 8vw, 110px) 0; background: #f4f6f9; }
.message-split { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; width: auto; max-width: none; margin: 0 0 0 max(0px, calc((100vw - 1120px) / 2)); padding: 0 20px 0 24px; }
.sec-title--msg .sec-title__en { display: block; white-space: nowrap; font-size: clamp(44px, 6vw, 84px); font-weight: 700; letter-spacing: .04em; color: var(--c-main); }
.sec-title--msg .sec-title__en::before { display: none; }
.sec-title--msg .sec-title__ja { display: flex; align-items: center; gap: .5em; margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: .12em; color: #111; }
.sec-title--msg .sec-title__ja::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #111; }
.message-block { padding-top: 35px; }
.message-block__lead { margin: 0 0 .9em; font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; line-height: 1.6; letter-spacing: .03em; color: #111; text-wrap: balance; word-break: auto-phrase; }
.message-block__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 2.2; letter-spacing: .04em; }




/* --- Company --- */

.company-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.company-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.outline { margin: 0; border-top: 1px solid #ccc; }
.company-side { display: grid; grid-template-columns: 1fr; gap: 20px; }
.company-side__link { justify-self: start; }
.company-side__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #e3eaf3; }
.company-side__img img { width: 100%; height: 100%; object-fit: cover; }
.company-map { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #e3eaf3; }
.company-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.company-side__link { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--c-main); }
.company-side__arrow { position: relative; width: 28px; height: 28px; border: 1px solid var(--c-main); border-radius: 50%; }
.company-side__arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -6px; background: var(--c-main); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 1023px) { .company-split { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .company-wrap { padding: 0 20px; } }
.outline__row { display: flex; border-bottom: 1px solid #ccc; }
.outline dt { position: relative; flex: 0 0 200px; padding: 20px 10px; font-size: 16px; font-weight: 500; line-height: 1.5; color: #0554a3; }
.outline dt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #0554a3; }
.outline__row:first-child dt::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: #0554a3; }
.outline dd { flex: 1; min-width: 0; margin: 0; padding: 20px 10px; font-weight: 500; line-height: 1.5; color: #404040; }
.outline__line { display: block; }
.outline a { color: inherit; }

/* --- Recruit --- */
.recruit { position: relative; z-index: 2; overflow: hidden; color: #fff; padding-bottom: clamp(56px, 7vw, 112px); border-bottom: 1px solid #fff; }
.recruit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.recruit__body { padding: clamp(72px, 8vw, 112px) 0; }
.recruit .sec-title--msg .sec-title__en, .recruit .sec-title--msg .sec-title__ja { color: #fff; }
.recruit .sec-title--msg .sec-title__ja::before { background: #fff; }
.recruit__title { margin: 28px 0 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.65; letter-spacing: .03em; }
.recruit__text { margin: 20px 0 0; font-size: 16px; line-height: 1.95; color: rgba(255, 255, 255, .92); }
.recruit__more { margin-top: clamp(28px, 3.4vw, 44px); }
.recruit__btn { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 340px; padding: 18px 28px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .06em; transition: background .3s, color .3s; }
.recruit__btn i { position: relative; flex: none; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.recruit__btn:hover i { transform: translateX(8px); }
.recruit__btn i::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.recruit__btn:hover { background: #fff; color: var(--c-main); }

/* 右: 縦に流れる写真2列(互い違いに逆向き) */
.recruit__photos { display: flex; gap: 16px; width: 100%; max-width: 600px; height: clamp(520px, 46vw, 680px); justify-self: end; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.recruit__col { flex: 1; min-width: 0; }
.recruit__track { animation: ys-vscroll 60s linear infinite; }
.recruit__col:nth-child(2) { margin-top: 56px; }
.recruit__col:nth-child(2) .recruit__track { animation-direction: reverse; animation-duration: 72s; }
.recruit__group { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
.recruit__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #0a3466; }
.recruit__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ys-vscroll { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .recruit__track { animation: none; } }
@media (max-width: 1023px) {
  .recruit__inner { grid-template-columns: 1fr; gap: 0; }
  .recruit__body { padding-bottom: 40px; }
  .recruit__photos { justify-self: stretch; max-width: none; height: 420px; margin-bottom: 0; }
}
@media (max-width: 767px) {
  .recruit__inner { padding: 0 20px; }
  .recruit__body { padding-top: 56px; }
  .recruit__photos { height: 360px; gap: 12px; }
  .recruit__group { gap: 12px; padding-bottom: 12px; }
  .recruit__btn { max-width: none; }
}

/* --- CTA (CONTACT) --- */

/* ---------------------------------------------------------
   6. Lower pages
--------------------------------------------------------- */
.page-main { background: #fff; }
.page-main > .section:first-child { padding-top: clamp(40px, 5vw, 72px); }
.page-hero { --hero-r: 20px; position: relative; overflow: hidden; display: flex; align-items: flex-end; box-sizing: border-box; min-height: clamp(400px, 42vw, 620px); padding: clamp(120px, 12vw, 170px) 0 clamp(36px, 5vw, 72px); border-radius: 0 0 var(--hero-r) var(--hero-r); background: #0b1a33; color: #fff; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 22, 48, .82) 0, rgba(6, 22, 48, .68) 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .55; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-hero__inner { position: relative; z-index: 2; box-sizing: border-box; width: min(1280px, calc(100% - clamp(40px, 8vw, 160px))); margin: 0 auto; }
.page-hero__en { font-family: var(--font-en); font-size: clamp(56px, 9vw, 128px); font-weight: 300; letter-spacing: .02em; line-height: 1.05; }
.page-hero__ja { margin-top: clamp(14px, 2vw, 28px); font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: .08em; }
.page-crumb { margin-top: clamp(20px, 2.5vw, 36px); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero .breadcrumb a:hover { color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; font-size: 16px; color: #6b7280; }
.breadcrumb li + li::before { content: "\203A"; margin: 0 12px; }
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--c-main); }

/* Business detail */
/* 目次 */
.biz-index { padding: clamp(40px, 5vw, 72px) 0 clamp(8px, 2vw, 24px); }
.biz-index__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); width: min(1280px, calc(100% - clamp(40px, 8vw, 160px))); margin: 0 auto; border-top: 1px solid var(--c-line); }
.biz-index__list a { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 22px 36px 22px 4px; border-bottom: 1px solid var(--c-line); font-weight: 700; color: var(--c-text); }
.biz-index__num { font-family: var(--font-en); font-size: 16px; letter-spacing: .1em; color: var(--c-accent); }
.biz-index__arrow { position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--c-main); border-bottom: 2px solid var(--c-main); transform: translateY(-50%) rotate(45deg); transition: transform .3s; }
.biz-index__list a:hover .biz-index__arrow { transform: translateY(-20%) rotate(45deg); }

/* 事業ごとのブロック */
.biz-detail { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 130px) 0; background: #fff; scroll-margin-top: 80px; }
.biz-detail:nth-of-type(even) { background: #f1f5fa; }
.biz-detail__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; width: min(1280px, calc(100% - clamp(40px, 8vw, 160px))); margin: 0 auto; }
.biz-detail:nth-of-type(even) .biz-detail__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.biz-detail:nth-of-type(even) .biz-detail__body { order: 2; }
.biz-detail__body { position: relative; }
.biz-detail__head { display: flex; align-items: center; gap: 14px; }
.biz-detail__num { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; padding: 0 8px; box-sizing: border-box; background: var(--c-main); color: #fff; font-family: var(--font-en); font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.biz-detail__label { font-family: var(--font-en); font-size: 16px; font-weight: 700; letter-spacing: .2em; color: var(--c-accent); }
.biz-detail__title { position: relative; z-index: 1; margin: clamp(16px, 1.8vw, 24px) 0 clamp(18px, 2vw, 28px); font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; line-height: 1.45; color: var(--c-main); }
.biz-detail__text { position: relative; z-index: 1; line-height: 2; }

/* 写真(1〜5枚): 1枚目を大きく、2枚目以降を下に1列で並べる */
.biz-detail__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.biz-detail__photos.is-n2 { grid-template-columns: 1fr; }
.biz-detail__photos.is-n3 { grid-template-columns: repeat(2, 1fr); }
.biz-detail__photos.is-n4 { grid-template-columns: repeat(3, 1fr); }
.biz-detail__ph { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: #1b3a5c; aspect-ratio: 4 / 3; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) calc(var(--d, 0) * .18s); }
.biz-detail__ph.is-in { clip-path: inset(0); }
.biz-detail__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * .18s + .1s); }
.biz-detail__ph.is-in img { transform: none; }
.biz-detail__ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.biz-detail__photos.is-n1 .biz-detail__ph:first-child { aspect-ratio: 4 / 3; }
.biz-detail__photos.is-n2 .biz-detail__ph:nth-child(2) { aspect-ratio: 16 / 7; }
.biz-detail__photos.is-n4 .biz-detail__ph:not(:first-child), .biz-detail__photos.is-n5 .biz-detail__ph:not(:first-child) { aspect-ratio: 1 / 1; }

/* News single */
.news-detail { background: #f1f5fa; }
.news-single { padding: clamp(28px, 5vw, 56px); background: #fff; border-radius: 8px; }
.news-single__head { padding-bottom: 4px; }
.news-single .news-item__tag { border: 0; background: #eaf1fa; }
.news-single__thumb { margin-top: 28px; } .news-single__thumb img { width: 100%; height: auto; border-radius: 6px; }
.news-single__title { margin-top: 14px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.6; }
.news-single .entry-content { margin-top: 28px; }

/* 前の記事 / 次の記事 */
.news-pager { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.news-pager__item { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 22px clamp(48px, 5vw, 64px); border-radius: 8px; background: #fff; color: var(--c-text); transition: background-color .3s, color .3s; }
.news-pager__item--empty { background: transparent; }
.news-pager__item--next { text-align: right; }
.news-pager__dir { font-size: 16px; font-weight: 700; color: var(--c-main); }
.news-pager__date { font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--c-sub); }
.news-pager__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; line-height: 1.6; }
.news-pager__item::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--c-main); border-right: 2px solid var(--c-main); transition: transform .3s, border-color .3s; }
.news-pager__item--prev::after { left: 24px; transform: translateY(-50%) rotate(-135deg); }
.news-pager__item--next::after { right: 24px; transform: translateY(-50%) rotate(45deg); }
.news-pager__item--empty::after { display: none; }
a.news-pager__item:hover { background: var(--c-main); color: #fff; }
a.news-pager__item:hover .news-pager__dir, a.news-pager__item:hover .news-pager__date { color: #fff; }
a.news-pager__item:hover::after { border-color: #fff; }
a.news-pager__item--prev:hover::after { transform: translate(-4px, -50%) rotate(-135deg); }
a.news-pager__item--next:hover::after { transform: translate(4px, -50%) rotate(45deg); }
.news-single__back { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.entry-content { padding-top: 28px; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content img { border-radius: 4px; }
.entry-content a { color: var(--c-main); text-decoration: underline; }
.entry-content ul { list-style: disc; padding-left: 1.5em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; }
.entry-content h2, .entry-content h3 { margin-top: 2em; font-weight: 700; color: var(--c-main); }
.entry-content .wp-block-image { margin-left: 0; margin-right: 0; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }

/* Thanks / 404 */
.thanks { text-align: center; padding: clamp(24px, 4vw, 40px) 0; }
.thanks__title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--c-main); }
.thanks__text { margin: 20px 0 40px; }

/* Privacy policy */
.policy-sec { background: #f1f5fa; }
.policy { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.policy__lead { margin: 0; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: 8px; line-height: 2; }
.policy__item { padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: 8px; }
.policy__title { margin-bottom: 14px; padding: 8px 16px; background: #eaf1fa; border-radius: 6px; font-size: 18px; font-weight: 700; color: var(--c-main); }
.policy p { line-height: 2; }

/* ---------------------------------------------------------
   7. Form
--------------------------------------------------------- */
.form__lead { margin-bottom: 32px; }
.form__lead a { color: var(--c-main); text-decoration: underline; }
.form__heading { margin-bottom: 12px; font-size: 22px; font-weight: 700; color: var(--c-main); }
.form__notice { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--c-error); border-radius: var(--radius); background: #fdf1ef; color: var(--c-error); font-weight: 700; }

.form { background: #fff; padding: clamp(24px, 5vw, 56px); border-radius: 8px; }
.form__row { display: grid; grid-template-columns: 240px 1fr; gap: 12px 24px; padding: 14px 0; }
.form__hp + .form__row { padding-top: 0; }
.form__label { display: flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.4; }
.form__req { flex: none; padding: 2px 10px; border-radius: 20px; background: #de653a; color: #fff; font-size: 16px; line-height: 1.6; }
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field textarea {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 6px;
  background: #eef2f8;
  font-size: 16px; /* iOSでフォーカス時に拡大されないよう16px */
  transition: background-color .2s, box-shadow .2s;
}
.form__field input::placeholder { color: #9aa3b0; }
.form__field textarea { resize: vertical; min-height: 180px; line-height: 1.7; }
.form__field input:focus,
.form__field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px var(--c-main); }
.form__field [aria-invalid="true"] { background: #fdecea; }
.form__error { margin-top: 8px; color: var(--c-error); font-size: 16px; font-weight: 700; }
.form__privacy { margin-top: 24px; font-size: 16px; text-align: center; }
.form__privacy a { color: var(--c-main); text-decoration: underline; }
.form__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.confirm { border-radius: 6px; overflow: hidden; }
.confirm__row { display: grid; grid-template-columns: 240px 1fr; gap: 8px 24px; padding: 20px clamp(16px, 2.4vw, 28px); }
.confirm__row:nth-child(odd) { background: #eef2f8; }
.confirm dt { font-weight: 700; }
.confirm dd { overflow-wrap: anywhere; }

/* お問い合わせ: 上=お電話 / 下=フォーム */
.contact-tel { padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 72px); background: #fff; }
.contact-tel__inner, .contact-form__inner { width: min(1000px, calc(100% - clamp(40px, 8vw, 160px))); margin: 0 auto; }
.contact-tel__box { margin-top: clamp(24px, 3vw, 40px); padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); border-radius: 6px; background: #eaf1fa; text-align: center; }
.contact-tel__lead { margin-bottom: 16px; font-weight: 700; }
.contact-tel__num { display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); font-family: var(--font-en); font-size: clamp(36px, 6vw, 68px); font-weight: 700; letter-spacing: .04em; line-height: 1.1; color: var(--c-main); }
.contact-tel__num .ico { width: clamp(44px, 5vw, 64px); height: clamp(44px, 5vw, 64px); background: var(--c-main); --ico-color: #fff; }
.contact-tel__time { margin-top: 14px; }
.contact-form { padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 9vw, 130px); background: #f1f5fa; scroll-margin-top: 80px; }

/* ステップバー */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); padding: 0; list-style: none; }
.steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: clamp(88px, 18vw, 160px); font-weight: 700; color: #9aa3b0; }
.steps__item + .steps__item::before { content: ""; position: absolute; top: 21px; right: 50%; width: 100%; height: 2px; background: #d9dde3; }
.steps__num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e6e8ec; color: #7b8493; font-family: var(--font-en); font-size: 18px; }
.steps__item.is-current { color: var(--c-main); }
.steps__item.is-current .steps__num { background: var(--c-main); color: #fff; box-shadow: 0 0 0 5px rgba(4, 87, 170, .15); }
.steps__item.is-done { color: var(--c-main); }
.steps__item.is-done .steps__num { background: #fff; color: var(--c-main); box-shadow: inset 0 0 0 2px var(--c-main); }
.steps__item.is-current::before, .steps__item.is-done::before { background: var(--c-main); }

.form__opt { flex: none; padding: 2px 10px; border-radius: 20px; background: #e6e8ec; color: #555; font-size: 16px; line-height: 1.6; }
.form__req--inline { margin: 0 4px; }
.form__agree { margin-top: 28px; text-align: center; }
.form__check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.form__check input { flex: none; width: 24px; height: 24px; accent-color: var(--c-main); cursor: pointer; }
.form__check a { color: var(--c-main); text-decoration: underline; }
.form__agree .form__error { text-align: center; }
.form__rc { margin-top: 20px; color: var(--c-error); font-weight: 700; text-align: center; }
.form__recaptcha { margin-top: 24px; font-size: 16px; line-height: 1.7; color: var(--c-sub); text-align: center; }
.form__recaptcha a { color: var(--c-main); text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; } /* 注意書きを表示しているのでバッジは非表示 */
.confirm__none { color: #9aa3b0; }

/* ---------------------------------------------------------
   8. Footer
--------------------------------------------------------- */

/* ---------------------------------------------------------
   9. Responsive
--------------------------------------------------------- */
@media (max-width: 1024px) {
  /* 見出し → 一覧 → 「一覧をみる」ボタンの順に縦積み */
}

@media (max-width: 798px) {
  body { font-size: 16px; }
  .pc-br { display: none; }
  .container { padding: 0 20px; }

  .mv::after { background: linear-gradient(180deg, rgba(8, 20, 45, .5) 0%, rgba(8, 20, 45, .3) 60%, rgba(8, 20, 45, .5) 100%); }
  .mv__inner { padding: var(--hh) 20px 190px; }
  .mv__lead { margin-top: 20px; line-height: 1.9; }

  .mv-next { padding: 104px 0 56px; }
  .news-sec { padding: 56px 0; }

  .news-item a { grid-template-columns: 1fr auto; padding: 18px 4px; }
  .news-item__meta { grid-column: 1 / -1; }
  .news-item__title { grid-column: 1; }


  .outline dt { flex-basis: 96px; padding: 16px 8px; }
  .outline dd { padding: 16px 8px; }


  .biz-index__list { grid-template-columns: 1fr; }
  .biz-detail__inner, .biz-detail:nth-of-type(even) .biz-detail__inner { grid-template-columns: 1fr; gap: 32px; }
  .biz-detail:nth-of-type(even) .biz-detail__body { order: 0; }
  .biz-detail__photos.is-n5 { grid-template-columns: repeat(2, 1fr); }
  .biz-detail__photos.is-n5 .biz-detail__ph:not(:first-child) { aspect-ratio: 4 / 3; }

  .news-pager { grid-template-columns: 1fr; }
  .news-pager__item--empty { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 10px; }
  .confirm__row { grid-template-columns: 1fr; gap: 4px; }
  .form__actions .btn { width: 100%; }

        }

/* 横向きスマホなど高さが低い画面: 本文が見切れないようにする */
@media (max-height: 480px) {
  .mv__title { font-size: 30px; letter-spacing: .02em; }
  .mv__lead { margin-top: 12px; font-size: 16px; line-height: 1.6; }
  .mv__scroll { display: none; }
}

/* ---------------------------------------------------------
   10. Motion
--------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mv__scroll::before { animation: none; }
  .site-nav, .site-nav__list a::after, .site-header__toggle span { transition: none; }
}


/* --- お知らせ：サムネイルカードのスライダー --- */
.news-wrap { margin: 0 0 0 max(0px, calc((100vw - 1120px) / 2)); padding: 0 0 0 24px; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-right: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.news-head__side { display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap; padding-bottom: 10px; }
.news-ctrl { display: flex; align-items: center; gap: 16px; }
.news-ctrl__btn { position: relative; width: 44px; height: 44px; border: 1px solid var(--c-main); border-radius: 50%; background: #fff; cursor: pointer; transition: background .3s, opacity .3s; }
.news-ctrl__btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--c-main); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.news-ctrl__btn--prev::before { transform: scaleX(-1); }
.news-ctrl__btn:hover:not(:disabled) { background: rgba(4, 87, 170, .08); }
.news-ctrl__btn:disabled { opacity: .35; cursor: default; }
.news-ctrl__count { margin: 0; font-family: var(--font-en); font-size: 16px; color: var(--c-sub); }
.news-ctrl__count b { font-size: 28px; font-weight: 700; color: var(--c-main); }
.news-more { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--c-main); font-size: 16px; font-weight: 700; color: var(--c-main); }
.news-more__arrow { position: relative; width: 36px; height: 36px; border: 1px solid var(--c-main); border-radius: 50%; }
.news-more__arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -7px; background: var(--c-main); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h10M6 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.news-track { --gap: 40px; display: flex; gap: var(--gap); margin: 0; padding: 0 20px 4px 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.news-track::-webkit-scrollbar { display: none; }
.news-card { flex: 0 0 calc((100% - var(--gap) * 2 - 20px) / 3); scroll-snap-align: start; min-width: 0; }
.news-card a { display: block; color: var(--c-text); }
.news-card__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e3eaf3; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card__thumb .news-card__noimg { object-fit: contain; padding: 18%; }
.news-card a:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; }
.news-card__date { font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--c-main); }
.news-card__tag { font-size: 16px; font-weight: 500; color: var(--c-sub); }
.news-card__new { padding: 0 8px; background: #e0392b; color: #fff; font-family: var(--font-en); font-size: 16px; font-weight: 700; font-style: italic; line-height: 1.5; }
.news-card__title { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.7; }
.news-card a:hover .news-card__title { color: var(--c-main); }
@media (max-width: 1023px) {
  .news-wrap { margin-left: 0; padding-left: 24px; }
  .news-track { --gap: 24px; }
  .news-card { flex-basis: calc((100% - var(--gap) - 20px) / 2); }
}
@media (max-width: 767px) {
  .news-wrap { padding-left: 20px; }
  .news-track { --gap: 16px; }
  .news-card { flex-basis: 78%; }
  .news-head__side { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .news-card__thumb img { transition: none; } }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) 40px; margin: 0; padding: 0; list-style: none; }
.news-grid .news-card { flex: none; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 767px) { .news-grid { grid-template-columns: 1fr; } }

/* --- ごあいさつ・お知らせ：タブレット／スマホは縦積み --- */
@media (max-width: 1023px) {
  .message-split { grid-template-columns: 1fr; margin-left: 0; padding: 0 24px; }
  .message-block { padding-top: 0; }
}
@media (max-width: 767px) {
  .message-split { gap: 28px; padding: 0 20px; }
  .message-block__text { font-size: 16px; line-height: 2; }
  .message-block__lead { font-size: 24px; }
}

/* --- 事業内容：背景は画面に固定したままぼやけ、カードが順に現れる --- */
.biz-reveal { position: relative; --p: 0; background: #0d1c35; }
.biz-reveal__bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.biz-reveal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.biz-reveal__blur { position: absolute; inset: 0; -webkit-backdrop-filter: blur(calc(var(--p) * 30px)); backdrop-filter: blur(calc(var(--p) * 30px)); }
.biz-reveal__overlay { position: absolute; inset: 0; background: rgba(2, 30, 46, .51); opacity: var(--p); }
.biz-reveal__main { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; padding: 78svh 0 clamp(80px, 9vw, 140px); }
.biz-inner { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.biz-inner .sec-title { margin-bottom: clamp(32px, 4vw, 56px); }
.biz-reveal .sec-title--msg .sec-title__en { color: #fff; }
.biz-reveal .sec-title--msg .sec-title__ja { color: #fff; }
.biz-reveal .sec-title--msg .sec-title__ja::before { background: #fff; }

.biz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(72px, 7vw, 112px) clamp(28px, 3.4vw, 56px); margin: 0; padding: 0; list-style: none; }
.biz-card:nth-child(3n + 2) { margin-top: clamp(40px, 5vw, 80px); }
.biz-card:nth-child(3n) { margin-top: clamp(80px, 10vw, 160px); }
.biz-card { opacity: 0; transform: translateY(56px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * .16s); }
.biz-card.is-in { opacity: 1; transform: none; }
.biz-card__link { display: block; color: #fff; }
.biz-card__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1b3a5c; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) calc(var(--d, 0) * .16s + .1s); }
.biz-card.is-in .biz-card__img { clip-path: inset(0); }
.biz-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 20, 40, .55)); }
.biz-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * .16s + .1s); }
.biz-card.is-in .biz-card__img img { transform: none; }
.biz-card.is-in .biz-card__link:hover .biz-card__img img { transform: scale(1.06); transition-duration: .9s; transition-delay: 0s; }
.biz-card__body { display: block; position: relative; padding: 0 4px; }
.biz-card__head { display: flex; align-items: flex-end; gap: 16px; margin-top: -.52em; font-size: clamp(64px, 6vw, 88px); line-height: 1; }
.biz-card__num { position: relative; font-family: var(--font-en); font-size: 1em; font-weight: 900; line-height: .9; letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(0, 10, 30, .5); }
.biz-card__en { display: block; margin-top: 20px; font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.biz-card__title { display: block; margin-top: 6px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; line-height: 1.35; letter-spacing: .03em; }
.biz-card__text { display: block; margin-top: 12px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .88); }
.biz-card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid #fff; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.biz-card__more i { position: relative; flex: none; width: 18px; height: 18px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.biz-card__more i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: 0 0 0 -6px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.biz-card__link:hover .biz-card__more { opacity: .8; }
.biz-card__link:hover .biz-card__more i { transform: translateX(5px); }
@media (max-width: 1023px) {
  .biz-inner { padding: 0 24px; }
  .biz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-card { --d: 0 !important; }
  .biz-card:nth-child(n) { margin-top: 0; }
  .biz-card:nth-child(2n) { margin-top: clamp(32px, 6vw, 64px); }
}
@media (max-width: 767px) {
  .biz-reveal__main { padding-top: 70svh; }
  .biz-inner { padding: 0 20px; }
  .biz-cards { grid-template-columns: 1fr; gap: 112px; }
  .biz-card:nth-child(n) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .biz-reveal { --p: 1; }
  .biz-card { opacity: 1; transform: none; transition: none; }
  .biz-card__img { clip-path: none; transition: none; }
  .biz-card__img img { transform: none; transition: none; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #0a3466; color: #fff; }
.site-footer__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.site-footer__shade { position: absolute; inset: 0; background: rgba(6, 30, 62, .9); }
.site-footer__main, .site-footer__marquee { position: relative; z-index: 2; }
.site-footer__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1720px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) clamp(24px, 4vw, 72px) 40px; }
.site-footer__info { text-align: center; }
.site-footer__brand { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
.site-footer__mark { width: 120px; height: 120px; background: #fff; -webkit-mask: url(../images/logo.svg) center / contain no-repeat; mask: url(../images/logo.svg) center / contain no-repeat; }
.site-footer__name { font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.site-footer__call { width: 100%; max-width: 320px; }
.site-footer__call-label { display: block; font-size: 16px; font-weight: 700; }
.site-footer__tel { display: block; margin-top: 4px; font-family: var(--font-en); font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.site-footer__call-time { display: block; margin-top: 4px; font-size: 16px; opacity: .85; }
.site-footer__address { margin: 8px 0 0; font-size: 16px; font-weight: 500; }
.site-footer__copy { margin: 20px 0 0; font-size: 16px; opacity: .8; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.site-footer__nav a { display: block; }
.site-footer__nav b { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; }
.site-footer__nav span { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: .06em; opacity: .85; }
.site-footer__nav a:hover b { text-decoration: underline; }
.site-footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.site-footer__contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 320px; padding: 22px 32px; border: 1px solid #fff; border-radius: 999px; background: #fff; color: var(--c-main); transition: background .3s, color .3s, border-color .3s; }
.site-footer__contact:hover { background: var(--c-main); border-color: var(--c-main); color: #fff; }
.site-footer__contact span { font-size: 16px; font-weight: 700; line-height: 1.4; }
.site-footer__contact b { display: block; font-family: var(--font-en); font-size: 24px; letter-spacing: .08em; }
.site-footer__contact i { position: relative; width: 28px; height: 2px; background: currentColor; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.site-footer__contact:hover i { transform: translateX(8px); }
.site-footer__contact i::after { content: ""; position: absolute; right: 1px; top: 50%; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.site-footer__marquee { overflow: hidden; padding: 8px 0 0; line-height: .8; }
.site-footer__marquee-track { display: flex; width: max-content; animation: ys-marquee 40s linear infinite; }
.site-footer__marquee-track span { flex: none; padding-right: .5em; font-family: var(--font-en); font-size: clamp(88px, 15vw, 240px); font-weight: 900; letter-spacing: .02em; white-space: nowrap; color: rgba(255, 255, 255, .14); }
@keyframes ys-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .site-footer__marquee-track { animation: none; } }
@media (max-width: 1023px) {
  .site-footer__main { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__info { text-align: left; }
  .site-footer__brand { align-items: flex-start; }
  .site-footer__mark { width: 88px; height: 88px; }
  .site-footer__side { align-items: flex-start; }
}
@media (max-width: 767px) {
  .site-footer__main { padding: 56px 20px 32px; }
  .site-footer__nav { gap: 24px 16px; }
  .site-footer__nav b { font-size: 18px; }
  .site-footer__contact { max-width: none; }
}
.site-footer__nav li:last-child { grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) {
  .biz-detail__ph { clip-path: none; transition: none; }
  .biz-detail__ph img { transform: none; transition: none; }
}
