@charset "UTF-8";
/* ============================================================
   0003 汎用企業サイト雛形 - "SHIRO×KON" theme
   白ベース × 紺の装飾。左固定レール＋全画面メニュー、
   フルスクリーンMVスライダー、段違いギャラリーなど
   エディトリアル志向の構成。0001/0002とは別系統のレイアウト。
============================================================ */

:root {
  --navy:      #1a3358;   /* メインの紺 */
  --navy-deep: #0f2140;
  --navy-pale: #7d94b8;
  --ink:   #212832;
  --text:  #3a424d;
  --sub:   #79828d;
  --line:  #dfe3e8;
  --bg:    #ffffff;
  --bg-wash:#f4f6f8;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --rail-w: 96px;
  --topbar-h: 64px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  padding-left: var(--rail-w);   /* 左レールぶんの余白 */
  overflow-x: hidden;
}
@media (max-width: 1000px) {
  body { padding-left: 0; padding-top: var(--topbar-h); }
}

.en { font-family: var(--font-en); letter-spacing: 0.14em; }
.serif { font-family: var(--font-serif); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }

/* ============================================================
   左固定レール（デスクトップ）／トップバー（モバイル）
============================================================ */
.rail {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000;
  width: var(--rail-w);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 0 24px;
}
.rail-logo {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  position: relative;
}
.rail-logo::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255,255,255,0.35); }
.rail-company {
  margin-top: 22px;
  writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.32em;
  color: var(--ink);
}
.rail-scroll {
  margin-top: auto; margin-bottom: 22px;
  writing-mode: vertical-rl;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.4em;
  color: var(--sub); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.rail-scroll::after { content: ""; width: 1px; height: 46px; background: var(--sub); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* タブレット帯（651〜1000px）で表示するヘッダー内横並びナビ */
.rail-nav { display: none; }
.rail-nav a {
  position: relative;
  font-size: 13px; letter-spacing: 0.08em; color: var(--ink);
  padding: 4px 0; white-space: nowrap;
}
.rail-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--navy); transition: right 0.3s var(--ease);
}
.rail-nav a:hover { color: var(--navy); }
.rail-nav a:hover::after { right: 0; }

.menu-btn {
  margin-top: 26px;
  width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: border-color 0.3s;
}
.menu-btn:hover { border-color: var(--navy); }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: 0.35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-btn .menu-txt { display: none; }

