@charset "utf-8";
@media print {
  .nocopy {
    display: none !important;
  }
}
/* =========================
   Base
========================= */
html, body {
  margin: 0;
  padding: 0;
  background: #f7f6f3;
  color: #111;
  font-family: "BIZ UDPGothic", sans-serif;
}
body {
  line-height: 1.9;
}
img {
  pointer-events: none;
}
.nocopy {
  -webkit-touch-callout: none; /* iOSの長押しメニュー抑止 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* あなたの方針通り */
}
/* =========================
   Hero
========================= */
.hero {
  background: #f5f5f5;
  margin: auto;
  text-align: center;
}
.hero img {
  margin: auto;
  max-width: 1000px;
  display: block;
}
.hero-image {
  margin: auto;
  width: 100%;
  max-width: 100%;
}
/* =========================
   Cast & Staff Section
========================= */
.cast-staff {
  margin: auto;
  padding: 120px 24px;
  background: #f7f6f3; /* 全体と同じでOK */
  text-align: center;
}
.cast-staff h2 {
  text-align: left;
}
/* =========================
   Card List
========================= */
.card-list {
  display: grid;
  /* 
    将来的に人数が増える前提。
    1人のときは中央、複数人になったら自動で段組される
  */
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 32px 24px;
  /* 1人でも中央に配置するため */
  justify-items: center;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}
/* =========================
   Card
========================= */
.card {
  text-align: center;
  font-size: 0.9em;
  /* ← 文字全体の読みやすい幅 */
  margin: 2rem auto;
}
/* 画像 */
.card p.comment {
  font-size: 1.1em;
  /* ← 読みやすい文章幅 */
  margin: 10px auto 0;
  text-align: left; /* 文章は左揃えが◎ */
  color: #333;
}
.card p.comment span {
  font-size: 0.95em;
  border: 1px solid #333;
  padding: 0 0.5em;
  margin-bottom: 0.9em;
}
.cast-thumb {
  width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}
/* 名前 */
.card .name {
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
/* 名前 */
.card .name span {
  display: block;
  font-size: 0.65em;
  font-weight: 400;
  margin: 0;
}
/* 役名・肩書き */
.card .role {
  font-size: 0.85em;
  color: #555;
  margin: 4px 0 0;
  line-height: 1.6;
}
.book-thumb {
  margin-top: 10px;
  width: 130px; /* 小さめ書影 */
  height: auto;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}
/* =========================
   Responsive (Mobile)
========================= */
@media (max-width: 768px) {
  .cast-staff {
    padding: 80px 20px;
  }
  .card-list {
    gap: 24px 16px;
  }
  .card {
    font-size: 0.85em;
  }
  .cast-thumb {
    width: 180px;
  }
  .card .comment {
    max-width: 100%;
    font-size: 0.8em;
  }
}
/* =========================
   Navigation (PC)
========================= */
.nav {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 10;
}
.nav.is-visible {
  opacity: 1;
}
.nav a {
  font-size: 0.9em;
  color: #777;
  text-decoration: none;
  font-weight: 700;
}
/* =========================
   Hamburger Button
========================= */
.menu-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  display: none;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: #777;
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(247, 246, 243, 0.96);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
      opacity 0.35s ease, transform 0.35s ease;
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav a {
    margin: 12px 0;
    font-size: 1.1em;
  }
  .nav.is-visible {
    opacity: 0;
    pointer-events: none;
  }
}
/* =========================
   Content Section
========================= */
main {
  margin: 0 auto;
  overflow: hidden;
}
.section {
  width: 800px;
  padding: 120px 24px;
  margin: 3rem auto;
  background: #f9f9f9;
  box-shadow:
    -16px 12px 20px -18px rgba(235, 184, 114, 0.14), 16px 12px 20px -18px rgba(235, 184, 114, 0.14);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.section:hover {
  transform: translateY(-4px);
  box-shadow:
    -50px 36px 40px -35px rgba(126, 167, 169, 0.45), 50px 36px 40px -35px rgba(126, 167, 169, 0.45);
}
.section-inner {
  max-width: 700px;
  margin: 0 auto;
}
.section p {
  margin-bottom: 1.5em;
  font-size: 1em;
  color: #222;
  font-weight: 400;
}
.accent {
  color: #e07e73;
}
/* H2アニメーション */
/* 文字拡大フェード + 下線 */
.section h2 {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: scale(1.5);
  transition: transform 0.8s ease, opacity 0.8s ease;
  font-weight: 700;
  color: #111;
  margin-bottom: 48px; /* 下線スペース */
}
/* is-visibleで文字縮小フェードイン */
.section h2.is-visible {
  opacity: 1;
  transform: scale(1);
}
/* 下線（マーカー風） */
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* 文字のすぐ下 */
  width: 0;
  height: 5px; /* 細い線 */
  background: linear-gradient(to right, #e07e73, #bfa14b);
  transition: width 0.6s ease;
}
/* is-visibleで線を伸ばす */
.section h2.is-visible::after {
  width: 115%;
}
.section h3 {
  font-size: 1.3em;
}
/* =========================
   SP調整
========================= */
@media (max-width: 768px) {
  .section {
    padding: 80px 20px;
    max-width: 90%;
  }
  .section-inner {
    max-width: 100%;
  }
  .section h2 {
    font-size: 1.2em;
  }
  .section h3 {
    font-size: 1.1em;
  }
  .section p {
    font-size: 0.95em;
  }
}
/* =========================
 LODING
========================= */
#loading {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}
#loading svg {
  width: 80px;
  height: 80px;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: draw 3s ease forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
#loading span {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 0.9em;
  margin-top: 16px;
  /* 点滅アニメーションは削除 */
}
#loading.fade-out {
  animation: fadeOut 0.6s forwards;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
