/* JUBILEE デモ11 — 「明るい重厚感」はデモ10から維持。
   テキストは画面中央に、大きな題名＋下に短い説明の2段構成。カード型UIは使わない。
   出現はフェード＋わずかな上昇で滑らかに（motion.js が進捗で駆動）。
   フォント: 見出し=Shippori Mincho B1 / 本文=Noto Sans JP / 欧文・数字=Cormorant Garamond */
:root{
  --bg:#f4efe3;
  --bg2:#fcfaf3;
  --ink:#2e2415;
  --ink-dim:#6f6046;
  --ink-faint:#a08e6d;
  --amber:#9c7c2e;
  --brass:#8a6d2f;
  --line:rgba(156,124,46,.32);
  --mincho:"Shippori Mincho B1","Hiragino Mincho ProN","Hiragino Mincho Pro","YuMincho","Yu Mincho",serif;
  --sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","YuGothic",system-ui,sans-serif;
  --latin:"Cormorant Garamond",Georgia,"Times New Roman",serif;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{background:var(--bg);}
body{
  color:var(--ink);
  font-family:var(--sans);
  font-weight:400;
  font-size:16px;
  line-height:1.9;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,video{display:block;max-width:none;}
a{color:inherit;}

/* ===== 映画の質感（グレインは弱く、ビネットは暗転でなく柔らかい光） ===== */
.film{position:fixed;inset:0;pointer-events:none;}
.film-grain{
  z-index:60;opacity:.05;mix-blend-mode:overlay;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}
.film-vignette{
  z-index:59;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 62%, rgba(176,138,62,.07) 100%),
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 22%, transparent 82%, rgba(176,138,62,.05));
}

/* ===== ヘッダー ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:flex-start;justify-content:space-between;
  padding:20px clamp(18px,4vw,44px);
  background:linear-gradient(180deg, rgba(250,247,238,.82), rgba(250,247,238,0));
  transition:background .4s ease;
}
.site-header.scrolled{background:linear-gradient(180deg, rgba(250,247,238,.94), rgba(250,247,238,.6) 70%, rgba(250,247,238,0));}
.brand{display:flex;align-items:baseline;gap:16px;}
.brand-en{
  font-family:var(--latin);font-size:26px;letter-spacing:.34em;color:var(--ink);
}
.brand-ja{font-size:12.5px;letter-spacing:.24em;color:var(--ink);}

/* ===== アクト（動画の旅） ===== */
.act{position:relative;height:460vh;}
.act .stage{
  position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#ece5d3;
}
.poster,.film-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.poster{z-index:1;transform-origin:50% 55%;will-change:transform;}
.film-video{z-index:2;opacity:0;transition:opacity .6s ease;}
.stage.has-video .film-video{opacity:1;}
.stage-shade{
  position:absolute;inset:0;z-index:3;pointer-events:none;
  background:
    linear-gradient(180deg, rgba(250,247,238,.34), transparent 26%, transparent 60%, rgba(250,247,238,.38)),
    radial-gradient(115% 100% at 50% 45%, transparent 62%, rgba(176,138,62,.08));
}
/* 動画が無い間はポスターをスクロールでゆっくり寄せる（仮表示） */
.stage:not(.has-video) .poster{transform:scale(calc(1.06 + var(--p,0)*0.14));}

/* コピーのビート：画面中央に、題名＋説明の2段。JS有効時のみ初期非表示。
   中央寄せは CSS の translate プロパティで担い、JS の transform（上昇）と競合させない */
html.js [data-from]{opacity:0;}
.beat{
  position:absolute;z-index:5;left:0;right:0;top:50%;
  translate:0 -50%;
  text-align:center;
  padding:34px clamp(20px,6vw,48px);
  pointer-events:none;
  /* 文字の背後に柔らかい光を置き、明暗どちらの画でも可読性を保つ（枠や面は作らない） */
  background:radial-gradient(ellipse 62% 88% at 50% 50%, rgba(252,250,243,.58), rgba(252,250,243,.28) 55%, transparent 78%);
}
.big-word{
  font-family:var(--mincho);font-weight:700;
  font-size:clamp(33px,5.2vw,64px);line-height:1.45;letter-spacing:.08em;
  color:var(--ink);
  text-shadow:0 0 18px rgba(255,253,246,.95), 0 1px 22px rgba(255,253,246,.85), 0 0 54px rgba(255,253,246,.75), 0 0 110px rgba(255,253,246,.55);
}
.beat-desc{
  margin:24px auto 0;max-width:42em;
  font-size:15.5px;font-weight:500;line-height:2.15;letter-spacing:.06em;color:#3a2c14;
  text-shadow:0 1px 12px rgba(255,253,246,.98), 0 0 26px rgba(255,253,246,.9), 0 0 60px rgba(255,253,246,.6);
}
.beat-desc-name{font-size:14.5px;letter-spacing:.34em;color:var(--ink);}

