/* ==================================================
  30s Animation CM - MONDAY BLUE
  "Miosophia" x Analog Warmth
  - airy gradient
  - paper/film texture
  - ink-like accents
================================================== */

:root{
  /* Canvas */
  --bg0: #f7f6f2;   /* warm paper */
  --bg1: #e7effa;   /* pale sky */
  --bg2: #c9d9f2;   /* soft blue */
  --bg3: #b7c3e6;   /* dusk violet */

  /* Ink */
  --ink: #0e1a2b;       /* sumi-navy */
  --ink2:#22324a;
  --muted:#52647e;

  /* Paper / panels */
  --paper: rgba(255,255,255,.62);
  --paper2: rgba(255,255,255,.46);
  --line: rgba(14,26,43,.14);
  --line2: rgba(14,26,43,.10);

  /* Accents (ink glow, not neon) */
  --a1: rgba(72,124,255,.45);  /* ink-blue */
  --a2: rgba(155,112,255,.35); /* ink-violet */
  --a3: rgba(36,190,170,.25);  /* quiet teal */

  /* Shadow = soft & warm */
  --shadow: 0 24px 60px rgba(12,24,40,.12);
  --shadow2: 0 10px 26px rgba(12,24,40,.10);

  --r: 18px;
  --r2: 28px;
  --max: 1120px;
}

/* base */
*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  background: #f4fbfa; /* 保険 */
}
body::before{
  content:"";
  position: fixed;
  inset: -20vh -10vw;   /* 少しはみ出させて端の継ぎ目防止 */
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1200px 800px at 18% 18%,
      rgba(120, 200, 190, .34), rgba(120, 200, 190, 0) 60%),
    radial-gradient(900px 700px at 82% 28%,
      rgba(150, 220, 210, .26), rgba(150, 220, 210, 0) 55%),
    radial-gradient(1200px 900px at 55% 92%,
      rgba(70, 140, 135, .22), rgba(70, 140, 135, 0) 62%),
    linear-gradient(180deg,
      #f6fcfb 0%,
      #e3f2f2 38%,
      #cbe6e2 72%,
      #b8dad5 100%);

  transform: translateZ(0);
  filter: saturate(1.02);
}


  background-attachment: fixed;
}



/* film grain + paper fiber (analog) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(
      circle at 18% 32%,
      rgba(0,0,0,.05),
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 74%,
      rgba(0,0,0,.04),
      transparent 45%
    );
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .96; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ==================================================
  Topbar (paper + ink)
================================================== */
.topbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  background: rgba(255,255,255,.60);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line2);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 18px;
  width: min(var(--max), calc(100% - 20px));
  margin: 0 auto;
}
.back{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color: rgba(14,26,43,.74);
}
.back-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(72,124,255,.75), rgba(155,112,255,.65));
  box-shadow: 0 0 0 3px rgba(255,255,255,.55);
}
.topbar-nav{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  font-size: 13px;
  color: rgba(14,26,43,.70);
}
.topbar-nav a{
  padding: 8px 10px;
  border-radius: 999px;
}
.topbar-nav a:hover{
  background: rgba(14,26,43,.06);
}
.topbar-nav a.cta{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}

/* ==================================================
  HERO (keep video, soften overlays)
================================================== */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding-top: 70px;
  overflow: hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-video{
  width:100%;
  height:100%;
  object-fit: cover;
  /* ✅ 暗さが出やすい動画でも“紙越し”に柔らかくする */
  filter: contrast(1.02) saturate(1.02) brightness(1.08);
  transform: scale(1.02);
}

/* ✅ 黒いvignetteは使わない。代わりに“薄い紙の膜” */
.hero-vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 55% 42%, rgba(255,255,255,.35), rgba(255,255,255,.10) 55%, rgba(14,26,43,.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.10) 55%, rgba(14,26,43,.07));
  mix-blend-mode: screen;
}

