@charset "UTF-8";
/* ===========================
   インウェルス株式会社 - 共通スタイル
   Design: Ivory & Onyx — Refined Edition
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;600;700&display=swap');

:root {
  /* 白系 */
  --white:       #ffffff;
  --ivory:       #f8f6f1;
  --ivory-2:     #f0ede6;
  --cream:       #e8e3d8;
  /* 黒系 */
  --onyx:        #0c0c0c;
  --onyx-2:      #141414;
  --onyx-3:      #1c1c1c;
  --charcoal:    #2c2c2c;
  /* テキスト */
  --text-dark:   #0c0c0c;
  --text-mid:    #525252;
  --text-light:  #909090;
  --text-xlight: #b8b8b8;
  /* ゴールドアクセント */
  --gold:        #aa8820;
  --gold-light:  #c8a840;
  --gold-pale:   rgba(170,136,32,0.10);
  --gold-border: rgba(170,136,32,0.30);
  /* フォント */
  --font-display: 'Cormorant Garamond', serif;
  --font-en:      'Inter', sans-serif;
  --font-ja:      'Noto Sans JP', sans-serif;
  /* 旧変数（後方互換）*/
  --color-accent: var(--gold-light);
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ===========================
   ヘッダー
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(248,246,241,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 60px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.site-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}

/* 実際のロゴ画像を使用 */
.site-logo-img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-emblem {
  width: 38px; height: 38px;
  border: 1.5px solid var(--onyx);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700; font-size: 13px;
  color: var(--onyx);
  letter-spacing: 0.05em;
  position: relative;
  flex-shrink: 0;
}
.logo-emblem::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 0.5px solid rgba(0,0,0,0.22);
}

.logo-text-ja {
  font-size: 13px; font-weight: 500;
  color: var(--onyx); letter-spacing: 0.1em;
  display: block;
}
.logo-text-en {
  font-family: var(--font-en);
  font-size: 9px; font-weight: 400;
  color: var(--text-light); letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
}

.site-nav {
  display: flex; gap: 40px; align-items: center;
}
.site-nav a {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 400;
  color: var(--text-mid); letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 1px; background: var(--onyx);
  transition: left 0.25s, right 0.25s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--onyx); }
.site-nav a:hover::after,
.site-nav a.active::after { left: 0; right: 0; }

.nav-contact-btn {
  border: 1px solid rgba(0,0,0,0.32) !important;
  color: var(--onyx) !important;
  padding: 8px 22px !important;
  letter-spacing: 0.1em;
  transition: background 0.25s !important, color 0.25s !important;
}
.nav-contact-btn:hover {
  background: var(--onyx) !important;
  color: var(--white) !important;
}
.nav-contact-btn::after { display: none !important; }

/* ── SERVICE ドロップダウン ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.nav-dropdown > a::before {
  content: '\25BE'; font-size: 9px; color: var(--text-mid);
  transition: transform 0.25s; order: 2; margin-left: 2px;
}
.nav-dropdown.open > a::before,
.nav-dropdown:hover > a::before { transform: rotate(180deg); color: var(--onyx); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px); left: 50%;
  min-width: 200px;
  background: rgba(248,246,241,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.09);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: rgba(170,136,32,0.06); color: var(--onyx); }
.nav-dropdown-menu .dd-label {
  font-size: 8px; letter-spacing: 0.18em; color: var(--gold);
  text-transform: uppercase; font-family: var(--font-en);
  padding: 8px 20px 4px; display: block;
  pointer-events: none; border-bottom: none;
}
.nav-dropdown-menu .dd-tag {
  font-size: 8px; letter-spacing: 0.14em;
  color: var(--gold); background: rgba(170,136,32,0.10);
  padding: 2px 6px; border-radius: 2px; flex-shrink: 0;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--onyx);
  transition: var(--transition);
}

/* ===========================
   ボタン共通
   =========================== */
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--onyx);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700; font-size: 13px;
  padding: 15px 36px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}

