﻿@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;600&family=Open+Sans:wght@400;500&family=Pinyon+Script&family=Zen+Kaku+Gothic+New:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Kaisei+Opti:wght@400;500;700&family=Noto+Serif+JP:wght@200..900&family=Yomogi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

html {
  font-size: 62.5%;
 scroll-behavior: smooth;
box-shadow: inset 0 0 30px rgba(167, 141, 106, 0.28);
}

body {
  background-color: #F4F2EF;
  box-sizing: border-box;
  font: 500 1.6rem/2.65rem "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  color:  #33393F;
 word-wrap: break-word;
}


 a {
		color: #4D6E93;
  cursor: pointer;
		transition: 0.35s;
}


a:hover {
		color: #DCCB92;
	}



.em_2 {
    font-weight: bold;
  background: linear-gradient(transparent 50%, #4D6E9380 50%);
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 10;
background: #1E2A3C;
background-image: url(../img/ao_bg.png);
  filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.28));
	border:double 6px #A48A66; 
  box-sizing: border-box;
}


header .logo {
  margin-top: 20px;
  width: 45px;
    height: 45px;
  margin-left: 40px;
}

/* 共通スタイル */
.frame {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;   /* headerの高さに合わせる */
  object-fit: contain;
  pointer-events: none; /* クリックの邪魔をしないように */
}

/* 左右それぞれ配置 */
.frame.left {
  left: 0;
}
.frame.right {
  right: 0;
}

.menu {
  display:flex;
  gap:25px;
  list-style:none;
  margin:0;
  padding:15px;
  margin-top: 8px;
  justify-content:flex-end; /* 右寄せ */
  padding-right: 55px;
  z-index: 20;
}
.menu li {
  position:relative;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  font-size: 2rem;
}
.menu li a {
  color:#A48A66;
  text-decoration:none;
  padding:8px 5px;
  display:block;
  cursor:pointer;
}


.menu_subitem {

  text-align: center;

}
.menu_subitem {

  text-align: center;

}

.has-submenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 0px;
  margin-bottom: 4px;
  cursor: pointer;
  margin-left: 10px;
  color:#A48A66;
}
.has-submenu::after {
  display: block;
  font-family: "Material Symbols Rounded";
char
  font-size: 20px;
  content: "\e313";
  transition: all 0.3s ease;
  margin-left: -10px;
  margin-top: 5px;
}

.has-submenu.open::after {
  transform: rotate(180deg);
}

.has2 {
  padding-top: 4px;
}

.submenu {
  display: none;

}

.submenu.active {
  display: flex;
  flex-direction: column;
}

.header {
  position: fixed;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  font-size: 3.5rem;
  color:#A48A66;
  z-index: 30;
}

.header p {
  padding:15px;
  margin-top: -50px;
  margin-left: 80px;
}


h1 a {
  color: #33393F;
}

.header_image {
		width: 100%;
 margin-top : -30px;
margin-bottom: 20px;
  height: 400px;
  position: relative;
}

.header_image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 10px;
  margin-top : 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.28);
  border-radius: inherit; /* 丸角と合わせたい場合 */
  z-index: -1;
}

.header_image > img{
		width: 100%;
		object-fit: cover;
		object-position: 50% 30%;

	}

.img_top {
margin-top:192px;
}




	main{
	display: flex;
  flex-direction: column;
  margin-left: 23%;
  margin-right: 6.3%;
  
  height: auto;
		position: relative;
		padding: 120px 0 30px 0;
top : 0;
		background-color: #EFE7DD;
box-shadow: inset 0 0 20px rgba(167, 141, 106, 0.28);
  filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.28));

	}

	section{
		width: 100%;
	}


.sidebar {
  position: fixed;
  top: 90px;
  left: 4.5%;
  width: 170px;
  height: auto;
  color: #33393F;
  padding: 20px 15px 10px;
  background-color: #2A384A;
  filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.38));
  z-index: 1;
}

/* ▼の部分 */
.sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 75px solid #2A384A;
}


