/* =====================================================================
 *  第5回 うますぎ一本杉 専用LP
 *  のれんをくぐった先に現れるページ本体。
 *  スクロール演出は umasugi5-lp.js（GSAP + ScrollTrigger）が担う。
 * ===================================================================== */

:root {
  --u5-navy: #134b70;
  --u5-navy-d: #0c2b41;
  --u5-teal: #508c9b;
  --u5-gold: #c9a84c;
  --u5-cream: #f7f3ea;
}

.u5 {
  overflow-x: hidden;
}

/* このページのハンバーガー「杉」アイコン背景を金色(#DEBB41)に（CSSは本ページのみ読込）*/
.el_humb_sugi_bg path {
  fill: #DEBB41;
}

/* このページの「MENU」テキストを白に。
   ただし固定ヘッダー（白背景）では白文字が消えるため従来色(#3E3B3B)を維持。 */
.el_humb_txt path {
  fill: #fff;
}
.ly_header_fixed .el_humb_txt path {
  fill: #3E3B3B;
}

/* ===== 1スクロール=1画面のスワイプUX（スクロールスナップ）=====
   各画面はビューポート高で、スクロールすると1画面ずつ吸着する。
   フッターは縦長のためスナップ対象にせず自然にスクロールさせる（proximity）。 */
html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
.u5_hero,
.u5_section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* JSが有効な時だけ初期状態を隠す（GSAPが表示アニメで起こす）。
   JS/GSAP が無い・失敗した場合はクラスが付かず、内容は通常表示される（アクセシブルなフォールバック）。 */
.u5-js [data-u5-anim="fade-up"],
.u5-js [data-u5-anim="fade-in"] {
  opacity: 0;
  will-change: opacity, transform;
}
.u5-js [data-u5-anim="fade-up"] {
  transform: translateY(40px);
}

/* ===== HERO / KV ===== */
.u5_hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--u5-navy-d);
}
/* ===== ストーリーズ背景（IG風）===== */
.u5_stories {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--u5-navy-d);
  transition: opacity 1s ease;
}
/* のれんが開き切ったら裏の動画ごとフェードアウト（noren.js が is-faded を付与）*/
.u5_stories.is-faded {
  opacity: 0;
  pointer-events: none;
}
.u5_stories_media {
  position: absolute;
  inset: 0;
}
/* JS未動作時のフォールバック1枚 */
.u5_stories_media > img,
.u5_stories_media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* クロスフェード用レイヤー（JSが生成） */
.u5_stories_layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.u5_stories_layer.is-active {
  opacity: 1;
}
.u5_stories_layer img,
.u5_stories_layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* テキスト可読性のための陰り（明るい写真でも中央の見出しが読めるよう中央を強める）*/
.u5_stories_shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% 44%, rgba(12, 43, 65, .55) 0%, rgba(12, 43, 65, .28) 45%, rgba(12, 43, 65, .10) 76%, transparent 100%),
    linear-gradient(180deg, rgba(12, 43, 65, .48) 0%, rgba(12, 43, 65, .18) 38%, rgba(12, 43, 65, .66) 100%);
}

.u5_hero_copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  text-shadow: 0 2px 18px rgba(12, 43, 65, .35);
  transition: opacity 1s ease, transform 1s ease;
}

/* のれん表示中（body.u5-noren-active）はヒーローのコピーとサイトヘッダーを隠し、
   動画＋布だけのクリーンな画にする。くぐると同時にフェードインさせる。 */