footer {
  padding: 60px 0;
  font-size: 0.8rem;
  margin: auto;
  color: #666;
  text-align: center;
}
.copyright, .en, .card p.comment span {
  font-family: "Lexend", sans-serif;
}
.sns {
  text-align: center;
  width: 100%;
  max-width: 50px;
  margin: 1% auto;
  opacity: .8;
}
.sns a {
  display: block;
}
.follow {
  /*display: flex;
    align-items: stretch;*/
  text-align: center;
  /*margin: auto;*/
}
.follow li {
  list-style: none;
  text-align: center;
  margin: auto;
  /*padding: 0;*/
}
.follow img {
  width: 50px;
  height: 50px;
}
@media screen and (max-width: 992px) {} /*end*/
/* ------------------------------------------------------------------- 
 * e.t.c
/*-------------------------------------------------------------------*/
/* スマホだけ表示（〜767px） */
.sp {
  display: none;
}
@media (max-width: 767px) {
  .sp {
    display: block; /* または inline / flex など要素に応じて */
  }
}
/* タブレットだけ表示（768〜991px） */
.tab {
  display: none;
}
@media (min-width: 768px) and (max-width: 991px) {
  .tab {
    display: block;
  }
}
/* PCだけ表示（992px〜） */
.pc {
  display: none;
}
@media (min-width: 992px) {
  .pc {
    display: block;
  }
}
.kome {
  font-size: 0.85rem;
  list-style: none;
  padding-left: 1.5em;
  margin-left: 0.5em;
}
.kome li {
  text-indent: -1.5em;
  line-height: 1.5;
}
.kome li:before {
  content: "※";
  margin-right: 0.5em;
}
/*-------------------------------------------------------------------*/
.mt-1, .pt-1 {
  padding-top: 0.5em;
}
.mt-2, .pt-2 {
  padding-top: 1em;
}
.mt-3, .pt-3 {
  padding-top: 1.5em;
}
.mt-4, .pt-4 {
  padding-top: 2em;
}
.mt-5, .pt-5 {
  padding-top: 2.5em;
}
.mb-1, .pb-1 {
  padding-bottom: 0.5em;
}
.mb-2, .pb-2 {
  padding-bottom: 1em;
}
.mb-3, .pb-3 {
  padding-bottom: 1.5em;
}
.mb-4, .pb-4 {
  padding-bottom: 2em;
}
.mb-5, .pb-5 {
  padding-bottom: 2.5em;
}