@charset "UTF-8";
/* ===== Theme (Dodgers Color) ===== */
:root {
  --blue: #005a9c; /* Dodgers Blue */
  --blue-2: #1e90ff; /* Light/DodgerBlue */
  --ink: #0b1a2b; /* 紺に近い深い青(背景ブレンド用) */
  --white: #ffffff;
  --muted: #e5e7eb; /* 明るめのグレー */
  --line: rgba(255, 255, 255, 0.25); /* 白い細線 */
  --panel: rgba(255, 255, 255, 0.06); /* パネルの淡い白 */
  --shadow: rgba(0, 0, 0, 0.2);
}

/* ===== Reset/Base ===== */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Helvetica, Arial, sans-serif;
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 40%, var(--ink) 100%);
  line-height: 1.75;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 24px;
  letter-spacing: 0.02em;
  text-align: left;
}
.display {
  font-size: clamp(42px, 9vw, 100px);
  line-height: 1.04;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.lead {
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 20px);
  margin: 0;
  text-align: center;
}
.kicker {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 8px 0 12px;
}
.body {
  color: #f3f4f6;
  font-size: clamp(14px, 1.9vw, 17px);
}
.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn.wide {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
}
.link {
  margin-left: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tags,
.bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: #eef2f7;
  background: rgba(255, 255, 255, 0.04);
}
.bullets {
  flex-direction: column;
  gap: 6px;
}

.divided {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 40, 80, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.logo {
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* まず既存の .site-nav を上書きして、常にオフキャンバス化 */
.site-nav {
  position: fixed;
  top: 64px; /* ヘッダー高さと合わせる */
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  display: grid;
  gap: 0;
  background: rgba(0, 40, 80, 0.95);
  border-left: 1px solid var(--line);
  transform: translateX(100%); /* 右へ隠す */
  transition: transform 0.3s ease;
  z-index: 60;
  padding: 10px 0;
}
.site-nav a {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}
.site-nav a:hover {
  color: var(--white);
}

/* 開いた状態 */
.site-nav.is-open {
  transform: translateX(0);
}

/* ===== Stylish Hamburger Menu ===== */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; /* 少しワイドに */
  height: 56px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%; /* ← 丸くする！ */
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.2);
}

.nav-toggle:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
  transform: scale(1.05);
}

/* 線3本 */
.nav-toggle span {
  position: absolute;
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 位置調整 */
.nav-toggle span:nth-child(1) {
  top: 18px;
}
.nav-toggle span:nth-child(2) {
  top: 27px;
}
.nav-toggle span:nth-child(3) {
  top: 36px;
}

/* メニュー展開時（Xに変形） */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ハンバーガーは常に表示（PCでも） */
.nav-toggle {
  display: inline-flex; /* ← これでPCでも出す */
  align-items: center;
  justify-content: center;
}

/* 背景スクロールロック（任意） */
body.menu-open {
  overflow: hidden;
}

/* ハンバーガーのX変形（視覚強化） */
.nav-toggle.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  min-height: min(90vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  place-items: center;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: -20%;
  background: radial-gradient(1200px 600px at 70% 10%, rgba(255, 255, 255, 0.15), transparent 60%), radial-gradient(1000px 400px at 0% 100%, rgba(0, 90, 156, 0.4), transparent 60%);
  mix-blend-mode: screen;
  filter: blur(10px);
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* "浮き出てくる"発光テキスト */
.pop-out {
  text-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(30, 144, 255, 0);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: popOut 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.2s, glowLoop 3.2s ease-in-out infinite 2.2s;
}
@keyframes popOut {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 28px rgba(255, 255, 255, 0.65), 0 0 46px rgba(30, 144, 255, 0.55);
  }
}
@keyframes glowLoop {
  0%,
  100% {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 255, 255, 0.35), 0 0 32px rgba(30, 144, 255, 0.35);
  }
  50% {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 36px rgba(255, 255, 255, 0.8), 0 0 56px rgba(30, 144, 255, 0.8);
  }
}

/* ===== About ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}
.about .avatar {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.12));
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px var(--shadow) inset;
}
.about .meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 18px;
}
.about .meta-block h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about .cta-row {
  margin-top: 22px;
}

/* ===== Works ===== */

