﻿@charset "UTF-8";

/* ============================================================
   まこなつそふと - サイト共通スタイル
   色やサイズを変えたいときは、まず下の :root の値をいじってください。
   ============================================================ */

:root {
  /* --- ブランドカラー(ここを変えるとサイト全体の色が変わります) --- */
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-800: #9a3412;
  --brand-900: #7c2d12;

  /* --- 生成りのベース色(背景やグラデーションに使う) --- */
  --sand-50: #fdfcfa;
  --sand-100: #faf6f0;
  --sand-300: #efe6d9;
  --sand-500: #b8a894;
  --sand-600: #8a7963;

  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --bg-primary: #fffdfa;
  --bg-section-alt: var(--brand-50);
  --bg-card: #ffffff;
  --text-primary: #2b2521;
  --text-secondary: #7a6f66;
  --border: #efe4d6;

  --accent: var(--brand-600);
  --accent-hover: var(--brand-700);

  /* 影は落とし気味にして、線と余白で構造を見せる */
  --card-shadow: 0 1px 3px rgba(124, 45, 18, 0.06);
  --card-shadow-hover: 0 10px 24px rgba(124, 45, 18, 0.12);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --transition: 0.2s ease;

  --header-h: 64px;
  --content-max: 1080px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
}

/* キーボード操作時のフォーカスをはっきり見せる(アクセシビリティ) */
:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

/* 画面には出さないがスクリーンリーダーには読ませたいテキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   レイアウト共通
   ------------------------------------------------------------ */
.container {
  width: min(100% - 32px, var(--content-max));
  margin-inline: auto;
}

.section {
  padding-block: 64px;
}

.section--alt {
  background: var(--bg-section-alt);
  border-block: 1px solid var(--border);
}

/* 見出しの下に短いオレンジの罫線を引く(絵文字の代わりの目印) */
.section__title {
  width: fit-content;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  position: relative;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-500);
  border-radius: 2px;
}

.section__lead {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0 0 32px;
}

/* ------------------------------------------------------------
   ヘッダー / ナビ
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-800);
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--brand-600);
}

.site-nav ul {
  display: flex;
  gap: 2px;
}

/* 現在地は下線で示す(塗りつぶしのタブより主張が控えめ) */
.site-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-nav a:hover {
  color: var(--brand-700);
}

.site-nav a[aria-current="page"] {
  color: var(--brand-700);
  border-bottom-color: var(--brand-500);
}

/* スマホ用のナビ開閉ボタン(三本線はCSSで描画。絵文字は使わない) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-700);
  border-radius: 1px;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

@media (max-width: 640px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow-hover);
    padding: 8px;
    display: none;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    border-radius: var(--radius-sm);
  }
}

/* ------------------------------------------------------------
   トップの固定新作パネル
   ------------------------------------------------------------ */
.featured-hero {
  padding: clamp(28px, 5vw, 68px) 0;
  background: linear-gradient(180deg, var(--brand-50), #fff 82%);
}

.featured-hero__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: min(100%, 1040px);
  min-height: clamp(370px, 38vw, 470px);
  margin-inline: auto;
  padding: clamp(28px, 4.5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  box-shadow: 0 20px 52px rgba(104, 47, 12, 0.2);
  color: #fff;
}

.featured-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.featured-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1.13;
}

.featured-hero h1 span { white-space: nowrap; }

.featured-hero__copy > p {
  max-width: 34em;
  margin: 0 0 30px;
  color: var(--brand-100);
  font-size: 1rem;
  line-height: 1.9;
}

.featured-hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.featured-hero__actions .btn {
  font-size: 1.32rem;
}

.featured-hero__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 54px -24px rgba(0, 0, 0, 0.78);
}

.featured-hero__visual-link {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-hero__visual-link:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.featured-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* キービジュアルに重ねる「PV公開中」ボタン */
.featured-hero__pv {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 15, 16, 0.72);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 0.22s ease, transform 0.22s ease;
}

.featured-hero__pv:hover {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.05);
}

.featured-hero__pv:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* 再生マーク(三角) */
.featured-hero__pv-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
}

/* 再生中は 16:9 のプレーヤー + その下に注記 */
.featured-hero__visual.is-playing {
  background: #000;
}

.featured-hero__pv-stage {
  aspect-ratio: 16 / 9;
}

.featured-hero__pv-note {
  margin: 0;
  padding: 12px 16px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.featured-hero__pv-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 800px) {
  .featured-hero__card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
    padding: 24px;
    border-radius: 24px;
  }

  .featured-hero__copy { padding: 8px 4px 4px; }
  .featured-hero__visual { width: 100%; min-height: 0; order: -1; }
}

