@charset "UTF-8";

/* =========================================================================
   Vision page (advio.jp/vision/ リニューアル案)
   配色・海の写真は現行ページを踏襲。イントロに3段階の演出を追加。
========================================================================= */

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
  appearance: none;
}

/* ---- Variables ---- */
:root {
  --color-primary: #296db6;
  --color-text: #332c29;
  --color-text-muted: #555555;
  --color-bg-body: #ffffff;
  --color-bg-panel: #dfeaf5;
  --color-bg-dark: #0c2d42;
  --color-white: #ffffff;
  --color-green: #0d9991;
  --color-brown: #332c29;
  --font-base: 'Noto Sans JP', sans-serif;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'palt';
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[id] {
  scroll-margin-top: 24px;
}

/* サイト共通ヘッダー(main.css)を併用するためのページ側の調整。
   main.cssの `main { max-width:880px; margin:0 auto; padding:32px 24px; }`
   がこのページの<main id="top">にも掛かってしまうため、id指定で無効化する */
#top {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* イントロ演出中はスクロールを固定する（JSが付与） */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

/* =========================================================================
   Components
========================================================================= */
.btn {
  display: inline-block;
  padding: 10px 26px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.8;
}
.btn--more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  gap: 8px;
}
.btn--more-with-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn--more-with-icon:hover {
  opacity: 0.9;
}
.btn__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s ease; /* link-arrowの「>」と同じスライド */
}
.btn--more-with-icon:hover .btn__icon-wrap {
  transform: translateX(4px);
}
.btn__icon-wrap img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}
.link-arrow:hover {
  opacity: 0.7;
}
.link-arrow:hover .link-arrow__icon {
  transform: translateX(4px);
}
.link-arrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  transition: transform 0.25s ease;
  margin-top: 4px;
}
.link-arrow__icon img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* =========================================================================
   サイト共通ヘッダー（main.cssのマークアップをそのまま使用）
   通常ページではposition:stickyで常時表示だが、このページはファーストビューの
   没入感を保つため、スクロールして本文に入ったところで現れる方式にする
   （以前このページに実装していたヘッダーと同じ演出。JSのonScroll内で
   window.scrollY > innerHeight*0.6 の時に.is-visibleを付与する）。
