@charset "UTF-8";

/* ---------------------------------------------------
PC
--------------------------------------------------- */

/* ---------------------------------------------------
Body-Common
--------------------------------------------------- */

body {
  /* Fonts */
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #eeeeee;

  /* "Noto Sans JP", sans-serif */
  /* "Noto Serif JP", serif */

  /* 横幅制限＋中央寄せ */
  max-width: 1280px; /* ページの表示領域の最大幅を制限 */
  margin: 0 auto; /* 上下の余白0、ウィンドウ幅に関わらず左右を中央寄せ */

  /* ページの最低高の確保 */
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* Background */
  background-color: #000000;
}

main {
  flex: 1;
}

/* 左右の余白：画面幅が狭くなっても、見出しや文字が画面の端に付かないようにする
   ・padding-left / padding-right だけを指定し、上下の余白（#about など）は変えない */
.wrapper {
  padding-left: 20px;
  padding-right: 20px;
}

/* トップページの「Novels」「Blogs」「News」の見出しは .wrapper の外にあるので、同じ余白を付ける */
.page-background > h2.section-title {
  margin-left: 20px;
  margin-right: 20px;
}

img {
  max-width: 100%;
  margin: 0 auto;
}

/* ---------------------------------------------------
Text
--------------------------------------------------- */

/* 見出しのデザイン（案A：月明かりの細線）
   ・帯は使わず、光る文字と、先が消えていく細い線で表す
   ・h2：全幅の線 ／ h3：三日月のしるし＋短い線 ／ h4：星のしるしのみ */
:root {
  --heading-line: rgba(127,199,255,.7);   /* 線の色（月明かりの水色） */
  --heading-mark: #9FD0FF;                /* 三日月・星のしるしの色 */
  --heading-glow:
    0 0 4px  rgba(0,127,255,.9),
    0 0 12px rgba(0,127,255,.5);          /* 見出しの文字の淡い発光 */

  /* ボタン（案1：月光のすりガラス） */
  --btn-fill: rgba(16,28,46,.75);         /* 主な操作の地（一覧の札と同じ素材） */
  --btn-border: rgba(127,199,255,.5);     /* 枠の色 */
  --btn-border-hover: rgba(159,208,255,.9); /* マウスを乗せたときの枠の色 */
  --btn-glow-hover: 0 0 12px rgba(0,127,255,.5); /* マウスを乗せたときの発光 */
}

h2,
h2 a {
  font-size: 40px;
  font-weight: 700;
  text-align: left;
  letter-spacing: .08em;
}

h2 {
  width: auto;
  padding: 0 0 14px;
  margin: 60px 5px 30px;
  position: relative;
  text-shadow: var(--heading-glow);
}

h2::after {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #9FD0FF, rgba(0,127,255,.5) 40%, transparent);
  box-shadow: 0 0 6px rgba(0,127,255,.6);
  position: absolute;
  left: 0;
  bottom: 0;
}

h3,
h3 a {
  font-size: 32px;
  font-weight: 700;
  text-align: left;
}

h3 {
  width: auto;
  padding: 0 0 10px 44px;
  margin: 40px 5px 24px;
  position: relative;
  text-shadow: var(--heading-glow);
}

/* 三日月のしるし（円の影を右下へずらして描く。欠けた部分が左斜め上を向く） */
h3::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 6px 3px 0 0 var(--heading-mark);
  filter: drop-shadow(0 0 4px rgba(0,127,255,.9));
  position: absolute;
  left: 4px;
  top: calc(.72em - 15px); /* 見出しが折り返しても1行目の高さにそろえる */
}

h3::after {
  content: "";
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, var(--heading-line), transparent);
  position: absolute;
  left: 0;
  bottom: 0;
}

h4,
h4 a {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
}

h4 {
  width: auto;
  margin: 20px 5px 12px;
  text-shadow: var(--heading-glow);
}

/* 星のしるし */
h4::before {
  content: "✦";
  font-size: .6em;
  color: var(--heading-mark);
  margin-right: .6em;
  vertical-align: .2em;
}

h5,
h5 a {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

h5 {
  margin: 10px 5px;
}

p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 24px;
}

ul {
  max-width: 800px;
}

li {
  font-size: 18px;
  line-height: 1.5;
}

a {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
}

/* ---------------------------------------------------
Grow Text
--------------------------------------------------- */

