/* RoomRadar の紹介ページ（index.html・about.html）の共通スタイル。2026-11-07 に index.html から切り出した */
/* ════════════════════════════════════════════
   CSS変数
════════════════════════════════════════════ */
:root {
  --bg:      #f5f3ee;
  --ink:     #1a1814;
  --muted:   #6b665a;
  --accent:  #2563eb;
  --accent2: #f97316;
  --card:    #ffffff;
  --border:  rgba(26,24,20,0.1);
  --tower:   #2563eb;
  --suruga:  #16a34a;
  --funa:    #ea580c;
}

/* ════════════════════════════════════════════
   リセット・ベース
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 3px; }

/* ════════════════════════════════════════════
   言語切替
════════════════════════════════════════════ */
.ja { display: block; }
.en { display: none;  }
.zh { display: none;  }
span.ja { display: inline; }
span.en { display: none;   }
span.zh { display: none;   }

body.lang-en .ja    { display: none;   }
body.lang-en .en    { display: block;  }
body.lang-en span.ja{ display: none;   }
body.lang-en span.en{ display: inline; }

body.lang-zh .ja    { display: none;   }
body.lang-zh .zh    { display: block;  }
body.lang-zh span.ja{ display: none;   }
body.lang-zh span.zh{ display: inline; }

/* ── 言語別タイポグラフィ調整 ── */
body.lang-en .hero-title       { font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.03em; }
body.lang-en .hero-title .small{ font-size: 0.3em; font-weight: 600; letter-spacing: 0em; }
body.lang-zh .hero-title .small{ font-size: 0.38em; letter-spacing: 0.02em; }

/* ════════════════════════════════════════════
   ロゴ
════════════════════════════════════════════ */
.logo-fixed {
  position: fixed; top: 20px; left: 24px; z-index: 100;
  display: flex; align-items: center;
  height: 62px;
}
.logo-fixed img {
  height: 62px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
  transition: transform 0.3s ease;
}
.logo-fixed img:hover {
  transform: scale(1.05);
}

/* ════════════════════════════════════════════
   セクションナビバー（Apple風）
════════════════════════════════════════════ */
.section-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 20px;
  background: rgba(245,243,238,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(26,24,20,0.06);
}
.nav-logo { display: flex; align-items: center; flex: 1; min-width: 0; }
.nav-logo img {
  height: 38px; width: auto; display: block;
  transition: transform 0.3s ease;
}
.nav-logo img:hover { transform: scale(1.05); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 0 0 auto;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 7px 14px; border-radius: 99px;
  white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(26,24,20,0.05); }
.nav-links a.active { color: var(--accent); }
.nav-right { flex: 1; display: flex; justify-content: flex-end; }
@media (max-width: 820px) {
  .section-nav { height: 52px; padding: 0 12px; }
  .nav-logo img { height: 32px; }
  .nav-links {
    flex: 1 1 auto; min-width: 0; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    margin: 0 6px;
    /* 右端をフェードさせて「横にスワイプできる」ことを示す。末尾の項目が隠れないよう余白を足す */
    padding-right: 28px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 6px 9px; font-size: 0.74rem; }
  .lang-btn { padding: 5px 10px; font-size: 0.68rem; }
}
@media (max-width: 520px) {
  .nav-logo { flex: 0 0 auto; }
  .nav-right { flex: 0 0 auto; }
}

/* ════════════════════════════════════════════
   言語トグル
════════════════════════════════════════════ */
.lang-toggle {
  position: static;
  display: flex;
  border: 1.5px solid var(--border); border-radius: 99px;
  background: var(--card); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.lang-btn {
  padding: 7px 16px; font-size: 0.75rem; font-weight: 700;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; cursor: pointer;
  border: none; background: transparent; color: var(--muted);
  transition: all 0.2s; letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--ink); color: #fff; border-radius: 99px; }

/* ════════════════════════════════════════════
   Hero
════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
.bg-circle {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px); opacity: 0.15;
}
.bg-circle-1 { width: 600px; height: 600px; background: var(--accent);  top: -200px; right: -200px; }
.bg-circle-2 { width: 400px; height: 400px; background: var(--accent2); bottom: -100px; left: -100px; }

.hero-inner {
  max-width: 800px; width: 100%;
  position: relative; z-index: 1;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.75rem;
  color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.6s 0.1s ease forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Syne', 'Noto Sans JP', 'Arial Black', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.04em;
  opacity: 0; animation: fadeUp 0.7s 0.2s ease forwards;
  /* RoomとRadarを折り返し可能にする */
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: baseline; gap: 0 0.08em;
}
.title-room, .title-radar { display: inline; }
.hero-title .accent { color: var(--accent); }
.hero-title .small {
  font-size: 0.45em; color: var(--muted);
  display: block; font-weight: 700;
  margin-top: 4px; letter-spacing: -0.02em;
  width: 100%; /* flex折り返し後に全幅で下に来る */
  text-align: center;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--muted);
  line-height: 1.8; margin: 24px auto 40px; max-width: 560px;
  opacity: 0; animation: fadeUp 0.7s 0.35s ease forwards;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  font-size: 1rem; font-weight: 700; padding: 16px 32px;
  border-radius: 99px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(26,24,20,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0; animation: fadeUp 0.7s 0.5s ease forwards;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,24,20,0.25); }