/* アイコン画像 */
.bookmark-point img {
  position: absolute;
  left: 42.5%;
  bottom: -40px;  /* ▼の中に入るように調整 */
  width: 32px;
  height: auto;
  pointer-events: none; /* クリックの邪魔をしないように */
}



.menu2 ul {
  padding: 0;
  list-style: none;
  text-align: center;
  top: 0;
  margin-left: 2px;
  margin-top: 5px;
}

.menu2 ul li {
  display: block;
  padding: 5px 0;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  font-size: 1.2em;
}

.menu2 ul li a {
  text-decoration: none;
  color:#A48A66;
}



h2.h2_title {
  display: flex;
  padding: 10px 48px;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  letter-spacing: 0.1em;
  color: #33393F;
  margin-bottom: 63px;
  margin-top: -10px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.h2-icon {
  display: block;
  margin: 0 auto 10px;
  margin-top: 20px;
  width: 50px;
  height: auto;
  pointer-events: none; /* クリックの邪魔をしないように */
}

h2.h2_title::before {
  content: "";
  display: inline-block;
  top: 80%;
  width: 15%;               /* 線の長さ */
  height: 1px;               /* 線の太さ */
  background-color: #33393F; /* 銀系グレーでアンティーク感 */


}

h2.h2_title::after {
  content: "";
  display: inline-block;
  top: 80%;
  width: 15%;               /* 線の長さ */

  height: 1px;               /* 線の太さ */
  background-color: #33393F; /* 銀系グレーでアンティーク感 */


}


.contents h3, 
.novel_contents h3{
	position: relative;
        display: inline-block;
		margin: 0 0 0.6em 0;
		padding: 0.25em;
                 padding-right: 2em;
		font-size: 1.3em;
		font-weight: 700;
		font-family: "Noto Serif JP", serif;

		border-bottom: 1px solid #33393F;
	}


/* 星アイコン */
.title-icon {
  position: absolute;
  right: -25px;      /* 文字と線の右端ギリギリに配置 */
  bottom: -10.5px;     /* 線の高さにぴったり合わせる */
  display: inline-block;
}

.title-icon img {
  width: 24px;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
}



.novel-lists{
display:flex;
padding: 0 3em 0 12.3em;
gap:30px;
flex-wrap:wrap;
margin-top:6px;
}
.list-block{
min-width:180px;
}
.list-block b{display:block;margin-bottom:6px;margin-left:-35px}
.list-block ul{list-style:disc;padding-left:0px}
.list-block li{font-size:14px;margin-bottom:4px}

h4 {
  display: flex;
		font-family: "Noto Serif JP", serif;
  font-weight: 700;
  align-items: center;
  gap: 10px;
		padding: 0.25em;
		font-size: 1.1em;
		margin: 2.0em 0 0.5em 0;
}
h4::before {
  display: inline-block;
  content: "";
  width: 15px;
  height: 1px;
  background-color: #33393F;
}



p {

}

h6 {
    margin-block: 2rem 2.5rem;
    padding-block-start: 3rem;
    padding-inline-start: 0.2rem;
    font: 400 2.3rem/1 "Hina Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
    text-align: center;
    letter-spacing: 0.2rem;
    line-height: 1.2;
}

.fc_hr {
  width:100%;
margin-top: 30px;
  text-align: center;
}

.fc_hr img {
  width:500px;
}

ul.diamond {

      margin-left: -22px; 


  li {
    &::before {
      content: "✦";
color: #1E2A3C;
      position: absolute; 
display: inline-block;
font-size: 0.95em;
      left: -18px; 
    }
  }
}

ul {

          margin-left: -35px; 
}

  li {
    list-style: none;
    position: relative;
    padding: 0 0 0 0px;
  }

.contents {
  position: relative;
		padding: 0 3em 0 3em;
		margin: 2.5em 0;
  margin-bottom: 60px;
    line-height: 1.6;
}

.contents2 {
  position: relative;
		padding: 0 3em 0 3em;
		margin: 2.5em 0;
  margin-bottom: 60px;

}

.waku {
	border:double 4px #A48A66; 
		padding: 2.5em 3em 3.5em 3em;
  box-sizing: border-box;
}

.novel_contents {
		padding: 2.5em 6em 3.5em 6em;
    line-height: 1.6;
}


.novel_contents2 {
		padding: 2em 3em 3.5em 3.5em;
}


.title {
		padding: 0 3em 0 3em;
		margin: 2.5em 0 0 0;
                    
}

.prf_btns {
  display: flex;          /* 横並び */
  flex-wrap: wrap;
  gap: 10px;              /* ボタン同士の間隔 */
  margin: -10px 0 0 0;
}

.prf_btns a {
  display: inline-block;
  padding: 5px 28px 5px 16px;
  border: 1px solid #A48A66;
  color: #A48A66;
  text-decoration: none;
  font-size: 12px;
  position: relative;
}

/* 矢印をCSSで作る */
.prf_btns a::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid #A48A66;
  border-bottom: 1px solid #A48A66;
  transform: translateY(-50%) rotate(-45deg); /* ＞ */
}