:root {
  /* 調整しやすいように色と速度を変数化 */
  --neon-core: #007FFF;         /* コア色（ネオンの核） */
  --neon-soft: #9FD0FF;         /* 脈動時に少し明るくなる文字色 */
  --neon-hover: #4DAFFF;        /* ホバー時の明るい水色 */
  --neon-base: #eeeeee;         /* 通常時の文字色（黒背景で映える白） */
  --neon-slow: 1.8s;            /* 近づいたときの周期 */
  --neon-fast: 0.45s;           /* ホバー時の周期 */
}

/* 通常リンク（静止） */
a,
a:visited,
.news-toggle,
.breadcrumbs,
.pagination {
  color: var(--neon-base);
  text-decoration: underline #000000 1px;
  transition: all .25s ease, color .25s ease;

  /* 静止時のネオン（強め・黒背景想定） */
  text-shadow:
    0 0 2px   var(--neon-core),
    0 0 6px   rgba(0,127,255,.9),
    0 0 12px  rgba(0,127,255,.8),
    0 0 24px  rgba(0,127,255,.6),
    0 0 48px  rgba(0,127,255,.4);
}

/* 発光の脈動（文字色も同期して明るくなる） */
@keyframes neonPulse {
  0%, 100% {
    color: var(--neon-base); /* 端は白っぽく */
    text-shadow:
      0 0 4px   var(--neon-core),
      0 0 10px  rgba(0,127,255,.9),
      0 0 20px  rgba(0,127,255,.7),
      0 0 40px  rgba(0,127,255,.5),
      0 0 80px  rgba(0,127,255,.35);
  }
  50% {
    color: var(--neon-soft);    /* 中間で水色寄りに発光 */
    text-shadow:
      0 0 8px   var(--neon-core),
      0 0 20px  rgba(0,127,255,1),
      0 0 40px  rgba(0,127,255,.9),
      0 0 80px  rgba(0,127,255,.7),
      0 0 120px rgba(0,127,255,.5);
  }
}

/* 近づいたら：ゆっくり点滅（JSが .near を付与） */
a.near,
.news-toggle.near,
.breadcrumbs.near,
.pagination.near {
  animation: neonPulse var(--neon-slow) ease-in-out infinite;
}

/* ホバー中：速く点滅（near より優先して上書き） */
a:hover,
.news-toggle:hover,
.breadcrumbs p:hover,
.pagination p:hover {
  animation: neonPulse var(--neon-fast) ease-in-out infinite;
  color: var(--neon-hover);
}

/* 視覚過敏配慮：アニメ無効化 */
@media (prefers-reduced-motion: reduce) {
  a, a.near, a:hover{ animation: none !important; }
}

/* ---------------------------------------------------
Breadcrumbs
--------------------------------------------------- */

.breadcrumbs {
  font-weight: 700;
  list-style-type: none;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.breadcrumbs > :not(:first-child) {
  margin-left: 10px;
}

/* 例：.breadcrumbs が <ul> の親に付いている想定 */
.breadcrumbs li {
  display: flex;        /* 中身をflexで横並びにする */
  align-items: center;
}

.breadcrumbs li + li::before {
  content: ">"; /* お好みで ">" や "/" でもOK */
  margin-right: 10px;
  flex-shrink: 0;       /* 狭くなっても潰れない */
}

/* ---------------------------------------------------
Pagination
--------------------------------------------------- */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 100px auto 0;
  text-decoration: none; /* リンク共通の下線が、今いるページの番号に伝わらないようにする */
}

.pagination a {
  font-weight: 700;
  line-height: 1.0;
  text-align: center;
  text-decoration: none;
  margin: 0;
}

.pagination > :not(:first-child) {
  margin-left: 14px;
}

/* ページ番号（案1：丸い粒。今いるページは満月のように光る） */
.page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 19px;
  font-size: 18px;
  line-height: 1.0;
  transition: border-color .25s ease, box-shadow .25s ease;
}

a.page-numbers:hover {
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-glow-hover);
}

a.page-numbers:active {
  transform: translateY(1px);
}

.page-numbers.current {
  font-weight: 700;
  color: #0a1626;
  background: var(--heading-mark);
  border-color: var(--heading-mark);
  text-shadow: none;
  box-shadow: 0 0 12px rgba(0,127,255,.7);
}

/* 「前へ」「次へ」と省略の「…」は枠なしの文字だけ */
.page-numbers.prev,
.page-numbers.next,
.page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: auto;
}

