/* =========================
	 Top page (minimal main)
	 ========================= */

/* mainの余白：ヘッダー分は既にあるので、本文側の空気感だけ作る */
main {
  padding-left: 20px;
  padding-right: 20px;
}

/* コンテンツの最大幅を揃える（header/footerと同じmax-w思想） */
.pageHeader,
.intro,
.feature {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ===== page header ===== */
/* ※header内は cType と h1 のみ、という条件を守った装飾 */
.pageHeader {
  padding-top: clamp(28px, 6vh, 72px);
  padding-bottom: clamp(18px, 3.5vh, 40px);
  border-bottom: 1px solid var(--border);
}

.pageHeader .cType {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pageHeader h1 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  font-weight: 650;
  text-transform: uppercase;
}

/* ===== intro ===== */
.intro {
  padding-top: clamp(20px, 4.5vh, 48px);
  padding-bottom: clamp(26px, 6vh, 72px);
}

.intro__lead {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.7vw, 18px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}

.intro__text {
  margin: 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ===== feature ===== */
/* 作品紹介をカードっぽく。背景は黒のまま、境界とぼかしで質感 */
.feature {
  padding: clamp(18px, 4.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature__label {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.feature__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: 0.06em;
  font-weight: 650;
}

.feature__text {
  margin: 0;
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ===== small screens tweaks ===== */
@media (max-width: 600px) {
  .pageHeader {
    padding-top: 28px;
    padding-bottom: 18px;
  }
  .feature {
    border-radius: 14px;
  }
}

/* =========================
	 CMS Content (About page)
	 ========================= */

/* セクション全体 */
main section[id^="CAP"] {
  max-width: min(920px, 92vw);
  margin: clamp(36px, 8vh, 96px) auto;
  padding: 0;
}

/* セクションタイトル */
main h2.hl {
  margin: 0 0 20px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

/* 段落 */
main section p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* 文章の“余白感”を出す */
main section p:last-child {
  margin-bottom: 0;
}

/* 区切り線（章の切れ目） */
main hr {
  width: 100%;
  max-width: 720px;
  margin: clamp(24px, 6vh, 64px) auto;
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

/* リスト */
main ul.ul {
  margin: 16px 0 20px;
  padding-left: 1.2em;
  list-style: none;
}

main ul.ul li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* リストの控えめなマーカー */
main ul.ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

/* スマホ最適化 */
@media (max-width: 600px) {
  main section {
    margin: 32px auto;
  }

  main h2.hl {
    font-size: 17px;
  }

  main section p,
  main ul.ul li {
    font-size: 13.5px;
  }
}

/* =========================
	 KV video (short loop)
	 ========================= */

.kv {
  position: relative;
  max-width: var(--max-w);
  margin: clamp(20px, 5vh, 48px) auto;
  aspect-ratio: 16 / 9; /* ← 縦にしたいなら 21/9 や 4/5 もアリ */
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #000;
}

.kv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.95);
}

/* 上に薄く黒グラデをかけて品を出す */
.kv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55)
  );
  pointer-events: none;
}

/* モバイル最適化 */
@media (max-width: 600px) {
  .kv {
    border-radius: 14px;
    aspect-ratio: 4 / 5; /* スマホは縦寄りが映える */
  }
}
