@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
/* GEPSILON コーポレートサイト（静的版）
   忠実再現仕様（../faithful-spec.md）に基づく。
   書体は本番サイト生成CSSの .rich_font スタックを全面採用。
   色は実測モノクローム体系のみ。色は写真からのみ。 */

/* ============ 変数 ============ */
:root {
  --font-serif: "Cormorant Garamond", "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho",
    "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", serif;
  --color-base: #ffffff;
  --color-ink: #252525;
  --color-gray: #535353;
  --color-faint: #7d7d7d;
  --color-deep: #444444;
  --color-line: #dddddd;
  --color-field-line: #cccccc;
  --color-panel: #f5f5f5;
  --color-black: #000000;
  --color-side-current: #9a9a9a;
  --color-news-cat: #c4c400;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-reveal: 1200ms;
  --duration-micro: 400ms;
  /* タイプシステム（2026-12-01 統一）：サイズ・ウェイト・字間はこのトークン経由で指定する。
     ウェイト方針：見出し 600／本文 400。ENラベルも同スタック＋字間で揃える。 */
  --fs-display: 40px;  /* セクション見出し（EN） */
  --fs-h2: 28px;       /* キャッチ・帯タイトル */
  --fs-h3: 24px;       /* パネル見出し・ワードマーク */
  --fs-brand: 24px;    /* ヘッダーのワードマーク（SPは 20px に再定義） */
  --fs-body: 16px;     /* 本文 */
  --fs-small: 14px;    /* ラベル・補足 */
  --fs-tab: 14px;      /* タブ（SPは 12px に再定義） */
  --fs-caption: 12px;  /* 最小注記 */
  --fw-heading: 600;
  --fw-body: 400;
  --ls-display: 0.14em;
  --ls-sub: 0.22em;
  --ls-nav: 0.12em;
  --ls-heading: 0.1em;
  --ls-label: 0.08em;
  --ls-text: 0.04em;
}
@media (max-width: 900px) {
  :root {
    --fs-display: 30px;
    --fs-brand: 20px;
    --fs-tab: 12px;
  }
}

/* ============ 土台 ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-base);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}
/* フォーム部品は UA 既定書体に逃がさない（全ページ共通の明示） */
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.br-sp { display: none; }