.work-filters {
  display: flex;
  gap: 10px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.chip:hover {
  transform: translateY(-1px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}
.chip.is-active {
  border-color: var(--white);
  color: var(--white);
}
/* ===== Worksカードの間隔をさらに広く ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 60px; /* ← ここを増やすと余白が広くなる（40 → 60） */
}

/* .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
} */
.work-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.work-card:hover,
.work-card:focus {
  transform: translateY(-4px);
  border-color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.work-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border-bottom: 1px solid var(--line);
  position: relative;
}
.work-card .thumb.video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  cursor: pointer;
}
.work-card .thumb.video .play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 18px 0 0 20px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.work-card .work-meta {
  padding: 14px;
}
.work-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.work-card .badges {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.work-card .badges span {
  border: 1px solid var(--line);
  color: #eef2f7;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

/* モーダル */
.work-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}
.work-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.work-modal__sheet {
  width: min(960px, 92vw);
  background: rgba(0, 40, 80, 0.6);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.work-modal .wm-media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  min-height: 320px;
}
.work-modal .wm-body {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.work-modal .wm-body .muted {
  color: var(--muted);
}
.work-modal .wm-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.work-modal .wm-year {
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.work-modal .wm-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== Philosophy ===== */
.philosophy .quote {
  font-size: clamp(22px, 4.6vw, 38px);
  text-align: center;
  margin: 0;
  letter-spacing: 0.01em;
}
.philosophy .lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

/* ===== Contact / Footer ===== */
.contact .lead {
  margin: 2px 0 16px;
}
.contact-ways {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}
.contact-mail {
  font-weight: 700;
}
.sns-icons {
  display: flex;
  gap: 12px;
}
.sns-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #eef2f7;
}
.sns-icons a:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 40, 80, 0.25);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer-inner .brand {
  color: var(--muted);
}
.footer-inner .sns {
  display: flex;
  gap: 16px;
}
.footer-inner .sns a {
  color: var(--muted);
  text-decoration: none;
}
.footer-inner .sns a:hover {
  color: var(--white);
}

/* ===== Motion / Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .about .avatar {
    width: 180px;
    height: 180px;
  }
  .about .meta {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    gap: 0;
    background: rgba(0, 40, 80, 0.92);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .site-nav a {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }
  .nav-toggle {
    display: inline-block;
  }
  .site-nav.is-open {
    transform: translateY(0);
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }
  .display {
    letter-spacing: 0;
  }
}
/* Worksのタイトルとフィルターだけをさらに上へ */
#works > .container .section-title,
#works > .container .work-filters {
  transform: translateY(-40px); /* ←ここを-40pxくらいまで調整可能 */
}

/* グリッドとの間を整える（詰まり防止） */
#works > .container .work-grid {
  margin-top: 40px; /* transformの値と同じ数にすると自然 */
}
/* Worksのグリッド全体を下にずらす */
#works .work-grid {
  transform: translateY(10px); /* 下方向に40px移動（調整可） */
}

/* グリッドが下がった分、次のセクションとの間を確保 */
#philosophy {
  margin-top: 40px;
}
/* Heroの「OLD ROOKIE」だけ大きくする */
.hero .display {
  font-size: clamp(80px, 14vw, 180px); /* ←元よりぐっと大きく */
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.hero .display.pop-out {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.7), 0 0 90px rgba(30, 144, 255, 0.6), 0 0 140px rgba(0, 90, 156, 0.8);
}

/* ===== Rookie Gallery ===== */
.gallery {
  background: linear-gradient(180deg, var(--blue) 0%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}

.gallery .section-title {
  color: var(--white);
}

.gallery .work-grid {
  margin-top: 20px;
}

.gallery .work-card {
  background: rgba(255, 255, 255, 0.08);
}

/* 透明リンクカバー：iframeの上に全面配置してクリックを拾う */
.thumb .thumb-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  cursor: pointer;
}

/* 視覚フィードバック（お好みで） */
.thumb .thumb-link:hover {
  outline: 0; /* 不要なら削除 */
}

.about .avatar {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 2px solid var(--line);
  overflow: hidden;
}

.about .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About：左右を中央寄せ気味に・下だけ少し詰める */
#about .grid-2 {
  align-items: center; /* 画像とテキストの縦位置を揃える */
}

#about.section {
  padding-top: 200px; /* ヒーローとの間は少しゆとり */
  padding-bottom: 70px; /* 下を標準より少し詰める（ここで余白調整） */
}

/* Aboutの丸画像 */
.about .avatar {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 2px solid var(--line);
  overflow: hidden;
  margin: 0 auto; /* 小さい画面の時も中央寄せ */
  background: none; /* 古いグラデ背景を無効化（画像優先） */
}

.about .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Typography Boost（全体の文字を少し大きく）===== */

/* セクション見出し（About / Works / Philosophy / Contact / Gallery） */
.section-title {
  font-size: clamp(20px, 4.4vw, 40px);
}

/* リード文（Hero下 / Contactなど） */
.lead {
  font-size: clamp(16px, 2.6vw, 22px);
}

/* About本文など */
.body {
  font-size: clamp(16px, 2.1vw, 19px);
}

