/* SORAMICHI — fictional sample site (motion study). All original code. */
:root {
  --vh: 1vh;
  --ink: #101114;
  --paper: #f4f1ea;
  --gold: #c9a86a;
  --teal: #10333a;
  --rail-w: 64px;
  --serif: "Cormorant Garamond", "Shippori Mincho", serif;
  --sans: "Jost", "Zen Kaku Gothic New", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--ink); }
body { color: var(--paper); font-family: var(--sans); } /* 背景はhtml側のみ: z-index:-1 の .pageBg を透過させるため */
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font-family: inherit; }

/* ---------- fixed chrome ---------- */
.burger {
  position: fixed; top: 0; left: 0; z-index: 900;
  width: 56px; height: 56px; background: #000;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform .4s, opacity .4s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 40px 0 96px; pointer-events: none;
}
.header a, .header button { pointer-events: auto; }
.header__logo { font-family: var(--serif); font-size: 26px; letter-spacing: .42em; }
.header__right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; gap: 8px; font-size: 13px; letter-spacing: .15em; }
.lang__btn { opacity: .45; }
.lang__btn.is-active { opacity: 1; }
.header__contact { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; }
.header__contactIcon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(244,241,234,.7); border-radius: 50%; font-size: 13px;
}

.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 700;
  display: flex; align-items: flex-end; padding-bottom: 8vh;
}
.rail ul { list-style: none; display: flex; flex-direction: column; gap: 42px; width: 100%; }
.rail li { position: relative; writing-mode: vertical-rl; margin: 0 auto; font-size: 11px; letter-spacing: .3em; opacity: .8; }
.rail li.is-current::after {
  content: ""; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 26px; background: var(--paper);
}

/* rotating circle */
.orbit { position: fixed; right: 4vw; bottom: 7vh; width: 120px; height: 120px; z-index: 600; cursor: pointer; }
.orbit__disc { position: absolute; inset: 0; }
.orbit__disc svg { width: 100%; height: 100%; overflow: visible; }
.orbit__disc text { fill: var(--gold); font-family: var(--serif); font-size: 11.5px; letter-spacing: .18em; }
.orbit__arrow {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 30px; font-weight: 300; transition: transform .3s;
}
.orbit:hover .orbit__arrow { transform: translateX(6px); }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 850; background: #000;
  clip-path: inset(0 100% 0 0); visibility: hidden;
  display: flex; align-items: center; padding-left: 14vw;
}
.menu__list { list-style: none; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: inline-block; font-family: var(--serif); font-size: clamp(34px, 6vw, 72px);
  letter-spacing: .18em; line-height: 1.6; transform: translateY(110%);
}
.menu__list a:hover { color: var(--gold); font-style: italic; }
.menu__note { position: absolute; bottom: 6vh; left: 14vw; font-size: 12px; opacity: .5; letter-spacing: .1em; }

/* ---------- horizontal stage ---------- */
.stage { overflow: hidden; }
.belt {
  display: flex; align-items: stretch;
  height: calc(var(--vh) * 100); width: max-content;
  background:
    radial-gradient(1200px 600px at 20% 30%, rgba(32,58,66,.35), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.014) 0 2px, transparent 2px 5px),
    var(--ink);
}
.panel { position: relative; flex: 0 0 auto; height: 100%; }

/* hero */
.hero { width: 46vw; min-width: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 6vw 14vh 110px; }
.hero__bg {
  position: absolute; inset: 0 18% 0 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(244,241,234,.05) 24% calc(24% + 1px), transparent calc(24% + 1px) 49%, rgba(244,241,234,.05) 49% calc(49% + 1px), transparent calc(49% + 1px) 74%, rgba(244,241,234,.05) 74% calc(74% + 1px), transparent calc(74% + 1px)),
    #0a0b0d;
}
.hero__title { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 74px); line-height: 1.18; letter-spacing: .04em; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__line { display: block; overflow: hidden; }
.hero__line > * , .hero__line { will-change: transform; }
.hero__lead { position: relative; max-width: 34em; margin-top: 4.5vh; font-size: 13.5px; font-weight: 300; line-height: 2.1; letter-spacing: .06em; opacity: .85; }
.hero__scrollHint { position: absolute; right: 3vw; bottom: 6vh; font-size: 10px; letter-spacing: .5em; opacity: .5; animation: hintPulse 2.4s infinite; }
@keyframes hintPulse { 0%,100% { opacity: .2; } 50% { opacity: .7; } }

/* giant vertical section titles */
.giant {
  position: absolute; top: 50%; left: -.18em; transform: translateY(-58%);
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 400;
  font-size: clamp(120px, 21vh, 230px); letter-spacing: .08em; color: var(--paper);
  z-index: 5; pointer-events: none; white-space: nowrap;
}
.giant--up { top: 38%; }

