@import url('https://fonts.googleapis.com/css2?family=Anton&family=Noto+Sans+JP:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');
@import url("https://use.typekit.net/dgi1opv.css");

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

body{
  background:#fff;
  color:#111;
  /* font-family: "Roboto", sans-serif; */
  font-family: "din-2014",sans-serif;
  overflow-x:hidden;
}

.hero{
 margin-bottom: -0.2rem;
}
.hero-img-pc {
  width: 100%;
  display: block;
}
@media(max-width:768px){
  .hero-img-pc {
  display: none;
 }
}
.hero-img-sp {
  width: 100%;
  display: none;
}
@media(max-width:768px){
  .hero-img-pc {
  display: block;
 }
}

.hero h1{
 
  font-size:clamp(72px,10vw,140px);
  line-height:0.92;
  letter-spacing:0.01em;
  color:#111;
}

.stats-bar{
  background:#111;
  display:flex;
  align-items:center;
  padding:0 48px;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
}
@media(max-width:768px){
  .stats-bar {
    padding:0 24px;
    display: block;
  }
}
.stats-bar::-webkit-scrollbar{
  display:none;
}
.stat-item{
  display:flex;
  align-items:center;
  gap:6px;
  padding:16px 24px 16px 0;
  white-space:nowrap;
}
@media(max-width:768px){
  .stat-item {
    padding:8px 0px 8px 0;
  }
}
.stat-arrow{
  font-size:10px;color:#555;
}
.stat-value{
  font-size:26px;
  letter-spacing:0.04em;
  color:#fff;
}
.stat-sep{
  width:1px;height:20px;
  background:rgba(255,255,255,0.12);
  margin:0 24px 0 0;
  flex-shrink:0;
}
@media(max-width:768px){
  .stat-sep {
    display: none;
    height: 0;
  }
}

.sections-outer{
  display:grid;
  grid-template-columns:1fr 1fr;
}

/* 左カラム: sticky動画スタック */
.video-stack{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  background:#111;
}

.video-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:translateY(100%);
  transition:transform 0.7s cubic-bezier(0.77,0,0.175,1);
  will-change:transform;
}
.video-slide.active{
  transform:translateY(0%);
  z-index:2;
}
.video-slide.prev{
  transform:translateY(-100%);
  z-index:1;
}
.video-slide video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 右カラム: テキストスタック */
.text-stack{
  display:flex;
  flex-direction:column;
}

.section{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content: flex-start;
  padding: 48px 0px;
}

/* ── SECTION TEXT ── */
.section-text{
  background:#fff;
  padding:48px 48px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  
  overflow: hidden;    /* ← 追加 */
}
.box {
  width: 95%;
  height: 60%;
  overflow-y: scroll;
  margin: 3rem auto auto;
}
/* 大きい数字は固定 */
.section-big-num {
  flex-shrink: 0;      /* ← 追加（縮まないよう固定） */
}

/* テキスト部分だけスクロール */
.section-scroll-body {
  /* flex: 1; */
  overflow-y: scroll;
  padding-right: 12px;
}

/* スクロールバーを常に表示 */
.section-scroll-body::-webkit-scrollbar {
  width: 4px;
}
.section-scroll-body::-webkit-scrollbar-track {
  background: #eee;
}
.section-scroll-body::-webkit-scrollbar-thumb {
  background: #999;
}


/* yellow-highlight eyebrow (intro only) */
.eyebrow-box{
  background:#1b1b1b;
  display:inline-block;
  padding:5px 10px;
  font-size:24px;
  font-weight:500;
  color:#ececec;
  line-height:1.4;
  margin-bottom:20px;
  max-width:fit-content;
}

.section-big-num{
  font-size:clamp(75px,7.5vw,160px);
  line-height:0.9;
  color:#111;
  margin-bottom:6px;
  letter-spacing:-0.01em;
  display: flex;
  align-items: flex-end;
}
.img-technology {
  width: 25%;
  display: block;
  margin: auto 16px 0px auto;
}
@media (max-width: 768px) {
  .section-big-num{
  font-size:3.5rem;
  margin: auto 0;
}
}
.section-heading{
  font-size:13px;
  font-weight:500;
  color:#111;
  line-height:1.6;
  margin-bottom:8px;
}

.section-body{
  font-size:13px;
  font-weight:300;
  color:#555;
  line-height:1.8;
  margin-bottom:20px;
}

/* ── EXPANDABLE ── */
.expandable{
  overflow:hidden;
  max-height:0;
  transition:max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.expandable.open{
  max-height:600px;
}
.expandable p{
  font-size:13px;
  font-weight:300;
  color:#555;
  line-height:1.8;
  padding-top:12px;
  padding-bottom:16px;
}

/* ── BUTTONS ── */
.rm-btn,
.close-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  background:none;
  border:1px solid #111;
  color:#111;
  cursor:pointer;
  padding:6px 14px;
  transition:background 0.2s,color 0.2s;
  width:fit-content;
}
.rm-btn:hover,
.close-btn:hover{
  background:#111;
  color:#fff;
}
.close-btn{
  margin-top:4px;
}

.intro-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
}
.intro-media{
  position:relative;
  background:#111;
  overflow:hidden;
  aspect-ratio:1400/1860;
  width:100%;
}
@media(max-width:768px){
  .intro-media{
    aspect-ratio:auto;
  }
}
.intro-media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.intro-text{
  background:#ccc;
  padding:48px 48px;
  display:flex;
  flex-direction:column;
}
.intro-text h3{
  font-size:14px;
  font-weight:500;
  color:#111;
  line-height:1.5;
  margin-bottom:10px;
}

.rm-label{
  font-family: "din-2014",sans-serif;
  font-size:10px;
  letter-spacing:0.12em;
  color:#aaa;
  text-transform:uppercase;
  margin-top:14px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  margin-left: 4vw;
  border-bottom: 1px solid #000;
}
.section-number {
  margin-right: auto 0 auto auto;
}

/* ── ANCHOR LINKS ── */
a.stat-item{
  text-decoration:none;
  color:inherit;
}
a.stat-item:hover .stat-value{
  color:#808080;
}

/* ── RESPONSIVE ── */
@media(max-width:768px){

  .intro-strip,.sections-outer{
    grid-template-columns:1fr;
  }
  .video-stack{
    height:0;
    position:relative;
  }
  .intro-text,.section-text{
    padding:32px 24px;
    border-left:none;
  }
}

.left-img {
  width: 100%;
  display: none;
}
@media (max-width: 768px) {
  .left-img {
    display: block;
    margin-bottom: 2rem;
  }
}

/* PC: 動画表示、画像非表示 */
.media-wrap video { display: block; }
.media-wrap img   { 
  display: none; 
  width: 100%;
}

/* スマホ: 画像表示、動画非表示 */
@media (max-width: 768px) {
  .media-wrap video { display: none; }
  .media-wrap img   { display: block; }
}
