/* ============================================================
   SENNYU DRONE — style.css
   1ページ完結型LP／ライト・清潔・信頼感のあるトーン
============================================================ */

/* ------------------------------------------------------------
   CSS Variables
------------------------------------------------------------ */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f5;

  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #888888;

  --accent: #2ba6cb;
  --accent-hover: #22839f;

  --accent-2: #e8913a;
  --accent-2-hover: #cf7a24;

  --border: #e5e5e5;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Noto Sans JP', sans-serif;

  --section-padding: clamp(64px, 10vw, 120px);
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-jp), sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

h1, h2, h3, h4 {
  line-height: 1.4;
  font-weight: 700;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ------------------------------------------------------------
   Layout Utilities
------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

main section {
  padding: var(--section-padding) 0;
}

#hero {
  padding: 0;
}

/* Alternate section backgrounds */
#video,
#usecases,
#comparison,
#team,
#spaces {
  background: var(--bg-secondary);
}

#problems,
#about,
#whyus,
#portfolio,
#pricing,
#safety,
#flow,
#faq,
#contact {
  background: var(--bg-primary);
}

/* ------------------------------------------------------------
   Section Heading Common
------------------------------------------------------------ */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.section-lead {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* ------------------------------------------------------------
   Card Grid Utility
------------------------------------------------------------ */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
}

.btn-campaign {
  background: var(--accent-2);
  color: #fff;
}

.btn-campaign:hover {
  background: var(--accent-2-hover);
}

/* Generic tag */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(43, 166, 203, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 2px;
}

.link-arrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: color 0.3s;
}