.btn-line-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--onyx);
  font-family: var(--font-en);
  font-weight: 400; font-size: 13px;
  padding: 15px 36px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.28);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.btn-line-dark:hover {
  border-color: var(--onyx);
  background: rgba(0,0,0,0.04);
}

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  color: var(--onyx);
  font-family: var(--font-en);
  font-weight: 700; font-size: 13px;
  padding: 15px 48px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-white:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.12);
}

/* ===========================
   セクション共通
   =========================== */
.sec-wrap { padding: 110px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 60px; }

.sec-label {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.sec-label::before {
  content: ''; width: 36px; height: 1px;
  background: var(--gold); opacity: 0.8;
  flex-shrink: 0;
}

.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.01em; line-height: 1.2;
  margin-bottom: 20px;
}

.sec-lead {
  font-size: 14px; font-weight: 300;
  color: var(--text-mid); max-width: 520px; line-height: 2;
}

.link-gold {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--onyx);
  border-bottom: 1px solid rgba(0,0,0,0.28);
  padding-bottom: 3px;
  transition: gap 0.25s, border-color 0.25s;
}
.link-gold:hover { gap: 18px; border-color: var(--onyx); }
.link-gold::after { content: '\2192'; }

/* on dark bg */
.link-gold-light {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 3px;
  transition: gap 0.25s, border-color 0.25s;
}
.link-gold-light:hover { gap: 18px; border-color: var(--gold-light); }
.link-gold-light::after { content: '\2192'; }

/* ===========================
   ページヘッダー（各サブページ共通）
   =========================== */