/* ============ ローディング ============ */
html.no-splash .splash { display: none !important; }
.splash {
  position: fixed; inset: 0; z-index: 300;
  background: #222222;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center; color: #fff;
  transition: transform 0.7s cubic-bezier(0.83, 0, 0.17, 1) 0.95s, visibility 0s linear 1.7s;
}
.splash__inner { transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.splash__mark {
  width: 87px; height: auto; opacity: 0;
  animation: splash-fade 1.2s ease 0.4s forwards, splash-float 1.5s ease-in-out 1.6s infinite alternate;
}
.splash__message {
  margin-top: 30px; font-weight: var(--fw-heading); font-size: var(--fs-body); line-height: 1.5; letter-spacing: var(--ls-text);
  opacity: 0; animation: splash-fade 1.2s ease 1.1s forwards;
}
.splash__dots { display: inline-block; margin-left: 6px; }
.splash__dots i {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; margin-right: 5px; opacity: 0.25;
  animation: splash-dot 0.9s linear infinite;
}
.splash__dots i:nth-child(2) { animation-delay: 0.15s; }
.splash__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes splash-fade { to { opacity: 1; } }
@keyframes splash-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes splash-dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (max-width: 680px) {
  .splash__message { font-size: var(--fs-small); }
}
body.is-done .splash { transform: translateY(-100%); visibility: hidden; pointer-events: none; }
body.is-done .splash__inner { opacity: 0; }

/* ============ ヘッダー ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: stretch;
  background: var(--color-base);
  border-bottom: 1px solid var(--color-line);
  transition: background var(--duration-micro) ease, border-color var(--duration-micro) ease;
}
.site-header__brand {
  flex: 0 0 208px; width: 208px;
  background: var(--color-ink); color: #fff;
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px;
}
.site-header__brand img { width: 32px; height: auto; flex: none; }
.site-header__brand span { font-size: var(--fs-brand); letter-spacing: var(--ls-text); white-space: nowrap; }
.site-nav {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 46px;
}
.site-nav a { font-size: var(--fs-small); letter-spacing: var(--ls-nav); white-space: nowrap; }
.site-nav a:hover { color: var(--color-faint); }
.nav-toggle { display: none; }

/* ヒーローに重なるヘッダー（初期は透明＋白文字、スクロールで白地化） */
.site-header--overlay {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--overlay .site-nav a { color: #fff; }
.site-header--overlay .site-nav a:hover { color: rgba(255, 255, 255, 0.7); }
.site-header--overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom-color: rgba(37, 37, 37, 0.08);
}
.site-header--overlay.is-scrolled .site-nav a { color: var(--color-ink); }
.site-header--overlay.is-scrolled .site-nav a:hover { color: var(--color-faint); }

/* ヒーローのないページはヘッダー分の余白を確保 */
body.solid-header main { padding-top: var(--header-h); }

/* ============ フッター ============ */
.site-footer {
  background: var(--color-base);
  text-align: center;
  padding: 62px 24px 58px;
}
.to-top {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--color-line);
  color: var(--color-ink); font-family: inherit; font-size: var(--fs-body); line-height: 1;
  transition: background var(--duration-micro) ease, color var(--duration-micro) ease;
}
.to-top:hover { background: var(--color-ink); color: #fff; }
.site-footer__name { font-size: var(--fs-h3); letter-spacing: 0.06em; margin-top: 28px; }
.site-footer__copy { font-size: var(--fs-caption); color: var(--color-gray); margin-top: 12px; letter-spacing: var(--ls-text); }

/* ============ 出現演出（標準装備） ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--soft {
  opacity: 0; transform: translateY(16px); filter: blur(6px);
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease), filter var(--duration-reveal) var(--ease);
}
.media-reveal {
  clip-path: inset(8% 8% 8% 8%);
  opacity: 0;
  transition: clip-path var(--duration-reveal) var(--ease), opacity var(--duration-reveal) var(--ease);
}
.reveal.is-in, .reveal--soft.is-in, .media-reveal.is-in {
  opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0);
}
.parallax { display: block; overflow: hidden; }
.parallax > img { scale: 1.45; will-change: translate; }
/* SERVICE帯のクリップリビールは 120ms ずつずらす */
.service-strip .strip-item.media-reveal:nth-child(2) { transition-delay: 120ms; }
.service-strip .strip-item.media-reveal:nth-child(3) { transition-delay: 240ms; }
.service-strip .strip-item.media-reveal:nth-child(4) { transition-delay: 360ms; }
.parallax-bg {
  position: absolute; inset: -24% 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.parallax-bg > img { width: 100%; height: 100%; object-fit: cover; }
/* 固定背景：画像はビューポートに固定され、セクションが窓として上を通過する（EMOTIONSバナー） */
.banner-fixed {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.banner-fixed > img { width: 100%; height: 100%; object-fit: cover; display: block; }
@supports (clip-path: inset(0)) {
  .banner-fixed { overflow: visible; }
  .banner-fixed > img { position: fixed; inset: 0; }
}
.slow-zoom { animation: slow-zoom 20s ease-in-out infinite alternate; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ラインホバー */
.more-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; letter-spacing: 0.06em; padding-top: 14px;
}
.more-link::before {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 100%;
  background: var(--color-line);
}
.more-link::after {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 100%;
  background: var(--color-ink); transform: scaleX(0.32); transform-origin: left;
  transition: transform var(--duration-micro) var(--ease);
}
.more-link__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--color-ink); flex: none;
  transition: transform var(--duration-micro) var(--ease);
}
.more-link:hover::after { transform: scaleX(1); }
.more-link:hover .more-link__dot { transform: translateX(6px); }

/* 黒ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-ink); color: #fff;
  font-family: inherit;
  font-size: var(--fs-body); letter-spacing: var(--ls-label); line-height: 1.6;
  padding: 14px 36px; border: 0; cursor: pointer;
  transition: background var(--duration-micro) ease;
}
.btn:hover { background: var(--color-faint); }
.btn--big { width: 260px; height: 70px; font-size: var(--fs-body); padding: 0; }

/* ============ TOP：ヒーロー ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--color-black);
  clip-path: inset(0); /* 固定背景の窓：中身の fixed 画像をこの枠で切り取る */
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 0;
  /* ゆっくりズームイン：開いた直後がファイルの画角（＝最もシャープ）、90秒かけて 1.20 へ */
  scale: 1.20; transform-origin: 45% 50%;
  transition: scale 90s cubic-bezier(0.22, 0.61, 0.35, 1);
}
body:not(.is-done) .hero__bg { scale: 1.02; }
/* 固定背景：画像はビューポートに固定され、ヒーローが窓として上を通過する（下のセクションが上へ被さる） */
@supports (clip-path: inset(0)) {
  .hero__bg { position: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transition: none; scale: 1.02; }
}
.hero__mark {
  position: absolute; z-index: 2; left: 68%; top: 45%;
  width: 64px; height: auto; transform: translate(-50%, -50%);
  pointer-events: none;
}
/* TOPキャッチ：オーナー判断待ちのため独立ブロック化（外すときはこの要素ごと削除） */
.hero-catch {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  padding: 0 24px; margin-bottom: 5svh;
}
.hero-catch__en { font-size: 14px; letter-spacing: 0.14em; line-height: 1.8; margin: 0 0 22px; }
.hero-catch__title {
  font-size: 36px; font-weight: 700; line-height: 1.9; letter-spacing: 0.08em; margin: 0;
}

/* ============ TOP：NEWS（参考: mobitect 型の大型リスト） ============ */
.news { background: var(--color-base); }
.news__inner {
  max-width: 1240px; margin: 0 auto; padding: 104px 40px;
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
}
.news__rule { display: block; width: 34px; height: 2px; background: var(--color-ink); margin-bottom: 28px; }
.news__title { font-size: 44px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; margin: 0; }
.news__sub { margin: 16px 0 0; font-size: var(--fs-small); letter-spacing: var(--ls-label); }
.news__item {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--color-line);
  color: inherit; text-decoration: none;
}
.news__date { font-size: 15px; letter-spacing: 0.08em; white-space: nowrap; }
.news__headline { font-size: var(--fs-body); line-height: 1.9; }
a.news__item:hover .news__headline { color: var(--color-faint); text-decoration: underline; text-underline-offset: 4px; }

