/* ============================================================
   JI Style — Site Styles (Plan B)
   Concept: Alternating Black/Off-white sections / Gold accent
            "Unconscious content switching" via tonal contrast
   ============================================================ */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}
body {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== CSS Variables ===== */
:root {
  --c-bg: #0a0a0a;
  --c-bg-2: #111111;
  --c-bg-3: #161616;
  --c-text: #f0f0f0;
  --c-text-mute: #bcbcbc;
  --c-text-dim: #888888;
  --c-line: rgba(255, 255, 255, 0.10);
  --c-line-strong: rgba(255, 255, 255, 0.22);
  --c-gold: #c9a961;
  --c-gold-soft: #b89248;
  --c-gold-glow: rgba(201, 169, 97, 0.25);

  /* Light theme (Plan B 交互配色用) */
  --c-bg-light: #f6f3ec;          /* 暖かみあるオフホワイト（純白だと眩しい） */
  --c-bg-light-2: #efeae0;        /* サブ */
  --c-text-on-light: #1a1a1a;
  --c-text-on-light-mute: #555555;
  --c-text-on-light-dim: #888888;
  --c-line-on-light: rgba(0, 0, 0, 0.10);
  --c-line-on-light-strong: rgba(0, 0, 0, 0.22);

  --ff-en-serif: "Cormorant Garamond", "Times New Roman", serif;
  --ff-en-sans: "Inter", system-ui, sans-serif;
  --ff-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --section-pad-y: clamp(100px, 14vw, 200px);
  --header-h: 76px;
}

/* ===== Reveal base (set BEFORE first paint to prevent flash) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}
.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s cubic-bezier(.16,.84,.44,1), transform 1.1s cubic-bezier(.16,.84,.44,1);
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  transition: background-color .4s ease, backdrop-filter .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-line);
  padding: 14px var(--gutter);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--ff-en-serif);
  letter-spacing: 0.1em;
  line-height: 1;
}
.logo__mark {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--c-gold);
}
.logo__type {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--c-text);
  letter-spacing: 0.18em;
}
.nav__list {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.nav__list a {
  font-family: var(--ff-en-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
  position: relative;
  padding: 6px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width .4s cubic-bezier(.16,.84,.44,1);
}
.nav__list a:hover { color: var(--c-gold); }
.nav__list a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-en-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}
.lang-switch__btn {
  background: transparent;
  border: 0;
  color: var(--c-text-mute);
  padding: 4px 2px;
  letter-spacing: inherit;
  font-size: inherit;
  text-transform: uppercase;
  transition: color .3s ease;
}
.lang-switch__btn.is-active { color: var(--c-gold); }
.lang-switch__btn.is-disabled { color: var(--c-text-dim); cursor: not-allowed; }
.lang-switch__btn:not(.is-disabled):hover { color: var(--c-text); }
.lang-switch__sep { color: var(--c-text-dim); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px; background: var(--c-text);
  transition: transform .35s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}
.mobile-menu a {
  font-family: var(--ff-en-serif);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--c-text);
}
.mobile-menu a:hover { color: var(--c-gold); }
.mobile-menu__lang {
  display: flex;
  gap: 10px;
  font-family: var(--ff-en-sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--c-text-mute);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050505;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
  will-change: transform;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity;
}
.hero__slide--1 {
  background-image: url('../img/fv_01.png');
  animation: heroFadeA 14s ease-in-out infinite;
}
.hero__slide--2 {
  background-image: url('../img/fv_02.png');
  animation: heroFadeB 14s ease-in-out infinite;
}
@keyframes heroFadeA {
  0%, 45% { opacity: 1; }
  55%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes heroFadeB {
  0%, 45% { opacity: 0; }
  55%, 95% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide--1, .hero__slide--2 {
    animation: none;
  }
  .hero__slide--1 { opacity: 1; }
  .hero__slide--2 { opacity: 0; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.55) 55%, rgba(10,10,10,0.78) 100%);
  pointer-events: none;
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__eyebrow {
  font-family: var(--ff-en-sans);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin: 0 0 28px;
  font-weight: 400;
}
.hero__title {
  font-family: var(--ff-en-serif);
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin: 0 0 36px;
}
.hero__title span {
  display: block;
}
.hero__title em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}
.hero__title--ja {
  font-family: var(--ff-jp);
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  letter-spacing: 0.22em;
  color: var(--c-text-mute);
  margin-top: 24px;
  font-weight: 300;
}
.hero__lead {
  font-family: var(--ff-jp);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--c-text);
  max-width: 640px;
  margin: 0;
  font-weight: 400;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter); bottom: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--c-text-mute);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--c-gold) 50%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 20px;
  background: var(--c-gold);
  top: -20px;
  animation: scrollLine 2.4s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes scrollLine {
  0%   { top: -20px; }
  100% { top: 60px; }
}
.hero__scroll-label {
  font-family: var(--ff-en-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ===== Section base ===== */
.section {
  position: relative;
  padding: var(--section-pad-y) var(--gutter);
}
.section__head {
  position: relative;
  margin-bottom: clamp(50px, 6vw, 100px);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.section__no {
  position: absolute;
  right: 0; top: -10px;
  font-family: var(--ff-en-serif);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.16);
  line-height: 0.9;
  letter-spacing: 0;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.section__label {
  font-family: var(--ff-en-sans);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin: 0 0 24px;
  font-weight: 500;
  position: relative;
  padding-left: 36px;
}
.section__label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px;
  height: 1px;
  background: var(--c-gold);
}
.section__title {
  font-family: var(--ff-en-serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
  position: relative;
  z-index: 1;
}
.section__title em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}
.section__sub {
  font-family: var(--ff-jp);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--c-text-mute);
  margin: 28px 0 0;
  max-width: 640px;
  font-weight: 400;
}