/* 1話ごとのページ送り（前の話／次の話）：地のある楕円 */
.pagination-single-page {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-single-page > :not(:first-child) {
  margin-left: 0;
}

.pagination-single-page .prev-link,
.pagination-single-page .next-link {
  width: 200px;
  min-height: 50px;
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 30px;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.pagination-single-page .prev-link:hover,
.pagination-single-page .next-link:hover {
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-glow-hover);
}

.pagination-single-page .prev-link:active,
.pagination-single-page .next-link:active {
  transform: translateY(1px);
}

.pagination-single-page .prev-link a,
.pagination-single-page .next-link a {
  width: 100%;
  height: 100%;
  line-height: 1.0;
  text-align: center;
  padding: 16px 0;
  margin: 0;
}

/* ---------------------------------------------------
Header
--------------------------------------------------- */

#header {
  /* 基本構造 */
  width: 100%;
  height: 70px;
  background-color: #000000;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Headerを上部に固定 */
  position: sticky; /* スクロールしても画面上部に張り付ける */
  top: 0; /* 画面上部に固定 */
  z-index: 10; /* 他の要素より前面に表示する（数字が大きいほど上に来る） */
}

h1 {
  width: auto;
  height: 50px;
}

h1 img {
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}

h1 img:active {
  transform: translate(5px,5px);
}

.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Xアイコン */
.sns {
  display: inline-block;
  width: 30px;
  height: 25px;
  margin-right: 20px;
  transition: all 0.3s ease-in-out;
}

.sns img {
  display: inline-block;
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}

.sns img:active {
  transform: translate(5px,5px);
}

/* ナビゲーション */
.header-nav-frame {
  display: flex;
  align-items: center;
}

#header-nav-menu ul {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
}

#header-nav-menu ul > :not(:first-child) {
  margin-left: 20px;
}

#header-nav-menu li {
  width: 70px;
  text-align: center;
}

#header-nav-menu a {
  font-size: 20px;
}

/* ---------------------------------------------------
読み上げソフト向けの文字（画面には表示しない）
--------------------------------------------------- */

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------
Main Visual
--------------------------------------------------- */

/* ===== Main Visual frame (1280x420) ===== */
.mv {
  width: 100%;
  height: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.mv__video {
  position: absolute;
  inset: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity 1s ease;  /* ← フェード時間はお好みで */
  will-change: opacity;          /* ← Safariの描画安定に効くことがある */
}
.mv__video--show {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

/* 各ページのメインテーマ */
.page-mv {
  width: 100%;
  height: 15vh;
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.page-mv::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    /* 左右 */
    inset 40px 0 40px -20px rgba(0,0,0,0.7),   /* 左 */
    inset -40px 0 40px -20px rgba(0,0,0,0.7),  /* 右 */
    /* 上下 */
    inset 0 30px 40px -10px rgba(0,0,0,0.95),   /* 上 */
    inset 0 -30px 40px -10px rgba(0,0,0,0.95);  /* 下 */
}

.page-mv img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1280px;                    /* 画像の横幅を固定（例：1920px） */
  height: auto;                     /* アスペクト比維持 */
  max-width: none;                  /* CSSリセットの max-width:100% を打ち消す */
  transform: translate(-50%, -50%); 
}

/* ---------------------------------------------------
Background
--------------------------------------------------- */

.page-background {
  position: relative;
}

.page-background::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("../img/A08_Studio_Background.jpg");
  background-repeat: no-repeat;
  background-size: min(100%, 1280px) auto;
  background-position: center calc(50% + 80px);
  z-index: -10;
}

/* ---------------------------------------------------
Section-Common
--------------------------------------------------- */

/* ページ内ジャンプの際の上側の位置調整 */
html {
  scroll-padding-top: 80px;
}

/* セクションの区切り（案A）
   ・枠線はやめ、下端に「中央に星、両端が消えていく細い線」を置く */
section {
  padding: 0 5px 30px;
  margin:0 5px 100px;
  position: relative;
}

/* 区切り線（中央の星の左右に、外へ向かって消える線） */
section:not(.section-no-border)::after {
  content: "";
  height: 1px;
  background:
    linear-gradient(to left, var(--heading-line), transparent) left center / calc(50% - 18px) 1px no-repeat,
    linear-gradient(to right, var(--heading-line), transparent) right center / calc(50% - 18px) 1px no-repeat;
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
}