/* メニュー展開時はレールごとオーバーレイの上へ */
body.menu-open .rail { z-index: 1200; background: transparent; border-color: transparent; }
body.menu-open .rail-logo { background: #fff; color: var(--navy); }
body.menu-open .rail-logo::after { border-color: rgba(26,51,88,0.3); }
body.menu-open .rail-company { color: #fff; }
body.menu-open .rail-scroll { opacity: 0; }
body.menu-open .menu-btn { border-color: rgba(255,255,255,0.4); background: transparent; }
body.menu-open .menu-btn span { background: #fff; }
body.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .rail {
    top: 0; left: 0; right: 0; bottom: auto;
    width: auto; height: var(--topbar-h);
    flex-direction: row; padding: 0 16px;
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .rail-logo { width: 38px; height: 38px; font-size: 18px; }
  .rail-company { writing-mode: horizontal-tb; margin: 0 0 0 12px; letter-spacing: 0.14em; font-size: 14px; }
  .rail-scroll { display: none; }
  /* タブレット帯：横並びナビを表示、ハンバーガーは隠す */
  .rail-nav { display: flex; gap: 20px; margin-left: auto; }
  .menu-btn { display: none; }
}

/* タブレット帯で社名が長い場合の調整 */
@media (max-width: 1000px) and (min-width: 651px) {
  .rail-company { font-size: 13px; }
}

/* スマホ帯（〜650px）：横並びナビを隠し、ハンバーガー＋全画面メニューに戻す */
@media (max-width: 650px) {
  .rail-nav { display: none; }
  .menu-btn { display: block; margin: 0 0 0 auto; width: 42px; height: 42px; }
}

/* ---------- 全画面メニュー ---------- */
.fullmenu {
  position: fixed; inset: 0; z-index: 1100;
  background: linear-gradient(130deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
body.menu-open .fullmenu { opacity: 1; visibility: visible; }
.fullmenu-nav { display: flex; flex-direction: column; justify-content: center; padding: 60px 8vw; gap: 4px; }
.fullmenu-nav a {
  display: flex; align-items: baseline; gap: 22px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  transform: translateY(24px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
body.menu-open .fullmenu-nav a { transform: translateY(0); opacity: 1; }
.fullmenu-nav a:nth-child(2) { transition-delay: 0.05s; }
.fullmenu-nav a:nth-child(3) { transition-delay: 0.1s; }
.fullmenu-nav a:nth-child(4) { transition-delay: 0.15s; }
.fullmenu-nav a:nth-child(5) { transition-delay: 0.2s; }
.fullmenu-nav a:nth-child(6) { transition-delay: 0.25s; }
.fullmenu-nav .m-jp { font-family: var(--font-serif); font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 0.16em; transition: color 0.3s; }
.fullmenu-nav .m-en { font-family: var(--font-en); font-style: italic; font-size: 13px; letter-spacing: 0.24em; color: var(--navy-pale); text-transform: capitalize; }
.fullmenu-nav a:hover .m-jp { color: var(--navy-pale); }
.fullmenu-info {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 60px 6vw; border-left: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.fullmenu-info .tel { font-family: var(--font-en); font-size: 30px; letter-spacing: 0.08em; color: #fff; }
.fullmenu-info .btn { margin-top: 10px; }
@media (max-width: 650px) {
  .fullmenu { grid-template-columns: 1fr; overflow-y: auto; }
  .fullmenu-nav { padding: calc(var(--topbar-h) + 24px) 28px 12px; justify-content: flex-start; }
  .fullmenu-info { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding: 24px 28px 48px; justify-content: flex-start; }
}

/* ============================================================
   MV（全画面スライダー）
============================================================ */
.mv {
  position: relative;
  height: calc(100vh - 0px);
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}
@media (max-width: 1000px) { .mv { height: calc(100vh - var(--topbar-h)); min-height: 480px; } }

.mv-slides, .mv-slide { position: absolute; inset: 0; }
.mv-slide { opacity: 0; transition: opacity 1.8s ease; }
.mv-slide.is-active { opacity: 1; }
.mv-slide .ph { width: 100%; height: 100%; }
.mv-slide .ph::after { display: none; }
.mv-slide .slide-label {
  position: absolute; top: 18px; right: 22px; z-index: 2;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.6);
}
.mv::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(15deg, rgba(15,33,64,0.72) 0%, rgba(15,33,64,0.18) 55%, rgba(15,33,64,0.05) 100%);
  pointer-events: none;
}

.mv-copy { position: absolute; left: 6vw; bottom: 14vh; z-index: 2; color: #fff; }
.mv-copy .mv-en {
  font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: 0.34em;
  color: rgba(255,255,255,0.8); display: block; margin-bottom: 22px;
}
.mv-copy h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.9; letter-spacing: 0.16em;
  text-shadow: 0 2px 30px rgba(15,33,64,0.5);
}
.mv-copy h1 span { display: inline-block; background: rgba(15,33,64,0.28); padding: 0 18px; margin-bottom: 10px; }
.mv-copy .mv-sub { margin-top: 24px; font-size: 13.5px; letter-spacing: 0.12em; color: rgba(255,255,255,0.85); }

/* 縦書きの銘（右端） */
.mv-tate {
  position: absolute; right: 4vw; top: 50%; transform: translateY(-50%); z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.42em;
  color: rgba(255,255,255,0.9);
  padding: 26px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(15,33,64,0.18);
}
@media (max-width: 650px) { .mv-tate { display: none; } }

/* スライドカウンター＋プログレス */
.mv-count {
  position: absolute; right: 6vw; bottom: 8vh; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: 0.2em; color: #fff;
}
.mv-count .bar { width: 120px; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.mv-count .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.mv-count .bar i.run { animation: mvbar 5s linear forwards; }
@keyframes mvbar { to { transform: scaleX(1); } }
@media (max-width: 650px) {
  .mv-copy { left: 24px; right: 24px; bottom: 12vh; }
  .mv-copy h1 { font-size: clamp(22px, 6vw, 30px); letter-spacing: 0.1em; line-height: 2.0; }
  .mv-copy h1 span { padding: 0 10px; }
  .mv-count { right: 24px; }
}

/* ============================================================
   セクション共通（左に細線＋英字のエディトリアル見出し）
============================================================ */
section { position: relative; }
.sec { padding: 130px 0; }
@media (max-width: 768px) { .sec { padding: 72px 0; } }
.sec-wash { background: var(--bg-wash); }
.sec-navy { background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: #fff; }

.ed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; flex-wrap: wrap; }
.ed-head .t {
  display: flex; flex-direction: column; gap: 14px;
}
.ed-head .t .en-i {
  font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: 0.3em;
  color: var(--navy-pale);
}
.ed-head .t h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 0.14em; line-height: 1.6;
  color: var(--ink);
  padding-left: 26px; position: relative;
}
.ed-head .t h2::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 2px; background: var(--navy); }
.ed-head .lead { max-width: 380px; font-size: 13.5px; color: var(--sub); }
.sec-navy .ed-head .t h2 { color: #fff; }
.sec-navy .ed-head .t h2::before { background: var(--navy-pale); }
.sec-navy .ed-head .t .en-i { color: var(--navy-pale); }
.sec-navy .ed-head .lead { color: rgba(255,255,255,0.65); }

/* ---------- statement（理念） ---------- */
.statement { text-align: center; padding: 150px 0 140px; }
.statement::before {
  content: ""; display: block; width: 1px; height: 72px; background: var(--navy);
  margin: 0 auto 44px;
}
.statement .en-i { font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: 0.34em; color: var(--navy-pale); display: block; margin-bottom: 30px; }
.statement h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 2.2; letter-spacing: 0.22em;
  color: var(--ink);
}
.statement h2 em { font-style: normal; color: var(--navy); }
.statement p { max-width: 620px; margin: 36px auto 0; font-size: 14px; color: var(--sub); }
@media (max-width: 768px) { .statement { padding: 88px 0 80px; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 26px;
  flex-shrink: 0; white-space: nowrap;
  padding: 0 0 12px;
  border: none; border-bottom: 1px solid var(--ink);
  background: none; color: var(--ink);
  font-size: 14px; letter-spacing: 0.2em; font-weight: 500;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.btn .arrow {
  width: 40px; height: 1px; background: currentColor; position: relative; flex-shrink: 0;
  transition: width 0.4s var(--ease);
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 10px; height: 1px; background: currentColor; transform: rotate(35deg); transform-origin: right center;
}
.btn:hover { color: var(--navy); border-color: var(--navy); }
.btn:hover .arrow { width: 64px; }
.btn.on-white { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn.on-white:hover { color: var(--navy-pale); border-color: var(--navy-pale); }
.btn.btn-solid {
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  padding: 17px 34px; letter-spacing: 0.16em;
}
.btn.btn-solid:hover { background: #fff; color: var(--navy); }
.btn.btn-solid.inverse { background: #fff; color: var(--navy); border-color: #fff; }
.btn.btn-solid.inverse:hover { background: transparent; color: #fff; }
.btn-center { text-align: center; margin-top: 64px; }

/* ---------- placeholder ---------- */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background:
    repeating-linear-gradient(-45deg, rgba(26,51,88,0.05) 0 2px, transparent 2px 14px),
    #edf0f3;
  color: #9aa5b1;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-en); font-size: 11.5px; letter-spacing: 0.16em;
  background: rgba(255,255,255,0.92); padding: 5px 14px;
  white-space: nowrap;
}
.ph.r-16-9 { aspect-ratio: 16/9; }
.ph.r-4-3 { aspect-ratio: 4/3; }
.ph.r-3-4 { aspect-ratio: 3/4; }
.ph.r-1-1 { aspect-ratio: 1/1; }
.ph.r-21-9 { aspect-ratio: 21/9; }

/* Generated demo photography. Map placeholders remain available for embedding. */
.ph:not([data-label*="MAP" i]) {
  background: url("../assets/site-photo-alt.jpg") center / cover no-repeat;
}
.ph:not([data-label*="MAP" i])::after { display: none; }
.mv-slide:first-child .ph { background-image: url("../assets/site-photo.jpg"); }

/* ============================================================
   business（全幅帯リスト）
============================================================ */
.biz-band { position: relative; display: block; border-top: 1px solid var(--line); overflow: hidden; }
.biz-band:last-child { border-bottom: 1px solid var(--line); }
.biz-band .band-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.biz-band .band-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,33,64,0.86) 30%, rgba(15,33,64,0.55));
}
.biz-band .band-bg .ph { height: 100%; }
.biz-band .band-bg .ph::after { display: none; }
.biz-band:hover .band-bg { opacity: 1; }
.biz-band .band-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 110px 1fr auto; gap: 36px; align-items: center;
  padding: 44px 0;
  transition: color 0.5s;
}
.biz-band .b-num { font-family: var(--font-en); font-style: italic; font-size: 42px; color: var(--navy-pale); line-height: 1; }
.biz-band h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; letter-spacing: 0.14em; color: var(--ink); transition: color 0.4s; }
.biz-band h3 small { display: block; font-family: var(--font-en); font-style: italic; font-size: 12.5px; letter-spacing: 0.26em; color: var(--navy-pale); margin-top: 6px; }
.biz-band p.b-desc { grid-column: 2; font-size: 13.5px; color: var(--sub); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.5s, color 0.4s; }
.biz-band .b-arrow {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); color: var(--ink);
  transition: 0.4s var(--ease);
}
.biz-band:hover .band-inner { color: #fff; }
.biz-band:hover h3 { color: #fff; }
.biz-band:hover p.b-desc { max-height: 120px; opacity: 1; color: rgba(255,255,255,0.85); }
.biz-band:hover .b-arrow { background: #fff; color: var(--navy); border-color: #fff; transform: rotate(45deg); }
@media (max-width: 768px) {
  .biz-band .band-inner { grid-template-columns: 60px 1fr auto; gap: 18px; padding: 30px 0; }
  .biz-band .b-num { font-size: 28px; }
  .biz-band p.b-desc { grid-column: 1 / -1; }
  .biz-band .b-arrow { width: 40px; height: 40px; }
}

/* ============================================================
   works（段違いギャラリー）
============================================================ */
.stagger { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px 56px; }
.stagger .work-item:nth-child(even) { transform: translateY(84px); }
.stagger { padding-bottom: 84px; } /* 段差ぶんの逃げ */
.work-item { display: block; }
.work-item .w-img { overflow: hidden; position: relative; }
.work-item .w-img .ph { transition: transform 0.8s var(--ease); }
.work-item:hover .w-img .ph { transform: scale(1.05); }
.work-item .w-img::after {
  content: ""; position: absolute; inset: 0;
  background: var(--navy); opacity: 0; transition: opacity 0.4s;
}
.work-item:hover .w-img::after { opacity: 0.14; }
.work-item .w-cat {
  display: inline-block; margin-top: 20px;
  font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: 0.26em;
  color: var(--navy-pale);
}
.work-item h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink); margin-top: 6px; }
.work-item .w-meta { font-size: 12px; color: var(--sub); margin-top: 6px; letter-spacing: 0.1em; }
@media (max-width: 700px) {
  .stagger { grid-template-columns: 1fr; gap: 44px; padding-bottom: 0; }
  .stagger .work-item:nth-child(even) { transform: none; }
}

/* ============================================================
   numbers（白地・細線区切りの横帯）
============================================================ */
.numline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numline .n {
  padding: 52px 20px; text-align: center;
  border-left: 1px solid var(--line);
}
.numline .n:first-child { border-left: none; }
.numline .figure { font-family: var(--font-en); font-size: clamp(38px, 4vw, 58px); line-height: 1; color: var(--navy); white-space: nowrap; }
.numline .figure span { font-size: 0.4em; margin-left: 2px; color: var(--navy-pale); }
.numline .label { margin-top: 14px; font-size: 12px; letter-spacing: 0.18em; color: var(--sub); }
@media (max-width: 768px) {
  .numline { grid-template-columns: repeat(2, 1fr); }
  .numline .n:nth-child(odd) { border-left: none; }
  .numline .n:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ============================================================
   photo band（採用・CTA）
============================================================ */
.photo-band { position: relative; overflow: hidden; color: #fff; }
.photo-band .pb-bg { position: absolute; inset: 0; }
.photo-band .pb-bg .ph { height: 100%; }
.photo-band .pb-bg .ph::after { display: none; }
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,33,64,0.88), rgba(26,51,88,0.6));
}
.photo-band .pb-inner { position: relative; z-index: 2; padding: 120px 0; }
.photo-band .en-i { font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: 0.32em; color: var(--navy-pale); display: block; margin-bottom: 24px; }
.photo-band h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.9; letter-spacing: 0.18em; margin-bottom: 26px; }
.photo-band p { max-width: 560px; font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 44px; }
@media (max-width: 768px) { .photo-band .pb-inner { padding: 72px 0; } }

/* ============================================================
   news（2カラム・点線区切り）
============================================================ */
.news2col { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.news2col .n-side { position: sticky; top: 110px; }
.news2col .n-side .en-i { font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: 0.3em; color: var(--navy-pale); display: block; margin-bottom: 14px; }
.news2col .n-side h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: 0.16em; color: var(--ink); padding-left: 24px; position: relative; }
.news2col .n-side h2::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 2px; background: var(--navy); }
.news2col .n-side .btn { margin-top: 36px; }
@media (max-width: 860px) {
  .news2col { grid-template-columns: 1fr; gap: 32px; }
  .news2col .n-side { position: static; }
}

.news-line li { border-bottom: 1px dashed var(--line); }
.news-line li:first-child { border-top: 1px dashed var(--line); }
.news-line a {
  display: grid; grid-template-columns: 120px 92px 1fr; gap: 22px; align-items: center;
  padding: 24px 4px;
  transition: background 0.3s;
}
.news-line a:hover { background: var(--bg-wash); }
.news-line .d { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.14em; color: var(--navy); }
.news-line .c { font-size: 11px; letter-spacing: 0.1em; color: var(--sub); border: 1px solid var(--line); text-align: center; padding: 3px 6px; }
.news-line .t { font-size: 13.5px; }
@media (max-width: 640px) {
  .news-line a { grid-template-columns: auto auto; }
  .news-line .t { grid-column: 1 / -1; }
}

/* ============================================================
   下層ページ共通
============================================================ */
.page-head {
  padding: 96px 0 0;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb { display: flex; justify-content: flex-end; font-family: var(--font-en); font-size: 11.5px; letter-spacing: 0.16em; color: var(--sub); padding-bottom: 18px; }
.page-head .crumb a:hover { color: var(--navy); }
.page-head .crumb .sep { margin: 0 8px; opacity: 0.5; }
.page-head .ttl { display: flex; align-items: baseline; gap: 28px; padding-bottom: 44px; flex-wrap: wrap; }
.page-head .ttl h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 46px); letter-spacing: 0.16em; color: var(--ink);
  padding-left: 26px; position: relative;
}
.page-head .ttl h1::before { content: ""; position: absolute; left: 0; top: 0.28em; bottom: 0.28em; width: 2px; background: var(--navy); }
.page-head .ttl .en-i { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: 0.3em; color: var(--navy-pale); }
@media (max-width: 768px) { .page-head { padding-top: 48px; } }

/* ---------- 汎用グリッド・表 ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }

.dot-table { }
.dot-table tr { border-bottom: 1px dashed var(--line); }
.dot-table tr:first-child { border-top: 1px solid var(--navy); }
.dot-table th, .dot-table td { text-align: left; padding: 22px 14px; font-size: 14px; vertical-align: top; }
.dot-table th { width: 210px; color: var(--ink); font-weight: 700; letter-spacing: 0.1em; }
.dot-table th small { display: block; font-family: var(--font-en); font-style: italic; font-weight: 400; font-size: 11px; letter-spacing: 0.2em; color: var(--navy-pale); }
@media (max-width: 620px) {
  .dot-table, .dot-table tbody, .dot-table tr, .dot-table th, .dot-table td { display: block; width: 100%; }
  .dot-table th { padding-bottom: 2px; }
  .dot-table td { padding-top: 0; }
}

/* ---------- 実績タブ（テキストリンク型） ---------- */
.filter-links { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.filter-links button {
  background: none; border: none; cursor: pointer;
  font-size: 13.5px; letter-spacing: 0.14em; color: var(--sub);
  padding: 2px 0; position: relative;
}
.filter-links button::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--navy);
  transition: right 0.35s var(--ease);
}
.filter-links button.is-active, .filter-links button:hover { color: var(--navy); }
.filter-links button.is-active::after, .filter-links button:hover::after { right: 0; }

/* ---------- FAQ ---------- */
.qa-item { border-bottom: 1px dashed var(--line); }
.qa-item:first-child { border-top: 1px solid var(--navy); }
.qa-q {
  width: 100%; text-align: left; display: flex; align-items: baseline; gap: 20px;
  padding: 26px 6px; background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: 0.08em; color: var(--ink);
}
.qa-q .q-en { font-family: var(--font-en); font-style: italic; font-size: 19px; color: var(--navy-pale); flex-shrink: 0; }
.qa-q .plus { margin-left: auto; color: var(--navy); font-weight: 300; font-size: 22px; transition: transform 0.3s var(--ease); }
.qa-item.is-open .plus { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); padding: 0 6px 0 48px; font-size: 13.5px; color: var(--sub); }
.qa-item.is-open .qa-a { padding-bottom: 26px; }

