/* ============================================================
   KANTERA Inc. — Corporate Site
   Concept: 暗闇に灯をともす（黒 × 金の灯り）
   ============================================================ */

:root {
  --bg:        #050506;
  --bg-soft:   #0a0a0c;
  --ink:       #f2efe8;
  --ink-mid:   rgba(242, 239, 232, .68);
  --ink-dim:   rgba(242, 239, 232, .42);
  --gold:      #d3ad62;
  --amber:     #f6b45c;
  --hair:      rgba(242, 239, 232, .13);

  --jp-serif:  "Noto Serif JP", serif;
  --jp-sans:   "Noto Sans JP", sans-serif;
  --en:        "Montserrat", sans-serif;
  --en-serif:  "Cormorant Garamond", serif;

  --pad:       clamp(20px, 5vw, 64px);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--jp-sans);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(211, 173, 98, .3); color: #fff; }

/* ---------- atmosphere ---------- */

/* カーソルを追う灯り（カンテラ） */
.lantern {
  position: fixed;
  top: 0; left: 0;
  width: 46rem; height: 46rem;
  margin: -23rem 0 0 -23rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle,
    rgba(246, 180, 92, .13) 0%,
    rgba(211, 173, 98, .06) 32%,
    transparent 68%);
  mix-blend-mode: screen;
  transition: opacity .8s var(--ease);
  will-change: transform;
}
.lantern.is-on { opacity: 1; }

/* フィルムグレイン */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

/* ---------- layout ---------- */

.wrap {
  width: min(1180px, 100% - var(--pad) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 3;
}
.wrap--narrow { width: min(860px, 100% - var(--pad) * 2); }

.section { padding: clamp(88px, 13vw, 180px) 0; position: relative; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 14px var(--pad);
  background: rgba(5, 5, 6, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}

.nav__brand { display: flex; align-items: center; gap: 12px; }

.nav__mark {
  width: 24px; height: 24px;
  flex: 0 0 auto;
  fill: var(--gold);
  filter: drop-shadow(0 0 9px rgba(246, 180, 92, .38));
  transition: filter .5s var(--ease);
}
.nav__brand:hover .nav__mark { filter: drop-shadow(0 0 14px rgba(246, 180, 92, .7)); }

.nav__word {
  font-family: var(--en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .34em;
  padding-left: .34em;
}

.nav__links { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }

.nav__links a {
  font-family: var(--en);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
  padding: 4px 0;
  transition: color .4s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__links .nav__cta {
  color: var(--gold);
  border: 1px solid rgba(211, 173, 98, .42);
  padding: 9px 20px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0805;
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 9px;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 140px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  left: 50%; top: 44%;
  width: min(150vw, 1500px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(246, 180, 92, .17) 0%,
    rgba(211, 173, 98, .08) 24%,
    rgba(120, 84, 30, .04) 42%,
    transparent 62%);
  z-index: 0;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .8;  transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.07); }
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  min-width: 0;
  max-width: 100%;
  margin-inline: auto;
}

.hero__eyebrow {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-family: var(--en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__word {
  margin: 0;
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(46px, 13.5vw, 200px);
  line-height: .96;
  letter-spacing: .1em;
  padding-left: .1em;
  color: var(--ink);
  white-space: nowrap;
}
/* 文字の上を光が横切る */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero__word {
    background: linear-gradient(100deg,
      #cfcabf 0%, #f5f1e8 34%,
      #ffe6b4 46%, #fff8e6 50%, #ffe6b4 54%,
      #f5f1e8 66%, #cfcabf 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sweep 7s var(--ease) 1.1s infinite;
  }
}
@keyframes sweep {
  0%, 62%, 100% { background-position: 160% 0; }
  22%           { background-position: -60% 0; }
}

.hero__tagline {
  margin: clamp(26px, 4vw, 46px) 0 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(20px, 3.4vw, 40px);
  letter-spacing: .26em;
  line-height: 1.6;
  text-indent: .26em;
}

.hero__lead {
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  font-size: clamp(12.5px, 1.25vw, 15px);
  line-height: 2.3;
  color: var(--ink-mid);
  letter-spacing: .1em;
}

.hero__scroll {
  position: absolute;
  left: var(--pad); bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--en);
  font-size: 9.5px;
  letter-spacing: .34em;
  color: var(--ink-dim);
  transition: color .4s var(--ease);
}
.hero__scroll:hover { color: var(--gold); }
.hero__scroll i {
  display: block;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: trace 2.6s var(--ease) infinite;
}
@keyframes trace {
  0%   { transform: translateX(-100%); }
  60%,100% { transform: translateX(100%); }
}

/* ---------- section headings ---------- */

.sec-head { margin-bottom: clamp(48px, 7vw, 88px); }

.sec-num {
  margin: 0 0 20px;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
}
.sec-num::after {
  content: "";
  flex: 0 0 auto;
  width: clamp(40px, 7vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 173, 98, .8), transparent);
}

.sec-title {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(23px, 3.6vw, 46px);
  line-height: 1.55;
  letter-spacing: .1em;
}

.sec-lead {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  max-width: 46em;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.2;
  color: var(--ink-mid);
}

/* ---------- concept ---------- */

.section--concept::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair) 22%, var(--hair) 78%, transparent);
}

.meanings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.meaning {
  position: relative;
  padding: clamp(26px, 3vw, 40px) 0 0 clamp(22px, 2.4vw, 34px);
  border-left: 1px solid var(--hair);
  border-top: 1px solid var(--hair);
  transition: border-color .6s var(--ease);
}
.meaning::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 1px; height: 46px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(246, 180, 92, .6);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .8s var(--ease) .2s;
}
.meaning.is-in::before { transform: scaleY(1); }