========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120; /* 目次カード(90)・メニューボタン(110)より前面 */
}
.js .site-header {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.js .site-header.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* main.cssの.btnとこのページの.btnはクラス名が衝突するため、
   ヘッダー内のログイン・新規登録ボタンだけmain.css側の見た目に固定し直す。
   .btn-outline（ログイン）は.btn.btn-outlineで詳細度を.btnより上げて明示的に
   透明背景+ink文字に固定する（除外するだけだとvision.cssの.btnの
   background-color: var(--color-primary)がそのまま効いて青くなってしまう） */
.site-header .btn {
  font-weight: 500;
}
.site-header .btn:not(.btn-outline) {
  background: var(--ink);
}
.site-header .btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
/* ヘッダーが出現している間は、目次カード・メニューボタンをヘッダーの下へ避ける。
   --global-header-h はJS(vision.js)がヘッダーの実測高さを都度設定するCSS変数。
   top のtransitionは .js .side-nav / .js .nav-burger 側の基本ルールに常時
   含めてある（表示専用セレクタの中だけに書くと、非表示に戻る際はそのルール
   ごと不一致になりtransitionが消えて瞬間的にスナップしてしまうため） */
.site-header.is-visible ~ .side-nav {
  top: var(--global-header-h, 0px);
}
.site-header.is-visible ~ .nav-burger {
  top: calc(var(--global-header-h, 0px) + 12px);
}

/* =========================================================================
   目次カード（左端・PC）/ メニューボタン
   いずれも海の出現(html.is-sea-shown)に合わせてフェードイン
========================================================================= */
.side-nav {
  position: fixed;
  top: 0;
  left: 20px;
  z-index: 90;
  width: 176px;
  padding: 30px 24px 28px;
  /* 半透明+背景ぼかしで、背後の画面（海・暗転・白セクション）に応じて見え方が変わる
     （0.8はhover文字色のコントラスト確保も兼ねる） */
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(12, 45, 66, 0.12);
  text-align: center;
}
/* backdrop-filter非対応ブラウザでは白ベタにフォールバック */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .side-nav {
    background-color: var(--color-white);
  }
}
.js .side-nav {
  opacity: 0;
  transform: translateY(-12px);
  /* topはヘッダー出現時の押し下げ用。常時このtransitionリストに含めておく
     ことで、押し下げ解除（ヘッダーが隠れる）方向でもアニメーションが効く */
  transition: opacity 0.9s ease 0.6s, transform 0.9s ease 0.6s, top 0.3s ease;
  pointer-events: none;
}
/* is-sea-shown は <html>（.js と同一要素）に付くため結合子なしで書く */
.js.is-sea-shown .side-nav {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.side-nav__logo {
  line-height: 1;
  margin-bottom: 26px;
}
.side-nav__logo img {
  width: 110px;
  height: auto;
}
.side-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side-nav__menu li a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.side-nav__menu li a:hover {
  /* 半透明カード上でもAAコントラストを満たす濃い青。下線でも変化を示す。
     opacity:1 は main.css の汎用 a:hover{opacity:.72} が漏れて重なるのを防ぐ */
  color: #1d568f;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}

/* 右上: メニューボタン（目次カードが出ない幅のみ表示） */
.nav-burger {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 110;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(12, 45, 66, 0.16);
}
.js .nav-burger {
  opacity: 0;
  transition: opacity 0.9s ease 0.6s, top 0.3s ease;
  pointer-events: none;
}
.js.is-sea-shown .nav-burger {
  opacity: 1;
  pointer-events: auto;
}
.nav-burger__line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.is-active .nav-burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-active .nav-burger__line:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-active .nav-burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 目次カード表示時: セクションの背景は画面全幅のまま、内側のコンテナ幅だけを絞って
   本文が目次カード（左端196pxまで）に重ならないようにする。
   100vw-392px = カード側の必要クリアランス(216px)×2 - コンテナ自身のpadding(20px×2)分 */
@media (min-width: 1100px) {
  .container {
    max-width: min(860px, 100vw - 392px);
  }
}
/* カードが置けない幅ではメニューボタン+ドロワーに切り替える
   （1099.98px: 端数ビューポート幅で min-width:1100px との間に隙間を作らないため） */
@media (max-width: 1099.98px) {
  .side-nav {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* Drawer (mobile) */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 130; /* 開いている間は常に最前面（サイト共通ヘッダー120より上）にする */
  pointer-events: none;
  visibility: hidden;
}
.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 45, 66, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer.is-open .drawer__overlay {
  opacity: 1;
}
.drawer__body {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--color-white);
  padding: 100px 30px 40px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}
.drawer.is-open .drawer__body {
  transform: translateX(0);
}
.drawer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.drawer__close:hover {
  color: var(--color-primary);
}
.drawer__menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.drawer__menu li a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid #e8e8e8;
  transition: color 0.3s ease;
}
.drawer__menu li a:hover {
  /* main.cssの汎用a:hover{opacity:.72}が漏れて重ならないようにする */
  color: var(--color-primary);
  opacity: 1;
}
.drawer__cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* =========================================================================
   Intro（演出の中核）
   段階: (初期) 白背景 → .is-typing 文字出現 → .is-sea 海+SCROLLキュー
         → .is-revealed 暗転+リード文
========================================================================= */
.intro {
  position: relative;
}

/* 海: 画面固定レイヤー。本文セクションの背景に隠れて自然に消える。
   画像は空のグラデーションを上方向へ延長加工済みで、水平線は画像内60%にある。
   background-position の縦位置(60%)をこの実測位置と一致させることで、
   background-size:cover のクロップが幅駆動/高さ駆動のどちらになる
   ビューポート比でも、水平線は常にビューポート高の60%の位置に固定される
   （position指定を画像内の基準点に合わせると、その基準点はスケール量に関係なく
   同じ相対位置に描画され続けるため）。.intro__copy(50vh)と
   .intro__watermark(24vh)は常にこの上（空側）に安定して配置される。 */
.intro__sea {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../images/sea01.e38e142576ee.jpg") center 60% / cover no-repeat;
}
.js .intro__sea {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease, transform 3.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .intro.is-sea .intro__sea {
  opacity: 1;
  transform: none;
}

/* 暗転レイヤー */
.intro__dim {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* すりガラス風の暗転: 背後の海を backdrop-filter でぼかし、
     ごくわずかにマゼンタへ寄せた黒（緑かぶり防止）を薄く重ねる */
  background-image: linear-gradient(180deg, rgba(22, 16, 24, 0.5) 0%, rgba(22, 16, 24, 0.66) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* backdrop-filter非対応ブラウザではボケの代わりに少し濃い目のベタで暗くする */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .intro__dim {
    background-image: linear-gradient(180deg, rgba(22, 16, 24, 0.62) 0%, rgba(22, 16, 24, 0.76) 100%);
  }
}
.js .intro__dim {
  opacity: 0;
  transition: opacity 0.55s ease; /* 暗転解除（最上部へ戻った時）は素早く */
}
.js .intro.is-revealed .intro__dim {
  opacity: 1;
  transition: opacity 1.2s ease;
}

.intro__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 24px 88px;
}

/* キャッチコピー: 画面中央付近（水平線60vhより上の空側）に固定配置 */
.js .intro__copy {
  position: absolute;
  left: 50%;
  top: 50vh;
  top: 50svh;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100vw - 48px);
  text-align: center;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .intro.is-revealed .intro__copy {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 32px));
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}
.intro__line {
  display: block;
  white-space: nowrap;
}
/* キャッチコピー: 1行目大+2行目小の階層構成（旧版の約80%スケール） */
.intro__line--1 {
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--color-text);
}
.intro__line--2 {
  margin-top: 16px;
  font-size: clamp(15px, 1.4vw, 17px); /* 下限15px: モバイル上書き(最大15px)との逆転防止 */
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: var(--color-text);
}