/* ---------- voice（インタビュー風・写真上） ---------- */
.person { }
.person .p-img { overflow: hidden; }
.person .p-img .ph { transition: transform 0.7s var(--ease); }
.person:hover .p-img .ph { transform: scale(1.04); }
.person .p-role { margin-top: 18px; font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: 0.24em; color: var(--navy-pale); }
.person h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink); margin: 4px 0 12px; }
.person p { font-size: 13.5px; color: var(--sub); }

/* ---------- 募集要項（横線リスト型） ---------- */
.job-line { border-bottom: 1px dashed var(--line); padding: 36px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }
.job-line:first-child { border-top: 1px solid var(--navy); }
.job-line h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); }
.job-line h3 small { display: block; font-size: 11px; font-family: var(--font-jp); letter-spacing: 0.14em; color: var(--navy); border: 1px solid var(--navy); display: inline-block; padding: 2px 12px; margin-top: 12px; }
.job-line dl { display: grid; grid-template-columns: 110px 1fr; row-gap: 8px; font-size: 13.5px; color: var(--sub); }
.job-line dt { color: var(--ink); font-weight: 700; }
@media (max-width: 768px) { .job-line { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- form（2カラム型） ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.contact-side { position: sticky; top: 110px; }
.contact-side .tel { font-family: var(--font-en); font-size: 32px; letter-spacing: 0.08em; color: var(--navy); }
.contact-side .hours { font-size: 12px; color: var(--sub); }
.contact-side .divider { width: 40px; height: 1px; background: var(--navy); margin: 28px 0; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-side { position: static; }
}

.form-row { margin-bottom: 30px; }
.form-row label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; letter-spacing: 0.1em; margin-bottom: 10px; color: var(--ink); }
.req-mark { font-size: 10px; color: var(--navy); border: 1px solid var(--navy); padding: 1px 9px; font-weight: 700; letter-spacing: 0.1em; }
.opt-mark { font-size: 10px; color: var(--sub); border: 1px solid var(--line); padding: 1px 9px; letter-spacing: 0.1em; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row select, .form-row textarea {
  width: 100%; padding: 14px 4px; border: none; border-bottom: 1px solid var(--line); background: transparent; font-size: 15px;
  transition: border-color 0.3s; border-radius: 0;
}
.form-row select { padding: 14px 4px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-bottom-color: var(--navy); }
.form-row textarea { resize: vertical; min-height: 150px; border: 1px solid var(--line); padding: 14px; }
.form-row textarea:focus { border-color: var(--navy); }
.privacy-agree { background: var(--bg-wash); padding: 26px; margin: 36px 0; font-size: 13px; }
.privacy-agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin-top: 12px; }
.error-msg { color: #b0413a; font-size: 12.5px; margin-top: 6px; display: block; }

/* ---------- CTA帯（紺・左右分割） ---------- */
.cta2 { border-top: 1px solid var(--line); }
.cta2 .cta2-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.cta2 .cta2-l {
  background: linear-gradient(140deg, var(--navy), var(--navy-deep));
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 64px 7%;
  position: relative; overflow: hidden;
}
.cta2 .cta2-l::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 50%;
}
.cta2 .cta2-l .en-i { font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: 0.3em; color: var(--navy-pale); margin-bottom: 18px; }
.cta2 .cta2-l h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.16em; line-height: 1.9; }
.cta2 .cta2-r {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 64px 7%;
  background: var(--bg-wash);
}
.cta2 .cta2-r .tel { font-family: var(--font-en); font-size: 34px; letter-spacing: 0.06em; color: var(--navy); line-height: 1.2; }
.cta2 .cta2-r .tel small { display: block; font-family: var(--font-jp); font-size: 11.5px; letter-spacing: 0.2em; color: var(--sub); margin-bottom: 6px; }
@media (max-width: 860px) { .cta2 .cta2-grid { grid-template-columns: 1fr; } }