/* ===== About ===== */
.about { background: var(--c-bg); }
.about__body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.about__lead {
  font-family: var(--ff-jp);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-text);
  font-weight: 400;
}
.about__lead p { margin: 0 0 28px; }
.about__lead strong {
  font-family: var(--ff-en-serif);
  font-size: 1.4em;
  color: var(--c-gold);
  font-weight: 500;
  margin: 0 4px;
}
.about__lead em {
  font-family: var(--ff-en-serif);
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
  margin: 0 4px;
}

.about__representative {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--c-line);
  border-top: 1px solid var(--c-gold-soft);
}
.about__rep-photo {
  aspect-ratio: 5 / 6;
  overflow: hidden;
}
.about__rep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__rep-name {
  font-family: var(--ff-jp);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0;
  color: var(--c-text);
}
.about__rep-name span:first-child {
  display: block;
  font-family: var(--ff-en-sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--c-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.about__rep-name .en {
  display: block;
  font-family: var(--ff-en-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--c-text-mute);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.about__rep-bio {
  font-family: var(--ff-jp);
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--c-text-mute);
  margin: 0;
  font-weight: 400;
}

/* ===== News ===== */
.news { background: var(--c-bg); }
.news__head { max-width: 900px; }

.news__list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}
.news__item {
  display: none;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.news__item:first-child { border-top: 1px solid var(--c-line); }
.news__item.is-shown {
  display: grid;
  animation: newsItemIn .55s cubic-bezier(.16,.84,.44,1) both;
}
@keyframes newsItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.news__date {
  font-family: var(--ff-en-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  white-space: nowrap;
  font-weight: 500;
}
.news__text {
  font-family: var(--ff-jp);
  font-size: 0.98rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin: 0;
  font-weight: 400;
}

.news__more-wrap {
  max-width: 900px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: center;
}
.news__more {
  background: transparent;
  border: 1px solid var(--c-gold);
  color: var(--c-text);
  font-family: var(--ff-en-sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background .35s ease, color .35s ease, letter-spacing .35s ease;
}
.news__more:hover {
  background: var(--c-gold);
  color: var(--c-bg);
  letter-spacing: 0.34em;
}
.news__more[hidden] { display: none; }
.news__more-arrow {
  font-size: 1.1em;
  line-height: 1;
}

/* ===== Services Map（About と News の間の目次的ナビ）===== */
.services-map {
  background: var(--c-bg);
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  position: relative;
  border-top: 1px solid rgba(201, 169, 97, 0.28);
}
.services-map__head {
  max-width: 1400px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.services-map__label {
  font-family: var(--ff-en-sans);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}
.services-map__title {
  font-family: var(--ff-jp);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--c-text);
  margin: 0;
}

.services-map__grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.services-map__item { margin: 0; }
.services-map__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .45s cubic-bezier(.16,.84,.44,1);
  -webkit-tap-highlight-color: transparent;
}
.services-map__link:hover {
  transform: translateY(-4px);
}
.services-map__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid rgba(201, 169, 97, 0.18);
  transition: border-color .35s ease;
}
.services-map__link:hover .services-map__img-wrap {
  border-color: rgba(201, 169, 97, 0.45);
}
.services-map__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .45s cubic-bezier(.16,.84,.44,1);
}
.services-map__img--normal { opacity: 1; z-index: 1; }
.services-map__img--hover  { opacity: 0; z-index: 2; }
.services-map__link:hover .services-map__img--normal { opacity: 0; }
.services-map__link:hover .services-map__img--hover  { opacity: 1; }

/* SP: 2 × 2 グリッド */
@media (max-width: 700px) {
  .services-map { padding: clamp(60px, 14vw, 90px) var(--gutter); }
  .services-map__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  /* SPはホバー不要、タップで即遷移 */
  .services-map__link:hover { transform: none; }
}

/* ===== Services ===== */
.services { background: var(--c-bg); }
.services__head { margin-bottom: clamp(60px, 8vw, 120px); }

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto clamp(80px, 10vw, 160px);
}
.service:last-child { margin-bottom: 0; }
.service--reverse .service__media { order: 2; }
.service--reverse .service__body { order: 1; }