/* 空の上に乗算(multiply)で重なる筆記体ロゴ画像「No one is alone.」。
   乗算のため画像の白地は空に溶けて消え、青い文字だけが焼き込まれる。
   出現はキャッチコピーの文字と同じ「ブラー+フェード+少し上へ」の質感で、
   海がほぼ出たあと（JSが is-wm を付与するタイミング）にスーッと現れる。
   幅は 80vw/1200px 上限に加えて 135vh も上限にする（高さ=幅÷4.9 なので
   135vh 上限で高さ約28vhに収まり、背の低い画面でもキャッチコピー
   （中央50vh、上端約41vh〜）と重ならない）。装飾専用のためno-jsでは非表示 */
.intro__watermark {
  position: absolute;
  left: 50%;
  top: 24vh;
  top: 24svh;
  transform: translate(-50%, -50%);
  width: min(80vw, 135vh, 1200px);
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.js .intro__watermark {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 18px));
  filter: blur(8px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s ease;
}
/* :not(.is-revealed) を付けることで、暗転中は詳細度の勝敗ではなく
   セレクタそのものが不一致になり、下の is-revealed 用ルールと確実に
   排他になる（記述順に依存しない）。is-wm は一度付いたら外れないため、
   最上部へ戻って is-revealed だけが外れた際はディレイなしの1sで復帰する */
.js .intro.is-wm:not(.is-revealed) .intro__watermark {
  opacity: 0.55; /* 透かしらしく薄めに（濃さの調整ノブ） */
  transform: translate(-50%, -50%);
  filter: blur(0);
}
.js .intro.is-revealed .intro__watermark {
  opacity: 0;
  /* transform/filterを表示状態と同じ値に固定して「その場でフェードアウト」させる。
     これを省くとベースルールの隠し状態値(+18px/blur8px)へ無トランジションで
     瞬間スナップしてから消える視覚グリッチになる（transitionショートハンドが
     opacity以外のトランジションを打ち消すため） */
  transform: translate(-50%, -50%);
  filter: blur(0);
  transition: opacity 0.6s ease;
}
.no-js .intro__watermark {
  display: none;
}

/* 一文字ずつの出現 */
.intro__copy .char {
  display: inline-block;
}
.js .intro__copy .char {
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(7px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
  transition-delay: var(--d, 0ms);
}
.js .intro.is-typing .char {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
/* 演出スキップ時（早く進みたい人向け） */
.js .intro.is-skip .char {
  transition-duration: 0.25s;
  transition-delay: 0ms;
}

/* リード文 */
.intro__lead {
  max-width: 680px;
  text-align: center;
}
.js .intro__lead {
  visibility: hidden;
  transition: visibility 0s linear 0.5s; /* 戻る時は段落が消えてから非表示化 */
}
.js .intro.is-revealed .intro__lead {
  visibility: visible;
  transition: none;
}
.intro__lead p {
  font-size: 14px;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: 0.06em;
  color: #eef5f9;
  text-shadow: 0 1px 18px rgba(16, 12, 18, 0.45);
  margin-bottom: 28px;
}
.intro__lead p:last-child {
  margin-bottom: 0;
}
.intro__lead-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--color-white);
}
.intro__lead p.intro__lead-brand {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
}
.js .intro__lead p {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.4s ease, transform 0.4s ease; /* 戻る時は素早くフェードアウト */
}
.js .intro.is-revealed .intro__lead p {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 200ms + 500ms);
}