@media (max-width: 480px) {
  .featured-hero { padding: 18px 0 40px; }
  .featured-hero__card { padding: 18px; border-radius: 20px; }
  .featured-hero__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
}

/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

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

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

.btn--shop {
  background: #fff;
  color: var(--brand-700);
  border-color: var(--brand-300);
}

.btn--shop:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn--dlsite {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

.btn--dlsite:hover {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}

.btn--fanza {
  background: #1677d2;
  color: #fff;
  border-color: #1677d2;
}

.btn--fanza:hover {
  background: #0f5ca8;
  color: #fff;
  border-color: #0f5ca8;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-200);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* ------------------------------------------------------------
   作品カード
   ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.work-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--brand-200);
  transform: translateY(-3px);
}

.work-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--brand-100), var(--sand-100));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.work-card__title {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.work-card__desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.work-card__meta {
  font-size: 0.74rem;
  color: var(--sand-500);
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}

.work-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-card__actions .btn {
  flex: 1 1 0;
}

/* ------------------------------------------------------------
   お知らせ
   ------------------------------------------------------------ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.news-item:hover {
  background: var(--brand-50);
}

.news-item__date {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* カテゴリは塗りつぶさず、細い枠線で。一覧がにぎやかになりすぎないように */
.news-item__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-700);
  background: transparent;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-sm);
  padding: 1px 9px;
  white-space: nowrap;
  min-width: 6.5em;
  text-align: center;
}