/* 共通スタイル */
.c_frame {
  position: absolute;
  object-fit: contain;
  pointer-events: none; /* クリックの邪魔をしないように */
}

.c_frame img {
  width:45px;
  height: 45px; 
}

.c_frame.topleft {
  top: 0; left: 3em;
}
.c_frame.topright {
  top: 0; right: 3em;
}
.c_frame.bottomleft {
  bottom: 0; left: 3em;
}
.c_frame.bottomright {
  bottom: 0; right: 3em;
}

/* 共通スタイル */
.c_frame2 {
  position: absolute;
  object-fit: contain;
  pointer-events: none; /* クリックの邪魔をしないように */
}

.c_frame2 img {
  width:45px;
  height: 45px; 
}

.c_frame2.topleft2 {
  top: 0; left: 0;
}
.c_frame2.topright2 {
  top: 0; right: 0;
}
.c_frame2.bottomleft2 {
  bottom: 0; left: 0;
}
.c_frame2.bottomright2 {
  bottom: 0; right: 0;
}

.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1em;
  font-size: 1.3rem;
  color: #33393F;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  border-bottom: 1px solid #33393F;
}

.accordion-summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2A384A;
  border-bottom: 2px solid #2A384A;
  transform: rotate(45deg); /* ▼（∨） */
  transition: transform 0.3s ease;
  margin-left: 8px;
}

/* 開いたとき → Λ（∧） */
.accordion01.open .accordion-summary::after {
  transform: rotate(-135deg);
}


.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 15px;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.accordion-content dl.data {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 15px;
  width: calc(100% - 20px - 15px);
  margin: 0;
  margin-top: 5px;
  margin-bottom: 18px;
    font:400 14px/23px 'Lato', sans-serif;
}


.accordion-content dl.data dt,
.accordion-content dl.data dd {
  padding: 0;
  margin: 0;
  border: 0;
  margin-bottom: -5px;
}

.accordion-content dl.data dt {
  width: 100px;
background: #2A384A;
color: #A48A66;
  border-radius: 5px;
  text-align: center;
}

.accordion-content dl.data dd {
  width: calc(100% - 100px - 15px)
}

.accordion-content dl.data dd ul {
  padding-left: 25px
}

.accordion-content dl.data dd ul.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.accordion-content dl.data dd ul.tags li {
  padding: 0 7px;
  border: 2px solid #29486250;
  border-radius: 2px
}

.accordion-content h3 {
margin-top: -40px;
  border-bottom: none;
}

.accordion-content .tet {
margin-bottom: 80px;
}


.footer {
position: relative;
background: #1E2A3C;
background-image: url(../img/ao_bg.png);
	border-top:double 6px #A48A66; 
  margin-top: 80px;
  left: -8px;
  bottom: -10px;
		width: 100%;
color: #A48A66; 
		padding: 1em 0.5em;
		text-align: center;
}

.footer img {
  margin: 0 auto 10px;
  margin-top: 10px;
  width: 50px;
  height: auto;

}

#page_top {
  content: "";
width: 40px;
height: 90px;
position: fixed;