/* grain is subtle now */
.hero-grain{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: .08;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-inner{
  position: relative;
  z-index: 1;
  padding: 44px 0 70px;
}

.hero-badge{
  display:flex;
  gap:10px;
  margin-bottom: 18px;
}

.pill{
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line2);
  letter-spacing: .08em;
  color: rgba(14,26,43,.78);
}
.pill.ghost{
  background: rgba(255,255,255,.40);
  color: rgba(14,26,43,.62);
}

/* logo */
.hero-logo img{
  max-width: 520px;
  width: min(520px, 92vw);
  height: auto;
  display: block;
  /* ✅ ネオンじゃなく“インクのにじみ” */
  filter:
    drop-shadow(0 14px 30px rgba(12,24,40,.18))
    drop-shadow(0 0 18px rgba(72,124,255,.12));
}

.hero-copy{
  margin: 18px 0 28px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(14,26,43,.78);
  max-width: 48ch;
}

/* Buttons = paper + ink */
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: rgba(14,26,43,.82);
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(12,24,40,.10);
}
.btn:hover{
  background: rgba(255,255,255,.82);
}
.btn.primary{
  background:
    linear-gradient(135deg, rgba(72,124,255,.18), rgba(155,112,255,.14)),
    rgba(255,255,255,.78);
  border-color: rgba(72,124,255,.18);
}

/* scroll hint (ink) */
.scroll-hint{
  position:absolute;
  left:0; right:0;
  bottom: 16px;
  display:grid;
  place-items:center;
  gap:10px;
  color: rgba(14,26,43,.50);
  font-size: 11px;
  letter-spacing: .22em;
}
.scroll-hint i{
  width: 1px;
  height: 26px;
  background: rgba(14,26,43,.26);
  display:block;
  position:relative;
  overflow:hidden;
}
.scroll-hint i::after{
  content:"";
  position:absolute;
  left:0; top:-12px;
  width:100%;
  height:12px;
  background: rgba(14,26,43,.70);
  animation: drop 1.3s infinite ease-in-out;
}
@keyframes drop{
  0%{ transform: translateY(0); opacity: 0; }
  20%{ opacity: 1; }
  100%{ transform: translateY(40px); opacity: 0; }
}

/* ==================================================
  Sections / Typography
================================================== */
.section{ padding: 72px 0; }
.section-head{ margin-bottom: 22px; }
.section-head .title{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--ink);
}
.section-head .lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.section-head.split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
}
.muted{ color: var(--muted); }

/* ==================================================
  About cards (paper blocks)
================================================== */
.about-grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}
.about-card{
  background: var(--paper);
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.about-card h3{
  margin:0 0 8px;
  font-size: 15px;
  color: var(--ink2);
}
.about-card p{
  margin:0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

/* ==================================================
  Hint / Badge
================================================== */
.hint{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: rgba(14,26,43,.60);
  font-size: 12px;
  letter-spacing: .16em;
}
.hint .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(72,124,255,.55), rgba(155,112,255,.45));
  box-shadow: 0 0 0 3px rgba(255,255,255,.55);
}

/* ==================================================
  Cards (paper + ink + subtle city light)
================================================== */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.card{
  position: relative;
  border-radius: 28px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
  transform: translateY(10px);
  opacity: 0;
  overflow: hidden;
}

/* ✅ “情緒”のために、カードの角に滲む光（控えめ） */
.card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 35%, rgba(72,124,255,.16), transparent 38%),
    radial-gradient(circle at 70% 15%, rgba(155,112,255,.12), transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(36,190,170,.10), transparent 40%);
  transform: rotate(12deg);
  opacity: .55;
  pointer-events:none;
}

.card.is-in{ transform: translateY(0); opacity: 1; }

.card:hover{
  transform: translateY(-4px);
  border-color: rgba(72,124,255,.20);
  box-shadow: 0 34px 90px rgba(12,24,40,.14);
}

.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ch{
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(14,26,43,.55);
}
.status{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14,26,43,.12);
  background: rgba(255,255,255,.60);
  color: rgba(14,26,43,.60);
}
.status.live{
  background: rgba(72,124,255,.14);
  border-color: rgba(72,124,255,.18);
}
.status.soon{
  background: rgba(255,255,255,.48);
  color: rgba(14,26,43,.46);
}