/* field cards — full-height flush panels, like the reference layout */
.sec-fields { display: flex; align-items: stretch; padding: 0 0 0 13vw; }
.cards { display: flex; gap: 0; align-items: stretch; height: 100%; }
.card { position: relative; display: block; width: 16.5vw; min-width: 240px; }
.card--single { width: 20vw; min-width: 280px; }
.card__frame { overflow: hidden; height: 100%; }
.card__media { width: 118%; height: 100%; margin-left: -9%; will-change: transform; }
.card__zoom {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.card:hover .card__zoom { transform: scale(1.1); }
.card__meta {
  position: absolute; left: 12%; top: 38%; z-index: 6;
  text-shadow: 0 0 14px rgba(0,0,0,.65);
  transition: transform .35s ease-out;
}
.card:hover .card__meta { transform: translateY(-30px); }
.card__label { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .3em; }
.card__label i { font-style: normal; font-size: 12px; border-bottom: 1px solid var(--paper); padding-bottom: 4px; }
.card__name { display: block; margin-top: 15vh; font-size: clamp(18px, 1.5vw, 25px); font-weight: 300; letter-spacing: .12em; }
.card__no { position: absolute; right: 8%; bottom: 5%; z-index: 6; font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: .2em; text-shadow: 0 0 10px rgba(0,0,0,.6); }

.sec-about { display: flex; align-items: stretch; padding: 0 0 0 18vw; }
.sec-news { display: flex; align-items: center; padding: 0 10vw 0 20vw; }
.newsList { min-width: 34vw; }
.newsList__item {
  display: flex; gap: 2.5em; align-items: baseline; padding: 30px 8px;
  border-bottom: 1px solid rgba(244,241,234,.25); font-weight: 300; letter-spacing: .08em;
  transition: padding-left .35s, color .35s;
}
.newsList__item time { font-family: var(--serif); font-size: 13px; color: var(--gold); }
.newsList__item:hover { padding-left: 24px; color: var(--gold); }

/* footer panel */
.foot { width: 100vw; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2.4vh; background: #08090b; }
.foot__title { font-family: var(--serif); font-size: clamp(46px, 7vw, 110px); font-weight: 400; letter-spacing: .14em; }
.foot__company { font-size: 15px; letter-spacing: .2em; }
.foot__company small { opacity: .5; }
.foot__address { font-size: 12px; font-weight: 300; opacity: .7; letter-spacing: .08em; }
.foot__btn {
  margin-top: 2vh; padding: 14px 68px; border: 1px solid var(--gold); color: var(--gold);
  font-size: 13px; letter-spacing: .35em; transition: background .4s, color .4s;
}
.foot__btn:hover { background: var(--gold); color: var(--ink); }
.foot__bottom { position: absolute; bottom: 4vh; display: flex; flex-direction: column; gap: 10px; font-size: 11px; opacity: .55; letter-spacing: .1em; }

/* page transition: white strip curtain + persistent image column */
.curtain { position: fixed; inset: 0; z-index: 960; pointer-events: none; }
.curtain i {
  position: absolute; top: 0; height: 100%; display: block;
  background: var(--paper); transform: translateY(100%);
}
.coverCol {
  position: fixed; z-index: 970; pointer-events: none; opacity: 0;
  background-size: cover; background-position: center;
}

/* full-page image background for detail pages (matches original l-wrap__bg) */
.pageBg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.pageBg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,10,12,.93) 0%, rgba(9,10,12,.62) 60%, rgba(9,10,12,.8) 100%);
}

/* ---------- sub pages ---------- */
.subpage { min-height: calc(var(--vh) * 100); padding: 20vh 12vw 10vh; }
.subpage__num { font-family: var(--serif); color: var(--gold); letter-spacing: .3em; font-size: 14px; }
.subpage__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 88px); letter-spacing: .1em; margin: 2vh 0 5vh; }
.subpage__hero { height: 52vh; background-size: cover; background-position: center; margin-bottom: 6vh; }
.subpage__body { max-width: 42em; font-weight: 300; line-height: 2.3; letter-spacing: .06em; font-size: 14.5px; }
.subpage__body p + p { margin-top: 2em; }
.subpage__back { display: inline-block; margin-top: 8vh; color: var(--gold); letter-spacing: .3em; font-size: 13px; }
.subpage__back::before { content: "← "; }
.dl { max-width: 42em; }
.dl div { display: grid; grid-template-columns: 10em 1fr; padding: 22px 4px; border-bottom: 1px solid rgba(244,241,234,.2); font-weight: 300; font-size: 14px; letter-spacing: .06em; }
.dl dt { color: var(--gold); font-family: var(--serif); letter-spacing: .2em; }
.form { max-width: 40em; display: flex; flex-direction: column; gap: 26px; }
.form label { display: flex; flex-direction: column; gap: 10px; font-size: 12px; letter-spacing: .25em; color: var(--gold); }
.form input, .form textarea {
  background: rgba(244,241,234,.05); border: 1px solid rgba(244,241,234,.25);
  padding: 14px; color: var(--paper); font-family: var(--sans); font-size: 14px;
}
.form button { align-self: flex-start; padding: 14px 60px; border: 1px solid var(--gold); color: var(--gold); letter-spacing: .35em; }
.form__note { font-size: 12px; opacity: .6; }

/* reveal for sub pages / SP */
.rv { opacity: 0; transform: translateY(34px); }

/* ---------- mobile (≤650px): vertical fallback ---------- */
@media (max-width: 650px) {
  .belt { flex-direction: column; height: auto; width: 100%; }
  .panel { width: 100% !important; min-width: 0 !important; height: auto; }
  .hero { padding: 26vh 8vw 14vh; }
  .hero__bg { inset: 0; }
  .giant { position: static; writing-mode: horizontal-tb; transform: none; font-size: 64px; padding: 10vh 8vw 0; }
  .sec-fields, .sec-about, .sec-news { display: block; padding: 0 8vw 6vh; }
  .cards { flex-direction: column; gap: 12vh; margin-top: 6vh; }
  .card, .card--single { width: 100%; }
  .card__frame { height: 58vh; }
  .card__meta { left: 4%; }
  .newsList { min-width: 0; margin-top: 4vh; }
  .foot { padding: 16vh 8vw; }
  .header { padding: 22px 20px 0 72px; }
  .header__logo { font-size: 19px; }
  .header__contact span:last-child { display: none; }
  .rail { display: none; }
  .orbit { width: 90px; height: 90px; right: 5vw; bottom: 4vh; }
  .subpage { padding: 16vh 8vw 10vh; }
}