/* SCROLL キュー（共通の見た目）。どちらの変種も海の上に表示されるため白抜き */
.intro__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.92);
}

/* ファーストビュー用: 画面下部に固定。暗転後はフェードアウト */
.intro__cue--hero {
  position: absolute;
  left: 50%;
  top: calc(100vh - 118px);
  top: calc(100svh - 118px);
  transform: translateX(-50%);
}
.js .intro__cue--hero {
  opacity: 0;
  transition: opacity 1s ease 0.9s;
  pointer-events: none;
}
.js .intro.is-sea .intro__cue--hero {
  opacity: 1;
  pointer-events: auto;
}
.js .intro.is-revealed .intro__cue--hero {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.no-js .intro__cue--hero {
  display: none;
}

/* リード文末尾用: 通常フローで表示し、次のセクションへ誘導する */
.intro__cue--lead {
  display: inline-flex;
  margin-top: 24px;
  transition: opacity 0.3s ease;
}
.intro__cue--lead:hover {
  opacity: 0.75;
}
.js .intro__cue--lead {
  opacity: 0;
  pointer-events: none;
}
.js .intro.is-revealed .intro__cue--lead {
  opacity: 1;
  pointer-events: auto;
  animation: cue-in 1s cubic-bezier(0.22, 1, 0.36, 1) 1.7s backwards;
}
.js .intro.is-revealed .intro__cue--lead:hover {
  opacity: 0.75;
}
@keyframes cue-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.intro__cue-label {
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-indent: 0.34em;
}
.intro__cue-line {
  position: relative;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: currentColor;
  opacity: 0.85;
}
.intro__cue-line::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #191019; /* 白い線の上を走る暗色のダッシュ（暗転色と同系統） */
  opacity: 0.75;
  animation: cue-flow 2.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue-flow {
  0% {
    transform: translateY(-100%);
  }
  55% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* 海が出た後はイントロ全体をクリックで進められる */
.js .intro.is-sea:not(.is-revealed) .intro__stage {
  cursor: pointer;
}

/* no-js: 演出なしで全要素をそのまま表示する */
.no-js .intro__sea {
  opacity: 1;
}
.no-js .intro__dim {
  opacity: 1;
}
.no-js .intro__stage {
  flex-direction: column;
  gap: 64px;
}
.no-js .intro__copy {
  position: static;
  text-align: center;
}
.no-js .intro__line--1,
.no-js .intro__line--2 {
  color: var(--color-white);
}

/* =========================================================================
   Scene Fade（暗転→白背景への移行帯）
   .intro自身は無背景（背後の固定レイヤーsea/dimを透過表示）で、次セクションは
   不透明な白背景のため境界が直線的に切り替わる。実際の高さを持つ帯を挟み、
   上端=透明（背後の暗転がそのまま透ける）→下端=不透明白 のグラデーションで
   なめらかに移行させる。文字や操作対象と重ならない独立要素にすることで、
   リード文やSCROLLキューの可読性・当たり判定に影響しない。
========================================================================= */
.scene-fade {
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-body) 100%);
}

/* =========================================================================
   CEO Section
========================================================================= */
.ceo {
  position: relative;
  background-color: var(--color-bg-body);
  padding: 88px 0;
}
.ceo__header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 19px;
}
.ceo__title {
  /* main.cssのh1,h2,h3{margin:0 0 0.6em}がvision.cssの*{margin:0}リセットより
     詳細度で勝ってしまうため、明示的に打ち消す */
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}
.ceo__panel {
  background-color: var(--color-bg-panel);
  border-radius: 10px;
  padding: 40px 48px;
}
.ceo__box {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.ceo__image {
  flex-shrink: 0;
  width: 176px;
}
.ceo__image img {
  border-radius: 8px;
  width: 100%;
}
.ceo__content {
  flex-grow: 1;
}
.ceo__text {
  font-size: 13px;
  line-height: 2;
  margin-bottom: 10px;
}
.ceo__list {
  margin: 16px 0 24px;
}
.ceo__list li {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
}
.ceo__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.ceo__more-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
.ceo__more-link:hover {
  opacity: 0.8;
}
.ceo__more-icon {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  object-fit: contain;
  margin-top: 4px;
  transition: transform 0.25s ease; /* link-arrowの「>」と同じスライド */
}
.ceo__more-link:hover .ceo__more-icon {
  transform: translateX(4px);
}
.ceo__more-text {
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================================
   Section Panel (User / Supporters)
========================================================================= */
.section-target {
  position: relative;
  padding: 72px 0;
  background-color: var(--color-bg-body);
  background-size: cover;
  background-position: center;
}
#user {
  background-image: url("../images/sea02.0d5c7abf67bb.jpg");
}
#supporters {
  background-image: url("../images/sea03.a2f0b6cbb328.jpg");
}
@media (min-width: 769px) {
  #user,
  #supporters {
    background-attachment: fixed;
  }
}
@supports (-webkit-touch-callout: none) {
  #user,
  #supporters {
    background-attachment: scroll;
  }
}