.card-title{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.card-text{
  margin: 0 0 14px;
  color: rgba(14,26,43,.72);
  line-height: 1.85;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.card-foot{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.tag{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14,26,43,.10);
  background: rgba(255,255,255,.52);
  color: rgba(14,26,43,.58);
}
.go{
  margin-left: auto;
  font-size: 12px;
  color: rgba(14,26,43,.56);
}

/* Locked cards */
.card.locked{
  cursor: default;
  opacity: .72;
  filter: saturate(.92);
}
.card.locked:hover{ transform:none; }

/* ==================================================
  CTA
================================================== */
.cta-section{ padding-top: 40px; }

.cta-card{
  border-radius: 30px;
  border: 1px solid var(--line2);
  background:
    linear-gradient(135deg, rgba(72,124,255,.10), rgba(155,112,255,.08)),
    rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.cta-text h2{
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--ink);
}
.cta-text p{
  margin: 0;
  color: rgba(14,26,43,.72);
  line-height: 1.85;
  font-size: 14px;
}
.cta-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* ==================================================
  Footer
================================================== */
.footer{
  padding: 26px 0 40px;
  color: rgba(14,26,43,.62);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  border-top: 1px solid rgba(14,26,43,.10);
  padding-top: 18px;
}
.footer .tiny{
  color: rgba(14,26,43,.62);
  font-size: 12px;
}

/* ==================================================
  Responsive
================================================== */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid{ grid-template-columns: 1fr; }
  .section-head.split{ flex-direction: column; align-items: flex-start; }
  .cta-card{ flex-direction: column; align-items: flex-start; }
  .cta-actions{ justify-content:flex-start; }
}
@media (max-width: 560px){
  .cards{ grid-template-columns: 1fr; }
  .hero-copy{ font-size: 15px; }
  .topbar-nav a{ padding: 8px 8px; }
}



/* =========================
  Special Decorations
========================= */

/* 背景に“都市レイヤー”（薄い線・地図感） */
.page-30s main{
  position: relative;
}
.page-30s main::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: multiply;
  background:
    linear-gradient(to right, rgba(14,26,43,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,26,43,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-30s main::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .10;
  background:
    radial-gradient(700px 380px at 20% 25%, rgba(72,124,255,.20), transparent 60%),
    radial-gradient(720px 420px at 80% 35%, rgba(155,112,255,.18), transparent 62%),
    radial-gradient(700px 420px at 55% 85%, rgba(36,190,170,.14), transparent 62%);
}

/* HEROコピーを“ガラス札”にして特設感 */
.hero-copy{
  display: inline-block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(14,26,43,.10);
  box-shadow: 0 12px 30px rgba(12,24,40,.10);
}

/* 章カードに“スタンプ” */
.chapter-top{
  position: relative;
}
.chapter-top::after{
  content:"MB FILE";
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(14,26,43,.55);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(14,26,43,.22);
  background: rgba(255,255,255,.52);
}

/* 章の左上に“紙の角折れ” */
.chapter{
  position: relative;
}
.chapter .chapter-body{
  position: relative;
}
.chapter .chapter-body::before{
  content:"";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(255,255,255,.0), rgba(255,255,255,.60));
  border-left: 1px solid rgba(14,26,43,.10);
  border-bottom: 1px solid rgba(14,26,43,.10);
  border-top-right-radius: 18px;
  transform: rotate(0deg);
  opacity: .75;
}

/* 章間に“詩”を入れる用（HTMLにclass=interludeを挟む） */
.interlude{
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(14,26,43,.10);
  box-shadow: 0 10px 26px rgba(12,24,40,.08);
  color: rgba(14,26,43,.72);
  line-height: 1.9;
  position: relative;
  overflow: hidden;
}
.interlude::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 40%, rgba(72,124,255,.14), transparent 38%),
    radial-gradient(circle at 80% 30%, rgba(155,112,255,.12), transparent 38%);
  transform: rotate(10deg);
  opacity: .55;
}
.interlude .note{
  position: relative;
  z-index: 1;
  font-size: 13px;
  letter-spacing: .02em;
}
.interlude .sig{
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(14,26,43,.52);
}