.u5-noren-active .u5_hero_copy {
  opacity: 0;
  transform: translateY(24px);
}
.ly_header_absolute {
  transition: opacity .8s ease;
}
.u5-noren-active .ly_header_absolute {
  opacity: 0;
  pointer-events: none;
}
.u5_hero_pre {
  font-family: 'Hiragino Mincho ProN', serif;
  letter-spacing: .3em;
  font-size: clamp(.8rem, 2.6vw, 1.05rem);
  margin: 0 0 .8em;
}
.u5_hero_ttl {
  font-family: 'Hiragino Mincho ProN', serif;
  letter-spacing: .1em;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1.18;
  margin: 0 0 .5em;
  /* 語の途中で改行させない（「うます／ぎ」のような分断を防ぐ）。改行は空白位置で。 */
  word-break: keep-all;
  overflow-wrap: normal;
}
.u5_hero_meta {
  font-family: 'Hiragino Mincho ProN', serif;
  line-height: 2;
  letter-spacing: .08em;
  font-size: clamp(.9rem, 2.6vw, 1.1rem);
  margin: 0;
}
.u5_hero_scroll {
  display: inline-block;
  margin-top: 2.6rem;
  letter-spacing: .3em;
  font-size: .72rem;
  opacity: .9;
}
.u5_hero_scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: .8rem auto 0;
  background: rgba(255, 255, 255, .8);
  animation: u5-scroll 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes u5-scroll {
  0% { transform: scaleY(0); }
  40% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== 汎用セクション（1画面）===== */
.u5_section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 12vh, 7rem) 1.5rem;
  background: var(--u5-cream);
  color: var(--u5-text, #3e3b3b);
}
.u5_inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* 交互に背景色を変えてリズムを出す */
.u5_concept { background: var(--u5-navy-d); color: #fff; }
.u5_outline { background: var(--u5-cream); }
.u5_menu    { background: var(--u5-cream); }
.u5_access  { background: var(--u5-navy); color: #fff; }

/* ===== お品書き（メニュー一覧）===== */
.u5_menu_note {
  margin: -0.4em 0 1.8em;
  font-size: .78rem;
  letter-spacing: .08em;
  color: #8a8a8a;
}
/* 縦書きの列を右→左に並べる（参考デザインに準拠）。各列に縦の区切り線。 */
.u5_menu_cols {
  display: flex;
  flex-direction: row-reverse; /* 先頭の品目が右端＝右から読む */
  justify-content: center;
  align-items: stretch;        /* 全列の高さ（＝区切り線の長さ）を揃える */
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;            /* 列が多く狭い画面でも破綻させない */
  padding-bottom: 4px;
}
.u5_menu_col {
  writing-mode: vertical-rl;
  white-space: nowrap;
  /* 縦書きでは flex-direction:row が「縦方向の並び」になる。品名→出店者名を縦に積む */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between; /* 品名を上端・出店者名を下端へ振り分け（出店者名の位置を揃える）*/
  gap: 1.5em;
  padding: 0 clamp(.6em, 2.8vw, 1em);
  border-left: 1px solid rgba(0, 23, 34, .22);
  flex: 0 0 auto;
}
.u5_menu_name {
  font-size: clamp(.95rem, 3.6vw, 1.12rem);
  letter-spacing: .14em;
}
.u5_menu_vendor {
  font-size: .82em;
  color: var(--u5-teal);
  letter-spacing: .14em;
}

/* リード（コンセプト）*/
.u5_lead {
  font-family: 'Hiragino Mincho ProN', serif;
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  line-height: 1.5;
  letter-spacing: .08em;
  margin: 0 0 1.2em;
}
.u5_lead_body {
  font-size: clamp(.95rem, 3.4vw, 1.1rem);
  line-height: 2.1;
  letter-spacing: .04em;
  margin: 0 auto;
}

/* セクション見出し */
.u5_h2 {
  font-family: 'Hiragino Mincho ProN', serif;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  letter-spacing: .12em;
  margin: 0 0 1.4em;
  position: relative;
  padding-bottom: .6em;
}
.u5_h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--u5-gold);
}

/* 開催概要のリスト */
.u5_info {
  margin: 0 auto;
  max-width: 460px;
  text-align: left;
}
.u5_info_row {
  display: flex;
  align-items: baseline;
  gap: 1.2em;
  padding: 1em 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.u5_info_row dt {
  flex: 0 0 4.5em;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .95rem;
  color: var(--u5-teal);
}
.u5_info_row dd {
  margin: 0;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  line-height: 1.6;
}
.u5_info_sub {
  font-size: .82em;
  opacity: .7;
}

/* ボタン群 */
.u5_btns {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 2rem;
}
.u5_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12em;
  padding: .9em 1.6em;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  letter-spacing: .08em;
  font-size: .95rem;
  transition: background-color .3s ease, color .3s ease;
}
.u5_btn:hover {
  background: rgba(255, 255, 255, .14);
}
.u5_btn--fill {
  background: var(--u5-gold);
  border-color: var(--u5-gold);
  color: var(--u5-navy-d);
}
.u5_btn--fill:hover {
  background: #d8b95e;
}

@media (prefers-reduced-motion: reduce) {
  .u5_hero_scroll::after { animation: none; }
}