/* ============ TOP：OUR EMOTIONS ============ */
.emotions__banner {
  position: relative; height: 380px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 0 24px;
}
.emotions__banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(25, 20, 8, 0.30), rgba(25, 20, 8, 0.22));
}
.emotions__banner > *:not(.banner-fixed):not(.emotions__tabs) { position: relative; z-index: 2; }
.emotions__title { font-size: var(--fs-display); font-weight: var(--fw-heading); letter-spacing: var(--ls-display); margin: 0; line-height: 1.5; }
.emotions__sub { font-size: var(--fs-small); letter-spacing: var(--ls-sub); margin: 12px 0 0; }
.emotions__tabs {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; justify-content: center; gap: 6px;
  padding: 0 16px;
}
.emotions__tab {
  height: 56px; padding: 0 38px;
  display: inline-flex; align-items: center;
  background: rgba(0, 0, 0, 0.38); color: #fff;
  font-family: inherit; font-size: var(--fs-tab); letter-spacing: var(--ls-display);
  border: 0; border-radius: 8px 8px 0 0; cursor: pointer;
  transition: background var(--duration-micro) ease;
}
.emotions__tab[aria-selected="true"] { background: var(--color-base); color: var(--color-ink); font-weight: var(--fw-heading); }
.emotions__panel {
  position: relative; z-index: 1;
  max-width: 1150px; margin: 0 auto;
  background: var(--color-base);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 72px 60px 76px;
}
.emo-item { display: none; }
.emo-item.is-active { display: flex; gap: 56px; align-items: flex-start; }
.emo-item__img { flex: 0 0 500px; }
.emo-item__img img { width: 500px; height: 470px; object-fit: cover; display: block; }
.emo-item__title { font-size: var(--fs-h3); font-weight: var(--fw-heading); letter-spacing: var(--ls-heading); margin: 6px 0 0; line-height: 1.6; }
.emo-item__catch { font-size: var(--fs-h2); font-weight: var(--fw-heading); margin: 12px 0 20px; line-height: 1.7; }
.emo-item__desc { font-size: var(--fs-body); line-height: 2; margin: 0; }