/* ボタンに“インクの縁” */
.btn.primary{
  box-shadow:
    0 14px 34px rgba(12,24,40,.12),
    0 0 0 3px rgba(255,255,255,.40);
}


/* =========================
  COMING SOON visual treatment
  (gray multiply layer)
========================= */

/* 全体を“未公開”として沈める */
.chapter.teaser{
  position: relative;
  filter: saturate(.35) brightness(.92);
}

/* グレーの乗算フィルム */
.chapter.teaser::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(200,200,200,.55),
      rgba(160,160,160,.55)
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* 画像をさらに少し沈める */
.chapter.teaser .chapter-media img{
  filter: grayscale(.25) contrast(.95);
}

/* タイトル・本文は読めるように */
.chapter.teaser .chapter-title,
.chapter.teaser .chapter-lead,
.chapter.teaser .chapter-text{
  color: rgba(14,26,43,.55);
}

/* ステータスを“印”として強調 */
.chapter.teaser .chapter-status{
  background: rgba(255,255,255,.75);
  border-style: dashed;
  letter-spacing: .22em;
}

/* ホバー無効（触れない感） */
.chapter.teaser:hover{
  transform: none;
  box-shadow: none;
  cursor: default;
}
.chapter.teaser a{
  pointer-events: none;
}


.chapter.teaser::before{
  content:"COMING SOON";
  position:absolute;
  top: 16px;
  right: 18px;
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(14,26,43,.55);
  z-index: 2;
}



/* =========================
  Clear Link Buttons
  (visibility first)
========================= */

.link-buttons{
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.link-btn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid rgba(14,26,43,.18);
  color: rgba(14,26,43,.90);
  box-shadow: 0 14px 32px rgba(12,24,40,.14);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.link-btn strong{
  font-size: 15px;
  letter-spacing: .04em;
}

.link-btn span{
  font-size: 12px;
  color: rgba(14,26,43,.60);
}

/* 種別ごとに“意味が伝わる色” */
.link-btn.anime{
  border-color: rgba(90,140,255,.45);
  background: linear-gradient(
    180deg,
    #ffffff,
    #eef3ff
  );
}

.link-btn.main{
  border-color: rgba(100,180,160,.45);
  background: linear-gradient(
    180deg,
    #ffffff,
    #eef7f3
  );
}

.link-btn.insta{
  border-color: rgba(120,140,160,.45);
  background: linear-gradient(
    180deg,
    #ffffff,
    #f1f4f7
  );
}

/* hover：明確に反応 */
.link-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(12,24,40,.18);
  border-color: rgba(14,26,43,.45);
}

/* SP */
@media (max-width: 560px){
  .link-buttons{
    grid-template-columns: 1fr;
  }
}


.link-buttons{
  margin: 36px auto 0;   /* ← auto で中央寄せ */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  justify-items: center; /* ← 各ボタンも中央に */
}
.link-btn{
  width: 100%;
  max-width: 280px; /* ← 3つ並んだときにちょうどいい */
  text-align: center; /* ← 文言も中央 */
}

.link-btn.anime{
  transform: scale(1.04);
}

/* About section – manifesto style */
.about-title{
  font-size: 28px;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

.about-lead{
  font-size: 17px;
  line-height: 1.9;
  color: rgba(14,26,43,.85);
}
.about-lead strong{
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(120,190,160,.6);
  text-decoration-thickness: 3px;
}

.about-body{
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: rgba(14,26,43,.78);
}

/* カードを“意思表示”っぽく */
.about-card{
  position: relative;
}
.about-card::before{
  content:"";
  position:absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(120,190,160,.8),
    rgba(120,200,215,.6)
  );
}
.about-card h3{
  margin-top: 18px;
}

/* =========================
  About Balance Fix
========================= */