right: 20px;
bottom: 10px;
background: url(../img/topege.png);
  z-index: 1;
}




	ul.info{
		margin: 1.5em 0;
  margin-left: -35px;
	}
	ul.info li{
		margin: 0.5em 0;
	}
	ul.info b{
  font-family: 'Noto Serif JP', serif;
		display: inline-block;
		width: 7.5em;
		margin-right: 0.5em;
		border-right: #33393F 1px solid;
	}

	ul.info img {
		width: 200px;
    vertical-align: bottom;
	}

	.small{
		font-size: 0.75em;
	}

	button{
		padding: 0.5em 1em;
		background-color: #FFFFFF;
		border: #33393F50 2px solid;

		color: #33393F;
		cursor: pointer;
		transition: 0.2s;
		font-size: 0.8em;
	}
	button:hover{
		background-color: rgba(0,0,0,0);
	}


/* サブメニュー初期状態 */
.info-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-left: -40px;
  transition: max-height 0.8s ease, opacity 0.4s ease;
  list-style: disc;
}

/* 開いたとき */
.info-submenu.active {
  max-height: 500px;
  opacity: 1;
}

/* Databaseのボタン */
.info-submenu-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

/* 基本スタイル（親アコーディオン） */
.accordion {
  max-width: 750px;
  width: 100%;
  border-top: 1px solid #33393Fb3;
}

.accordion-item {
  border-bottom: 1px solid #33393Fb3;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 5px 20px;
  padding-top: 20px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color:#33393F;
  font-weight: 500;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: #DCCB92;
}

/* 左側矢印 */
/* 左側の線矢印 */
.accordion-header .icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: -20px;
  margin-top: -3px;
  border-right: 2px solid #33393F;
  border-bottom: 2px solid #33393F;
  transform: rotate(-45deg); /* 初期：＞ */
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* 開いたとき：下向き ∨ */
.accordion-header .icon.rotate {
  transform: rotate(45deg); /* ＞ → ∨ */
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 10px;
  color:#33393F;
  font-size: 14px;
  line-height: 1.6;
}

.accordion-content.open {
  opacity: 1;
  padding: 10px 10px;
}

/* 子アコーディオン */
.accordion.child .accordion-header {
  font-size: 14px;
  font-weight: 400;
  padding-left: 20px;
  color:#33393F;
}

.accordion.child .accordion-header:hover {
  color: #DCCB92;
}

/* ------------------------
   レスポンシブ調整
-------------------------*/

/* 幅が狭くなったら文字サイズ・パディング調整 */
@media (max-width: 700px) {
  .accordion-header {
    font-size: 15px;
    padding: 15px 8px 15px 8px;
    padding-left: 15px;
    margin-bottom: -20px;
  }

  .accordion.child .accordion-header {
    font-size: 13px;
    padding-left: 16px;
  }

.accordion-header .icon {
  margin-left: -15px;
  margin-top: -3px;
}

  .accordion-content {
    font-size: 13px;
    line-height: 1.5;
    padding: 8px;
  }

  .accordion-content p {
    padding-top: 15px;
  }
  .accordion-content h4 {
    padding-top: -12px;
  }

}

dl.up {
    overflow: hidden;
    zoom: 1;
}
dl.up dt {
  font-family: 'Noto Serif JP', serif;
    margin-bottom: 5px;
    padding-bottom: 5px;
  margin-left: 5px;
    width: 150px;
    float: left;
    clear: both;
    font-weight: bold;
}
dl.up dd {
    margin-bottom: 5px;
    padding: 0 0 5px 110px;
}

dl.up dt::after {
  display: inline-block;
  content: "";
  width: 20px;
  height: 1px;
  margin-left: 25px;
  margin-bottom: 5px;
  background-color: #33393F;
}

.info-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width:100%;
  margin: 20px auto 20px;
}

/* 右側テキスト部分 */
.info {

  margin: 0; /* auto の余白は不要 */

}

.info img {
width:100%;
}

.info .ribbon {
width:55%;
}