/* About肩書き（kicker） */
.kicker {
  font-size: 30px;
}

/* メタ見出し（Skills / Focusなど） */
.about .meta-block h3 {
  font-size: 30px;
}

/* Worksカードのタイトル・テキスト */
.work-card h3 {
  font-size: 18px;
}
.work-card p {
  font-size: 13px;
}

/* Rookie Galleryカードも同じ調整 */
.gallery .work-card h3 {
  font-size: 18px;
}
.gallery .work-card p {
  font-size: 18px;
}
/* ===== About Avatar Refinement ===== */

/* 丸い画像をもう少し大きく・左寄せに */
.about .avatar {
  width: 480px; /* ← 320px → 360pxに拡大（存在感アップ） */
  height: 480px;
  margin-left: -150px; /* ← 少し左に寄せる（画像が左端に近づく） */
}
/* ===== About Avatar Position Adjust ===== */

/* 丸画像を全体的に少し下に下げる */
.about .avatar {
  transform: translateY(20px); /* 下に20px移動（調整可） */
}

/* スマホでは中央寄せを優先して位置リセット */
@media (max-width: 960px) {
  .about .avatar {
    transform: translateY(0);
  }
}

/* 小さい画面では中央に戻す（スマホ対策） */
@media (max-width: 960px) {
  .about .avatar {
    margin-left: 0;
    width: 280px;
    height: 280px;
  }
}
/* ここから追加 */

/* ===== AboutとWorksの間の余白を詰める ===== */

/* Aboutセクションの下余白をゼロに */
#about.section {
  padding-bottom: 10;
  margin-bottom: 10;
}

/* Worksセクションを上に引き上げて重ねる */
#works.section {
  margin-top: 0px; /* ← 数値を増やすとさらに近づく（例：-60px） */
}

/* 線の位置を維持して自然に繋げる */
#about.divided {
  border-bottom: 1px solid var(--line);
}

/* ===== Worksセクションの背景をContactと統一 ===== */
#works {
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 40%, var(--ink) 100%);
  border-top: 1px solid var(--line); /* 上に細線を加えて区切りを維持 */
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.work-card .thumb {
  aspect-ratio: 16 / 8; /* ← 縦方向を拡大（元:16/9） */
}

.work-card h3 {
  font-size: 18px; /* タイトルもやや大きく */
}

.work-card p {
  font-size: 14.5px;
}

.work-card .badges span {
  font-size: 12px;
  padding: 4px 10px;
}
.work-card:hover {
  transform: scale(1.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* ===== Works内のiframeスクロールバーを完全非表示 ===== */
.work-card iframe {
  overflow: hidden !important;
  border: none;
  scrollbar-width: none !important; /* Firefox用 */
}

.work-card iframe::-webkit-scrollbar {
  display: none !important; /* Chrome / Safari用 */
}

/* iframeの外枠も整える */
.work-card .thumb {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
/* Contactセクションを少し上に詰める */
#contact.section {
  padding-top: 30px; /* デフォルトより小さく */
  padding-bottom: 60px; /* お好みで調整、少し短めに */
}

/* さらに全体を上方向に持ち上げたい場合はこれも追加 */
#contact {
  margin-top: -30px; /* -20〜-50pxくらいで好み調整 */
}
/* ===== Contact セクション：スタイリッシュ化 ===== */
#contact {
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, var(--blue-2) 100%);
  border-top: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 100px;
  text-align: center;
  overflow: hidden;
}

/* 背景に光のグラデーションを重ねる */
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.12), transparent 60%);
  z-index: 0;
}

/* セクションタイトルの強調 */
#contact .section-title {
  font-size: clamp(30px, 4.5vw, 50px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(30, 144, 255, 0.6);
}

/* リード文 */
#contact .lead {
  color: #dbeafe;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  margin-bottom: 30px;
}

/* メールボタンをグラデーションに変更 */
#contact .contact-mail {
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  border: none;
  border-radius: 16px;
  padding: 14px 24px;
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
  transition: all 0.3s ease;
}

#contact .contact-mail:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(30, 144, 255, 0.6);
}

/* SNSアイコンのデザイン統一 */
#contact .sns-icons a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

#contact .sns-icons a:hover {
  background: rgba(30, 144, 255, 0.4);
  transform: translateY(-3px);
  border-color: var(--white);
}

/* フォーム */
#contact .contact-form {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 600px;
  margin: 40px auto 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  background: rgba(255, 255, 255, 0.15);
}

/* 送信ボタンの演出 */
#contact .contact-form button {
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
}
/* ===== Contactフォームのプレースホルダー（ダミー文字）を白に ===== */
#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.85); /* 白っぽく */
  opacity: 1; /* Safari対応 */
}