.hero-cta .arrow { font-size: 1.2em; transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

/* 試験運用中で大学公式ではないことの明示（控えめ表記） */
.hero-note {
  display: flex; width: fit-content; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin: 18px auto 0; max-width: 520px;
  font-size: 0.72rem; font-weight: 500; color: var(--muted); line-height: 1.5;
  opacity: 0; animation: fadeUp 0.7s 0.6s ease forwards;
}
.hero-note-tag {
  flex-shrink: 0; font-family: 'Syne', 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 0.56rem; letter-spacing: 0.1em;
  background: rgba(26,24,20,0.05); color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 5px;
}

.hero-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 56px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.65s ease forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 2.2rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.stat-num span:not(.num) { color: var(--accent); }
.stat-label {
  font-size: 0.75rem; color: var(--muted);
  margin-top: 4px; font-family: 'DM Mono', 'Noto Sans JP', monospace;
}
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* タイプライター（キャッチコピー） */
.hero-typewriter {
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.85rem; font-weight: 500;
  color: var(--accent2); letter-spacing: 0.04em;
  min-height: 1.4em; margin-bottom: 8px;
  opacity: 0; animation: fadeUp 0.7s 0.15s ease forwards;
}
.hero-typewriter .cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--accent2); margin-left: 2px;
  vertical-align: text-bottom; animation: blink 0.85s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }


/* ════════════════════════════════════════════
   アニメーション
════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }

/* ── 背景の動き ── */
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-40px, 36px) scale(1.12); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(48px, -28px) scale(1.08); }
}
.bg-circle-1 { animation: drift1 20s ease-in-out infinite; }
.bg-circle-2 { animation: drift2 26s ease-in-out infinite; }

@keyframes gridPan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}
.hero::before { animation: gridPan 9s linear infinite; }