.profile_img {
width:100%;
  max-width: 300px; /* 画像の幅を制御 */
  height: auto;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 1.2em;
  font-weight: bold;
  font-family: 'Noto Serif JP', serif;
  color: #A48A66;
   margin-left: 20px;
  position: relative;
    display: inline-flex;
}
.ribbon {
  --r: .8em; /* control the cutout */

  align-items: center;
  border-block: .5em solid #0000;

  padding-inline: 1.5em calc(var(--r) + 1.25em);
  line-height: 1.8;
  clip-path: polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--r)) calc(100% - .5em),100% 50%,calc(100% - var(--r)) .5em);
  background:
   border-box,
   #2A384A padding-box; /* the color  */
  width: fit-content;
}


/* ✦アイコンの色など */
.icon {
  position: absolute;
   margin-top: 13px;
   margin-left: -2px;
  color: #A48A66; /* 金色アクセント */
  font-size: 5.3rem;
  z-index: 1;
}


.button_back a {
    display: flex;
  margin: 10rem 0.8rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-decoration: none;
    max-width: 120px;
    padding: 10px 25px;
    transition: 0.3s ease-in-out;
		font-weight: 700;
		font-family: "Bodoni Moda", serif;
font-size:16px;
}

.page_buttons {
   display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
margin-top: -5.5em;
margin-bottom:-80px;
}
.prf_img {
	position: relative;
		width: 150px;
	height: 150px;
margin-left: 25px;
margin-top : 40px;
margin-bottom : 45px;
}

.prf_img img {
  width:100%;
  height:100%;
  margin:0;

  border:2px solid #A48A66;
border-radius: 0%;
}

.prf_img:before {
    content:'';
	position: absolute;
		width: 140px;
	height: 140px;
    left: 5px;
    top: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  border:1px solid #A48A66;
  z-index: -1;
}
.novel_img {
   display: flex;
	position: relative;
		width: 100%;
margin-left: 25px;
margin-top : 40px;
margin-bottom : 45px;
}

.novel_img img {
  width:100px;
  height:100px;
  margin:0;

  border:2px solid #A48A66;
border-radius: 0%;
}

.novel_img:before {
    content:'';
	position: absolute;
		width: 90px;
	height: 90px;
    left: 5px;
    top: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  border:1px solid #A48A66;
  z-index: -1;
}

.novel_contents2 h3 {
	position: relative;
        display: inline-block;
		margin: 0.5em 0 2.em 0;
                margin-left: 10px;
		font-size: 1.3em;
		font-weight: 700;
		font-family: "Noto Serif JP", serif;
		border-bottom: 1px solid #A48A66;
                padding-left: 1.1em;
                 padding-right: 2em;
}


.novel_contents2 h3 img {
  width: 24px;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
  border: none;
}


.first {
  color: #A48A66;
}

/* カプ名（右寄せ）*/
.cap-name{
right:12px;
top:12px;
font-size:13px;
font-family: "Noto Serif JP", serif;
font-weight:400;
text-align:right;
}


.contents2 h3 {
	position: relative;
	display: inline-block;
		margin: 0.5em 0 2.5em 0;
                margin-left: 10px;
		font-size: 1.3em;
		font-weight: 700;
		font-family: "Noto Serif JP", serif;
		border-bottom: 1px solid #A48A66;
                padding-left: 1.1em;
                 padding-right: 2em;
}


.contents2 h3 img {
  width: 24px;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
  border: none;
}


/* 折り畳みボックス */
.details2 details summary {
    list-style: none;
    margin : 8px 0;
}

details summary::-webkit-details-marker {
    display: none;
}

details p {
 animation: fadeIn 0.5s ease;
}

summary {
    cursor: pointer;
}


.banner-wrapper {
  display: flex;
  gap: 15px;              /* バナー同士の余白 */
  flex-wrap: wrap;        /* スマホでは折り返し */
  margin-top: 20px;
}

.banner-wrapper img {
  width: 100%;   /* バナーの幅（揃える） */
  height: auto;   /* バナーの高さ（揃える） */
  object-fit: cover; /* 画像が伸びないように調整 */
  display: block;
}

