/* 最小限のリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
}

/* ベース */
html {
  color: var(--c-text);
  background: var(--c-bg);
}

body {
  font-family: 'Fira Sans Extra Condensed', var(--ff-sans);
  font-size: var(--fs-300);
  line-height: 1.7;
  background: var(--c-bg-gradient);
  min-height: 100vh;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: var(--sp-5) 0 var(--sp-3);
}


h2 {
  font-size: 45px;
  text-transform: uppercase;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1;
}

h2+p {
  color: #FFF;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

/* タイトルブロック */
.title-block {
  position: relative;
  display: inline-block;
}

.title-block::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #ffffff82 0%, rgba(255, 255, 255, 0) 100%);
}


p {
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
}

small {
  color: var(--c-muted);
}

/* アクセシビリティ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius);
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

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

/* スムーズスクロール（JavaScriptで制御） */
html {
  scroll-behavior: auto;
}

/* スクロール用矢印ボタン */
.scroll-to-features {
  display: inline-block;
  margin: 3em auto;
  color: var(--c-primary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  display: block;
  background: #FFF;
  width: 2em;
  height: 2em;
  line-height: 2em;
  border-radius: 100px;
  opacity: 0.7;
}

.scroll-to-features:hover {
  transform: translateY(5px);
  color: var(--c-primary);
}

/* ユーティリティ */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  padding-top: 100px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (width >=768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* タイポ補助 */
.hero__title {
  font-size: var(--fs-700);
  margin-bottom: var(--sp-7);
}

.hero__lead {
  font-size: var(--fs-300);
  color: #FFF;
}