/* 区切りの中央の星 */
section:not(.section-no-border)::before {
  content: "✦";
  font-size: 14px;
  line-height: 1;
  color: var(--heading-mark);
  text-shadow: 0 0 6px rgba(0,127,255,.9);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
}

/* テキストコンテンツの中央寄せ */
.contents-align {
  text-align: center;
}

.contents-area {
  display: inline-block;
  text-align: left;
}

/* シェアボタン（X）：ボタン自体の見た目は .btn-x（Section-News）を使う */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

/* ---------------------------------------------------
Section-About
--------------------------------------------------- */

/* メインビジュアル表示中は背景が写らないようにする */
#about {
  background-color: #000000;
  padding-top: 500px;
  padding-bottom: 500px;
  margin-bottom: 0;
}

/* マージン部分に背景色が乗らないことへ対処 */
.a08-studio-icon {
  max-width: 400px;
  background: none;
  padding: 0;
  border-radius: 0;
  border-left: none;
  border-bottom: none;
  margin: 0 auto 5px;
  text-align: center;
}

.a08-studio-icon::after {
  display: none;
  opacity: 0;
}

/* 3D効果の基点（親） */
.a08-studio-icon a {
  display: inline-block;
  perspective: 800px; /* 奥行き感を設定（小さいほど立体的） */
  transform-style: preserve-3d;
}

.a08-studio-icon a img {
  display: block;
  width: auto;
  height: 300px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.5s ease, filter 0.3s ease;
  transform-origin: center;
  backface-visibility: hidden;
}

/* ホバー時：まっすぐ手前に浮かせる（控えめver） */
.a08-studio-icon a:hover img {
  transform:
    perspective(800px)
    translateZ(40px)
    scale(1.06); /* ← 拡大を控えめに変更 */
  filter: brightness(1.1); /* 明るさもやや控えめ */
}

/* 動きを減らしたい人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .a08-studio-icon a img,
  .a08-studio-icon a:hover img {
    transition: none;
    transform: none;
  }
}

#profile img {
  display: block;
  width: auto;
  height: 300px;
  object-fit: contain;
  margin: 0 auto;
  margin-top: 100px;
}

/* 趣味の一覧（1行目）の後だけ空きを広げる */
.section-hobby .hobby-list {
  margin-bottom: 48px;
}

.section-hobby img {
  max-width: 700px;
  height: auto;
  border-radius: 10px;
}

#about p,
#profile p {
  text-align: center;
}

/* 自己紹介・趣味の文（About） */
.a08-work-policy {
  margin-top: 400px;
}

.a08-work-policy > p {
  font-size: 24px;
  text-align: left !important;
}

.a08-work-policy-about {
  margin-top: 0;
}

/* ---------------------------------------------------
Section-Novels
--------------------------------------------------- */

.novel-episode-lists > :not(:last-child) {
  margin-bottom: 20px;
}

.novel-episode-list {
  max-width: 800px;
  padding: 5px 20px;
  margin: 10px auto;
  display: flex;
  justify-content: space-between;
}

/* エピソード一覧・ブログ／ニュース一覧の札（すりガラスの札）
   ・半透明の紺に細い水色の枠。マウスを乗せると枠が淡く光る */