.toc {
  margin: 20px 0;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border: double 4px #33393F;
  overflow: hidden;
}

.toc-toggle {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 10px 15px 10px 35px; /* 左に余白を追加 */
  font-size: 16px;
  cursor: pointer;
  position: relative;
color:#33393F;
}

/* 初期状態：右向き ＞ */
.toc-toggle::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 45%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #33393F;
  border-bottom: 2px solid #33393F;
  transform: translateY(-50%) rotate(-45deg); /* ＞ */
  transition: transform 0.3s ease;
}

/* 開いたとき：下向き ∨ */
.toc-toggle.active::before {
  transform: translateY(-50%) rotate(45deg); /* ＞ → ∨ */
}



/* 目次リスト */
.toc-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.4s ease;
  opacity: 0;
  padding: 0 15px;
  margin: 0;
  list-style: none;
}

.toc-list.active {
  max-height: 650px;
  opacity: 1;
}

/* メイン項目 */
.toc-list > li {
  margin: 8px 0;
}

.toc-list li a {
  text-decoration: none;
}

/* サブ項目 */
.toc-list ul {
  margin: 6px 0 6px 15px;   /* インデント */
  padding-left: 10px;       /* 余白 */
  border-left: double 4px #33393F; /* 左に線 */
  list-style: none;
  font-size: 14px;          /* 少し小さめ */
}

.toc-list ul li {
  margin: 5px 0;
}

.txt p {
    font: 500 1.8rem/1 serif;
  padding: 2em 0;
  margin: 0;
}

.grid {
  grid-template-columns: 1fr;
  grid-template-areas: "mainvisual" "left" "right";
}

.worklist {
  padding: 20px 0;
}

.worklist_item {
    display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
}
.worklist_item .worklist_img {
  position: relative;
  width: 70%;
  height: 30vh;
}
.worklist_item .worklist_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.worklist_item .worklist_body {
  padding-top: 80px;
  position: relative;
  width: 80%;
}
.worklist_item .worklist_body .worklist_title {
  position: absolute;
  top: 10px;
  right: 0;
  width: calc(100% + 20px);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
}

.charas {
  margin-top:2em;
  margin-bottom:2em;
  display: flex;
  flex-wrap: wrap;
  width: 100%;

}

.chara {
  display:block;
  margin: 15px 8px 8px 9px;
}

.chara_img img {
  height: 106px;
  width: 100px;
  border: 4px solid #fff;
  border-bottom: 15px solid #fff;
  box-shadow: 0 0 5px 1px #ccc;
  object-fit: cover;
  display: flex;
}

/*アイコンの下の名前*/
figcaption {
  padding:0;
  margin-top: 3px;
  font-size:11px;
  text-align:center;
  font-weight: bold;
  text-shadow: 1px 0 0 #fff, 
                0 1px 0 #fff, 
                -1px 0 0 #fff, 
                0 -1px 0 #fff;
}

.chara_img a {
  margin-bottom: -3px;
}

.charas a {
  display: inline-block;
  transition: all 0.3s ease;
}

.charas a:hover {
  opacity: 0.6;
  transform: translateY(-3px);
}

.face {
  margin-top:3.8em;
  margin-bottom:2em;

    display: flex;
  flex-wrap:  wrap; 
}

/*アイコン*/
.face figure {
  width:150px;     /*アイコンの横幅*/
  height:150px;    /*アイコンの縦幅*/
margin-right: 20px;
margin-left: 0;
margin-bottom: 20px;
}

.face figure img {
  width:100%;
  height:100%;
  margin:0;
  border:2px solid #fff;
  border-radius:0%;    /*アイコンの角丸*/
}