.meaning__idx {
  position: absolute;
  right: 0; top: clamp(26px, 3vw, 40px);
  font-family: var(--en-serif);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--ink-dim);
}

.meaning__en {
  margin: 0 0 10px;
  font-family: var(--en);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.meaning__jp {
  margin: 0 0 clamp(16px, 2vw, 24px);
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: .06em;
}

.meaning__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 2.15;
  color: var(--ink-mid);
}
.meaning__body em {
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 1.16em;
  color: var(--ink);
  letter-spacing: .02em;
}

.meanings__note {
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding-top: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--hair);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.2;
  color: var(--ink-mid);
  text-align: center;
}
.meanings__note b {
  font-family: var(--en);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .1em;
}

/* ---------- business ---------- */

.section--business { background: linear-gradient(180deg, transparent, var(--bg-soft) 40%, transparent); }

.biz { border-top: 1px solid var(--hair); }

.biz__item {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 190px) 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(38px, 5vw, 70px) clamp(10px, 2vw, 28px);
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: background .6s var(--ease);
}
.biz__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 180, 92, .07), transparent 55%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.biz__item:hover::before { opacity: 1; }

.biz__no {
  font-family: var(--en-serif);
  font-size: clamp(30px, 4.4vw, 62px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink-dim);
  transition: color .6s var(--ease), text-shadow .6s var(--ease);
}
.biz__item:hover .biz__no {
  color: var(--gold);
  text-shadow: 0 0 26px rgba(246, 180, 92, .5);
}

.biz__en {
  margin: 0 0 12px;
  font-family: var(--en);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.biz__jp {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(19px, 2.5vw, 32px);
  line-height: 1.5;
  letter-spacing: .09em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

.biz__brand {
  font-family: var(--jp-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--ink-dim);
  border: 1px solid var(--hair);
  padding: 5px 13px;
  line-height: 1;
  white-space: nowrap;
}

.biz__body {
  margin: 0;
  max-width: 44em;
  font-size: 13.5px;
  line-height: 2.2;
  color: var(--ink-mid);
}

/* ---------- company ---------- */

.profile { margin: 0; }

.profile__row {
  display: grid;
  grid-template-columns: clamp(100px, 14vw, 170px) 1fr;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--hair);
}
.profile__row:first-child { border-top: 1px solid var(--hair); }

.profile dt {
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--gold);
  line-height: 2.2;
}

.profile dd {
  margin: 0;
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 2.2;
  letter-spacing: .06em;
}
.profile dd a { border-bottom: 1px solid var(--hair); transition: border-color .4s var(--ease); }
.profile dd a:hover { border-bottom-color: var(--gold); }
.profile .tbd { color: var(--ink-dim); letter-spacing: .1em; }

/* ---------- contact ---------- */

.section--contact {
  text-align: center;
  overflow: hidden;
  padding-bottom: clamp(100px, 15vw, 200px);
}

.contact__glow {
  position: absolute;
  left: 50%; bottom: -46%;
  width: min(140vw, 1200px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle,
    rgba(246, 180, 92, .15) 0%,
    rgba(211, 173, 98, .06) 30%,
    transparent 60%);
  z-index: 0;
}

.section--contact .sec-num { justify-content: center; }
.section--contact .sec-num::after { display: none; }

.contact__title {
  margin: 22px 0 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 58px);
  line-height: 1.5;
  letter-spacing: .1em;
}

.contact__lead {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.2;
  color: var(--ink-mid);
}

.contact__lines {
  margin-top: clamp(38px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 26px);
}

.contact__line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  border: 1px solid rgba(211, 173, 98, .32);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
a.contact__line:hover {
  background: rgba(246, 180, 92, .08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact__line--tbd { border-style: dashed; border-color: var(--hair); }

.contact__label {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__value {
  font-family: var(--en);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  letter-spacing: .12em;
}
.contact__line--tbd .contact__value { color: var(--ink-dim); }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--hair);
  padding: clamp(44px, 6vw, 70px) 0 clamp(34px, 4vw, 50px);
  position: relative;
  z-index: 3;
}
.foot__inner { text-align: center; }

.foot__mark {
  width: 34px; height: 34px;
  display: block;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
  fill: var(--gold);
  opacity: .85;
  filter: drop-shadow(0 0 12px rgba(246, 180, 92, .3));
}

.foot__word {
  margin: 0;
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: .5em;
  padding-left: .5em;
  color: var(--ink-mid);
}
.foot__addr {
  margin: 18px 0 0;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-dim);
}
.foot__copy {
  margin: 22px 0 0;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--ink-dim);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

.sp-only { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .meanings { grid-template-columns: 1fr; gap: 0; }
  .meaning { border-left: 0; padding-left: 0; padding-bottom: clamp(26px, 4vw, 36px); }
  .meaning::before { left: 0; width: 46px; height: 1px; transform: scaleX(0); transform-origin: left; }
  .meaning.is-in::before { transform: scaleX(1); }
  .meaning__jp { font-size: 40px; }
}

@media (max-width: 780px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(5, 5, 6, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 14px; letter-spacing: .3em; }

  .nav__brand, .nav__toggle { position: relative; z-index: 2; }

  .hero__word { font-size: clamp(34px, 10.5vw, 64px); letter-spacing: .06em; }
  .hero__tagline { letter-spacing: .18em; text-indent: .18em; }
  .hero__scroll { display: none; }

  .biz__item { grid-template-columns: 1fr; gap: 10px; }
  .biz__no { font-size: 26px; }

  .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .profile dt { line-height: 1.8; }

  .sp-only { display: inline; }
  .contact__lines { flex-direction: column; align-items: stretch; }
  .contact__line { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .hero__glow, .hero__word, .hero__scroll i::after { animation: none; }
  .lantern { display: none; }
  .meaning::before { transform: none; }
}