.service__media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  will-change: transform;
}
.service__media-inner {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.service__num {
  position: absolute;
  right: -10px; top: -30px;
  font-family: var(--ff-en-serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--c-gold);
  letter-spacing: 0;
  line-height: 0.9;
  z-index: 2;
  text-shadow: 0 0 30px rgba(0,0,0,0.6);
}
.svc-bg-01 { background: url('../img/image_01.png') center/cover no-repeat; }
.svc-bg-02 { background: url('../img/image_02.png') center/cover no-repeat; }
.svc-bg-03 { background: url('../img/image_03.png') center/cover no-repeat; }
.svc-bg-04 { background: url('../img/image_04.png') center/cover no-repeat; }

.service__body { position: relative; }
.service__tag {
  font-family: var(--ff-en-sans);
  font-size: 0.76rem;
  letter-spacing: 0.34em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 500;
}
.service__title {
  font-family: var(--ff-jp);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--c-text);
  margin: 0 0 24px;
}
.service__lead {
  font-family: var(--ff-jp);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--c-gold);
  margin: 0 0 28px;
  font-weight: 400;
}
.service__desc {
  font-family: var(--ff-jp);
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--c-text-mute);
  margin: 0 0 32px;
  font-weight: 400;
}
.service__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service__points li {
  font-family: var(--ff-jp);
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  position: relative;
  padding-left: 24px;
  line-height: 1.7;
  font-weight: 400;
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 1px;
  background: var(--c-gold);
}

/* ===== Company ===== */
.company { background: var(--c-bg); }
.company__list {
  max-width: 900px;
  margin: 0 auto;
}
.company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}
.company__row:first-child { border-top: 1px solid var(--c-line); }
.company__row dt {
  font-family: var(--ff-jp);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  font-weight: 500;
}
.company__row dd {
  font-family: var(--ff-jp);
  font-size: 0.98rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin: 0;
  font-weight: 400;
}
.company__row dd .en {
  display: inline;
  font-family: var(--ff-en-serif);
  font-style: italic;
  font-size: 0.9em;
  color: var(--c-text-mute);
  margin-left: 6px;
}

/* ===== Contact ===== */
.contact { background: var(--c-bg); }
.contact__form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row label {
  font-family: var(--ff-jp);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-text);
  font-weight: 400;
}
.form-row label span {
  color: var(--c-gold);
  margin-left: 4px;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  color: var(--c-text);
  font-family: var(--ff-jp);
  font-size: 1rem;
  padding: 14px 2px;
  letter-spacing: 0.06em;
  transition: border-color .3s ease;
  outline: none;
  width: 100%;
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.8;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1 L6 6 L11 1' fill='none' stroke='%23c9a961' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px 8px;
  padding-right: 32px;
}
.form-row select option {
  background: var(--c-bg);
  color: var(--c-text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--c-gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--ff-en-sans);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 22px 48px;
  background: transparent;
  border: 1px solid var(--c-gold);
  color: var(--c-text);
  font-weight: 400;
  transition: background .35s ease, color .35s ease, letter-spacing .35s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform: translateX(-100%);
  transition: transform .45s cubic-bezier(.7,0,.3,1);
  z-index: 0;
}
.btn span { position: relative; z-index: 1; }
.btn:hover::before { transform: translateX(0); }
.btn:hover {
  color: var(--c-bg);
  letter-spacing: 0.34em;
}
.btn__arrow { transition: transform .35s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.contact__note {
  font-family: var(--ff-jp);
  font-size: 0.85rem;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  margin: 0;
  min-height: 1.5em;
}

/* honeypot: 人間とスクリーンリーダーから完全非表示・ボットには見える */
.form-row--hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contact 送信結果メッセージ */
.contact__status {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 20px 28px;
  border: 1px solid;
  font-family: var(--ff-jp);
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  text-align: center;
}
.contact__status--success {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(201, 169, 97, 0.08);
}
.contact__status--error {
  border-color: #e57373;
  color: #f5b7b7;
  background: rgba(229, 115, 115, 0.10);
}

/* ===== Footer ===== */
.site-footer {
  background: #050505;
  padding: 80px var(--gutter) 40px;
  border-top: 1px solid var(--c-line);
}
.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.site-footer__address {
  font-family: var(--ff-jp);
  font-size: 0.85rem;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--c-text-mute);
  margin: 0;
  font-weight: 400;
}
.site-footer__copy {
  font-family: var(--ff-en-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--c-text-dim);
  margin: 0;
  text-transform: uppercase;
}