/* ============ TOP：SERVICE ============ */
.service-head { padding: 100px 24px 66px; text-align: center; }
.service-head__title { font-size: var(--fs-display); font-weight: var(--fw-heading); letter-spacing: var(--ls-display); margin: 0; line-height: 1.5; }
.service-head__sub { font-size: var(--fs-small); letter-spacing: var(--ls-sub); margin: 12px 0 0; }
.service-head__intro { max-width: 850px; margin: 40px auto 0; font-size: var(--fs-body); line-height: 2.1; }
.service-head__intro p { margin: 0 0 1.2em; }
.service-head__intro p:last-child { margin-bottom: 0; }
.service-strip { display: flex; }
.strip-item {
  position: relative; flex: 1 1 0; height: 540px;
  overflow: hidden; color: #fff; display: block;
}
.strip-item + .strip-item { border-left: 1px solid rgba(255, 255, 255, 0.4); }
.strip-item__bg {
  /* 背景パララックス（係数 0.08）：上下 18% はみ出させて敷き、translate の余白にする */
  position: absolute; inset: -24% 0;
  background-size: cover; background-position: center;
  transition: transform 1200ms var(--ease);
  will-change: translate;
}
.strip-item__bg--energy { background-image: url("../images/energy-scaled.webp"); }
.strip-item__bg--dx { background-image: url("../images/service002-1-jpg.webp"); }
.strip-item__bg--web { background-image: url("../images/service03-scaled.webp"); }
.strip-item__bg--other { background-image: url("../images/service004-jpg.webp"); }
.strip-item:hover .strip-item__bg, .strip-item:focus-visible .strip-item__bg { transform: scale(1.05); }
.strip-item__overlay {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3);
  transition: background var(--duration-micro) ease;
}
.strip-item:hover .strip-item__overlay, .strip-item:focus-visible .strip-item__overlay { background: rgba(0, 0, 0, 0.52); }
.strip-item__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; }
.strip-item__content > span { display: block; }
.strip-item__title { font-size: var(--fs-h2); font-weight: var(--fw-heading); line-height: 1.6; margin: 0; text-wrap: balance; }
.strip-item__en { font-size: var(--fs-body); line-height: 1.7; margin: 6px 0 0; }
.strip-item__extra {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 500ms var(--ease), opacity var(--duration-micro) ease;
}
.strip-item:hover .strip-item__extra, .strip-item:focus-visible .strip-item__extra {
  max-height: 240px; opacity: 1;
}
.strip-item__desc {
  font-size: var(--fs-small); line-height: 1.9; margin: 14px 0 0;
}
.strip-item__more {
  font-size: var(--fs-small); letter-spacing: 0.06em; margin: 10px 0 0;
}
.service-cta { text-align: center; padding: 72px 24px 100px; }

/* ============ 小ヒーロー（ABOUT / CONTACT / PRIVACY） ============ */
.page-hero {
  position: relative; height: 440px; padding-top: 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--color-black);
  color: #fff; text-align: center;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.page-hero__catch {
  position: relative; z-index: 1;
  font-size: 34px; font-weight: 700; line-height: 1.9; letter-spacing: 0.06em;
  margin: 0 24px; max-width: 850px;
}
.page-hero__catch--en { font-size: 30px; letter-spacing: 0.04em; }

/* ============ ABOUT本文（INFORMATION型：大見出し＋罫線テーブル） ============ */
.info-body { max-width: 1080px; margin: 0 auto; padding: 96px 24px 104px; }
.info-head { margin-bottom: 54px; }
.info-head__bar { display: block; width: 30px; height: 3px; background: var(--color-black); margin-bottom: 24px; }
.info-head__title { font-size: 64px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.1; margin: 0; }
.info-head__label { font-size: var(--fs-small); letter-spacing: 0.16em; color: var(--color-gray); margin: 16px 0 0; }
.info-table { margin: 0; border-bottom: 1px solid var(--color-line); }
.info-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--color-line); }
.info-row dt { font-size: var(--fs-body); font-weight: var(--fw-heading); letter-spacing: 0.1em; margin: 0; padding-top: 4px; }
.info-row dd { font-size: var(--fs-body); line-height: 2; margin: 0; }
.about-photo { margin-top: 84px; }
.about-photo img { width: 680px; max-width: 100%; height: auto; margin: 0 auto; display: block; }
.about-lang { margin-top: 56px; text-align: center; }