/* アクト間の光 */
.passage{height:14vh;background:linear-gradient(180deg,#efe9da,var(--bg) 60%,#efe9da);}

/* ===== 後半：静かな組版 ===== */
.quiet{background:linear-gradient(180deg,#efe9da 0%, var(--bg) 12%, var(--bg2) 100%);position:relative;z-index:4;}
.q-section{
  max-width:1060px;margin:0 auto;
  padding:clamp(72px,11vh,130px) clamp(20px,5vw,48px) 0;
}
.q-label{
  font-size:12.5px;font-weight:500;letter-spacing:.42em;color:var(--amber);
  border-bottom:1px solid var(--line);padding-bottom:14px;
}
.q-intro{
  font-family:var(--mincho);font-size:clamp(20px,3vw,30px);letter-spacing:.06em;
  margin-top:34px;line-height:1.8;
}
.biz-row{padding:42px 0 38px;border-bottom:1px solid rgba(46,36,21,.12);}
.biz-head{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;}
.biz-num{font-family:var(--latin);font-size:15px;color:var(--amber);letter-spacing:.1em;}
.biz-head h3{font-family:var(--mincho);font-weight:700;font-size:clamp(21px,2.6vw,28px);letter-spacing:.08em;}
.biz-body{margin-top:12px;font-size:15px;line-height:2.05;color:#4c3d24;max-width:46em;letter-spacing:.04em;}

.foryou-list{margin-top:8px;}
.foryou-row{padding:34px 0 30px;border-bottom:1px solid rgba(46,36,21,.12);}
.foryou-row h3{font-family:var(--mincho);font-weight:700;font-size:clamp(19px,2.3vw,24px);letter-spacing:.06em;line-height:1.7;}
.foryou-row p{margin-top:10px;font-size:14.5px;line-height:2;color:var(--ink-dim);}

.flow-list{list-style:none;margin-top:10px;}
.flow-list li{
  display:flex;gap:22px;align-items:baseline;
  padding:24px 0;border-bottom:1px solid rgba(46,36,21,.1);
}
.flow-num{font-family:var(--latin);font-size:14px;color:var(--amber);min-width:30px;}
.flow-list h3{font-family:var(--mincho);font-weight:700;font-size:19px;letter-spacing:.1em;display:inline-block;margin-right:16px;}
.flow-list p{display:inline;font-size:14px;color:var(--ink-dim);line-height:1.95;}

.about-body{
  margin-top:32px;font-size:15.5px;line-height:2.25;color:#42331b;max-width:48em;
  font-family:var(--mincho);letter-spacing:.03em;
}

.secret-section{text-align:center;}
.secret-word{
  font-family:var(--mincho);font-weight:700;letter-spacing:.1em;
  font-size:clamp(26px,4vw,42px);line-height:1.6;
}
.secret-body{margin-top:20px;font-size:15px;line-height:2.1;color:var(--ink-dim);}

.company-table{margin-top:8px;}
.company-table>div{
  display:flex;gap:26px;padding:19px 0;border-bottom:1px solid rgba(46,36,21,.1);
}
.company-table dt{min-width:96px;font-size:13px;letter-spacing:.24em;color:var(--ink-dim);padding-top:3px;}
.company-table dd{font-size:15px;line-height:1.95;}

.site-footer{
  margin-top:clamp(80px,12vh,140px);text-align:center;
  padding:70px 20px 110px;border-top:1px solid rgba(46,36,21,.1);
  background:linear-gradient(180deg, transparent, rgba(176,138,62,.1));
  overflow:hidden;
}
.footer-copy{font-family:var(--mincho);font-size:17px;letter-spacing:.14em;color:var(--amber);}
.footer-name{margin-top:22px;font-size:14px;letter-spacing:.3em;}
.footer-giant{
  font-family:var(--latin);font-size:clamp(64px,14.5vw,210px);line-height:1.05;letter-spacing:.18em;
  color:transparent;-webkit-text-stroke:1px rgba(156,124,46,.4);
  margin-top:34px;user-select:none;
}
.footer-legal{margin-top:26px;font-size:11.5px;color:var(--ink-faint);letter-spacing:.16em;}

/* ===== スマホ ===== */
@media (max-width:820px){
  .brand-en{font-size:20px;letter-spacing:.26em;}
  .brand-ja{font-size:11px;}
  .act{height:430vh;}
  /* SPでは題名を単語の途中で割らない（デモ10の締め文言の修正と同じ対処） */
  .big-word{font-size:23px;letter-spacing:.04em;line-height:1.5;white-space:nowrap;}
  .beat-desc{font-size:13.5px;line-height:2.05;letter-spacing:.03em;margin-top:18px;}
  .beat-desc-name{font-size:12.5px;letter-spacing:.26em;}
  .company-table>div{flex-direction:column;gap:6px;}
  .company-table dt{min-width:0;}
}

/* ===== 静的フォールバック =====
   JSなし／動きを減らす設定では、没入演出をやめて全コピーを縦積みで読める形にする。 */
html:not(.js) .act{height:auto;}
html:not(.js) .act .stage{position:relative;height:auto;overflow:visible;background:var(--bg);padding-bottom:36px;}
html:not(.js) .poster{position:relative;inset:auto;width:100%;height:52vh;height:52svh;transform:none;}
html:not(.js) .film-video{display:none;}
html:not(.js) .stage-shade{display:none;}
html:not(.js) .beat{
  position:static;opacity:1 !important;transform:none !important;translate:none;
  margin:26px clamp(18px,6vw,84px) 0;text-align:center;max-width:820px;
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .act{height:auto;}
  .act .stage{position:relative;height:auto;overflow:visible;background:var(--bg);padding-bottom:36px;}
  .poster{position:relative;inset:auto;width:100%;height:52vh;height:52svh;transform:none;}
  .film-video{display:none;}
  .stage-shade{display:none;}
  .beat{
    position:static;opacity:1 !important;transform:none !important;translate:none;
    margin:26px clamp(18px,6vw,84px) 0;text-align:center;max-width:820px;
  }
}
