@charset "utf-8";
body {
  background-color: rgb(245, 243, 231);
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #efeef4;
  background-image:
    linear-gradient(0deg, transparent 31px, #333 32px),
    linear-gradient(90deg, transparent 31px, #333 32px);
  background-size: 32px 32px;
  background-attachment: fixed;
}
.modal_scroll_stop {
  overflow: hidden !important;
}
:root {
  --flex_gap: 0.5rem;
  --flex_col: 2;
  --modal_text_width: 30%;
  --modal_text_min_height: 3rem;
}
.gallery_container {
  display: flex;
  gap: var(--flex_gap);
  flex-wrap: wrap;
  height: 100%;
  margin: 8rem auto 5rem;
}
.gallery_item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: calc(
    (100% - (var(--flex_gap) * (var(--flex_col) - 1))) / var(--flex_col)
  );
  cursor: pointer;
  transition: 0.2s ease;
}
.gallery_item:hover {
  opacity: 0.7;
}
.gallery_item a,
.gallery_card,
.gallery_image_box {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
h4 {
  margin: 0;
  font-size: 1.2rem;
}
/* モーダル */
#illustModal {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: scroll;
  top: 0;
  left: 0;
  background-color: #0000005a;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.illust_modal_content {
  display: flex;
  width: 100%;
  margin: 0 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 92% !important;
  flex-direction: column;
  overflow: hidden;
}
.illust_character_links {
  position: absolute;
  padding: 1rem;
  padding-top: 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  box-sizing: border-box;
  background-color: rgba(240, 248, 255, 0.454);
  left: 0;
  backdrop-filter: blur(7px);
  border: 1px solid #ffffff95;
  height: 100%;
  width: 100%;
  height: 80%;
  bottom: 0;
  transform: translateY(92%);
  transition: 0.5s ease;
  z-index: 999;
}
.up_icon {
  position: fixed;
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  top: -1.5rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #000;
  z-index: 50;
  transition: 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.up_content {
  transform: translateY(0%);
}
.up_content .up_icon {
  transform: rotate(180deg);
}
.character_link_box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex_gap);
  height: 100%;
  overflow-y: scroll;
  align-content: flex-start;
}
.character_link_box li {
  --flex_col: 3;
  width: calc(
    (100% - (var(--flex_gap) * (var(--flex_col) - 1))) / var(--flex_col)
  );
}
*:has(.modal_img) {
  height: 100%;
}
.modal_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.imag_wrap {
  box-sizing: border-box;
}
li,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chractor_link:hover {
  opacity: 0.7;
}
.chractor_link {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #000;
}
.icon_img {
  width: 100%;
}
.modal_close {
  position: fixed;
  top: 0rem;
  right: 1rem;
  font-size: 4rem;
  text-decoration: none;
  color: rgb(193, 193, 193);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.264);
  z-index: 999;
}
.netabare_img img {
  filter: blur(5px);
}
.sensitive_img img {
  filter: blur(30px);
}
.netabare_img,
.sensitive_img {
  position: relative;
}
button {
  background: none;
  border: none;
}
.netabare_img::before,
.sensitive_img::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(0px);
  z-index: 800;
}

/*====================================================================
スライド
====================================================================*/
.image_slide_wrap {
  display: flex;
  height: 100%;
  width: 100%;
}
.sliderArea,
.draggable {
  box-sizing: border-box !important;
}
.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
.sliderArea.w300 {
  max-width: 300px;
}
.slick-slide {
  margin: 0 5px;
}
.slick-slide img {
  width: 100%;
  height: 100%;
}
.slick-prev,
.slick-next {
  z-index: 999;
}
.slick-next {
  right: 15px !important;
}
.slick-prev {
  left: 3px !important;
}
.slick-prev:before,
.slick-next:before {
  font-size: 2rem !important;
  color: #000;
}
.slick-slide {
  transition: all ease-in-out 0.3s;
  opacity: 0.2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 20px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: 0.7;
}

/*====================================================================
.full-screen
====================================================================*/

.full-screen .slick-list {
  overflow: visible;
}
.full-screen.slider {
  margin: 0 auto;
  height: 100%;
}
.slick-list {
  padding: 0 !important;
}

.comment_text {
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid #000;
}
a {
  text-decoration: none;
}
.illust_character_links_text {
  margin-top: 1rem;
}
#secret_box {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #ffffff9c;
  top: 0;
  left: 0;
  backdrop-filter: blur(50px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.secret_text {
  text-align: center;
}
#netabare_pasword {
  margin-top: 0.8rem;
  height: 2rem;
  border: 2px solid #000;
  width: 10rem;
  border-radius: 3px;
}
.difarent_pass {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  color: #7c0e0e;
}
.show_illust {
  background-color: #000;
  width: fit-content;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #fff;
  margin: 1rem 0.5rem;
  border-radius: 2rem;
}
.back_btn {
  background-color: #ffffff;
  width: fit-content;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  font-size: 1rem;
  margin: 1rem 0.5rem;
  border-radius: 2rem;
}
.netabare_img::after,
.sensitive_img::after {
  content: attr(data-secret-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.25em 0.5em;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.8rem;
  z-index: 2;
}
h1 {
  text-align: end;
  opacity: 0.7;
  font-size: 3rem;
  margin: 0;
  position: fixed;
  z-index: -1;
  top: -0.5rem;
  right: -0.5rem;
}
.back_btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background-color: #000;
  color: #fff;
  border-radius: 1rem;
  z-index: 600;
}
.kouji_junbityu {
  opacity: 0.5;
  pointer-events: none;
}
.kouji_junbityu::after {
  content: "ページ準備中";
  display: block;
  font-size: 0.75rem;
  color: #c00;
  text-align: center;
}
.image-imag_wrap {
  overflow: hidden;
  touch-action: none !important; /* ←重要 */
}
.imag_wrap img {
  width: 100%;
  transform-origin: center center;
  transition: transform 0.05s linear;
}

.thum_illu_modal {
  gap: 0.5rem;
  display: flex;
  flex-wrap: wrap;
}
.thum_illu_modal_item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  width: calc((100% - 1rem) / 3);
  cursor: pointer;
}
.thum_illu_modal_item img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}
.scroll_y {
  overflow-y: scroll;
  height: 100%;
}