.novel-episode-list,
.news-list {
  background: rgba(16,28,46,.7);
  border: 1px solid rgba(127,199,255,.35);
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.novel-episode-list:hover,
.news-list:hover {
  border-color: rgba(127,199,255,.7);
  box-shadow: 0 0 10px rgba(0,127,255,.35);
}

/* 日付は月明かりの水色にする */
.novel-episode-list a + p,
.news-list p:first-child {
  color: var(--heading-mark);
}

.novel-episode-list p {
  margin: 0;
}

.novel-episode-list p:nth-child(1) {
  flex: 1; /* タイトルは可変（残り幅いっぱい） */
}

.novel-episode-list p:nth-child(2) {
  width: 100px;
  text-align: right;
}

.novel-lists > :not(:last-child) {
  margin-bottom: 100px;
}

/* 最初から読むボタン */
.see-first-article-frame {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-content: center;
}

/* 主な操作：地のある楕円（案1） */
.see-first-article {
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  padding: 12px 25px;
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 30px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.see-first-article:hover {
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-glow-hover);
}

.see-first-article:active {
  transform: translateY(1px);
}

/* 小説エピソードページ */
.novel-status,
.article-date {
  width: 100%;
  margin: 0 5px 30px;
}

/* ---------------------------------------------------
Section-News
--------------------------------------------------- */

/* Xセクション */
.x-section {
  max-width: 700px;
  margin: 0 auto;
}

.x-section__actions{
  display:flex;
  justify-content: center;
  gap:12px;
  flex-wrap:wrap
}

/* X のボタン（案1）
   ・.btn-x（Xでシェアする／ポストを見る）と .btn-x-outline（フォローする）は、どちらも地のある楕円
   ・文字の光り方は、ほかのリンクと同じ指定（a / a.near / a:hover）に任せる */
.btn-x,
.btn-x-outline{
  display:inline-block;
  min-width: 170px;
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 35px;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.btn-x:hover,
.btn-x-outline:hover,
.btn-x:focus-visible,
.btn-x-outline:focus-visible {
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-glow-hover);
}

.news-lists {
  margin: 0 auto;
}

.news-lists-narrow {
  max-width: 800px;
}

.news-lists-wide {
  max-width: 1280px;
}

.news-lists > :not(:last-child) {
  margin-bottom: 20px;
}

.news-list {
  padding: 5px 20px;
  display: flex;
}

.news-list p {
  margin: 0;
}

.news-list p:nth-child(1) {
  width: 200px;
}

.news-list p:nth-child(2) {
  flex: 1;
}

/* ニュース投稿一覧ページ */
.news-item {
  margin-bottom: 30px;
}

.news-item > :not(:last-child) {
  margin-bottom: 10px;
}

/* 本文の折りたたみ */
.news-body {
  overflow: hidden;
  max-height: 70px;
  transition: max-height 0.3s ease;
}

.news-body p {
  margin-bottom: 10px;
}

.news-item.is-open .news-body {
  max-height: 1000vh;
}

.news-toggle .label-more {
  display: inline;
}

.news-toggle .label-close {
  display: none;
}

.news-item.is-open .news-toggle .label-more {
  display: none;
}

.news-item.is-open .news-toggle .label-close {
  display: inline;
}

/* 「もっと見る／閉じる」：地のある楕円（案1） */
.news-toggle {
  display: block;
  min-width: 170px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #eeeeee;
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 30px;
  padding: 10px 25px;
  margin: 16px auto 0;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.news-toggle:hover {
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-glow-hover);
}

.news-toggle:active {
  transform: translateY(1px);
}

/* X のボタン：クリック時に沈む */
.btn-x:active,
.btn-x-outline:active {
  transform: translateY(1px);
}

/* X のボタン：キーボード操作時の枠 */
.btn-x:focus-visible,
.btn-x-outline:focus-visible {
  outline: 2px solid #007FFF;
  outline-offset: 2px;
}

/* ---------------------------------------------------
See Details Button
--------------------------------------------------- */

.detail {
  margin-top: 50px;
  text-align: center;
}

/* 各ページ下にあるボタンリスト */
.button-lists {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 各ページの一番下にあるトップページへ戻るボタン */
.bottom-button {
  margin-top: 70px;
  margin-bottom: 150px;
}

/* ボタン本体 */
.see-details {
  width: 245px;
  height: auto;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #eeeeee;
  overflow: hidden;
}

/* 外枠（右縦＋下横） */
.see-details::before,
.see-details::after,
.see-details span::before,
.see-details span::after {
  content:"";
  position:absolute;
  background:#eeeeee;                 /* 線の本体色は白 */
  transition: all 0.3s ease;
  /* ネオンのベース（黒背景でも見える強度） */
  filter:
    drop-shadow(0 0 2px  var(--neon-core))
    drop-shadow(0 0 6px  rgba(0,127,255,.95))
    drop-shadow(0 0 12px rgba(0,127,255,.85))
    drop-shadow(0 0 24px rgba(0,127,255,.65));
}

/* 縦線（右＆左） */
.see-details::before,         /* 右縦線：外側 */
.see-details span::before {    /* 左縦線：内側 */
  width:2px;
  height:0%;
}

.see-details::before {
  right:0;
  bottom:0;
}

.see-details span::before {
  left:0;
  top:0;
}

/* 横線（下＆上） */
.see-details::after,          /* 下横線：外側 */
.see-details span::after {     /* 上横線：内側 */
  width:0%;
  height:2px;
}

.see-details::after {
  right:0;
  bottom:0;
}

.see-details span::after {
  left:0;
  top:0;
}

/* 近づいたら：鍵かっこ（短い線）＋ゆっくり発光 */
.see-details.near::before,
.see-details.near span::before {
  height:50%;
}

.see-details.near::after,
.see-details.near span::after {
  width:20%;
}

.see-details.near::before,
.see-details.near::after,
.see-details.near span::before,
.see-details.near span::after {
  animation: neonStrokePulse var(--neon-slow) ease-in-out infinite;
}

/* ホバーしたら：四角枠＋速く発光 */
.see-details:hover::before,
.see-details:hover span::before {
  height:100%;
}

.see-details:hover::after,
.see-details:hover span::after {
  width:100%;
}

.see-details:hover::before,
.see-details:hover::after,
.see-details:hover span::before,
.see-details:hover span::after {
  animation: neonStrokePulse var(--neon-fast) ease-in-out infinite;
}

/* ネオンの点滅（線の明るさ＋外側ハロー） */
@keyframes neonStrokePulse {
  0%,100% {
    background:#eeeeee;
    filter:
      drop-shadow(0 0 4px  var(--neon-core))
      drop-shadow(0 0 10px rgba(0,127,255,.9))
      drop-shadow(0 0 20px rgba(0,127,255,.7))
      drop-shadow(0 0 40px rgba(0,127,255,.5));
  }
  50% {
    background:#CFE6FF; /* 少し水色寄りに明るく */
    filter:
      drop-shadow(0 0 8px   var(--neon-core))
      drop-shadow(0 0 20px  rgba(0,127,255,1))
      drop-shadow(0 0 40px  rgba(0,127,255,.9))
      drop-shadow(0 0 80px  rgba(0,127,255,.7));
  }
}

/* モーション軽減 */
@media (prefers-reduced-motion: reduce) {
  .see-details::before,
  .see-details::after,
  .see-details span::before,
  .see-details span::after{
    animation:none !important;
  }
}

/* ---------------------------------------------------
Footer
--------------------------------------------------- */

#footer {
  width: 100%;
  background-color: #000000;
  padding-top: 5px;
  padding-bottom: 5px;
}

.footer-frame {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
}

.footer-frame > :not(:first-child) {
  margin-left: 70px;
}

#footer ul > :not(:last-child) {
  margin-bottom: 20px;
}