.details {
  color: #33393F;
  line-height: 2;
  border: 2px solid #33393F60;
background: #FFF;
  width: 600px;
    padding: 1em 1em 1em 2em;
  margin: 3em 0 0 0;
border-radius: 5px 5px 5px 5px;
font-weight: bold;


  &__summary {
    position: relative;
    display: block;
    background: #FFF;
    cursor: pointer;
    margin: 0;

    &::-webkit-details-marker {
      display: none;
    }
    &::before {
      display: block;
      content: "";
      box-sizing: border-box;
      position: absolute;
      top: calc(50% - 6px);
      right: 16px;
      width: 6px;
      height: 6px;
      border: 6px solid transparent;
      border-left: 6px solid #287E39;
      transition: all 0.4s ease-out;
      transform-origin: 3px 6px;
      transform: rotate(90deg);
      .details[open] & {
        transform: rotate(-90deg);
      }
    }
  }
  &__content {
    overflow: hidden;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    > * {
      margin: 0;
      padding-top: 16px;
      &:last-child {
        padding-bottom: 16px;
      }
    }
  }
}

.details a {
    display: inline-block;
color: #33393F;
  text-decoration: none;
  transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}

.details a:hover {
  transform: translateY(-2px);
}
 

.details ul {
    list-style-type: decimal;
    margin: 0;
    padding: 0 1.2em;
    overflow: hidden;
padding-top : 5px;
  list-style: none;
color: #33393F;

}

.details li {
  position: relative;
    margin-top: 1px;
  left: 0.7em;
}

.details_subitem {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 2px solid #33393F60;

}


.p-question__accordion-list {
  max-width: 500px;
  border-radius: 5px;
    margin-left: 0px;
    margin-top: -5px;
  border: 2px solid #33393F60;
}

.p-question__accordion-list:not(:first-child) {
    margin-top: 32px;
}

.p-question__accordion-title {
  cursor: pointer;
  position: relative;
  padding: 15px 50px 15px 25px;
  background-color: #FFF;
color: #33393F;
  font-weight: 600;
}

.p-question__accordion-title::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 44%;
  right: 30px;
  transform: translateY(-50%) rotate(135deg);
  width: 10px;
  height: 10px;
  border-top: 3px solid #33393F;
  border-right: 3px solid #33393F;
  transition: .3s;
}

.p-question__accordion-text {
  display: none;
  margin-left: 0;
  padding: 25px 30px 15px 25px;
  background: rgba(255, 255, 255, 0.5);
}

.p-question__accordion-box {

  padding: 0em 1em 2em 1em;
  position: relative;
}
.open {

} 
.open::after {
  transform: rotate(-45deg);
}

.chara_datas {
  display: grid;
  grid-template-columns:1fr 1fr;
}

.chara_data_img {
text-align: center;
}

.chara_data_img img {
max-width: 100%;
width: 589px;
}

dl.chara_data {
  display: flex;
    flex-wrap: wrap;
width: 100%;
}

dl.chara_data dt {
text-align: center;
padding: 3px 5px;
margin: 5px;
width: 150px;
border-radius: 5px;
background: #2A384A;
color: #A48A66;
font-weight: 700;
}

dl.chara_data dd {
width: 150px;
margin-left: 15px;
padding: 8px 5px;
}