.about-grid2{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 22px;
}

.about-main{
  padding-right: 10px;
}

.about-title{
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: .04em;
}

.about-lead{
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.95;
  color: rgba(14,26,43,.86);
}
.about-lead strong{
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(120,190,160,.75);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.about-body{
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(14,26,43,.76);
  max-width: 62ch; /* ✅ 長文の横幅を制御して読みやすく */
}

/* 右：補助 */
.about-aside{
  display: grid;
  gap: 14px;
}

.aside-card{
  border-radius: 22px;
  border: 1px solid rgba(14,26,43,.10);
  background: rgba(255,255,255,.56);
  box-shadow: 0 10px 26px rgba(12,24,40,.10);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.aside-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 35%, rgba(120,200,215,.16), transparent 40%),
    radial-gradient(circle at 70% 20%, rgba(120,190,160,.14), transparent 42%);
  transform: rotate(10deg);
  opacity: .55;
  pointer-events:none;
}

.aside-kicker{
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: .26em;
  color: rgba(14,26,43,.55);
  margin-bottom: 10px;
}

.aside-quote{
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(14,26,43,.82);
}
.aside-quote strong{ font-weight: 900; }

.aside-tags{
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aside-tags li{
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14,26,43,.10);
  background: rgba(255,255,255,.58);
  color: rgba(14,26,43,.62);
}

.aside-text{
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(14,26,43,.72);
}

/* 下のカード：段差でリズム */
.about-cards3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.about-card{
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(14,26,43,.10);
  box-shadow: 0 14px 32px rgba(12,24,40,.10);
  padding: 20px;
}
.about-card h3{
  margin: 0 0 10px;
  font-size: 16px;
  color: rgba(14,26,43,.88);
}
.about-card p{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(14,26,43,.72);
}
.about-card strong{ font-weight: 800; }

.lift-1{ transform: translateY(0); }
.lift-2{ transform: translateY(10px); }
.lift-3{ transform: translateY(20px); }

/* Responsive */
@media (max-width: 980px){
  .about-grid2{
    grid-template-columns: 1fr;
  }
  .about-body{ max-width: none; }
  .about-cards3{
    grid-template-columns: 1fr;
  }
  .lift-2,.lift-3{ transform: none; }
}


.hero{
  position: relative;
  overflow: hidden;
}


.hero-logo{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none; /* ボタン操作の邪魔しない */
  z-index: 1;
}


.hero-logo img{
  width: 120vw;          /* ← まずこれ */
  max-width: none;
  height: auto;
  opacity: .10;          /* 背景化したいなら下げる */
  transform: translateX(-6vw); /* ちょいズラすと動き出る */



}
.hero-logo.is-bg img{
  width: 100vw;
  opacity: .10;
  filter: blur(.2px);
}


.hero-logo.is-front{
  z-index: 3;
}
.hero-logo.is-front img{
  width: min(72vw, 680px);
  opacity: 1;
}

/* HEROの基準 */
.hero{ position: relative; overflow: hidden; }
.hero-inner{ position: relative; z-index: 3; }
.hero-logo{ position:absolute; inset:0; pointer-events:none; }

/* 読ませる用：左寄せ＋大きく */
.hero-logo.is-front{
  z-index: 2;
  display: grid;
  place-items: center;
  justify-items: start;  /* ← 左に寄せる */
  padding-left: clamp(16px, 6vw, 90px);
  padding-top: clamp(10px, 2vh, 40px);
}

.hero-logo.is-front img{
  width: clamp(520px, 52vw, 860px); /* ← 少し大きく */
  max-width: none;
  height: auto;
  transform: translateY(-2vh);      /* ← 少し上げる（好みで） */
}
.hero-inner{
  max-width: 560px;               /* 読ませる空間を作る */
  padding-top: clamp(120px, 16vh, 180px);
}


/* HERO全体の高さが確保されている前提（なければmin-height追加） */
.hero{
  min-height: 78vh;
}