/* 入力中のテキストも見やすく白に */
#contact .contact-form input,
#contact .contact-form textarea {
  color: #ffffff;
}
/* ===== Contactフォーム：ダミー文字を白・太字・大きめに ===== */
#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color: #ffffff; /* 白 */
  font-weight: 700; /* 太字 */
  font-size: 1.1em; /* ← 少し大きく（調整可：1.2emでもOK） */
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: text-shadow 0.4s ease, color 0.4s ease;
}

/* ===== 入力欄のテキストも白・太字・発光 ===== */
#contact .contact-form input,
#contact .contact-form textarea {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.4s ease;
}

/* ===== フォーカス＆ホバー時に発光効果 ===== */
#contact .contact-form input:hover,
#contact .contact-form textarea:hover,
#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(30, 144, 255, 0.7), 0 0 26px rgba(0, 90, 156, 0.8);
  border-color: rgba(30, 144, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

/* ===== Contactフォーム：ホバー時に背景を発光して縦線を目立たせる ===== */
#contact .contact-form input:hover,
#contact .contact-form textarea:hover {
  background: rgba(255, 255, 255, 0.2); /* 白っぽく発光 */
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 16px rgba(30, 144, 255, 0.5);
  transition: all 0.3s ease;
  cursor: text; /* ← I字カーソル */
}

/* ===== フォーカス時：縦線（キャレット）を白で固定 ===== */
#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  caret-color: #ffffff; /* ← 縦線（入力キャレット）を白く */
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(30, 144, 255, 0.6);
  color: #ffffff;
}
.contact-mail.btn {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.contact-mail.btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #1e90ff; /* ドジャースブルーの発光 */
  box-shadow: 0 0 12px rgba(30, 144, 255, 0.6);
}
.subcopy {
  display: block; /* 一段下げる */
  margin-top: 10px; /* 上に少し余白 */
  font-size: 1.1em; /* 英語を少し大きめに */
  font-style: italic; /* 斜体で洗練された印象に */
  color: #ffffff; /* 白文字（背景が濃い場合） */
  opacity: 0.9; /* やや透明で上品に */
  letter-spacing: 0.03em; /* 少し文字間を広げる */
}
#about {
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 60%, var(--ink) 100%);
  margin-top: -80px;
  padding-top: 120px;
  border-top: none; /* 完全につなげたい場合は線も消す */
}
.nav-toggle {
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  left: 9px;
  right: 9px;
  height: 2px;
}
.nav-toggle span:nth-child(1) {
  top: 12px;
}
.nav-toggle span:nth-child(2) {
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}
.nav-toggle {
  border: 2px solid var(--white); /* 枠を太くして視認性アップ */
  background: rgba(255, 255, 255, 0.08); /* 薄い背景で浮かせる */
}

.nav-toggle span {
  background: var(--white); /* 白く明確に表示 */
}
/* ===== iframe内のスクロールバーを完全に非表示 ===== */
.work-card iframe {
  overflow: hidden !important;
  border: none;
  width: 100%;
  height: 100%;
  scrollbar-width: none !important; /* Firefox用 */
}

.work-card iframe::-webkit-scrollbar {
  display: none !important; /* Chrome / Safari / Edge用 */
}
.work-card iframe,
.gallery .work-card iframe {
  overflow: hidden !important;
  border: none;
  scrollbar-width: none !important;
}

.work-card iframe::-webkit-scrollbar,
.gallery .work-card iframe::-webkit-scrollbar {
  display: none !important;
}
/* ===== Rookie Gallery：カードの高さと比率を統一 ===== */
.gallery .work-card {
  height: 100%; /* 高さを揃える */
  min-height: 340px; /* 下段が縮まないよう固定（上段と同じ目安） */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery .work-card .thumb {
  aspect-ratio: 16 / 9; /* 上段と同じ比率で統一 */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border-bottom: 1px solid var(--line);
}

.gallery .work-card h3 {
  font-size: 18px;
}

.gallery .work-card p {
  font-size: 14.5px;
  line-height: 1.6;
}
/* ===== 全体の横スクロールバーを強制的に非表示 ===== */
html,
body {
  overflow-x: hidden !important;
}

/* transformやシャドウでの微妙なはみ出しを抑制 */
* {
  box-sizing: border-box;
  max-width: 100vw;
}
/* kokokara */

.form-msg {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  opacity: 0.9;
  transition: color 0.3s ease;
}
/* kokomae */

/* Rookie Gallery の下3枚だけ非表示 */
#gallery .work-grid .work-card:nth-last-child(-n + 2) {
  display: none;
}