.link-arrow::after {
  content: "\2192";
  position: absolute;
  right: 0;
  transition: transform 0.3s;
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   Fade-in Scroll Animation
------------------------------------------------------------ */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.nav--scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1200px;
  height: var(--nav-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-img {
  height: 34px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  gap: 22px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-contact-btn {
  white-space: nowrap;
  padding: 10px 22px;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1100;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(255, 255, 255, 0.99);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    display: none;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }

  .nav-link {
    font-size: 1rem;
    display: block;
  }

  .nav-contact-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: #0d1117;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* キャンペーンバナー（オレンジ、期間限定のみ使用） */
.campaign-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 145, 58, 0.15);
  border: 1px solid var(--accent-2);
  color: #fff;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.campaign-badge {
  background: var(--accent-2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-logo-img {
  max-width: 88px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.hero-subcopy {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-description {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

/* ヒーローは常に暗い背景のため、セカンダリボタンは白文字系に上書き */
.hero-cta .btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.scroll-text {
  display: block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3);
  margin: 8px auto 0;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ============================================================
   VIDEO SECTION
============================================================ */
.video-embed-wrap {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.video-embed {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   PROBLEMS
============================================================ */
.problem-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(43, 166, 203, 0.08);
}

.problem-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.problem-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.problems-conclusion {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   ABOUT
============================================================ */
.about-text-single {
  max-width: 760px;
  margin: 0 auto;
}

.about-text-single p {
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.about-text-single p:last-child {
  margin-bottom: 0;
}

.about-text-single .about-text-final {
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ============================================================
   USE CASES
============================================================ */
.usecase-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.usecase-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.usecase-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ============================================================
   WHY US（ファネル）
============================================================ */
.funnel {
  max-width: 700px;
  margin: 0 auto;
}

.funnel-level {
  height: 52px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 auto 12px;
  transition: border-color 0.3s ease;
}

.funnel-level:last-child {
  margin-bottom: 0;
}

.funnel-level-1 { width: 100%; }
.funnel-level-2 { width: 82%; }
.funnel-level-3 { width: 64%; }
.funnel-level-4 { width: 46%; }
.funnel-level-5 {
  width: 100%;
  min-width: 0;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  overflow: visible;
}

.funnel-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.funnel-level-5 .funnel-label {
  color: #fff;
  overflow: visible;
  text-overflow: initial;
  font-weight: 700;
}

.funnel-value {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  margin-left: 12px;
}

.funnel-level-5 .funnel-value {
  color: #fff;
}

.whyus-note {
  text-align: center;
  margin-top: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}

.whyus-note + .whyus-note {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .funnel-level {
    padding: 0 12px;
  }
  .funnel-label {
    font-size: 0.7rem;
  }
  .funnel-value {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .funnel-level-5 {
    flex-direction: column;
    height: auto;
    padding: 12px;
    gap: 4px;
  }
  .funnel-value {
    margin-left: 0;
  }
}

/* ============================================================
   COMPARISON
============================================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  position: relative;
}

.comparison-card-featured {
  border-color: var(--accent);
  background: rgba(43, 166, 203, 0.04);
}

.comparison-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0 0 4px 4px;
}

.comparison-card-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.comparison-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-conclusion {
  text-align: center;
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.portfolio-tag {
  margin: 20px 20px 0;
}

.portfolio-title {
  font-size: 1rem;
  margin: 12px 20px 8px;
  color: var(--text-primary);
}

.portfolio-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 20px 20px;
}

.portfolio-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ============================================================
   PRICING
============================================================ */
.pricing-lead {
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.pricing-range-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
}

.pricing-range {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-tax {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-range-note {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  max-width: 560px;
  margin: 0 auto 4px;
}

/* プロモープバナー（オレンジ、期間限定のみ使用） */
.promo-banner {
  max-width: 720px;
  margin: 40px auto 0;
  background: rgba(232, 145, 58, 0.08);
  border: 1px solid var(--accent-2);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}

.promo-badge {
  background: var(--accent-2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

.promo-title {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.promo-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 12px;
}

.promo-note {
  font-size: 0.82rem;
  color: var(--accent-2-hover);
  margin-bottom: 24px;
}

.campaign-deadline {
  display: inline-block;
  font-size: 1.6em;
  font-weight: 700;
  color: #fff;
  background: #e6483e;
  padding: 4px 16px;
  border-radius: 4px;
  margin: 6px 4px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .campaign-deadline {
    font-size: 1.25em;
    padding: 3px 12px;
  }
}

.promo-cta {
  margin-top: 8px;
}

.pricing-details {
  max-width: 900px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pricing-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.pricing-detail-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-detail-lead {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-detail-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-detail-text:last-child {
  margin-bottom: 0;
}

.pricing-list {
  text-align: left;
}

.pricing-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-factor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.pricing-factor-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.pricing-factor-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 480px) {
  .pricing-factor-list {
    grid-template-columns: 1fr;
  }
}

.pricing-notes {
  max-width: 720px;
  margin: 40px auto 0;
}

.pricing-notes p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

/* ============================================================
   SAFETY
============================================================ */
.safety-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-align: center;
}

.safety-number {
  display: block;
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.safety-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.safety-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ============================================================
   TEAM
============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.team-card {
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 28px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 6px;
  margin-bottom: 20px;
}

.team-photo img,
.team-card img,
.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 4px 0 4px;
  font-weight: 700;
}

.team-subrole {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.team-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FLOW
============================================================ */
.flow-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.flow-tab {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.flow-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.flow-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.flow-panel {
  display: none;
}

.flow-panel.active {
  display: block;
}

@media (max-width: 768px) {
  .flow-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-tab {
    text-align: center;
  }
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-step {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  position: relative;
}

.flow-step-number {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.flow-step-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.flow-step-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.flow-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flow-note-sub {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.testflight-info {
  max-width: 800px;
  margin: 48px auto 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.testflight-info-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}

.testflight-info-lead {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.testflight-info-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
  padding-bottom: 12px;
}

.testflight-info-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (min-width: 1025px) {
  .flow-step:not(:nth-child(4n))::after {
    content: "\2192";
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.1rem;
    z-index: 1;
  }

  .flow-step:nth-child(4n)::after {
    content: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .flow-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SPACES（タブ切り替え）
============================================================ */
.spaces-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.spaces-tab {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.spaces-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.spaces-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.spaces-panel {
  display: none;
}

.spaces-panel.active {
  display: block;
}

.spaces-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.spaces-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.spaces-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .spaces-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .spaces-tabs {
    gap: 8px;
  }

  .spaces-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   FAQ
============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  color: var(--text-primary);
  gap: 20px;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.92rem;
}

.faq-closing {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-btn {
  padding: 16px 48px;
}

.contact-sub {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.contact-sub a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-media {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-mail {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-mail a {
  color: var(--accent);
}

.contact-alt {
  text-align: center;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-instagram {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-instagram a {
  color: var(--accent);
}

/* ============================================================
   POLICY PAGES（プライバシーポリシー / キャンセルポリシー 共通）
============================================================ */
.policy-section {
  background: var(--bg-primary);
  padding-top: calc(var(--nav-height) + var(--section-padding));
  padding-bottom: var(--section-padding);
}

.policy-container {
  max-width: 800px;
}

.policy-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.policy-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.policy-updated {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-family: var(--font-en);
}

.policy-body {
  color: var(--text-secondary);
}

.policy-body h2 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body h3 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-body p {
  font-size: 0.92rem;
  line-height: 2;
  margin-bottom: 1.2em;
}

.policy-body ul,
.policy-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.policy-body ul {
  list-style: disc;
}

.policy-body ol {
  list-style: decimal;
}

.policy-body li {
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.policy-body a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-body a:hover {
  color: var(--accent-hover);
}

.policy-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.policy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 0.9rem;
}

.policy-body th,
.policy-body td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  color: var(--text-secondary);
}

.policy-body th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

.policy-body td:last-child,
.policy-body th:last-child {
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .policy-body table {
    font-size: 0.82rem;
  }
  .policy-body th,
  .policy-body td {
    padding: 8px 10px;
  }
}

.policy-contact-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  margin-top: 16px;
  font-size: 0.92rem;
}

.policy-contact-box p {
  margin-bottom: 4px;
}

.policy-contact-box p:last-child {
  margin-bottom: 0;
}

.policy-back {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #14181d;
  padding: 72px 0 40px;
  color: #d0d0d0;
}

.footer-top {
  margin-bottom: 56px;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 34px;
  width: auto;
}

/* 簡易対応：黒ロゴをCSSフィルターで白く見せる（今後白バージョン画像に差し替え予定） */
.footer-logo-invert {
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin-top: 12px;
  color: #a8a8a8;
  font-size: 0.9rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #808080;
  margin-bottom: 16px;
}

.footer-list a {
  color: #c0c0c0;
  font-size: 0.85rem;
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #2a2e33;
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: #c0c0c0;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-partners {
  font-size: 0.8rem;
  color: #808080;
  width: 100%;
  text-align: center;
  order: 3;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #808080;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — GLOBAL ADJUSTMENTS
============================================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .pricing-range-box,
  .promo-banner,
  .pricing-detail-card,
  .testflight-info {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}
