/* ランディングページ */

/* ── 共通テキストスタイル ────────────────── */
.section-title {
  font-weight: 700;
  font-size: var(--font-size-title);
}

.section-body {
  font-size: var(--font-size-nav);
  line-height: var(--line-height-normal);
  color: var(--color-text-dark);
}

.section-eyebrow {
  font-size: var(--font-size-eyebrow);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* PC */
@media (min-width: 768px) {
  .section-title {
    max-width: none;
    font-size: 1.5rem;
  }

  .section-body {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

.how-it-works-eyebrow {
  margin-top: 0.5rem;
  text-transform: none;
  letter-spacing: var(--letter-spacing-wide);
}

/* ── ヒーローセクション ───────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: auto;
  aspect-ratio: 1 / 1;
}

.hero-section picture,
.hero-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC */
@media (min-width: 768px) {
  .hero-section {
    min-height: 70svh;
    aspect-ratio: auto;
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 58%, rgba(0, 0, 0, 0.08) 100%);
}

/* PC */
@media (min-width: 768px) {
  .hero-vignette {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 62%, rgba(0, 0, 0, 0.08) 100%);
  }
}

/* ── ヒーロー オーバーレイテキスト ───────── */
.hero-brand-overlay {
  position: absolute;
  left: 57.8%;
  top: 34%;
  z-index: 2;
  text-align: left;
  width: auto;
}

.hero-brand {
  font-family: "Noto Sans JP", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 6.5rem);
  letter-spacing: 0;
  margin: 0;
  color: var(--color-text-brand);
  line-height: 1;
  position: relative;
}

.hero-brand::after {
  content: "";
  display: block;
  width: 1.27em;
  height: 2px;
  margin-top: 0.42em;
  margin-left: 0.04em;
  background: var(--color-accent-light);
  opacity: 0.86;
  border-radius: 999px;
}

/* PC */
@media (min-width: 768px) {
  .hero-brand {
    font-size: clamp(2.8rem, 5.4vw, 6.5rem);
  }
}

/* スマホ：ヒーローロゴ位置を画像構図に合わせて固定 */
@media (max-width: 576px) {
  .hero-brand-overlay {
    left: 57.8%;
    right: auto;
    top: 34%;
    bottom: auto;
    transform: none;
    text-align: left;
  }

  .hero-brand {
    font-size: clamp(1.9rem, 8.6vw, 3rem);
  }
}

/* ── ヒーロー直下イントロセクション ─────── */
.hero-summary-section {
  background: var(--color-bg-white);
}

.hero-title {
  font-weight: 700;
  font-size: var(--font-size-title-sm);
  line-height: 1.45;
  color: var(--color-text-primary);
  margin: 0;
  text-wrap: balance;
}

.hero-subcopy {
  font-size: 1.02rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  max-width: 64ch;
}

.feature-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-align: center;
}

.feature-list li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.feature-list i {
  color: var(--color-accent);
}

/* PC */
@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-size-hero);
    line-height: var(--line-height-tight);
  }

  .hero-subcopy {
    font-size: 1.1rem;
    max-width: none;
    margin-bottom: 0;
  }

  .use-cases-section .card-text {
    font-size: 0.95rem;
  }
}

/* ── CTAボタン ───────────────────────────── */
.cta-btn {
  color: var(--color-bg-white);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-cta);
  letter-spacing: var(--letter-spacing-tight);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.7rem 1.6rem;
  border-radius: 12px;
}

.cta-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
  color: var(--color-bg-white);
  border: 1px solid var(--color-accent-hover);
  border-radius: 14px;
}

.cta-btn:focus-visible {
  outline: 3px solid var(--color-accent-focus);
  outline-offset: 2px;
}

/* PC */
@media (min-width: 768px) {
  .cta-btn {
    font-size: 1.15rem;
    padding: 0.9rem 2.4rem;
    border-radius: 14px;
  }
}