/* ============================================================
   Plan B: 交互配色（Black ↔ Off-white）
   コンテンツ境界に金の極細罫線を入れ「切替の瞬間」を演出する
   ============================================================ */

/* セクション境界の金ライン（黒・白問わず全セクション上端） */
.about,
.news,
.services,
.company,
.contact {
  border-top: 1px solid rgba(201, 169, 97, 0.28);
}

/* --- Light section ベース --- */
.section--light {
  background: var(--c-bg-light);
  color: var(--c-text-on-light);
}

/* セクション見出し */
.section--light .section__title { color: var(--c-text-on-light); }
.section--light .section__title em { color: var(--c-gold); }
.section--light .section__sub { color: var(--c-text-on-light-mute); }
.section--light .section__label { color: var(--c-gold); }
.section--light .section__label::before { background: var(--c-gold); }

/* 巨大装飾の数字（背景ステンドカラー） */
.section--light .section__no {
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.38);
}

/* About — リード本文 */
.section--light .about__lead { color: var(--c-text-on-light); }
.section--light .about__lead strong,
.section--light .about__lead em { color: var(--c-gold); }

/* About — 代表者カード（白地用に再構成） */
.section--light .about__representative {
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0));
  border: 1px solid var(--c-line-on-light);
  border-top: 1px solid var(--c-gold-soft);
}
.section--light .about__rep-name { color: var(--c-text-on-light); }
.section--light .about__rep-name .en { color: var(--c-text-on-light-mute); }
.section--light .about__rep-bio { color: var(--c-text-on-light-mute); }

/* Company — 会社概要テーブル */
.section--light .company__row {
  border-bottom: 1px solid var(--c-line-on-light);
}
.section--light .company__row:first-child {
  border-top: 1px solid var(--c-line-on-light);
}
.section--light .company__row dd { color: var(--c-text-on-light); }
.section--light .company__row dd .en { color: var(--c-text-on-light-mute); }
/* dt（項目名）は両テーマ共通で金 */

/* News — 白地用罫線・文字色（news__date は金で両テーマ共通） */
.section--light .news__item {
  border-bottom: 1px solid var(--c-line-on-light);
}
.section--light .news__item:first-child {
  border-top: 1px solid var(--c-line-on-light);
}
.section--light .news__text { color: var(--c-text-on-light); }
.section--light .news__more { color: var(--c-text-on-light); }
.section--light .news__more:hover { color: var(--c-bg-light); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root {
    --section-pad-y: clamp(80px, 18vw, 140px);
    --header-h: 64px;
  }
  .nav { display: none; }
  .nav-toggle { display: inline-block; }

  /* SP でも JP/EN は常時表示。ハンバーガー左にコンパクト配置 */
  .site-header__inner { gap: 12px; }
  .lang-switch {
    margin-left: auto;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    gap: 6px;
  }
  .lang-switch__btn { padding: 4px 2px; }
  /* モバイルメニュー内の言語切替は重複するため非表示 */
  .mobile-menu__lang { display: none; }

  .about__body { grid-template-columns: 1fr; gap: 60px; }
  .about__representative { padding: 28px; }

  .service,
  .service--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: clamp(70px, 14vw, 100px);
  }
  .service--reverse .service__media { order: 0; }
  .service--reverse .service__body { order: 1; }

  .company__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .hero__scroll { display: none; }
  .hero__title { letter-spacing: 0; }
  .section__no { font-size: clamp(4.5rem, 22vw, 7rem); right: -4px; }
}
