/* ============================================================
   index.css — SyncGraphy TOP Redesign (2026 Complete)
============================================================ */
:root {
  --space-bg: #0b1015;
  --space-text: #ffffff;

  --logic-bg: #ffffff;
  --logic-text: #374151;

  --works-bg: #f8f7f3;
  --works-text: #374151;

  --essence-bg: #003366;
  --essence-text: #e4e2d9;

  --logo-cyan: #00a8e8;
  --logo-bright: #00d4ff;
  --logo-grad: linear-gradient(135deg, #00d4ff 0%, #003366 100%);
  --font-display: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  transition:
    background-color 2.5s var(--ease-expo),
    color 2s var(--ease-expo);
}

/* ── 粒子追従キャンバス ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

body[data-theme="space"] {
  background-color: var(--space-bg);
  color: var(--space-text);
}
body[data-theme="logic"] {
  background-color: var(--logic-bg);
  color: var(--logic-text);
}
body[data-theme="works"] {
  background-color: var(--works-bg);
  color: var(--works-text);
}
body[data-theme="essence"] {
  background-color: var(--essence-bg);
  color: var(--essence-text);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV（ヘッダー統合スタイル） ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(11, 16, 21, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  transition:
    background 0.4s ease,
    border-color 1.5s ease;
}

body[data-theme="logic"] .nav,
body[data-theme="works"] .nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(55, 65, 81, 0.08);
}

.nav-brand-current {
  display: flex;
  align-items: center;
  gap: 10px;
  max-height: 40px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  background: var(--logo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-sub-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.nav-icon-link:active {
  transform: scale(0.92);
  background: rgba(0, 212, 255, 0.2);
}
.nav-icon-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.nav-cta-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00d4ff, #003366);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-cta-text:active {
  transform: scale(0.94);
  box-shadow: 0 1px 4px rgba(0, 212, 255, 0.2);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 32px 160px;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.orb-cyan {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 168, 232, 0.09) 0%,
    transparent 70%
  );
}
.orb-navy {
  width: 500px;
  height: 500px;
  bottom: -80px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 63, 138, 0.15) 0%,
    transparent 70%
  );
}
.orb-mid {
  width: 450px;
  height: 450px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.07) 0%,
    transparent 70%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}
.eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.4));
}
.hero-logo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #003366 0%, #00a8e8 100%);
  color: #ffffff;
  padding: 15px 38px;
  border-radius: 32px;
  font-size: 14px;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.25);
  transition: all 0.3s var(--ease-expo);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 212, 255, 0.4);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: inherit;
  padding: 15px 38px;
  border-radius: 32px;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
}
body[data-theme="logic"] .btn-ghost,
body[data-theme="works"] .btn-ghost {
  border-color: rgba(0, 0, 0, 0.2);
}
.btn-ghost:hover {
  border-color: var(--logo-bright);
  background: rgba(0, 168, 232, 0.08);
}

.hero-actions .btn-vcard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00d4ff, #0055a5);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hero-actions .btn-vcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 30px;
  border-radius: 32px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  color: inherit;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.16);
}

.hero-spectrum {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.spectrum-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.4;
}
.spectrum-bar {
  width: 200px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(176, 204, 224, 0.6),
    var(--logo-cyan),
    rgba(200, 162, 74, 0.6)
  );
  border-radius: 1px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  opacity: 0.4;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(0, 168, 232, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── CONCEPT ── */
.concept {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.concept-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.4;
}
.concept-heading em {
  font-style: italic;
  background: var(--logo-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.concept-right p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 2;
  margin-bottom: 20px;
}
.concept-rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--logo-cyan), transparent);
  margin: 28px 0;
}
.concept-quote {
  font-family: var(--font-serif);
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 400 !important;
}

/* ── PORTALS / MODULES ── */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--logo-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.modules {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.modules-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 60px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.module-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(128, 128, 128, 0.15);
  transition: all 0.3s var(--ease-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
}
.portal-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}
.module-card-inner {
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.module-icon-img {
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}
.module-card:hover .module-icon-img {
  transform: scale(1.1);
}

.module-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.module-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}
.module-card p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 24px;
}
.module-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
}

.module-logic {
  background: #ffffff;
  color: #1c2030;
}
.module-logic .module-tag,
.module-logic .module-arrow {
  color: #00a8e8;
}
.module-essence {
  background: #002244;
  color: #e4e2d9;
}
.module-essence .module-tag,
.module-essence .module-arrow {
  color: #d4af37;
}
.module-works {
  background: #f8f7f3;
  color: #003366;
}
.module-works .module-tag,
.module-works .module-arrow {
  color: #003366;
}

/* ── AI PARTNERS ── */
.partners-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.partners-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 12px;
}
.partners-lead {
  font-size: 14px;
  opacity: 0.75;
  line-height: 2;
  margin-bottom: 48px;
  max-width: 640px;
}