/* テキスト＆ボタンの塊を下へ */
.hero-inner{
  position: relative;
  z-index: 3;
  min-height: 78vh;                 /* heroと揃える */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;        /* ← 下寄せ */
  padding-bottom: clamp(28px, 6vh, 72px);
  max-width: 640px;                 /* 読ませる幅 */
}

/* パネルがロゴを邪魔しないように少し薄く・小さく */
.hero-copy{
  margin-top: 10px;
  max-width: 52ch;
}

.hero-inner{
  align-items: flex-start; /* 左寄せ */
}


.hero-ui{
  margin-top: auto;
  width: min(620px, 100%);
}

/* 下部UIを右寄せしてロゴを避ける */
.hero-inner{
  max-width: 1100px;              /* containerが狭いと右に逃げられない */
  margin: 0 auto;
}

.hero-ui{
  margin-left: auto;              /* ← 右寄せの決定打 */
  width: min(560px, 92vw);
}

.hero-ui{
  transform: translateX(4vw);
}



.hero-ui--simple{
  margin-left: auto;                 /* 右下へ */
  width: min(420px, 90vw);

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 14px;
}

/* ボタンは少し大きく・存在感 */
.hero-actions .btn{
  padding: 12px 18px;
  font-size: 14px;
}

/* ボタンだけ浮かせすぎない */
.hero-actions{
  backdrop-filter: none;
  box-shadow: none;
}

.scroll-hint{
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vh, 28px);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;

  display: grid;
  justify-items: center;
  gap: 8px;

  opacity: .75;
}

/* 棒（i） */
.scroll-hint i{
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(14,26,43,.35);
  border-radius: 999px;
}

/* 文字 */
.scroll-hint span{
  font-size: 10px;
  letter-spacing: .26em;
  color: rgba(14,26,43,.55);
}