.footer-lists-title {
  font-weight: 700;
  text-decoration: underline solid 1px #eeeeee;
}

.web-novel-platform-lists {
  width: 180px;
}

.copyright {
  font-size: 14px;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

/* ---------------------------------------------------
記事がないときの表示（ニュース一覧で使用）
--------------------------------------------------- */

.search-result-none > :not(:last-child) {
  margin-bottom: 20px;
}

/* ---------------------------------------------------
404
--------------------------------------------------- */

#page-404 p {
  text-align: center;
}

/* ---------------------------------------------------
Tablet & SmartPhone
--------------------------------------------------- */

@media screen and (max-width: 1280px) {

  /* ---------------------------------------------------
  Main Visual
  --------------------------------------------------- */

  /* 左右中央合わせ */
  .mv__video {
    width: 100%;
  }

  #openingVideo {
    object-position: 50% 50%; /* ど真ん中を基準に表示（左右も上下も中央） */
  }

  #themeVideo,
  .mv img {
    object-position: 42% 50%; /* ど真ん中を基準に表示（左右も上下も中央） */
  }

}


/* ヘッダーのナビゲーションをハンバーガーメニューに切り替える幅（900px 以下） */
@media screen and (max-width: 900px) {

  /* ---------------------------------------------------
  Header
  --------------------------------------------------- */

  .sns {
    margin-right: 80px;
  }

  /* ---------------------------------------------------
  Hamburger Menu
  --------------------------------------------------- */
  /* Hamburgar Menu-メニュー基本構造 */
  .header-nav-frame {
    width: 300px;
    background-color: #000000;
    opacity: 0;
    z-index: 20;
    overflow-y: auto;
    padding: 25px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -300px;
    transition: 0.5s;
    flex-direction: column;
  }

  #header-nav-menu {
    margin-bottom: 20px;
  }

  #header-nav-menu ul {
    flex-direction: column; 
  }

  #header-nav-menu ul > :not(:first-child) {
    margin-left: 0;
  }

  #header-nav-menu ul > :not(:last-child) {
    margin-bottom: 20px;
  }

  #header-nav-menu li {
    padding: 0;
  }

  /* Hamburgar Menu-ボタン基本構造 */
  #hamburger-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 20;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: 0.5s;
  }

  #hamburger-button span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #eeeeee;
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }

  #hamburger-button span:nth-child(1) {
    top: 4px;
  }

  #hamburger-button span:nth-child(2) {
    top: 14px;
  }

  #hamburger-button span:nth-child(3) {
    bottom: 4px;
  }

  /* Hamburgar Menu-マスク基本構造 */
  #nav-mask {
    display: none;
    transition: 0.5s;
  }

  /* オープンクラス */
  .open .header-nav-frame {
    left: 0;
    opacity: 1;
  }

  .open #hamburger-button span {
    background-color: #ffffff;
  }

  .open #hamburger-button span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }

  .open #hamburger-button span:nth-child(2) {
    opacity: 0;
  }

  .open #hamburger-button span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }

  .open #nav-mask {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000000;
    cursor: pointer;
    opacity: 0.8;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
  }

}