/* ============ 詳細フレーム（SERVICE / NEWS） ============ */
.crumb { border-bottom: 1px solid var(--color-line); }
.crumb__inner {
  max-width: 1150px; margin: 0 auto; min-height: 60px; padding: 6px 24px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 4px;
  font-size: 13.5px; color: var(--color-gray); letter-spacing: 0.04em;
}
.crumb__inner > * { flex: none; white-space: nowrap; }
.crumb__inner a:hover { color: var(--color-ink); text-decoration: underline; }
.crumb__sep { color: var(--color-faint); }
.detail {
  max-width: 1150px; margin: 0 auto; padding: 66px 24px 104px;
  display: grid; grid-template-columns: 770px 320px; gap: 60px;
}
.detail--single { grid-template-columns: minmax(0, 850px); justify-content: center; }
.detail__title { font-size: var(--fs-h2); font-weight: var(--fw-heading); line-height: 1.7; margin: 0; }
.detail__rule { width: 390px; max-width: 60%; height: 3px; background: var(--color-ink); margin: 20px 0 36px; }
.detail__date { font-size: 14px; color: var(--color-gray); letter-spacing: 0.06em; margin: 0 0 10px; }
.detail__img { width: 100%; height: auto; display: block; margin-bottom: 42px; }
.detail__body p { font-size: 17px; line-height: 2; margin: 0 0 1.6em; }
.detail__body h2 {
  font-size: 22px; font-weight: var(--fw-heading); line-height: 1.7;
  margin: 46px 0 18px;
}
.detail__body ul { font-size: 17px; line-height: 2; margin: 0 0 1.6em; padding-left: 1.4em; }
.detail__hr { border: 0; border-top: 1px solid var(--color-line); margin: 46px 0; }
.detail__back { margin-top: 54px; }