.news-item__cat[data-cat="リリース"] {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.news-item__text {
  font-size: 0.92rem;
  flex: 1;
}

@media (max-width: 640px) {
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-item__text {
    flex-basis: 100%;
  }
}

/* ------------------------------------------------------------
   サークル情報など、文章ページ
   ------------------------------------------------------------ */
.prose {
  max-width: 42em;
}

.prose h2,
.prose h3 {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-500);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.member-profile {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.member-profile__icon {
  width: 144px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--brand-300);
  border-radius: 22px;
  background: var(--brand-50);
  box-shadow: var(--card-shadow);
}

.member-profile__details {
  min-width: 0;
}

.member-profile__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.prose .member-profile__name {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--brand-900);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.member-profile__x {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #000;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.member-profile__x:hover {
  border-color: #333;
  background: #333;
  color: #fff;
  transform: translateY(-1px);
}

.prose .member-profile__role {
  margin: 12px 0 10px;
  color: var(--brand-700);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prose .member-profile__bio {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

@media (max-width: 520px) {
  .member-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
  }

  .member-profile__icon { width: 96px; border-radius: 16px; }
  .prose .member-profile__name { font-size: 1.15rem; }
  .prose .member-profile__role { margin-top: 8px; font-size: 0.78rem; }
}

/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */
.site-footer {
  background: var(--sand-100);
  border-top: 1px solid var(--border);
  padding-block: 40px;
  margin-top: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.site-footer a {
  color: var(--brand-700);
}

.site-footer__links {
  display: flex;
  gap: 8px 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ------------------------------------------------------------
   年齢認証モーダル(site-data.js の ageGate: true で有効)
   ------------------------------------------------------------ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(43, 37, 33, 0.78);
  backdrop-filter: blur(6px);
}

.age-gate__panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.age-gate__mark {
  display: inline-block;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin-bottom: 12px;
}

.age-gate__note {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.age-gate__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 12px;
}

/* ------------------------------------------------------------
   ゲームプレイページ
   ------------------------------------------------------------ */
.game-frame-wrap {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
}

.game-frame-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* 印刷時はナビなどを省く */
@media print {
  .site-header,
  .site-footer,
  .age-gate {
    display: none;
  }
}

/* 動きを減らす設定の人にはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   2026 editorial dark theme
   ref/ のデザイン提案を現行コンテンツへ適用
   ============================================================ */
:root {
  --ink: #0d0f10;
  --ink-soft: #181b1d;
  --paper: #f2eee6;
  --paper-deep: #e7e0d5;
  --orange: #f05423;
  --orange-hot: #ff6a2c;
  --white: #fffdf8;
  --line: rgba(13, 15, 16, 0.18);

  --bg-primary: var(--paper);
  --bg-section-alt: var(--paper-deep);
  --bg-card: transparent;
  --text-primary: var(--ink);
  --text-secondary: #67635d;
  --border: var(--line);
  --accent: var(--orange);
  --accent-hover: var(--orange-hot);
  --brand-300: #f58a66;
  --brand-400: var(--orange-hot);
  --brand-600: var(--orange);
  --brand-700: #c83e14;
  --brand-800: #9e3010;
  --brand-900: var(--ink);
  --sand-100: var(--paper);
  --sand-500: #777169;
  --card-shadow: none;
  --card-shadow-hover: none;
  --radius: 8px;
  --radius-sm: 4px;
  --header-h: 88px;
  --content-max: 1200px;
}

body {
  background:
    linear-gradient(90deg, rgba(13, 15, 16, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.035em;
}

:focus-visible {
  outline: 3px solid var(--orange-hot);
  outline-offset: 4px;
}

.container { width: min(calc(100% - 48px), var(--content-max)); }

/* Header */
.site-header {
  position: relative;
  top: auto;
  height: var(--header-h);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header__inner {
  height: 100%;
  padding-block: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-logo::before {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: url("/assets/img/circle-logo.png") center / contain no-repeat;
  content: "";
}

.site-logo:hover { color: var(--orange); }

.site-nav ul { gap: 42px; }

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Featured hero */
.featured-hero {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background: transparent;
}

.featured-hero > .container {
  width: min(calc(100% - 48px), 1360px);
}

.featured-hero__card {
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 7vw, 104px);
  width: 100%;
  min-height: 610px;
  padding: clamp(56px, 6vw, 78px) max(5vw, 58px);
  border: 0;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
}

.featured-hero__card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: var(--orange);
  content: "";
}

.featured-hero__card::after {
  position: absolute;
  bottom: -280px;
  left: -230px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.featured-hero__copy { z-index: 1; }

.featured-hero__release {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 30px;
  padding-left: 15px;
  border-left: 3px solid var(--orange);
  line-height: 1.2;
}

.featured-hero__release span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.featured-hero__release strong {
  color: var(--white);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.featured-hero h1 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.featured-hero__genre {
  margin: 0 0 25px;
  color: var(--white);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

/* ジャンル行が2行以上並ぶときは、間隔を詰めてひとまとまりに見せる */
.featured-hero__genre:has(+ .featured-hero__genre) {
  margin-bottom: 6px;
}

.featured-hero__description {
  margin-bottom: 34px;
  color: rgba(255, 253, 248, 0.68);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.85;
}

.featured-hero__actions .btn {
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 0;
  line-height: 1.35;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.22s ease, transform 0.22s ease;
}

.featured-hero__actions .btn:hover {
  background: var(--orange-hot);
  transform: translateY(-2px);
}

.featured-hero__visual {
  z-index: 1;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background: #2b2d2e;
  box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.85);
}

.featured-hero__visual img {
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.featured-hero__visual:hover img { transform: scale(1.03); }

/* Editorial sections */
.section {
  padding-block: clamp(86px, 10vw, 132px);
  background: transparent;
}

.section--alt {
  border: 0;
  background: transparent;
}

.section__title {
  width: 100%;
  margin-bottom: 54px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.section__title::after { display: none; }
.section__lead { margin-top: -32px; margin-bottom: 48px; }

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 72px);
  align-items: stretch;
}

[data-featured-works] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.x-logo-mark {
  display: inline-block;
  margin-inline: 0.04em;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1;
}
[data-all-works] .work-card:nth-child(2) { margin-top: 0; }

.work-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(13, 15, 16, 0.24);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.42);
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.work-card:hover {
  border-color: var(--orange);
  box-shadow: none;
  transform: translateY(-3px);
}

.work-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background: var(--paper-deep);
  border-bottom: 1px solid rgba(13, 15, 16, 0.2);
}

.work-card__status {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 13px 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(13, 15, 16, 0.24);
}

.work-card__status--development { background: var(--ink); }
.work-card__status--on-sale { background: var(--orange); }

.work-card__thumb img {
  filter: saturate(0.76) contrast(1.07);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.work-card:hover .work-card__thumb img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.025);
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 25px 24px 24px;
}

.work-card__title {
  color: var(--ink);
  font-size: clamp(1.28rem, 2.2vw, 1.78rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.work-card__desc {
  color: #67635d;
  font-size: 0.95rem;
  line-height: 1.8;
}

.work-card__meta {
  order: -1;
  margin: 0;
  color: #777169;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.work-card__actions { gap: 10px; margin-top: auto; padding-top: 12px; }

.work-card__actions .btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--orange);
  border-radius: 0;
  background: var(--orange);
  color: var(--white);
  font-size: 0.84rem;
}

.work-card__actions .btn:hover {
  border-color: var(--orange-hot);
  background: var(--orange-hot);
  color: var(--white);
}

/* Circle section */
#about {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
}

#about::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(240, 84, 35, 0.12);
  border-radius: 50%;
  content: "";
}

#about .container { position: relative; z-index: 1; }

#about .section__title {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.prose { max-width: 100%; }

#about .prose > p {
  max-width: 760px;
  margin-bottom: 52px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 1rem;
}

.member-profile {
  max-width: 820px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#about .member-profile { border-color: rgba(255, 255, 255, 0.16); }
.member-profile + .member-profile { margin-top: 8px; }

.member-profile__icon {
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  box-shadow: none;
}

.member-profile__header { border-color: var(--line); }
#about .member-profile__header { border-color: rgba(255, 255, 255, 0.16); }

.prose .member-profile__name { color: var(--ink); }
#about .prose .member-profile__name { color: var(--white); }

.prose .member-profile__role { color: var(--orange); }
.prose .member-profile__bio { color: var(--text-secondary); }
#about .prose .member-profile__bio { color: rgba(255, 253, 248, 0.62); }

.member-profile__x {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: #000;
  box-shadow: none;
}

/* News and simple pages */
.news-list { border-top-color: var(--line); }
.news-item { border-bottom-color: var(--line); }
.news-item__cat { border-radius: 0; background: var(--orange); color: var(--white); }

.hero {
  width: min(calc(100% - 48px), var(--content-max));
  min-height: 460px;
  margin: 0 auto 86px;
  padding: clamp(54px, 8vw, 92px);
  display: grid;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.8rem); }
.hero p { color: rgba(255, 253, 248, 0.68); }
.hero__actions .btn { border-radius: 0; background: var(--orange); }

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  margin: 0;
  padding-block: 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.site-footer > .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 32px;
}

.site-footer__links { justify-content: flex-start; }
.site-footer__links a { color: var(--ink); }
.site-footer p { grid-column: 1 / -1; color: #817b73; }

.site-footer .site-footer__analytics-note {
  margin: 0;
  color: #817b73;
  font-size: 0.78rem;
  line-height: 1.65;
}

.site-footer__analytics-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(129, 123, 115, 0.5);
  text-underline-offset: 0.2em;
}

/* Age gate */
.age-gate {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--ink);
}