/* 見出し: 英語バッジ（青ベタ白文字・ピル型）＋日本語見出しの横並び */
.section-panel__header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 29px;
}
.section-panel__badge {
  display: inline-block;
  padding: 3px 13px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  white-space: nowrap;
}
.section-panel__title {
  /* main.cssのh1,h2,h3{margin:0 0 0.6em}対策（.ceo__titleと同じ理由） */
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}
.section-panel__body--two-col {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.section-panel__main {
  flex: 1;
  min-width: 0;
}
.section-panel__headline {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 19px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--color-brown);
}
.section-panel__desc {
  margin-bottom: 22px;
  border-bottom: 2px solid var(--color-brown);
  padding-bottom: 22px;
}
.section-panel__desc p {
  font-size: 13px;
  line-height: 2;
  margin-bottom: 13px;
}
.section-panel__desc p:last-child {
  margin-bottom: 0;
}
.section-panel__links {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
}
.section-panel__side {
  flex-shrink: 0;
  width: 256px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* =========================================================================
   Voice Card
========================================================================= */
.voice-card {
  position: relative;
  border-radius: 22px;
  padding: 18px 19px;
  border: 1px solid rgba(41, 109, 182, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.voice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-panel);
  border-radius: 22px;
  mix-blend-mode: multiply;
  z-index: 0;
}
.voice-card > * {
  position: relative;
  z-index: 1;
}
.voice-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-text);
}
.voice-card__label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.voice-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.voice-card__author > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.voice-card__author-label {
  font-size: 10px;
  color: var(--color-text-muted);
}
.voice-card__author-name {
  font-size: 11px;
  font-weight: 700;
}
.voice-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  /* ピンクの枠線は廃止（アバター画像自体が円形の枠を持つため、
     枠線の分だけ画像を大きく表示して縁が見えないようにする） */
}
.voice-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.voice-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.voice-card__text {
  font-size: 11px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 11px;
}
.voice-card__more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.voice-card__more .link-arrow__icon {
  order: -1;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 3px;
}
.voice-card__more .link-arrow__icon img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

