@charset "UTF-8";

/* =======================================================
   夢幻庵｜仲間たちページ 専用CSS（最終確定・文字色調整）
   方針：
   ・背景は一切触らない
   ・冒頭文章は文字色のみで存在感を出す
   ・緑は「読むための深緑」
   ======================================================= */

:root {
  --text-main: #222;
  --text-soft: #555;
  --text-strong: #333;
  --text-lead: #1f3d33;   /* ★ 冒頭用・深い緑 */
  --muted: #666;
  --accent-green: #0b3d2e;
  --section-dark: #0b3d2e;
  --section-pad: 72px;
  --max-width: 1100px;
  --text-narrow: 720px;
}

/* ------------------------------
   ページ全体
------------------------------ */
#friends {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  line-height: 1.8;
  background: #fff;
}

#friends .breadcrumb {
    margin: 30px 0 24px !important;
}

#friends .wrapper {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}


/* ------------------------------
   ヒーロー（共通）
------------------------------ */
.friends-hero {
  background-color: #fafaf7;
  text-align: center;
  padding: 72px 0;
  border-bottom: 1px solid #efefef;
}

.friends-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-green);
}

.friends-hero p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--muted);
  margin: 0;
}

/* ======================================================
   冒頭文章セクション（文字色のみ変更）
====================================================== */
.friends-intro {
  padding: 96px 0;
  text-align: center;
}

.friends-intro .wrapper {
  max-width: var(--text-narrow);
}

.friends-intro p {
  color: var(--text-lead);  /* ★ 深い緑で読む力を出す */
  font-weight: bold;
  line-height: 2;
  margin-bottom: 22px;
}

/* ======================================================
   中盤・締め（そのまま）
====================================================== */
.friends-context,
.friends-outro {
  padding: 96px 0;
  text-align: center;
}

.friends-context .wrapper,
.friends-outro .wrapper {
  max-width: var(--text-narrow);
}

.friends-context p,
.friends-outro p {
  color: var(--text-lead);  /* ★ 深い緑で読む力を出す */
  font-weight: bold;
  line-height: 2;
  margin-bottom: 22px;
}

/* ------------------------------
   動画セクション
------------------------------ */
.friend-block {
  background: var(--section-dark);
  padding: var(--section-pad) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.friend-block h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  color: #f5f5f0;
  margin-bottom: 14px;
  text-align: center;
}

.friend-text {
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.8;
  color: #e6e6e0;
}

/* ------------------------------
   動画カード
------------------------------ */
.movie-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.movie-wrap.is-horizontal {
  aspect-ratio: 16 / 9;
}

.movie-wrap.is-vertical {
  aspect-ratio: 9 / 16;
  max-width: 420px;
}

.movie-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------
   PC / SP
------------------------------ */
.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 768px) {
  :root {
    --section-pad: 48px;
  }

  .pc-only { display: none; }
  .sp-only { display: block; }

  .friends-hero {
    padding: 40px 0 36px;
  }

  .friends-intro,
  .friends-context,
  .friends-outro {
    padding: 64px 0;
  }

  .movie-wrap,
  .movie-wrap.is-vertical {
    max-width: 100%;
  }
}