.age-gate__panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(24, 27, 29, 0.94);
  color: var(--white);
}

.age-gate__panel h2 { color: var(--white); }
.age-gate__panel p { color: rgba(255, 253, 248, 0.68); }
.age-gate__mark { border-radius: 0; background: var(--orange); }
.age-gate .btn { border-radius: 0; }
.age-gate .btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--white); }

@media (max-width: 820px) {
  :root { --header-h: 76px; }
  .container { width: min(calc(100% - 34px), var(--content-max)); }
  .site-nav ul { gap: 20px; }

  .featured-hero > .container { width: 100%; }
  .featured-hero__card {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding: 34px 24px 56px;
    border-radius: 0;
  }
  .featured-hero__visual { order: -1; }
  .featured-hero h1 { font-size: clamp(2.75rem, 11vw, 4.4rem); }

  .section { padding-block: 86px; }
  .section__title { margin-bottom: 44px; }
  .card-grid,
  [data-featured-works] { grid-template-columns: 1fr; gap: 62px; }
  [data-all-works] .work-card:nth-child(2) { margin-top: 0; }
}

@media (max-width: 640px) {
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header__inner { padding-block: 12px; }
  .site-logo { font-size: 0.88rem; gap: 8px; }
  .site-logo::before { width: 36px; height: 36px; flex-basis: 36px; }
  .site-nav {
    top: calc(100% - 2px);
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
  }
  .site-nav ul { gap: 0; }
  .site-nav a { padding: 14px 18px; }
  .nav-toggle { color: var(--ink); }

  .featured-hero { padding-bottom: 68px; }
  .featured-hero__card { padding-top: 22px; }
  .featured-hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .featured-hero__description br { display: none; }
  .featured-hero__actions .btn { width: 100%; }

  .section { padding-block: 72px; }
  .section__title { font-size: 2.25rem; }
  .member-profile { grid-template-columns: 82px minmax(0, 1fr); gap: 15px; padding-block: 22px; }
  .member-profile__icon { width: 82px; }

  .site-footer > .container { grid-template-columns: 1fr; }
  .site-footer p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