/* ── レーダーのping ── */
.ping-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ping {
  position: absolute; width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  border: 1.5px solid rgba(37,99,235,0.22); border-radius: 50%;
  opacity: 0; animation: ping 6s ease-out infinite;
}
.ping.p1 { top: 28%; left: 22%; }
.ping.p2 { top: 64%; left: 78%; animation-delay: 2s; border-color: rgba(249,115,22,0.2); }
.ping.p3 { top: 78%; left: 30%; animation-delay: 4s; }
@keyframes ping {
  0%   { transform: scale(0.15); opacity: 0.55; }
  70%  { opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── 浮遊する記号 ── */
.symbols { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.symbol {
  position: absolute; font-family: 'DM Mono', 'Noto Sans JP', monospace;
  color: rgba(37,99,235,0.16); user-select: none;
  animation: floatY 13s ease-in-out infinite;
}
.symbol.orange { color: rgba(249,115,22,0.16); }
@keyframes floatY {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-26px) rotate(10deg); }
}

/* ── タイトルのスイープ（青系・配色は維持） ── */
.hero-title .title-radar {
  background: linear-gradient(90deg, var(--accent) 30%, #7aa2ff 50%, var(--accent) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sweep 4.5s linear infinite;
}
@keyframes sweep { from { background-position: 220% 0; } to { background-position: -220% 0; } }

/* アクセシビリティ: 動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .bg-circle-1, .bg-circle-2, .hero::before, .ping, .symbol, .hero-title .title-radar, .hero-typewriter .cursor,
  .cta-particles span, .cta-btn, .feedback-thanks .check {
    animation: none !important;
  }
  .hero-title .title-radar { color: var(--accent); -webkit-text-fill-color: var(--accent); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ════════════════════════════════════════════
   セクション共通
════════════════════════════════════════════ */
section { padding: 100px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 48px;
}

/* ════════════════════════════════════════════
   問題提起
════════════════════════════════════════════ */
.problem { background: #2e3a55; color: #fff; }
/* セクション間のグラデーションつなぎ帯 */
.blend-band {
  position: relative; overflow: hidden; pointer-events: none;
  line-height: 0; height: 36px;
}
.blend-band.tall { height: 60px; }
.blend-band .glow {
  position: absolute; width: 130px; height: 130px; border-radius: 50%;
  filter: blur(40px); opacity: 0.18; top: -30px;
}
@media (prefers-reduced-motion: reduce) {
  .blend-band .glow { display: none; }
}
.problem .section-eyebrow { color: var(--accent2); }
.problem .section-title { color: #fff; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.problem-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 28px; transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }
.problem-card.reveal { transform: translateY(30px) rotate(-2deg); }
.problem-card.reveal:nth-child(2) { transform: translateY(30px) rotate(0deg); }
.problem-card.reveal:nth-child(3) { transform: translateY(30px) rotate(2deg); }
.problem-card.reveal.visible { transform: translateY(0) rotate(0deg); }
.problem-card.reveal.visible:hover { transform: translateY(-6px) rotate(0deg); }
.problem-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.problem-text { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.8); }

/* ════════════════════════════════════════════
   特徴
════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.feature-card.blue::before   { background: var(--tower); }
.feature-card.green::before  { background: var(--suruga); }
.feature-card.orange::before { background: var(--funa); }
.feature-card.purple::before { background: #7c3aed; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(37,99,235,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover .feature-icon { animation: iconBounce 0.5s ease; }
@keyframes iconBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-6px) rotate(-8deg); }
  60% { transform: translateY(0) rotate(6deg); }
}
.feature-num {
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 3rem; font-weight: 800;
  opacity: 0.07; position: absolute; top: 16px; right: 20px; line-height: 1;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.feature-title {
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1.15rem;
  font-weight: 700; margin-bottom: 10px;
}
.feature-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.8; }

/* ════════════════════════════════════════════
   校舎バッジ
════════════════════════════════════════════ */
.buildings {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-top: 48px;
}
.building-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 700; border: 2px solid;
}
.building-badge.tower  { border-color: var(--tower);  color: var(--tower);  background: rgba(37,99,235,0.06); }
.building-badge.suruga { border-color: var(--suruga); color: var(--suruga); background: rgba(22,163,74,0.06); }
.building-badge.funa   { border-color: var(--funa);   color: var(--funa);   background: rgba(234,88,12,0.06); }
.building-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.tower  .dot { background: var(--tower); }
.suruga .dot { background: var(--suruga); }
.funa   .dot { background: var(--funa); }

/* ════════════════════════════════════════════
   使い方
════════════════════════════════════════════ */
.howto { background: linear-gradient(135deg, #eef2ff 0%, #fef9f0 100%); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 40px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(
    90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px
  );
  pointer-events: none;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.2s ease 0.3s;
}
.steps.visible::before { transform: scaleX(1); }
.step { text-align: center; padding: 32px 20px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  transform: scale(0); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step.visible .step-num, .reveal.visible .step-num { transform: scale(1); }
.step-title { font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════════
   メンバー
════════════════════════════════════════════ */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.member-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,99,235,0.18); }
.member-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff;
  transition: transform 0.3s ease;
}
.member-card:hover .member-avatar { transform: scale(1.12) rotate(-4deg); }
.member-name { font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.member-role {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; letter-spacing: 0.06em;
  background: rgba(37,99,235,0.08); color: var(--accent);
  padding: 3px 10px; border-radius: 99px; margin-bottom: 8px;
}
.member-dept { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ════════════════════════════════════════════
   意見箱
════════════════════════════════════════════ */
.feedback { background: linear-gradient(135deg, #fef9f0 0%, #eef2ff 100%); }
.feedback-card {
  max-width: 620px; margin: 0 auto;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  position: relative; overflow: hidden;
}
.feedback-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.feedback-field { margin-bottom: 20px; text-align: left; }
.feedback-field label {
  display: block; font-family: 'DM Mono', 'Noto Sans JP', monospace;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink); margin-bottom: 8px;
}
.feedback-field label .req { color: var(--accent2); }
.feedback-field select,
.feedback-field textarea,
.feedback-field input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 14px; font-family: inherit;
  font-size: 0.92rem; background: var(--bg); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feedback-field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.feedback-field select:focus,
.feedback-field textarea:focus,
.feedback-field input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.feedback-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: none; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: inherit;
  font-size: 1rem; font-weight: 700; padding: 16px 32px;
  border-radius: 99px; box-shadow: 0 4px 20px rgba(26,24,20,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.feedback-submit .ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45);
  transform: scale(0); animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }
.feedback-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,24,20,0.25); }
.feedback-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.feedback-note {
  font-size: 0.72rem; color: var(--muted); margin-top: 14px;
  text-align: center; line-height: 1.7;
}
.feedback-thanks {
  display: none; text-align: center; padding: 30px 10px;
}
.feedback-thanks .check {
  font-size: 2.6rem; display: block; margin-bottom: 12px;
  animation: thanksPulse 1.6s ease-in-out infinite;
}
@keyframes thanksPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.feedback-thanks .msg {
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--ink);
}
.feedback-card.sent .feedback-form  { display: none; }
.feedback-card.sent .feedback-thanks { display: block; }

