@charset "utf-8";

/* 全体的なCSS */
:root {
  --line_type: 1px solid;
  --header_height: 3rem;
}
body {
  background-color: var(--main_body_color);
  font-family: "Zen Kaku Gothic New";
}
* {
  box-sizing: border-box;
}
/* ヘッダー */
header {
  border-bottom: var(--line_type) var(--line_color);
  background-color: var(--main_body_color);
  width: 100%;
  height: var(--header_height);
  display: flex;
  position: fixed;
  z-index: 860;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  color: var(--text_color);
}
.header_menu {
  width: 100%;
  display: flex;
  text-align: center;
}
.header_menu li {
  cursor: pointer;
  width: 90%;
  padding-bottom: 5px;
  position: relative;
}
.header_menu li a {
  display: block;
  width: 100%;
}
.header_menu li:not(:first-of-type) {
  border-left: var(--line_type) var(--line_color);
}
.header_menu li::before {
  background: var(--line_color);
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
.header_menu li:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
#menu_scenario_album {
  position: relative;
}
#menu_scenario_album:after {
  content: "";
  display: block;
  transition: 0.3s;
  position: absolute;
}
#menu_scenario_album:after {
  content: "";
  display: block;
  position: absolute;
  top: 35%;
  right: 3rem;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--line_color);
  border-right: 2px solid var(--line_color);
  transform: rotate(45deg);
}
#menu_scenario_album.active:after {
  transform: rotate(135deg);
}
/* メインエリア */
main {
  display: flex;
  margin: 1rem 2rem 0rem;
  height: calc(100% - var(--header_height) - 2rem) !important;
  gap: 1rem;
}
/* 立ち絵 */
.illust_wapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.illust_back_area_container {
  width: 100%;
  position: relative;
}
.tatie_img_box {
  position: absolute;
  z-index: 5;
  height: 100%;
}
.tatie_img_box img {
  object-fit: contain;
  cursor: pointer;
  transition: 0.7s;
}
.tatie_img_box img:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
*:has(.illust_up_area) {
  height: 100%;
}
.illust_up_area {
  border: var(--line_type) var(--line_color);
  height: 80%;
  width: 95%;
  background-color: var(--square_bg_color);
  overflow: hidden;
  margin-top: 2rem;
}
.illust_up_area img {
  width: 250%;
  margin: -30% -60%;
  mix-blend-mode: multiply;
}
.illust_up_area_bg {
  background-color: var(--main_body_color);
  border: var(--line_type) var(--line_color);
  width: 95%;
  height: 80%;
  position: absolute;
  top: 3rem;
  right: 0.2rem;
  z-index: -1;
}
.header_back {
  height: var(--header_height);
  width: 100%;
}
.change_tatie_btn {
  position: absolute;
  z-index: 600;
  text-align: center;
}
.right_top {
  right: 2rem;
  top: 2rem;
}
.left_top {
  left: 2rem;
  top: 5rem;
}
.right_bottom {
  right: 5rem;
  bottom: 15rem;
}
.left_bottom {
  left: 2rem;
  bottom: 15rem;
}
.change_tatie_btn li,
.page_link {
  display: block;
  border: var(--line_type) var(--line_color);
  background-color: var(--line_color);
  color: var(--main_body_color);
  position: relative;
  height: 2.5rem;
  line-height: 2.5rem;
  width: 10rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.5s ease;
}
.change_tatie_btn li::after,
.page_link::after {
  position: absolute;
  content: "";
  border: var(--line_type) var(--line_color);
  width: 100%;
  height: 100%;
  top: 0.2rem;
  right: 0.2rem;
}
.change_tatie_btn li:hover,
.page_link:hover {
  background: var(--main_body_color);
  color: var(--line_color);
  letter-spacing: 0.15em;
}
/* 立ち絵modal */
.tatie_modal_content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: contain;
  right: 0;
  z-index: 998;
  background-color: rgba(255, 255, 255, 0.797);
}
.tatie_modal_content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tatie_modal_content .close {
  position: absolute;
  color: black;
  z-index: 999;
  top: 1rem;
  right: 1rem;
}
.close {
  position: fixed;
  top: 15px;
  right: 35px;
  color: #000000;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
}
/* 下部 */
*:has(.profile_container) {
  height: 100%;
}
.profile_container {
  width: 80%;
  margin: 0;
  height: 95%;
  margin-top: 2rem;
  border: var(--line_type) var(--line_color);
  overflow-y: scroll;
  background-color: var(--main_body_color);
}
.profile_container::-webkit-scrollbar {
  width: 7px;
  border: var(--line_color);
  height: 10px;
}
.profile_container::-webkit-scrollbar-thumb {
  background: var(--line_color);
}
.profile_container::-webkit-scrollbar-track {
  background: var(--main_body_color);
}
/* 表情差分 */
.character_face {
  width: 85%;
  margin: 0 auto;
}
.character_face img {
  width: 100%;
}
.horizon_line {
  border-bottom: var(--line_type) var(--line_color);
  margin: 0.5rem 1rem;
}
.face_image {
  box-sizing: 100%;
  display: flex;
  box-sizing: 100%;
  padding: 0;
  max-height: 250px;
  margin: auto;
}
.face_slider img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  padding: 0.15rem;
  max-height: 250px;
  cursor: pointer;
}
.slick-list {
  margin: 0 -5px;
}
.slick-slide {
  margin: 0 5px;
  max-height: 200px;
}
.arrow_box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 15px 0 0;
  position: relative;
}
.prev_arrow,
.next_arrow {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.prev_arrow {
  transform: rotate(180deg);
  margin-right: 20px;
}
.prev_arrow::before,
.next_arrow::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--line_color);
  border-top: 2px solid var(--line_color);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
}
/* 表情差分モーダル */
.face_modal {
  position: absolute;
  z-index: 150;
  color: var(--line_color);
  padding: 0 3rem;
  cursor: pointer;
}
.modal_container {
  background-color: #000000c4;
  width: 100%;
  height: fit-content;
  position: fixed;
  z-index: 899;
  top: 0;
  display: none;
}
.modal_image_container {
  background-color: #000000c4;
  width: 90%;
  height: 80%;
  inset: 0;
  margin: auto;
  position: fixed;
  z-index: 901;
  top: 0;
  overflow-y: scroll;
  padding: 0.3rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal_image_container ul {
  display: flex;
  flex-wrap: wrap;
}
.modal_image_container li {
  width: calc(100% / 5);
}
.modal_image_container li img {
  width: 100%;
  padding: 0.25rem;
}
.modal_close {
  font-size: 1rem;
  background-color: #000000ce;
  border: solid 1px #000000;
  color: #ffffff;
  top: 0rem;
  width: 100%;
  padding: 0.3rem 1rem;
  text-align: center;
  position: sticky;
  display: block;
  font-family: inherit;
  cursor: pointer;
  z-index: 999;
}
/* テキスト部分 */
.sample_voice {
  color: var(--line_color);
  font-size: 1.5rem;
  padding: 0.4rem 0;
  opacity: 0.8;
  margin: 1rem 0.8rem;
  font-weight: bold;
}
.profile_text {
  color: var(--text_color);
  padding: 1.8rem;
}

.profile_list {
  margin: 0.8rem;
}
.profile_list li {
  margin-top: 0.4rem;
  position: relative;
  padding-left: 4rem;
}
.name::before,
.gender::before,
.size::before,
.job::before,
.from_scenario::before,
.age::before {
  position: absolute;
  left: 0;
}
.name::before {
  content: "名前";
}
.gender::before {
  content: "性別";
}
.size::before {
  content: "身長";
}
.age::before {
  content: "年齢";
}
.job::before {
  content: "職業";
}
.from_scenario::before {
  content: "出身シ";
}
/* 通過シナリオ一覧 */
.scenario_album {
  display: none;
  background: var(--main_body_color);
  top: var(--header_height);
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 950;
  padding-bottom: 10rem;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.header::-webkit-scrollbar {
  display: none;
}
.album_h2 {
  margin: 2rem auto 1rem;
  text-align: center;
  color: var(--line_color);
  font-size: 1.2rem;
}
.album_text {
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text_color);
}
.scenario_album_box {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 3rem;
  filter: drop-shadow(0px 3px 3px #00000053);
}
.scenario_album_item {
  width: calc(100% / 2);
  padding: 0.75rem;
}
@media screen and (min-width: 1150px) {
  .scenario_album_item {
    width: calc(100% / 3) !important;
    padding: 0.75rem;
  }
}
@media screen and (min-width: 2000px) {
  .scenario_album_item {
    width: calc(100% / 4) !important;
    padding: 0.75rem;
  }
}
.album_card {
  width: 100%;
  background-color: var(--main_body_color);
  border-radius: 10px;
  border: var(--line_type) var(--line_color);
  transition: ease 0.5s;
  overflow: hidden;
}
.album_card:hover {
  opacity: 0.7;
}
.album_image_box {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  object-fit: contain;
  transition: ease 0.5s;
}
.album_image_box img {
  transition: ease 0.5s;
  height: 100%;
  object-position: 0% 0%;
  border-radius: 10px 10px 0 0;
  object-fit: contain;
  overflow: hidden;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}
.album_title_box {
  height: 3rem;
  line-height: 3rem;
  font-size: 0.9rem;
  overflow: hidden;
  padding: 0 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text_color);
}
.album_card:hover .album_image_box img {
  transform: scale(1.2);
}
/* お気に入りイラスト */
.illust_album > .album_h2 {
  font-weight: bold;
  letter-spacing: 0.8rem;
}
@scope (.illust_album) {
  .scenario_album_item {
    width: calc(100% / 2) !important;
    padding: 0.75rem !important;
  }
}
.illust_album .album_card {
  position: relative;
}
.illust_hover_item {
  background-color: var(--main_body_color);
  color: var(--line_color);
  opacity: 0.9;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  z-index: 999;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  font-weight: bold;
}
.album_card:hover .illust_hover_item {
  opacity: 0.9;
  visibility: visible;
}
.netabare_img,
.sensitive_img {
  position: relative;
}
.netabare_img > img {
  filter: blur(1px);
}
.sensitive_img > img {
  filter: blur(15px);
}
.netabare_img::after,
.sensitive_img::after {
  content: "ネタバレ注意";
  position: absolute;
  z-index: 50;
  top: 0.2rem;
  width: 90%;
  left: 0;
  padding: 0.5rem;
}
.netabare_img::after {
  content: "ネタバレ注意";
}
.sensitive_img::after {
  content: "センシティブな画像";
}
.twitter_share {
  position: absolute;
  z-index: 880;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: var(--line_type) var(--main_body_color);
  background-color: var(--line_color);
  color: var(--main_body_color);
  border-radius: 50%;
}
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined");

.twitter_share::after {
  font-family: "Material Symbols Outlined";
  content: "share";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
  margin-left: 4px;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  top: 50%;
  right: 50%;
  margin: 0.5rem;
}
.twitter_share:hover {
  opacity: 0.7;
}