.partners-hero-img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.partners-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.partner-avatar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-expo);
}
body[data-theme="logic"] .partner-avatar-card,
body[data-theme="works"] .partner-avatar-card {
  background: #ffffff;
  border-color: rgba(55, 65, 81, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.partner-avatar-card:hover {
  transform: translateY(-4px);
  border-color: var(--logo-bright);
}
.avatar-img-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.3);
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.avatar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-role {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--logo-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.partner-meta h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}
.partner-accent {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  opacity: 0.5;
  margin-left: 4px;
}
.partner-desc {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.8;
}

/* ── FAQ ── */
.faq {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.faq-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(128, 128, 128, 0.15);
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  font-weight: 300;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  font-size: 14px;
  opacity: 0.8;
  line-height: 2;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ── CONTACT ── */
.contact {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.top-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
}
.req {
  font-size: 10px;
  background: rgba(0, 168, 232, 0.15);
  color: var(--logo-cyan);
  padding: 2px 6px;
  border-radius: 2px;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-badges span {
  font-size: 11px;
  letter-spacing: 0.3px;
  opacity: 0.75;
  background: rgba(128, 128, 128, 0.1);
  border: 1px solid rgba(128, 128, 128, 0.15);
  padding: 6px 12px;
  border-radius: 14px;
}
.contact-badges a {
  color: var(--logo-cyan);
  text-decoration: underline;
}
.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 6px;
  padding: 14px 16px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.2);
  transition: border-color 0.2s;
}
/* 🌟 ドロップダウン選択肢（<option>）の文字・背景色固定 */
.form-row select option {
  background: #0b1015; /* ダークテーマ用の濃い背景色 */
  color: #ffffff;      /* 白文字でくっきり表示 */
}

/* ライトテーマ（Logic / Works）展開時の表示フォロー */
body[data-theme="logic"] .form-row select option,
body[data-theme="works"] .form-row select option {
  background: #ffffff;
  color: #374151;
}
body[data-theme="logic"] input,
body[data-theme="logic"] select,
body[data-theme="logic"] textarea,
body[data-theme="works"] input,
body[data-theme="works"] select,
body[data-theme="works"] textarea {
  background: #ffffff;
  border-color: rgba(55, 65, 81, 0.2);
}

/* 🌟 修正箇所：注記部分をカード風にし、リンク色を「必須」と同じ var(--logo-cyan) に統一 */
.form-notice-box {
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(0, 168, 232, 0.05); /* うっすらシアンのカード背景 */
  border: 1px solid rgba(0, 168, 232, 0.2); /* 必須タグと同系統の枠線 */
  border-radius: 8px; /* カード形状 */
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ライトテーマ時の可読性フォロー */
body[data-theme="logic"] .form-notice-box,
body[data-theme="works"] .form-notice-box {
  background: rgba(0, 168, 232, 0.04);
  color: #374151;
}

.form-notice-box p:first-of-type {
  margin-bottom: 4px;
}
.form-notice-box p:last-of-type {
  font-size: 12px;
  opacity: 0.65;
}
.form-notice-box a {
  color: var(--logo-cyan); /* 「必須」タグと同じカラー変数に統一 */
  font-weight: bold;
  text-decoration: underline;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #00d4ff 0%, #003366 100%);
  color: #ffffff;
  border: none;
  padding: 18px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}
.form-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(0, 212, 255, 0.35);
}
.submit-arrow {
  transition: transform 0.3s ease;
}
.form-submit:hover .submit-arrow {
  transform: translateX(6px);
}

/* ── FOOTER ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.15);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  opacity: 0.6;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--logo-cyan);
}
.footer-copy {
  font-size: 11px;
  opacity: 0.4;
}

/* ── オープニング動画オーバーレイ（一本化） ── */
.opening-overlay {
  display: none;
  position: fixed;
  inset: 0;
  /* 🔧 [修正] position:fixed + inset:0 だけで画面ぴったりのサイズになる。
     以前ここに width:100vw/100dvw, height:100vh/100dvh も併記していたが、
     ブラウザによっては100vwがスクロールバー幅を含んで実際の画面幅より
     わずかに大きく計算される既知のクセがあり、それが動画のはみ出しの
     真因だった可能性が高い。inset:0はその問題が起きないので、
     vw/vh系の指定は削除してinset:0だけに一本化した。 */
  z-index: 9999;
  background-color: #000000;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.opening-overlay.show {
  display: block;
}

.opening-overlay video {
  /* 🔧 [修正] 動画は最後まで再生されているのに画面に何も映らない不具合。
     親のdisplay:flex + align-items:centerの組み合わせで、フレックス
     コンテナ内のパーセンテージ高さ(height:100%)の解決がブラウザによって
     不安定になっていたのが原因。video・SKIPボタンはどちらも元々
     position指定で個別配置しており、flexの中央寄せに実質依存していな
     かったため、video側をposition:absoluteで親いっぱいに広げる確実な
     方式に変更し、親のalign-items/justify-content（もう使われていない）
     は削除した。 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 🔧 [修正] coverだと縦長スマホ画面で動画の横幅が大きくトリミングされ、
     中央のロゴ文字（Hello SyncGraphy）が左右で見切れてしまっていた。
     親の背景が黒(#000)なので、containにしてレターボックス(上下 or
     左右の黒帯)が出ても違和感なく馴染む。文字が絶対に見切れない方を優先。 */
  object-fit: contain;
}

.skip-btn {
  position: absolute;
  /* 🔧 [修正] env(safe-area-inset-*) を足すことで、ノッチ/ダイナミック
     アイランドのあるiPhoneでもステータスバーやカメラ部分に被らない位置に
     自動調整される（非対応ブラウザは env() が0扱いになり従来通り動く） */
  top: calc(24px + env(safe-area-inset-top, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  z-index: 10000;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1.5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skip-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.opening-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ── アニメーション ── */
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease-expo),
    transform 0.8s var(--ease-expo);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── モバイル＆レスポンシブ ── */
.vcard-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 100px 20px 140px;
  }
  .contact-inner,
  .concept-grid,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav {
    padding: 0 16px;
    background: rgba(11, 16, 21, 0.88);
  }

  .hero-actions .btn-vcard {
    display: none !important;
  }

  .vcard-sticky-bar {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 200;
  }
  .vcard-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, #00d4ff, #0055a5);
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(8px);
  }
  .vcard-icon-sm {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .br-pc {
    display: none;
  }

  .skip-btn {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    padding: 8px 16px;
    font-size: 13px;
  }
}