/* ════════════════════════════════════════════
   CTA
════════════════════════════════════════════ */
.cta-section {
  background: #2e3a55; color: #fff;
  text-align: center; padding: 100px 24px;
  position: relative; overflow: hidden;
}
.cta-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cta-particles span {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.18);
  animation: ctaFloat 14s ease-in-out infinite;
}
.cta-particles span:nth-child(odd) { background: rgba(249,115,22,0.18); }
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(20px); }
}
.cta-title, .cta-desc, .cta-btn, .cta-badge { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Syne', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 20px;
}
.cta-title .accent { color: var(--accent2); }
.cta-desc { color: rgba(255,255,255,0.5); font-size: 1rem; margin-bottom: 40px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink);
  font-size: 1.05rem; font-weight: 700; padding: 18px 40px;
  border-radius: 99px; text-decoration: none;
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(255,255,255,0.2); }
.cta-btn { animation: ctaGlow 3s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(255,255,255,0.15); }
  50% { box-shadow: 0 4px 32px rgba(255,255,255,0.35); }
}
.cta-badge {
  display: inline-block; margin-top: 20px;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.72rem;
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
}

/* ════════════════════════════════════════════
   Instagramフォロー（ヒーロー直下）
════════════════════════════════════════════ */
.social { background: linear-gradient(135deg, #eef2ff 0%, #fef9f0 100%); }
.social-card {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 28px; padding: 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.07);
  position: relative; overflow: hidden;
}
.social-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 78%, #4f5bd5);
}
.social-qr-wrap { flex-shrink: 0; width: 156px; text-align: center; }
.social-qr {
  display: block; width: 156px; height: 156px; border-radius: 20px;
  background: #fff; padding: 9px;
  background-image: linear-gradient(#fff, #fff), linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  background-origin: border-box; background-clip: content-box, border-box;
  border: 3px solid transparent;
  box-shadow: 0 12px 30px rgba(214,41,118,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}
.social-qr img { width: 100%; height: 100%; display: block; border-radius: 12px; }
.social-qr:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(214,41,118,0.28); }
.social-qr-hint {
  display: block; font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.64rem;
  color: var(--muted); margin-top: 10px; letter-spacing: 0.16em;
}
.social-body { flex: 1; min-width: 0; text-align: left; }
.social-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(45deg, #fa7e1e, #d62976 55%, #962fbf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 700; margin-bottom: 12px;
}
.social-label .ig {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5);
  position: relative;
}
.social-label .ig::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border: 1.8px solid #fff; border-radius: 50%;
}
.social-label .ig::after {
  content: ''; position: absolute; top: 3.5px; right: 3.5px;
  width: 2.2px; height: 2.2px; background: #fff; border-radius: 50%;
}
.social-handle {
  font-family: 'Syne', 'Noto Sans JP', sans-serif; font-weight: 800; font-size: 1.55rem;
  color: var(--ink); margin-bottom: 8px; line-height: 1.1;
}
.social-sub { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(45deg, #fa7e1e, #d62976 50%, #962fbf);
  color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 13px 28px;
  border-radius: 99px; text-decoration: none;
  box-shadow: 0 6px 22px rgba(214,41,118,0.30);
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(214,41,118,0.42); }
.social-btn .ig-ico {
  width: 19px; height: 19px; flex-shrink: 0;
  border: 2.2px solid #fff; border-radius: 6px; position: relative;
}
.social-btn .ig-ico::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border: 2.2px solid #fff; border-radius: 50%;
}
.social-btn .ig-ico::after {
  content: ''; position: absolute; top: 2px; right: 2px;
  width: 2.6px; height: 2.6px; background: #fff; border-radius: 50%;
}
.social-btn .arrow { transition: transform 0.2s; }
.social-btn:hover .arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════
   フッター
════════════════════════════════════════════ */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 32px 24px; text-align: center;
  font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════
   レスポンシブ — スマホ (〜767px)
════════════════════════════════════════════ */
@media (max-width: 767px) {
  .lang-toggle { top: 12px; right: 12px; }
  .lang-btn { padding: 5px 10px; font-size: 0.7rem; }

  .hero { padding: 72px 20px 56px; min-height: 100svh; }
  .hero-eyebrow { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.8rem); }
  body.lang-en .hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-title .small { font-size: 0.35em; }
  .hero-desc { font-size: 0.92rem; margin: 18px auto 28px; }
  .hero-cta { font-size: 0.95rem; padding: 14px 26px; }
  .hero-stats { gap: 16px; margin-top: 40px; }
  .stat-num { font-size: 1.8rem; }
  .stat-divider { display: none; }

  section { padding: 64px 20px; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 32px; }

  .problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .problem-card { padding: 22px; }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step { padding: 20px 16px; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step-num { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1.1rem; }

  .buildings { gap: 8px; }
  .building-badge { font-size: 0.78rem; padding: 8px 14px; }

  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member-card { padding: 20px 14px; }
  .member-avatar { width: 52px; height: 52px; font-size: 1.2rem; }

  .cta-section { padding: 72px 20px; }
  .cta-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .cta-btn { font-size: 0.95rem; padding: 15px 28px; }
  .social-card { flex-direction: column; text-align: center; gap: 24px; padding: 32px 24px; }
  .social-body { text-align: center; }
  .social-label { justify-content: center; }
}