/* スマホ：FV内に見出し＋CTAを収める（Issue #829） */
@media (max-width: 576px) {
  .hero-section {
    aspect-ratio: 2 / 1;
  }

  .hero-summary-section {
    padding-top: var(--space-3) !important;
    padding-bottom: var(--space-3) !important;
  }

  .hero-subcopy {
    margin-bottom: var(--space-3) !important;
  }

  .feature-list {
    margin-bottom: var(--space-3) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn {
    transition: none;
  }

  .cta-btn:hover {
    transform: none;
  }
}

/* ── 活用事例セクション ────────────────────── */
.use-case-img {
  object-fit: cover;
  object-position: 60% 50%;
}

/* ── LPカード共通タイトル ───────────────────
   活用事例・3つの空間セクションで共用 */
.lp-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

/* ── 3つの空間セクション ─────────────────── */
/* 3カードすべてのコピーテキストに適用 */
.space-card-copy {
  font-size: 0.95rem;
}

/* スマホ：Open Salonカードの左右パディングを縮小 */
@media (max-width: 576px) {
  .three-spaces-section .space-card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* PC・タブレット：カード本文を揃えて1行表示 */
@media (min-width: 768px) {
  .three-spaces-section .card-body {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

.three-spaces-link-btn {
  font-size: 0.9rem;
  padding: 0.56rem 1.05rem;
  border-radius: 10px;
}

/* PC */
@media (min-width: 768px) {
  .three-spaces-link-btn {
    font-size: 1rem;
    padding: 0.65rem 1.35rem;
  }
}

/* ── アイコンバッジ ──────────────────────── */
.icon-badge {
  --icon-size: 56px;
  --badge-size: 18px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  color: var(--color-accent);
}

.icon-badge .base {
  font-size: calc(var(--icon-size) * 0.78);
  line-height: 1;
}

.icon-badge .lock-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: var(--badge-size);
  height: var(--badge-size);
  display: inline-grid;
  place-items: center;
  font-size: calc(var(--badge-size) * 0.7);
  background: var(--color-bg-white);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.fa-duotone {
  --fa-primary-color: currentColor;
  --fa-secondary-color: currentColor;
  --fa-secondary-opacity: 0.35;
}

/* PC */
@media (min-width: 768px) {
  .icon-badge {
    --icon-size: 64px;
    --badge-size: 20px;
  }
}

/* ── NFT仕組み説明 ステップリスト ───────── */
.steps-list {
  margin: 0;
  padding: 0;
}

.step-card {
  border-radius: var(--radius-btn-lg);
  padding: 0.9rem 0.9rem 1.1rem;
  background: var(--color-bg-white);
  position: relative;
}

.step-icon {
  display: flex;
  justify-content: center;
  color: var(--color-accent);
}

.step-title {
  color: var(--color-accent-muted);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
}

.step-caption {
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
}

/* PC */
@media (min-width: 768px) {
  .step-card {
    padding: 1rem 1rem 1.25rem;
  }

  .step-title {
    font-size: 1.5rem;
  }
}

/* 矢印区切り */
.step-sep {
  flex: 0 0 auto;
  width: auto;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.step-sep i {
  font-size: 1.2rem;
  color: var(--color-accent-muted);
  line-height: 1;
  display: inline-block;
  padding: 0.125rem;
  transform: rotate(90deg);
}

/* PC：矢印を横向きに */
@media (min-width: 768px) {
  .step-sep i {
    transform: rotate(0deg);
  }
}

/* ── コミュニティ説明文 ──────────────────── */
.community-description {
  max-width: 68ch;
  line-height: var(--line-height-relaxed);
}

/* ── クロージング CTAセクション ─────────── */
.cta-section {
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-warm) 100%);
  padding: 3rem 1rem;
  color: var(--color-text-primary);
}

.cta-section .section-title {
  line-height: var(--line-height-tight);
  font-size: var(--font-size-title-sm);
  font-weight: 600;
}