/* =========================================================================
   Service Section
========================================================================= */
.service {
  position: relative;
  background-color: var(--color-bg-body);
  padding: 80px 0 48px;
}
.service .section-panel__header {
  margin-bottom: 16px;
}
.service__headline {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.service__flow {
  max-width: 512px;
  margin: 0 auto 56px;
  text-align: center;
}
.service__flow img {
  width: 100%;
  height: auto;
}
.service__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
.service__card {
  background-color: var(--color-white);
  border-radius: 1.6rem;
  padding: 24px;
}
.service__card--brown {
  border: 2px solid var(--color-brown);
}
.service__card--green {
  border: 2px solid #000;
}
.service__card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.service__card-badge {
  display: inline-block;
  padding: 2px 11px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
}
.service__card-badge--brown-solid {
  background-color: #a08877;
}
.service__card-badge--green-solid {
  background-color: var(--color-green);
}
.service__card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--color-brown);
}
.service__card-text {
  font-size: 13px;
  line-height: 2.1;
  color: var(--color-text-muted);
  margin-bottom: 19px;
}
.service__card-link {
  text-align: center;
}
.service__card-link .link-arrow {
  font-size: 14px;
  font-weight: 700;
}
.service__bottom-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}
.service__bottom-links p {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* =========================================================================
   Footer
========================================================================= */
.footer {
  position: relative;
  background-color: var(--color-bg-panel);
  padding: 60px 0 40px;
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.footer__brand {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer__logo {
  display: block;
}
.footer__columns {
  display: flex;
  gap: 52px;
  flex: 1;
  flex-wrap: wrap;
}
.footer__col {
  flex: 1;
  min-width: 140px;
}
/* コンテナ幅が絞られる帯域では、フッター3列が折り返さないよう間隔を詰める */
@media (min-width: 1100px) and (max-width: 1175.98px) {
  .footer__columns {
    gap: 28px;
  }
  .footer__col {
    min-width: 96px;
  }
}
.footer__col-title {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list li a {
  font-size: 14px;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.footer__list li a:hover {
  /* main.cssの汎用a:hover{opacity:.72}が漏れて重ならないようにする */
  color: var(--color-primary);
  opacity: 1;
}
.footer__copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 45, 66, 0.12);
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

/* =========================================================================
   スクロール出現アニメーション
========================================================================= */
.js .fx {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--fxd, 0ms);
}
.js .fx.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   Responsive (Smartphone)
========================================================================= */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-burger {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .intro__stage {
    padding: 88px 20px 92px;
  }
  .intro__line--1 {
    font-size: clamp(17px, 5.2vw, 26px);
    letter-spacing: 0.06em;
  }
  .intro__line--2 {
    margin-top: 12px;
    font-size: clamp(12px, 3.4vw, 15px);
    letter-spacing: 0.1em;
  }
  .intro__lead p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 24px;
  }
  .intro__lead p.intro__lead-brand {
    font-size: 15px;
  }
  .intro__cue--hero {
    top: calc(100vh - 104px);
    top: calc(100svh - 104px);
  }
  .intro__cue--lead {
    margin-top: 20px;
  }
  .intro__cue-line {
    height: 44px;
  }
  .intro__watermark {
    width: min(92vw, 135vh);
  }

  .scene-fade {
    height: 90px;
  }

  .ceo {
    padding: 64px 0;
  }
  .ceo__panel {
    padding: 24px 18px;
  }
  .ceo__title {
    font-size: 16px;
  }
  .ceo__text {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .ceo__list {
    margin: 12px 0 10px;
  }
  .ceo__list li {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .ceo__more {
    margin-top: 16px;
  }
  .ceo__more-text {
    font-size: 14px;
  }
  .ceo__box {
    flex-direction: column;
    gap: 16px;
  }
  .ceo__image {
    width: 130px;
    margin: 0 auto;
  }

  .section-target {
    padding: 56px 0;
  }
  .section-panel__header {
    gap: 10px;
    margin-bottom: 28px;
  }
  .section-panel__badge {
    font-size: 11px;
    padding: 3px 12px;
  }
  .section-panel__title {
    font-size: 16px;
  }
  .section-panel__headline {
    font-size: 16px;
  }
  .section-panel__body--two-col {
    flex-direction: column;
  }
  .section-panel__side {
    width: 100%;
    gap: 12px;
  }

  .voice-card {
    padding: 16px;
    border-radius: 16px;
  }
  .voice-card::before {
    border-radius: 16px;
  }
  .voice-card__label {
    font-size: 13px;
  }
  .voice-card__author-name {
    font-size: 11px;
  }
  .voice-card__avatar {
    width: 32px;
    height: 32px;
  }
  .voice-card__title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .voice-card__text {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  .voice-card__more {
    font-size: 11px;
  }

  .service {
    padding: 60px 0 40px;
  }
  .service__headline {
    font-size: 18px;
    margin-bottom: 36px;
  }
  .service__flow {
    margin: 0 auto 40px;
  }
  .service__cards {
    grid-template-columns: 1fr;
  }
  .service__card {
    padding: 20px 16px;
  }
  .service__card-title {
    font-size: 1.125rem;
  }

  .footer {
    padding: 40px 0 32px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .footer__brand {
    align-items: center;
  }
  .footer__columns {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }
  .footer__col {
    min-width: 0;
  }
  .footer__col-title {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 8px;
  }
  .footer__list li a {
    font-size: 12px;
  }
  .footer__copyright {
    font-size: 11px;
    margin-top: 28px;
    padding-top: 20px;
  }
}

/* =========================================================================
   Reduced Motion
========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .intro__sea,
  .js .intro__dim,
  .js .intro__copy,
  .js .intro__copy .char,
  .js .intro__watermark,
  .js .intro__lead p,
  .js .intro__cue,
  .js .side-nav,
  .js .nav-burger,
  .js .site-header,
  .js .fx {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }
  .intro__cue-line::after {
    animation: none;
  }
  .js .intro.is-revealed .intro__cue--lead {
    animation: none;
  }
}