/* =========================
  Mobile Optimization
  (paste at END of style.css)
========================= */
@media (max-width: 680px){

  /* --- HERO height / safe area --- */
  .hero{
    min-height: 92vh;
  }
  .hero-inner{
    min-height: 92vh;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  /* --- Background logo (見せる用) --- */
  .hero-logo.is-bg{
    opacity: .10; /* うるさくなりやすいので薄く */
  }
  .hero-logo.is-bg img{
    width: 170vw;
    max-width: none;
    transform: translate(-10vw, 1vh);
  }

  /* --- Front logo (読ませる用) --- */
  .hero-logo.is-front{
    justify-items: start;
    padding-left: 16px;
    padding-top: 10px;
  }
  .hero-logo.is-front img{
    width: min(92vw, 520px);
    max-width: none;
    transform: translateY(0);
  }

  /* --- UI：ボタンだけ（右下で安定） --- */
  .hero-ui--simple{
    width: min(360px, 92vw);
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 28px; /* SCROLLと干渉しない */
    align-items: flex-end;
  }

  /* ボタン：タップしやすいサイズに */
  .hero-actions{
    display: grid;
    grid-template-columns: 1fr; /* 縦並びが事故らない */
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn{
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 999px;
  }

  /* --- SCROLL：中央下固定（控えめ） --- */
  .scroll-hint{
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    opacity: .65;
  }
  .scroll-hint i{
    height: 18px;
  }

  /* --- ナビがHEROを圧迫する場合の余白 --- */
  .site-header{
    backdrop-filter: blur(8px);
  }
}

/* さらに小さい端末（iPhone SE等） */
@media (max-width: 420px){
  .hero{
    min-height: 96vh;
  }

  .hero-logo.is-front img{
    width: 96vw;
  }

  .hero-ui--simple{
    width: 94vw;
  }

  .scroll-hint{
    bottom: calc(8px + env(safe-area-inset-bottom));
  }
}

/* タッチ端末はホバー効果弱め（誤爆の見た目を防ぐ） */
@media (hover: none){
  .btn:hover{ transform: none; }
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .hero-video{ animation: none; }
  .scroll-hint i{ animation: none; }
}


@media (max-width: 680px){

  /* 前景ロゴ：中央寄せに戻す（モバイル安定） */
  .hero-logo.is-front{
    place-items: center;
    justify-items: center;
    padding-left: 0;
    padding-top: 0;
  }

  .hero-logo.is-front img{
    width: min(92vw, 520px);
    transform: translateY(-2vh); /* 少し上げてボタンと距離 */
  }

  /* ボタンUI：右下→中央下に（ズレ防止） */
  .hero-ui--simple{
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    margin-bottom: 44px; /* SCROLLの居場所を空ける */
  }

  /* SCROLL：常に最下部中央へ（ボタンと干渉しない） */
  .scroll-hint{
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 4;
  }
}

@media (max-width: 680px){
  .hero-actions{
    display: grid !important;
    grid-template-columns: 1fr !important; /* 縦並び */
    gap: 10px !important;
    width: 100%;
  }

  .hero-actions .btn{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 680px){
  .hero-ui--simple{
    width: min(420px, 92vw);
    padding: 0 12px;  /* 端末左右に余白確保 */
    box-sizing: border-box;
  }
}




  .hero-actions .btn{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;  /* 変な改行防止 */
  }
}

@media (max-width: 680px){
  .hero-actions{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions .btn{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}




@media (max-width: 680px){

  /* HEROは1画面に固定 */
  .hero, .hero-inner{
    min-height: 100svh;
  }

  /* 読ませるロゴ：上で切れないように下げる＆縮める */
  .hero-logo.is-front{
    place-items: center;
    padding-top: 72px; /* ヘッダー分の逃がし */
  }
  .hero-logo.is-front img{
    width: min(86vw, 420px);
    transform: translateY(0);
  }

  /* 見せるロゴ：薄くして“空気”へ */
  .hero-logo.is-bg{
    opacity: .08;
  }
  .hero-logo.is-bg img{
    width: 160vw;
    transform: translate(-8vw, 2vh);
  }

  /* ボタンUI：ガラス板をやめて“軽い操作バー”に */
  .hero-ui--simple{
    width: 100%;
    max-width: 520px;
    padding: 0 14px;
    box-sizing: border-box;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 84px; /* 下の青帯(動画)から逃がす */
    align-items: center;
  }

  .hero-actions{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions .btn{
    width: 100%;
    padding: 13px 16px;
    border-radius: 999px;

    /* 影を弱めて“うるささ”を消す */
    box-shadow: 0 10px 30px rgba(20,40,45,.08);
  }

  /* SCROLLはボタンの下じゃなく、もっと下・中央に */
  .scroll-hint{
    bottom: calc(22px + env(safe-area-inset-bottom));
    opacity: .55;
  }
}



@media (max-width: 680px){

  /* セクション全体：余白を増やして呼吸させる */
  #about, .about, .section-about{
    padding-top: 38px;
    padding-bottom: 26px;
  }

  /* カード系を“静か”に（共通クラス名はあなたのCSSに合わせて） */
  .card, .panel, .glass, .about-card, .why-card{
    border-radius: 18px;
    border: 1px solid rgba(20,40,45,.10);
    box-shadow: 0 10px 30px rgba(10,25,30,.06);  /* 影を薄く */
    backdrop-filter: none;                         /* ガラス感を切る */
  }

  /* 中の余白：文字が詰まってうるさいのを解消 */
  .card, .panel, .glass, .about-card, .why-card{
    padding: 18px 18px;
  }

  /* 見出しがデカすぎると“営業資料”っぽくなるので抑える */
  h2, .section-title{
    font-size: 22px;
    letter-spacing: .02em;
  }
  h3, .card-title{
    font-size: 16px;
    line-height: 1.35;
  }

  /* KEYWORDSのチップ：行間と密度を下げる */
  .chips, .keyword-chips{
    gap: 8px;
  }
  .chip, .keyword-chip{
    padding: 7px 10px;
    font-size: 12px;
    border: 1px solid rgba(20,40,45,.12);
    background: rgba(255,255,255,.55);
  }

  /* “太字が多くてうるさい”のを抑える */
  .about strong, .why strong{
    font-weight: 600;
  }
}