/* サイドバー */
.detail__side { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.side__head { background: var(--color-ink); color: #fff; padding: 20px 22px; line-height: 1.5; }
.side__head b { display: block; font-size: 16px; letter-spacing: 0.14em; }
.side__head span { font-size: 13px; letter-spacing: 0.08em; }
.side__list { border-left: 1px solid var(--color-line); border-right: 1px solid var(--color-line); }
.side__list a {
  display: flex; align-items: center; min-height: 70px;
  padding: 10px 20px; font-size: 15px; line-height: 1.6;
  background: var(--color-base); border-bottom: 1px solid var(--color-line);
  transition: background var(--duration-micro) ease;
}
.side__list a:hover { background: var(--color-panel); }
.side__list a.is-current { background: var(--color-side-current); color: #fff; }

/* サービス一覧（メインカラム内） */
.svc-entry { margin-bottom: 68px; }
.svc-entry:last-child { margin-bottom: 0; }
.svc-entry__img { display: block; }
.svc-entry__img img { width: 100%; height: auto; display: block; }
.svc-entry__title { font-size: var(--fs-h3); font-weight: var(--fw-heading); line-height: 1.7; margin: 24px 0 4px; }
.svc-entry__en { font-size: 15px; color: var(--color-gray); margin: 0 0 12px; line-height: 1.8; }
.svc-entry__lead { font-size: 17px; margin: 0 0 8px; }
.svc-entry__text { font-size: 16px; line-height: 2; margin: 0; }
.svc-entry__more { margin-top: 16px; }

/* ============ CONTACT ============ */
.contact-body { max-width: 850px; margin: 0 auto; padding: 84px 24px 104px; }
.contact-body > p { font-size: 17px; line-height: 2; margin: 0 0 0.4em; }
.contact-form {
  margin-top: 52px; background: var(--color-panel);
  border: 1px solid var(--color-line); padding: 40px;
}
.contact-form label { display: block; font-size: 16px; margin-bottom: 26px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 10px;
  background: #fff; border: 1px solid var(--color-field-line);
  font-family: inherit; font-size: 16px; line-height: 1.6;
  padding: 0 12px;
}
.contact-form input { height: 38px; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--color-ink); outline: none;
  box-shadow: 0 0 0 1px var(--color-ink);
}
.contact-form textarea { height: 300px; padding: 10px 12px; resize: vertical; }
.contact-form__submit { text-align: center; margin-top: 4px; }
.contact-form__submit button {
  width: 225px; height: 50px;
  background: var(--color-ink); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; letter-spacing: 0.1em;
  transition: background var(--duration-micro) ease;
}
.contact-form__submit button:hover { background: var(--color-faint); }

/* ============ PRIVACY本文 ============ */
.privacy-body { max-width: 850px; margin: 0 auto; padding: 84px 24px 104px; }
.privacy-body p { font-size: 16.5px; line-height: 2; margin: 0 0 1.6em; }
.privacy-body h2 { font-size: 20px; font-weight: var(--fw-heading); margin: 42px 0 14px; line-height: 1.7; }

/* ============ レスポンシブ ============ */
@media (max-width: 1100px) {
  .detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
  .emo-item__img { flex-basis: 420px; }
  .emo-item__img img { width: 420px; height: 395px; }
}
@media (max-width: 900px) {
  .site-header__brand { flex-basis: 168px; width: 168px; padding: 0 14px; }
  .site-nav {
    position: fixed; inset: 0; z-index: 99;
    background: var(--color-black);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: opacity var(--duration-micro) ease, visibility var(--duration-micro) ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { color: #fff !important; font-size: var(--fs-body); }
  .nav-toggle {
    display: block; margin-left: auto; align-self: center; margin-right: 16px;
    background: transparent; border: 1px solid currentColor; color: var(--color-ink);
    font-family: inherit; font-size: var(--fs-small); letter-spacing: var(--ls-display);
    padding: 9px 18px; cursor: pointer; position: relative; z-index: 101;
  }
  .site-header--overlay .nav-toggle { color: #fff; }
  .site-header--overlay.is-scrolled .nav-toggle { color: var(--color-ink); }
  .site-header:has(.site-nav.is-open) { background: transparent; border-bottom-color: transparent; }
  .site-header:has(.site-nav.is-open) .nav-toggle { color: #fff; border-color: #fff; }
  .hero__bg { object-position: 22% 50%; transform-origin: 22% 0; }
  .news__inner { grid-template-columns: 1fr; padding: 64px 24px; gap: 30px; }
  .news__title { font-size: 32px; }
  .news__item { grid-template-columns: 1fr; gap: 2px; padding: 22px 0; }
  .news__date { font-size: 13px; color: var(--color-faint); }
  .hero__mark { left: 50%; top: 50%; width: 48px; }
  .hero__bg { transition: none; scale: 1.20; height: 100svh; } body:not(.is-done) .hero__bg { scale: 1.20; } /* SPも固定背景（@supports の fixed が効く）。ズーム演出は切る（読み込み直後の拡大がスクロールと重なってカクつくため）。高さはバーの有無で変わらない 100svh に固定して再計算を止める。2026-12-03 プレビュー実験で実機確認済み */
  .hero-catch__title { font-size: 27px; }
  .hero-catch__en { font-size: 13px; }
  .br-sp { display: inline; }
  .emotions__banner { height: 300px; }
  .emotions__tab { padding: 0 15px; letter-spacing: var(--ls-heading); white-space: nowrap; }
  .emotions__panel { padding: 64px 24px 56px; margin-left: 16px; margin-right: 16px; }
  .emo-item.is-active { flex-direction: column; gap: 28px; }
  .emo-item__img { flex: none; width: 100%; }
  .emo-item__img img { width: 100%; height: auto; aspect-ratio: 500 / 470; }
  .service-strip { flex-direction: column; }
  .strip-item { height: 320px; flex: none; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.4); }
  .strip-item__extra { max-height: none; opacity: 1; }
  .page-hero { height: 360px; }
  .page-hero__bg { object-position: 68% 50%; }
  .info-body { padding: 64px 20px 80px; }
  .info-head { margin-bottom: 40px; }
  .info-head__title { font-size: 42px; }
  .info-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 0; }
  .info-row dt { padding-top: 0; }
  .page-hero__catch { font-size: 26px; }
  .page-hero__catch--en { font-size: 23px; }
  .detail { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .contact-form { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* 出現は「短い不透明度クロスフェード」に置き換える（移動・拡大・クリップは止める） */
  .reveal, .reveal--soft, .media-reveal {
    transform: none !important; filter: none !important; clip-path: none !important;
    transition: opacity 200ms ease !important;
  }
  .parallax > img, .hero__bg { scale: 1; }
  html { scroll-behavior: auto; }
}