input{
  display: none;
}
.bl_3daysSearchBlock{
  margin-bottom: 60px;
}
.bl_3daysSearchBlock_inner{
  width: 100%;
  max-width: 1160px;
  margin-top: 60px;
}
.bl_3daysSearchBlock_ttl{
  text-align: center;
  margin: 55px 0;
}
.bl_3daysSearchBlock_ttl_main{
  font-size: 27px;
  color: #0073aa;
  margin-bottom: 15px;
  font-weight: bold;
  letter-spacing: 0.15em;
}
.bl_3daysSearchBlock_ttl_sub{
  font-size: 16px;
  color: #0073aa;
  letter-spacing: 0.2em;
}
.el_searchResult{

  color: #33393F;
}
.js_target{
  display: none;
}
.js_target.js_selected{
  display: block;
}
.bl_selectBlock label{
  display: inline;
}
.bl_selectBlock input{
}
.bl_selectBlock_check label .el_checkbox{
  position: relative;
  top: 3px;
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #33393F;
}
.bl_selectBlock_check label .el_checkbox:after{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  right: 4px;
}
.bl_selectBlock_check input[type=checkbox]:checked + label .el_checkbox:after{
  background-color: #294862;
}
.el_searchResult{
  margin-bottom: 20px;
}
.bl_selectBlock{

  padding: 15px;
  box-sizing: border-box;
  margin-bottom: 30px;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.bl_selectBlock_wrapper_wrapper{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}
.bl_selectBlock_check label{
  cursor: pointer;
}
.bl_selectBlock_ttl{
  width: 185px;
  color: #33393F;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
@media screen and (max-width: 765px){
  .bl_selectBlock_ttl{
    width: 100%;
    margin-bottom: 20px;
  }
}
.bl_selectBlock_content{
  width: calc(100% - 185px);
}
@media screen and (max-width: 765px){
  .bl_selectBlock_content{
    width: 100%;
  }
}
.bl_searchResultBlock{
  font-size: 14px;
 padding: 15px;
}
.bl_searchResultBlock_item{
  padding: 10px 0;
  box-sizing: border-box;
}
.bl_selectBlock_check{
  display: inline-block;
  margin-right: 25px;
  display: inline-block;
  margin-bottom: 20px;
}
.bl_selectBlock_check:last-child{
  margin-right: 0;
}
.bl_selectBlock_release{
    width: 220px;
  text-align: center;
  color: #33393F;
  border:1px solid #33393F;
  padding: 15px 0;
}
.js_release{
  cursor: pointer;
}


.hr {
text-align: center;
margin: 7.5em auto;
margin-bottom: 2em;
max-width: 400px;
  pointer-events: none; /* クリックの邪魔をしないように */
}
.hr img {
width: 100%;
}

.world-img img {
margin-top: 10px;
width: 600px;
height: auto;
}
@media screen and (max-width: 765px){
.world-img img {
margin-top: 10px;
width: 100%;
height: auto;
}

.txt p {
    font: 500 1.6rem/1 serif;
  padding: 2em 0;
  margin: 0;
  line-height: 1.6;
}
}

.tab-container {

  margin-top: -45px;
  position: relative;
}

/* 🌿 タブボタン部分（ラベル風） */
.tab-buttons {
  display: flex;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 0;
}

.tab-button {
  position: relative;
  background: #EFE7DD; /* コンテンツと馴染む背景 */
  border: 1px solid #A48A66;
  border-bottom: none; /* 下は消して繋がる感じに */
  padding: 6px 18px;
  color: #8D7B62; /* 少しくすんだ文字色 */
  font-size: 1.1em;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.4s ease;

}

.tab-button:hover {
  color: #A48A66;
  background: #F4ECE0; /* ふわっと明るく */
}

/* 💫 アクティブなタブ */
.tab-button.active {
  background: #F4F2EF; /* 一段明るい白寄りベージュ */
  color: #A48A66;
  border-bottom: 1px solid #FDFBF8; /* 背景と一体化させて境界を消す */
}

/* 🌸 コンテンツ部分 */
.tab-contents {
	border:double 4px #A48A66; 
  position: relative;
  overflow: hidden;
  transition: height 0.6s ease; /* ← 高さのアニメーション */
}

/* 🌙 内容のアニメーション */
.tab-content {
  opacity: 0;
  transform: translateY(10px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
		padding: 2.5em 3em 3.5em 3em;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;

}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
		padding: 2.5em 3em 3.5em 3em;
}

.novel_p {
margin-left:10px;
margin-bottom: 60px;
}



.novel_list {
  columns: 2 auto;
}
.novel_list li {
  display: block;
  line-height: 2.0;
}

.novel_short {
  list-style: none;
}
.novel_short li {
  display: inline;
  word-wrap: break-word;
  color: #7e7e7e;
  word-break: initial;
  line-height: 2.0;
  padding-right: 5px;

}
.novel_short li:not(:last-child):after {
  content: "|";
  padding-left: 10px;
  opacity: .5;
  position: relative;
  top: -1px;
}

@media screen and (max-width: 765px){
.novel_list {
  columns: 1 auto;
}
}

#spotlight {
  margin:0;
margin-left: -8px;
  box-sizing: border-box;
}