/* ============================================================
   footer（白ベース）
============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 88px 0 0;
  text-align: center;
  background: #fff;
}
.site-footer .f-logo {
  width: 54px; height: 54px; margin: 0 auto;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 26px; position: relative;
}
.site-footer .f-logo::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,0.35); }
.site-footer .f-name { font-family: var(--font-serif); font-size: 19px; letter-spacing: 0.2em; color: var(--ink); margin-top: 18px; }
.site-footer .f-en { font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: 0.3em; color: var(--sub); margin-top: 4px; }
.site-footer .f-addr { font-size: 12.5px; color: var(--sub); margin-top: 20px; }
.site-footer .f-nav { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin: 44px 0 0; font-size: 13px; letter-spacing: 0.12em; }
.site-footer .f-nav a { position: relative; padding-bottom: 4px; }
.site-footer .f-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--navy); transition: 0.3s var(--ease); }
.site-footer .f-nav a:hover { color: var(--navy); }
.site-footer .f-nav a:hover::after { left: 0; right: 0; }
.site-footer .f-bottom {
  margin-top: 56px; padding: 22px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; color: var(--sub);
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px;
  background: #fff; color: var(--navy); border: 1px solid var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: 0.35s var(--ease); z-index: 900;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--navy); color: #fff; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- reveal / parallax ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-down {
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal { transform: translateY(44px); }
.reveal-l { transform: translateX(-56px); }
.reveal-r { transform: translateX(56px); }
.reveal-down { transform: translateY(-40px); }
.reveal.is-inview, .reveal-l.is-inview, .reveal-r.is-inview, .reveal-down.is-inview { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

[data-plx] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-down { opacity: 1; transform: none; transition: none; }
  [data-plx] { transform: none !important; }
  .mv-slide { transition: none; }
}

.text-center { text-align: center; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 768px) { .gallery3 { grid-template-columns: 1fr; } }