.page-header {
  padding: 140px 0 70px;
  background: var(--onyx);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(170,136,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170,136,32,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-header-label {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.page-header-label::before,
.page-header-label::after {
  content: ''; width: 36px; height: 1px; background: var(--gold); opacity: 0.7;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em; line-height: 1.2;
  position: relative; z-index: 1;
}

/* ===========================
   フッター
   =========================== */
/* ══════════════════════════════════════════
   フッター — New Design (6 page variants)
══════════════════════════════════════════ */

/* ── ベーススタイル ── */
.ftr {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  overflow: hidden;
  font-family: var(--font-ja);
}
.ftr-grad { position: absolute; inset: 0; z-index: 0; }
.ftr-dark { position: absolute; z-index: 1; }
.ftr-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: .5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ftr-inner {
  position: relative; z-index: 3;
  max-width: 1280px; margin: 0 auto;
  padding: 36px 60px 20px;
  display: grid; gap: 28px;
}
.ftr-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.ftr .brand {
  display: flex; flex-direction: column; gap: 14px; max-width: 420px;
}
.ftr-logo-img {
  width: 200px; height: 56px;
  object-fit: contain; object-position: left;
  display: block;
}
.ftr .brand .tag {
  font-size: 13px; line-height: 1.7; letter-spacing: .04em; opacity: .9;
}
.ftr .brand .accent-en {
  font-family: var(--font-display);
  font-style: italic; font-size: 18px;
  letter-spacing: .04em; margin-top: 4px; opacity: .85;
}
.ftr-rt {
  display: flex; flex-direction: column; gap: 26px; align-items: flex-end;
}
.fnav {
  display: flex; gap: 26px; flex-wrap: wrap; justify-content: flex-end;
}
.fnav a {
  text-decoration: none; color: inherit;
  font-size: 14px; letter-spacing: .08em;
  font-weight: 500; position: relative; padding-bottom: 4px;
}
.fnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1.5px; width: 0;
  background: currentColor;
  transition: width .25s ease;
}
.fnav a:hover::after { width: 100%; }
.ftr .phone { text-align: right; }
.ftr .phone .num {
  font-family: var(--font-display);
  font-weight: 600; font-size: 30px;
  letter-spacing: .04em; line-height: 1;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.ftr .phone .num svg { width: 20px; height: 20px; }
.ftr .phone .hours {
  font-size: 12px; letter-spacing: .1em; opacity: .7; margin-top: 7px;
}
.ftr .cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 12px 22px; border-radius: 999px;
  text-decoration: none; transition: .22s;
}
.ftr-bot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 16px;
  border-top: 1px solid currentColor;
}
/* 著作権バーが .ftr 直下（.ftr-inner の外）にある場合も、ロゴ等と左端を揃える */
.ftr > .ftr-bot {
  position: relative; z-index: 3;
  max-width: 1280px; margin: 0 auto;
  padding: 16px 60px 24px;
}
.ftr-bot .copy {
  font-size: 11.5px; letter-spacing: .08em; opacity: .75;
  font-family: var(--font-display);
}
.ftr .lbl-en {
  font-family: var(--font-display);
  font-style: italic; font-size: 14px; letter-spacing: .06em; opacity: .7;
}
.ftr .watermark {
  position: absolute; z-index: 1; pointer-events: none;
  right: 5%; bottom: 7%;
  font-family: var(--font-display); font-weight: 600;
  font-size: 112px; line-height: 1;
  letter-spacing: .04em; white-space: nowrap;
  color: #ffffff; opacity: .12;
}

/* ── 1. Home ── champagne gold × dark bottom band */
.ftr--home { color: #3a2a0e; }
.ftr--home .ftr-grad {
  background:
    radial-gradient(120% 140% at 12% 8%, #fff6da 0%, #f6dd9c 26%, #e7c067 50%, #cf9f3c 72%, #b98630 100%),
    linear-gradient(115deg, #f3d489, #caa044);
}
.ftr--home .ftr-dark {
  left: 0; right: 0; bottom: 0; height: calc(30% + 2px);
  background: linear-gradient(180deg, #1a1305 0%, #0e0a03 100%);
  border-top: 1.5px solid #e7c873;
}
.ftr--home .ftr-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 200% at 88% 0%, rgba(231,200,115,.22), transparent 60%);
}
.ftr--home .ftr-bot { color: #f1dca0; border: none; }

/* ── 2. Business/Service ── emerald × gold × dark right panel */
.ftr--business { color: #0c2a1d; }
.ftr--business .ftr-grad {
  background:
    radial-gradient(130% 130% at 8% 18%, #d8f0d2 0%, #8fcf9a 22%, #3fa472 46%, #1c7f57 68%, #0c5e3e 100%),
    linear-gradient(120deg, #1f8a5b, #0c5e3c);
}
.ftr--business .ftr-dark {
  top: 0; bottom: 0; right: 0; width: 30%;
  background: linear-gradient(160deg, #06150f 0%, #03120c 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  border-left: 1.5px solid #d4af37;
}
.ftr--business .ftr-dark::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(212,175,55,.07) 0 1px, transparent 1px 16px);
}
.ftr--business .ftr-rt { color: #f0e6c4; }
.ftr--business .cta { background: #d4af37; color: #0c2a1d; }
.ftr--business .cta:hover { background: #f0d98a; }
.ftr--business .ftr-bot { color: #0c2a1d; }
.ftr--business .ftr-bot .lbl-en { color: #f0e6c4; opacity: .85; }

/* ── 3. Works ── sapphire × gold × dark diagonal lower-right */
.ftr--works { color: #06152e; }
.ftr--works .ftr-grad {
  background:
    radial-gradient(130% 130% at 10% 14%, #dfeafe 0%, #9cc0f5 22%, #4f86e0 46%, #2a5bc0 80%, #15347e 100%),
    linear-gradient(120deg, #2f63d6, #15347e);
}
.ftr--works .ftr-dark {
  inset: 0;
  background: linear-gradient(150deg, #040c1e 0%, #06122c 100%);
  clip-path: polygon(62% 100%, 100% 46%, 100% 100%);
  border-top: 1.5px solid #e6c777;
}
.ftr--works .ftr-rt { color: #eef4ff; }
.ftr--works .ftr-bot { color: #eef4ff; border-color: rgba(238,244,255,.4); }
.ftr--works .brand { color: #06152e; }

/* ── 4. News ── rose gold × dark thin top rail + base */
.ftr--news { color: #3c1f1a; }
.ftr--news .ftr-grad {
  background:
    radial-gradient(120% 130% at 16% 30%, #ffeede 0%, #f7cdb0 28%, #ec9f86 52%, #d97a63 76%, #c75f55 100%),
    linear-gradient(118deg, #f3b79a, #d07a66);
}
.ftr--news .ftr-dark {
  left: 0; right: 0; bottom: 0; height: 24%;
  background: linear-gradient(180deg, #1c0d0a, #120705);
  border-top: 1.5px solid #efc08e;
}
.ftr--news .ftr-bot { color: #f4d6b4; border: none; }
.ftr--news .cta { background: #3c1f1a; color: #f7cdb0; }
.ftr--news .cta:hover { background: #5a3128; }

/* ── 5. Contact ── wine × gold × dark angled base */
.ftr--contact { color: #f6e9d2; }
.ftr--contact .ftr-grad {
  background:
    radial-gradient(130% 140% at 14% 20%, #e7b86a 0%, #c25a52 26%, #97243b 50%, #6e1228 74%, #4a0c1d 100%),
    linear-gradient(125deg, #9e2b3f, #4a0c1d);
}
.ftr--contact .ftr-dark {
  left: 0; right: 0; bottom: 0; height: 36%;
  background: linear-gradient(180deg, #16060b 0%, #0c0307 100%);
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
}
.ftr--contact .ftr-dark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #e7b86a 40%, #f3d28a 60%, transparent);
  transform: translateY(-1px) skewY(-2.1deg); transform-origin: left;
}
.ftr--contact .cta { background: #e7b86a; color: #4a0c1d; box-shadow: 0 10px 30px -10px rgba(231,184,106,.6); }
.ftr--contact .cta:hover { background: #f4d28a; }
.ftr--contact .ftr-bot { color: #f0d9a6; border: none; }
.ftr--contact .ftr-top .brand { color: #f6e9d2; }

/* ── 6. SCS ── teal × cyan（他テーマと非重複・中明度）× dark diagonal lower-right */
.ftr--scs { color: #042b33; }
.ftr--scs .ftr-grad {
  background:
    radial-gradient(130% 130% at 10% 16%, #dbf4f4 0%, #93dadf 22%, #34aab7 48%, #167f8e 76%, #0b5663 100%),
    linear-gradient(120deg, #1f97a6, #0b5663);
}
.ftr--scs .ftr-dark {
  inset: 0;
  background: linear-gradient(150deg, #03171c 0%, #052329 100%);
  clip-path: polygon(62% 100%, 100% 46%, 100% 100%);
  border-top: 1.5px solid #5fd0db;
}
.ftr--scs .ftr-rt { color: #e6fbfd; }
.ftr--scs .cta { background: #2fb7c6; color: #042b33; }
.ftr--scs .cta:hover { background: #6fd8e2; }
.ftr--scs .ftr-bot { color: #042b33; border-color: rgba(4,43,51,.35); }
.ftr--scs .ftr-bot .lbl-en { color: #cfeff3; opacity: .9; }
.ftr--scs .brand { color: #042b33; }

/* ── モバイル対応 ── */
@media (max-width: 768px) {
  .ftr-inner { padding: 28px 24px 16px; }
  .ftr--news .ftr-inner { padding-left: 40px; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr-rt { align-items: flex-start; }
  .fnav { justify-content: flex-start; }
  .ftr .phone { text-align: left; }
  .ftr .watermark { font-size: 60px; opacity: .08; }
}

/* ===========================
   ローディング・空状態
   =========================== */
.loading {
  text-align: center; padding: 60px 20px;
  color: var(--text-light); font-size: 14px;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 2px solid var(--cream);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center; padding: 80px 20px;
  color: var(--text-light);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state-text { font-size: 15px; }

/* ===========================
   ニュースカード
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}

.news-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 32px 28px;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: block;
  position: relative;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width 0.35s;
}
.news-card:hover { border-color: rgba(170,136,32,0.3); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.news-card:hover::before { width: 100%; }

.news-card-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.news-card-date {
  font-family: var(--font-en);
  font-size: 12px; color: var(--text-light); letter-spacing: 0.05em;
}
.news-card-category {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--onyx); border: 1px solid rgba(0,0,0,0.22);
  padding: 3px 9px;
}
.news-card-title {
  font-size: 15px; font-weight: 500; color: var(--onyx); line-height: 1.6; margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: 13px; font-weight: 300; color: var(--text-mid); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===========================
   実績カード
   =========================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px;
}

.work-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: block;
  position: relative;
}
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width 0.35s;
  z-index: 1;
}
.work-card:hover { border-color: rgba(170,136,32,0.3); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.work-card:hover::before { width: 100%; }

.work-card-image {
  width: 100%; height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cream) 0%, var(--ivory-2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 40px;
}
.work-card-image img { width: 100%; height: 200px; object-fit: cover; }
.work-card-body { padding: 24px 28px; }
.work-card-category {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.work-card-title { font-size: 16px; font-weight: 500; color: var(--onyx); line-height: 1.6; margin-bottom: 8px; }
.work-card-date {
  font-family: var(--font-en);
  font-size: 12px; color: var(--text-light); letter-spacing: 0.05em;
}

/* ===========================
   詳細ページ
   =========================== */
.detail-wrap {
  max-width: 800px; margin: 0 auto; padding: 0 60px;
}
.detail-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.detail-category {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--onyx); border: 1px solid rgba(0,0,0,0.22); padding: 3px 10px;
}
.detail-date {
  font-family: var(--font-en);
  font-size: 12px; color: var(--text-light);
}
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 600; color: var(--onyx); line-height: 1.4; margin-bottom: 40px;
}
.detail-body {
  font-size: 15px; font-weight: 300;
  color: var(--text-mid); line-height: 2.1;
  white-space: pre-line;
  border-top: 1px solid rgba(0,0,0,0.09);
  padding-top: 40px;
}
.detail-image {
  width: 100%; max-height: 440px; object-fit: cover;
  margin-bottom: 40px;
  border: 1px solid rgba(0,0,0,0.08);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 48px;
  transition: color 0.25s;
}
.back-link:hover { color: var(--onyx); }
.back-link::before { content: '\2190'; }

/* ===========================
   カテゴリーフィルター
   =========================== */
.category-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.category-btn {
  padding: 7px 20px;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.18);
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  font-family: var(--font-en);
}
.category-btn:hover,
.category-btn.active {
  border-color: var(--onyx); color: var(--onyx);
}

/* ===========================
   ホームニュース (最新3件)
   =========================== */
.home-news-table { border-top: 1px solid rgba(0,0,0,0.09); }
.home-news-item {
  display: grid;
  grid-template-columns: 120px 90px 1fr 24px;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  align-items: center;
  cursor: pointer;
  transition: padding-left 0.2s;
}
.home-news-item:hover { padding-left: 8px; }
.home-news-date {
  font-family: var(--font-en);
  font-size: 12px; color: var(--text-light); letter-spacing: 0.05em;
}
.home-news-category-tag {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--onyx); border: 1px solid rgba(0,0,0,0.22);
  padding: 3px 9px; text-align: center;
}
.home-news-title {
  font-size: 14px; color: var(--onyx); font-weight: 300; line-height: 1.5;
}
.home-news-arrow { color: var(--text-light); font-size: 14px; transition: color 0.2s, transform 0.2s; }
.home-news-item:hover .home-news-arrow { color: var(--gold); transform: translateX(4px); }

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 960px) {
  .header-inner { padding: 0 24px; }
  .section-inner, .footer-inner { padding: 0 24px; }
  .ftr-inner { padding-left: 24px; padding-right: 24px; }
  .ftr > .ftr-bot { padding-left: 24px; padding-right: 24px; }
  .detail-wrap { padding: 0 24px; }

  .site-nav {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(248,246,241,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }

  .news-grid, .works-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; }
  .footer-nav a::after { display: none; }
  .sec-wrap { padding: 70px 0; }

  .home-news-item { grid-template-columns: 1fr; gap: 6px; }
  .home-news-arrow { display: none; }
}

@media (max-width: 600px) {
  .page-header { padding: 110px 0 50px; }
}

/* =====================================================
   ページヘッダー — 各ページ個別トレンドデザイン
   ===================================================== */

/* ─────────────────────────────────────────────────
   SERVICE ページ
   Split Reveal + Diagonal Slash + Scan Line
───────────────────────────────────────────────── */
.page-header--service {
  padding: 0;
  min-height: 340px;
  display: flex; align-items: flex-end;
  background: var(--onyx);
  overflow: hidden;
  position: relative;
}

/* 斜めスラッシュ区切り（左：白 / 右：ゴールドグリッド） */
.page-header--service::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(200,168,64,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,64,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
/* 右側グロー */
.page-header--service::after {
  content: '';
  position: absolute;
  right: -10%; top: -20%;
  width: 55%; height: 140%;
  background: radial-gradient(ellipse at 80% 40%,
    rgba(200,168,64,0.12) 0%,
    rgba(200,168,64,0.05) 35%,
    transparent 70%);
  pointer-events: none;
}

.ph-service-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 60px 64px;
  display: flex; flex-direction: column;
  gap: 0;
}

/* スキャンラインアニメーション */
.ph-service-scan {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right,
    transparent 0%, rgba(200,168,64,0.8) 40%,
    rgba(255,230,100,1) 50%, rgba(200,168,64,0.8) 60%, transparent 100%);
  animation: scanLine 3.5s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes scanLine {
  0%   { transform: translateY(0);    opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.7; }
  100% { transform: translateY(340px); opacity: 0; }
}

.ph-service-eyebrow {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.ph-service-eyebrow::before {
  content: ''; width: 48px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* メインタイトル — クリップリビール */
.ph-service-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 600; line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  overflow: hidden;
}
.ph-service-title .reveal-word {
  display: inline-block;
  animation: revealUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.ph-service-title .reveal-word:nth-child(2) { animation-delay: 0.12s; }
@keyframes revealUp {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* サブタイトル（日本語） */
.ph-service-sub {
  font-family: var(--font-ja);
  font-size: 30px; font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  margin-top: 5px;
}

/* 斜めのゴールドライン装飾 */
.ph-service-slash {
  position: absolute;
  top: 0; right: 18%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(200,168,64,0.4) 30%,
    rgba(200,168,64,0.4) 70%, transparent 100%);
  transform: rotate(12deg) scaleY(1.2);
  transform-origin: top center;
}
.ph-service-slash::after {
  content: '';
  position: absolute;
  left: 24px; top: 0; width: 1px; height: 100%;
  background: inherit; opacity: 0.4;
}


/* ─────────────────────────────────────────────────
   WORKS ページ
   Layered Number + Grain Overlay + Gold Stroke Text
───────────────────────────────────────────────── */
.page-header--works {
  padding: 0;
  min-height: 320px;
  display: flex; align-items: center;
  background: var(--onyx);
  position: relative;
  overflow: hidden;
}

/* 巨大な背景数字 */
.ph-works-bg-num {
  position: absolute;
  right: -2%;
  top: 50%; transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 340px);
  font-weight: 700; font-style: italic;
  line-height: 1;
  /* アウトライン文字 */
  -webkit-text-stroke: 1px rgba(200,168,64,0.18);
  color: transparent;
  user-select: none; pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ノイズグレインオーバーレイ */
.ph-works-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none; z-index: 1;
  mix-blend-mode: overlay;
}

/* 左側アクセントバー */
.ph-works-bar {
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%, var(--gold) 30%, var(--gold-light) 60%, transparent 100%);
}

.ph-works-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 100px 60px 72px;
}

.ph-works-label {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: rgba(200,168,64,0.7);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.ph-works-label::after {
  content: ''; flex: 1; max-width: 60px; height: 1px;
  background: rgba(200,168,64,0.4);
}

/* タイトル — ゴールドアウトライン + ホワイト塗り */
.ph-works-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.5vw, 100px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.01em;
  display: flex; flex-direction: column; gap: 4px;
}
/* 英語: アウトライン */
.ph-works-title .line-outline {
  -webkit-text-stroke: 1.5px rgba(200,168,64,0.75);
  color: transparent;
  font-style: italic;
  animation: fadeSlideLeft 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
/* 日本語: サブタイトル */
.ph-works-title .line-fill {
  font-family: var(--font-ja);
  font-size: 30px; font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  margin-top: 5px;
  animation: fadeSlideLeft 0.8s cubic-bezier(0.16,1,0.3,1) 0.22s both;
}
@keyframes fadeSlideLeft {
  from { transform: translateX(-32px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}


/* ─────────────────────────────────────────────────
   NEWS ページ
   Editorial Split + Ticker + Vertical Label
───────────────────────────────────────────────── */
.page-header--news {
  padding: 0;
  min-height: 300px;
  display: flex; align-items: stretch;
  background: var(--onyx);
  position: relative;
  overflow: hidden;
}

/* 右半分のアイボリーパネル（編集誌風2カラム） */
.ph-news-panel-right {
  position: absolute; right: 0; top: 0;
  width: 38%; height: 100%;
  background: rgba(248,246,241,0.04);
  border-left: 1px solid rgba(200,168,64,0.15);
}

/* 縦書きラベル */
.ph-news-vert-label {
  position: absolute; right: 0; top: 0;
  width: 38%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(200,168,64,0.35);
  writing-mode: vertical-rl;
  z-index: 2;
}

.ph-news-inner {
  position: relative; z-index: 3;
  width: 62%; max-width: none;
  padding: 110px 0 64px 60px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.ph-news-issue {
  font-family: var(--font-en);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.ph-news-issue::before {
  content: ''; width: 32px; height: 1px; background: var(--gold); opacity: 0.6;
}

.ph-news-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.5vw, 96px);
  font-weight: 600; line-height: 0.92;
  letter-spacing: -0.02em;
}
/* "News" — シマーグラデーション */
.ph-news-title .word-en {
  display: block;
  background: linear-gradient(110deg,
    #8a6a10 0%, #c8a840 25%, #f0d060 44%,
    #e0b848 52%, #c8a840 68%, #9a7a20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: newsShimmer 5s ease-in-out infinite;
  font-style: italic;
}
@keyframes newsShimmer {
  0%,100% { background-position: 100% center; }
  50%      { background-position:   0% center; }
}
/* 日本語 — ホワイト */
.ph-news-title .word-ja {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.3em;
  font-weight: 300;
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  -webkit-text-fill-color: rgba(255,255,255,0.5);
}

/* ニュースティッカー */
.ph-news-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 36px;
  border-top: 1px solid rgba(200,168,64,0.2);
  display: flex; align-items: center;
  overflow: hidden; z-index: 4;
  background: rgba(200,168,64,0.04);
}
.ph-news-ticker-inner {
  display: flex; white-space: nowrap;
  animation: tickerScroll 22s linear infinite;
  gap: 0;
}
.ph-news-ticker-item {
  font-family: var(--font-en);
  font-size: 9px; font-weight: 300;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(200,168,64,0.55);
  padding: 0 48px;
  display: flex; align-items: center; gap: 48px;
}
.ph-news-ticker-item::before {
  content: '\25C6'; font-size: 5px; color: rgba(200,168,64,0.4);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── レスポンシブ ─── */
@media (max-width: 768px) {
  .ph-service-inner  { padding: 0 24px 48px; }
  .ph-works-inner    { padding: 90px 24px 56px; }
  .ph-news-inner     { padding: 90px 0 50px 24px; }
  .ph-news-panel-right, .ph-news-vert-label { width: 28%; }
  .ph-news-inner { width: 72%; }
  .ph-works-bg-num { font-size: 140px; right: -5%; opacity: 0.6; }
}

/* ── スクロールトップボタン（共通・ライトテーマ） ── */
#scrollTopBtn {
  position: fixed;
  right: 36px;
  bottom: 36px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(248, 246, 241, 0.92);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s,
              background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn:hover {
  background: rgba(170, 136, 32, 0.10);
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(170, 136, 32, 0.18), 0 1px 4px rgba(0, 0, 0, 0.06);
}