/* ════════════════════════════════════════════
   レスポンシブ — 小型スマホ (〜375px)
════════════════════════════════════════════ */
@media (max-width: 375px) {
  .hero-title { font-size: 2.4rem; }
  .members-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   レスポンシブ — iPad (768px〜1099px)
════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1099px) {
  .lang-toggle { top: 16px; right: 20px; }

  .hero { padding: 100px 48px 80px; }
  .hero-title { font-size: clamp(2.8rem, 6.5vw, 4.5rem); letter-spacing: -0.03em; }
  body.lang-en .hero-title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
  .hero-desc { font-size: 1.05rem; }
  .hero-stats { gap: 24px; }

  section { padding: 80px 48px; }
  .section-inner { max-width: 880px; }
  .section-title { font-size: clamp(2rem, 4.5vw, 2.8rem); }

  .problem-grid  { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid  { grid-template-columns: repeat(3, 1fr); }
  .steps         { grid-template-columns: repeat(3, 1fr); }

  .cta-title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
}

/* ════════════════════════════════════════════
   レスポンシブ — PC (1100px〜)
════════════════════════════════════════════ */
@media (min-width: 1100px) {
  .hero { padding: 120px 60px 100px; }
  .hero-inner { max-width: 900px; }
  .hero-title { font-size: clamp(4rem, 6.5vw, 6rem); }
  body.lang-en .hero-title { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .hero-desc { font-size: 1.15rem; max-width: 600px; }
  .hero-stats { gap: 40px; }
  .stat-num { font-size: 2.6rem; }

  section { padding: 120px 60px; }
  .section-inner { max-width: 1100px; }

  .problem-grid  { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .members-grid  { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .member-card { padding: 32px 20px; }

  .cta-title { font-size: clamp(3.5rem, 5vw, 5rem); }
}

/* ════════════════════════════════════════════
   2026-09 の改善（読みやすさ・軽さ・スマホ）
════════════════════════════════════════════ */
/* 必須の「試験運用中・大学公式ではない」表記を読める大きさに */
.hero-note { font-size: 0.82rem; word-break: auto-phrase; }   /* 長い表示文を言葉の途中で折り返さない */
.hero-note-tag { font-size: 0.68rem; }
footer { font-size: 0.8rem; line-height: 1.7; word-break: auto-phrase; }
.cta-desc { color: rgba(255,255,255,0.75); }
.cta-badge { color: rgba(255,255,255,0.7); }
.stat-note { margin-top: 14px; font-size: 0.72rem; color: var(--muted); }

/* 重いアニメーションを軽く: 背景の方眼は background-position ではなく transform で動かす。
   タイトルの流れる光と CTA の光る影は止める（毎フレーム描き直しになり、古いスマホで重い） */
.hero::before { inset: -48px 0 0 -48px; animation: gridPanT 9s linear infinite; }
@keyframes gridPanT { from { transform: translate(0, 0); } to { transform: translate(48px, 48px); } }
.hero-title .title-radar { animation: none; background: none; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.cta-btn { animation: none; }

/* 機能は6枚。PC は3列 */
@media (min-width: 1100px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* 実際のアプリ画面 */
.app-shot { display: flex; flex-direction: column; align-items: center; margin: 0 auto 48px; }
.app-shot .phone {
  width: 260px; border-radius: 36px; padding: 10px; background: #1a1814;
  box-shadow: 0 24px 60px rgba(26,24,20,0.25);
}
.app-shot img { display: block; width: 100%; height: auto; border-radius: 28px; }
.app-shot figcaption { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.6; }

/* このサービスについて */
.about { background: #eef2ff; }  /* 意見箱の終わりと、最後の案内のつなぎ帯の色に合わせる */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.about-card { background: var(--card); border: 1.5px solid var(--border); border-radius: 16px; padding: 24px; }
.about-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.about-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.8; }

/* 意見箱の送信失敗 */
.feedback-error { display: none; margin-top: 12px; font-size: 0.85rem; color: #b42318; text-align: center; line-height: 1.6; }
.feedback-error.show { display: block; }

/* 言語ボタン: 「中文」が折れない・押しやすい */
.lang-btn { white-space: nowrap; }

/* スマホで、スクロール中も「RoomRadar を開く」を押せるように */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 98;
    min-height: 52px; border-radius: 99px; text-decoration: none;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 0.98rem;
    box-shadow: 0 8px 28px rgba(26,24,20,0.3);
    transform: translateY(140%); transition: transform 0.25s ease;
  }
  .sticky-cta.show { transform: translateY(0); }

  .lang-btn { min-height: 40px; }
  /* 使い方: 番号の横に見出しと説明を並べる（見出しが「サイ／トを」と細切れに折れていた） */
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; }
  .step-num { grid-row: span 2; }
  .step-title, .step-desc { grid-column: 2; }
  /* スマホで自分の画面の QR は読めないので隠し、フォローボタンだけにする */
  .social-qr-wrap { display: none; }
  /* iOS は 16px 未満の入力欄にフォーカスすると勝手に拡大する */
  .feedback-field select, .feedback-field textarea, .feedback-field input { font-size: 16px; }
  .feedback-card { padding: 28px 22px; }
  .app-shot .phone { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none !important; }
  .sticky-cta { transition: none; }
}
.app-shot { margin: 48px auto 0; }
/* ヒーローの統計: スマホでは 2×2 */
@media (max-width: 767px) {
  .hero-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 16px 32px; }
  footer { padding-bottom: 96px; }
  .lang-btn { border: 7px solid transparent; border-width: 7px 2px; padding: 0 8px; }
  .lang-btn.active { background-clip: padding-box; }
}
/* このサービスについて: 3枚が 2＋1 で空かないように */
.about-grid { grid-template-columns: 1fr; }
@media (min-width: 576px) and (max-width: 1099px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
/* TEST 札を文の先頭に入れて、札だけ別の行にならないように */
.hero-note { display: block; max-width: 600px; text-align: center; }
.hero-note-tag { display: inline-block; margin-right: 6px; vertical-align: 0.1em; }
/* TEST 札は1行目に単独で、文は改行して中央ぞろえ */
.hero-note .hero-note-tag { display: table; margin: 0 auto 8px; }
/* ヒーローの「今すぐ使う」: 落ち着いた黒のボタンに細い光沢と控えめな影。触れたときだけ矢印が進む */
.hero-cta {
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 17px 30px 17px 36px; gap: 14px;
  background: linear-gradient(180deg, #2a2723 0%, #1a1814 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 30px -10px rgba(26,24,20,0.55);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 18px 36px -12px rgba(26,24,20,0.6); }
.hero-cta .arrow {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.hero-cta:hover .arrow { transform: translateX(4px); }
@media (max-width: 767px) { .hero-cta { font-size: 1rem; padding: 15px 24px 15px 30px; } }
/* 統計の数字: 横に広い Syne をやめ、本文と同じ Noto Sans JP の太字で詰めすぎず並べる */
.stat-num { font-family: 'Noto Sans JP', sans-serif; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-num span:not(.num) { font-size: 0.6em; margin-left: 2px; }
/* 「今すぐ使う」の上下に余白 */
/* ヒーローの余白: 説明文→ボタン→数字→TEST 表記を、同じ調子の間隔で並べる */
.hero-typewriter { margin-bottom: 12px; }
.hero-desc { margin: 20px auto 36px; }
.hero-stats { margin-top: 48px; }
@media (max-width: 767px) {
  .hero-desc { margin: 16px auto 32px; }
  .hero-stats { margin-top: 40px; }
  .hero-note { margin-top: 48px !important; }
}
/* TEST 表記は数字の下。しっかり間を空ける */
.hero-note { margin-top: 68px; text-align: center; opacity: 1; animation: fadeUp 0.7s 0.75s ease both; }
.stat-note { margin-top: 12px; }

/* ════════════════════════════════════════════
   3つの校舎（3D 模型）
════════════════════════════════════════════ */
.campus { padding-top: 72px; }
.campus-stage {
  position: relative; height: clamp(320px, 56vh, 560px);
  background: #F0EEE6; border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.campus-stage rr-campus { position: absolute; inset: 0; height: 100%; }
.campus-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; }
.campus-stage.loaded .campus-fallback { display: none; }
.campus-picks { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.campus-pick {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 99px; border: 1.5px solid var(--border); background: var(--card); color: var(--ink);
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s;
}
.campus-pick .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; }
.campus-pick em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.campus-pick.tower[aria-pressed=true]  { border-color: var(--tower);  background: rgba(37,99,235,0.07); }
.campus-pick.suruga[aria-pressed=true] { border-color: var(--suruga); background: rgba(22,163,74,0.07); }
.campus-pick.funa[aria-pressed=true]   { border-color: var(--funa);   background: rgba(234,88,12,0.07); }
.campus-note { margin: 14px auto 0; max-width: 720px; font-size: 0.74rem; color: var(--muted); line-height: 1.7; text-align: center; }
@media (max-width: 767px) {
  .campus { padding-top: 56px; }
  .campus-stage { height: clamp(300px, 62vw, 420px); border-radius: 16px; }
  .campus-pick { font-size: 0.8rem; padding: 0 12px; }
}
/* スマホの Instagram 欄: 余白を詰め、ハンドル名がカードからはみ出さないように */
@media (max-width: 767px) {
  .social { padding: 40px 20px 48px; }
  .social-card { padding: 28px 22px 26px; gap: 0; border-radius: 22px; }
  .social-body { width: 100%; }
  .social-label { margin-bottom: 8px; }
  .social-handle { font-size: 1.2rem; overflow-wrap: anywhere; margin-bottom: 10px; }
  .social-sub { font-size: 0.86rem; line-height: 1.75; margin-bottom: 18px; }
  .social-btn { padding: 12px 26px; }
}
/* 「探しに行こ／う。」のように途中で折れないように */
.cta-title .accent { display: inline-block; }

/* ════════════════════════════════════════════
   2026-11-07 整理：ヒーローの仕上げ（配置は変えない）
════════════════════════════════════════════ */
@media (max-width: 767px) { .nav-links { display: none; } }          /* スマホのメニューはロゴと言語だけ */
.hero-free { margin: 12px 0 0; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em;
  opacity: 0; animation: fadeUp 0.7s 0.55s ease forwards; }
.hero-desc { margin: 18px auto 30px; }
.hero-stats { margin-top: 44px; gap: 28px; }
.stat-label { font-family: 'Noto Sans JP', sans-serif; font-size: 0.72rem; letter-spacing: 0.02em; }
.hero-note { margin-top: 44px; padding: 12px 16px; max-width: 520px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 767px) {
  .hero { padding: 88px 20px 48px; }
  .hero-desc { margin: 14px auto 26px; font-size: 0.95rem; }
  .hero-stats { margin-top: 36px; }
  .hero-note { margin-top: 32px !important; }
}

/* ════════════════════════════════════════════
   2026-11-07 整理：2画面目以降（明るい面で統一。見出し・余白・角丸をそろえる）
════════════════════════════════════════════ */
.sec { padding: 88px 24px; background: var(--bg); }
.sec-white { background: #fff; }
.sec-inner { max-width: 1040px; margin: 0 auto; }
.sec-eyebrow { font-family: 'DM Mono', 'Noto Sans JP', monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.sec-title { font-family: 'Noto Sans JP', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 32px; word-break: auto-phrase; }   /* 対応ブラウザでは言葉の途中で折らない */
/* 課題 */
.p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.p-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; font-size: 0.98rem; font-weight: 600; line-height: 1.7; color: var(--ink); }
.p-item small { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.p-ico { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); font-size: 1.2rem; }
/* できること */
.f-layout { display: grid; gap: 40px; }
.f-grid { display: grid; gap: 12px; }
.f-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.f-ico { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(37,99,235,0.08); font-size: 1.15rem; }
.f-title { margin: 0 0 4px; font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.f-desc { margin: 0; font-size: 0.86rem; line-height: 1.75; color: var(--muted); }
.f-more { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-more li { font-size: 0.78rem; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 6px 12px; }
.f-note { margin: 14px 0 0; font-size: 0.76rem; color: var(--muted); }
.f-shot { margin: 0 auto; width: min(76vw, 300px); text-align: center; }
.f-phone { border-radius: 38px; padding: 9px; background: #1a1814; box-shadow: 0 30px 60px -28px rgba(26,24,20,0.5); }
.f-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.f-shot figcaption { margin-top: 12px; font-size: 0.74rem; color: var(--muted); line-height: 1.6; }
/* 使い方 */
.s-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.s-step { position: relative; display: flex; gap: 16px; padding: 0 0 26px; }
.s-step:last-child { padding-bottom: 0; }
.s-step::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--border); }
.s-step:last-child::before { display: none; }
.s-num { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 0.95rem; }
.s-title { margin: 6px 0 4px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.s-desc { margin: 0; font-size: 0.88rem; line-height: 1.75; color: var(--muted); }
/* みんなで使う場所 */
.m-card { padding: 26px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(22,163,74,0.06), rgba(22,163,74,0.02)); border: 1px solid rgba(22,163,74,0.22); }
.m-lead { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.8; color: var(--ink); }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.m-chip { font-size: 0.8rem; font-weight: 700; color: #15803d; background: #fff; border: 1px solid rgba(22,163,74,0.35); border-radius: 99px; padding: 6px 12px; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; line-height: 1.75; color: var(--ink); }
.m-ico { flex-shrink: 0; width: 1.6em; text-align: center; }
/* このサービスについて（短く） */
.a-text { max-width: 720px; margin: 0 0 12px; font-size: 0.9rem; line-height: 1.85; color: var(--muted); }
.a-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 20px; border-radius: 99px;
  border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.a-link:hover { background: var(--ink); color: #fff; }
/* Instagram・意見箱は前の部品のまま、余白と背景だけそろえる */
.social { background: var(--bg); }
.feedback { background: #fff; }
.feedback .section-eyebrow, .feedback .section-title { text-align: center; }
/* フッター */
footer { display: grid; gap: 10px; justify-items: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot-links a { color: inherit; font-weight: 700; text-decoration: none; opacity: 0.85; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.foot-note { margin: 0; max-width: 760px; text-align: center; }
@media (min-width: 900px) {
  .sec { padding: 112px 40px; }
  .p-list { grid-template-columns: repeat(3, 1fr); }
  .p-item { flex-direction: column; }
  .f-layout { grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-shot { position: sticky; top: 96px; width: 300px; }
  .s-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .s-step { flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
  .s-step::before { display: none; }
  .m-card { padding: 36px 40px; }
}
@media (max-width: 767px) {
  .sec { padding: 64px 20px; }
  .sec-title { margin-bottom: 24px; }
}

/* ════════════════════════════════════════════
   about.html（このサービスについて。2026-11-07 に LP から移した）
════════════════════════════════════════════ */
.about-page { padding-top: 56px; }
.sec-about-hero { padding-top: 72px; padding-bottom: 48px; }
.about-h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 20px; }
.about-note { margin: 0 0 24px; text-align: left; opacity: 1; animation: none; }
.about-note .hero-note-tag { display: inline-block; margin: 0 6px 0 0; }
.about-page .about, .about-page #team, .about-page .campus { padding: 72px 24px; }
.t-list { margin: 0; display: grid; gap: 12px; max-width: 760px; }
.t-list > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.t-list dt { font-weight: 800; color: var(--ink); font-size: 0.88rem; }
.t-list dd { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.75; }
.sec-back { padding: 32px 24px 72px; text-align: center; }
.nav-links a.active { color: var(--accent); }
@media (max-width: 767px) {
  .t-list > div { grid-template-columns: 1fr; gap: 4px; }
  .about-page .about, .about-page #team, .about-page .campus { padding: 56px 20px; }
}
/* 最後の案内：小さな「日本大学理工学部・学生プロジェクト」はボタンの下の行に */
.cta-badge { display: block; margin-top: 22px; }

/* ════════════════════════════════════════════
   2026-11-08 背景をヒーローとそろえる（運営の依頼）。
   ヒーローの方眼（ゆっくり流れる）をページ全体の背景にし、各ブロックの色の背景を外して、
   ヒーローと同じ淡い青・橙の光を交互に置く。最後の案内の紺の帯も同じ明るい背景に
════════════════════════════════════════════ */
body::before {
  content: ''; position: fixed; inset: -48px 0 0 -48px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridPanT 9s linear infinite;
}
.hero::before { display: none; }            /* 方眼は body の1枚だけにする（二重にしない） */
.sec, .sec-white, .social, .feedback, .about, #team, .campus, .cta-section, footer {
  background: transparent !important; position: relative; overflow-x: clip;
}
footer { border-top-color: var(--border); }
/* 淡い光（ヒーローの .bg-circle と同じ大きさ・ぼかし・濃さ）。中身は光より手前に */
.sec::after, .social::after, .feedback::after, .cta-section::after, .about-page #team::after {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  filter: blur(80px); opacity: 0.13; pointer-events: none; z-index: 0;
  background: var(--accent); right: -220px; top: -120px;
}
.sec:nth-of-type(even)::after, .feedback::after, .about-page #team::after { background: var(--accent2); left: -220px; right: auto; top: auto; bottom: -160px; }
.cta-section::after { background: var(--accent2); left: 50%; right: auto; top: 10%; margin-left: -260px; opacity: 0.10; }
.sec-inner, .section-inner { position: relative; z-index: 1; }
/* 最後の案内：明るい背景に合わせて文字とボタンの色を替える（ボタンはヒーローの「今すぐ使う」と同じ黒） */
.cta-section { color: var(--ink); }
.cta-title { color: var(--ink); }
.cta-desc { color: var(--muted); }
.cta-badge { color: var(--muted); }
.cta-particles span { background: rgba(37,99,235,0.16); }
.cta-particles span:nth-child(odd) { background: rgba(249,115,22,0.18); }
.cta-btn {
  color: #fff; background: linear-gradient(180deg, #2a2723 0%, #1a1814 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 30px -10px rgba(26,24,20,0.55);
}
.cta-btn:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 18px 36px -12px rgba(26,24,20,0.6); }
@media (max-width: 767px) {
  .sec::after, .social::after, .feedback::after, .cta-section::after, .about-page #team::after { width: 360px; height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}