@media screen and (max-width: 1000px) {

  /* ---------------------------------------------------
  Section-Common
  --------------------------------------------------- */

  .button-lists {
    flex-direction: column;
  }

  .button-lists > :not(:first-child) {
    margin-top: 20px;
  }

  /* ---------------------------------------------------
  See Details Button
  --------------------------------------------------- */

  /* スマホでは四角枠を最初から表示 */
  .see-details::before,
  .see-details span::before {
    height: 100% !important;
  }
  .see-details::after,
  .see-details span::after {
    width: 100% !important;
  }

  /* もし枠を光らせ続けたいならアニメも付ける */
  .see-details::before,
  .see-details::after,
  .see-details span::before,
  .see-details span::after {
    animation: neonStrokePulse var(--neon-slow) ease-in-out infinite;
  }

}


@media screen and (max-width: 767px) {

  /* ---------------------------------------------------
  Text
  --------------------------------------------------- */

  /* 狭い画面では字間を広げない（見出しの不自然な折り返しを防ぐ） */
  h2,
  h2 a {
    letter-spacing: normal;
  }

  /* ---------------------------------------------------
  Breadcrumbs
  --------------------------------------------------- */

  .breadcrumbs {
    flex-direction: column;
  }

  .breadcrumbs li {
    margin-right: auto;
  }

  .breadcrumbs li:nth-child(2) {
    margin-left: 20px;
  }

  .breadcrumbs li:nth-child(3) {
    margin-left: 40px;
  }

  .breadcrumbs li:nth-child(4) {
    margin-left: 60px;
  }
  /* ---------------------------------------------------
  Pagination
  --------------------------------------------------- */

  .pagination {
    margin-top: 50px;
  }
  
  /* ---------------------------------------------------
  Main Visual
  --------------------------------------------------- */

  .mv {
    height: 35vh;
  }

  /* ---------------------------------------------------
  Section-Common
  --------------------------------------------------- */

  .section {
    margin-bottom: 70px;
  }

  .bottom-button {
    margin-bottom: 70px;
  }

  /* ---------------------------------------------------
  Section-Novels
  --------------------------------------------------- */

  .novel-item {
    margin-bottom: 50px;
  }

  .novel-status {
    text-align: center;
  }

  .novel-episode-list {
    flex-direction: column;
    text-align: center;
  }

  .novel-episode-list p:nth-child(2) {
    width: 100%;
    text-align: center;
  }

  /* ---------------------------------------------------
  Section-News
  --------------------------------------------------- */

  .news-list {
    flex-direction: column;
    text-align: center;
  }

  .news-list p:nth-child(1) {
    width: 100%;
  }

  /* ---------------------------------------------------
  Footer
  --------------------------------------------------- */

  .footer-frame {
    flex-direction: column;
  }

  .footer-frame > :not(:first-child) {
    margin-left: 0;
  }

  .web-novel-platform-lists {
    margin-left: auto;
    margin-right: auto;
  }

  #footer ul {
    margin-bottom: 40px;
  }
  
}


@media screen and (max-width: 500px) {

  /* ---------------------------------------------------
  Pagination
  --------------------------------------------------- */
  .pagination-single-page .prev-link,
  .pagination-single-page .next-link {
    width: 150px;
  }
 
}


@media screen and (max-width: 470px) {

  h1 {
    height: 30px;
  }

}
