@charset "UTF-8";

.illustration {
  position: relative;
  width: 100%;
  margin: 8rem 0 0;
  border: #000 solid 1px;
  background-image:
    url(../img/corner-illust-1.png), url(../img/corner-illust-2.png),
    url(../img/corner-illust-3.png), url(../img/corner-illust-4.png);
  background-position:
    top 5px left 5px,
    top 5px right 5px,
    bottom 5px left 5px,
    bottom 5px right 5px;
  background-repeat: no-repeat;
  background-size: 40px;
  background-color: #a59e79;
  border: #fff solid 1px;
  box-shadow: 4px 4px 0 #757053;
}

.i-inner {
  width: 100%;
  padding: 5% 5% 0;
}

.illust-heading {
  position: absolute;
  top: -74px;
  left: 0;
  width: 100%;
  text-align: center;
}

.illust-heading img {
  width: 80%;
}

.illust-outer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.illust-item {
  position: relative;
  padding: 2rem;
  background-image: url(../img/frame.png);
  background-size: 100% 100%;
}

.illust-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.38;
  overflow: hidden;
}

.illust-thumb-wrap .t-hover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.loupe {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 8%;
}

.illust-name {
  position: absolute;
  bottom: -6%;
  right: 0;
  width: 100%;
  text-align: center;
}

.illust-name img {
  width: 60%;
}

.illust-bottom {
  position: relative;
  left: auto;
  width: 58%;
  margin: -2% 0 0 14%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.cut-1 {
  width: 64%;
}

.illust-catch {
  position: absolute;
  width: 9%;
  transform: rotate(-10deg);
}

.c-1 {
  bottom: 6%;
  left: 26%;
}

.bakudan {
  width: 36%;
  padding: 8% 0 0;
}

body.is-illust-modal-open {
  overflow: hidden;
}

.illust-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  place-items: center;
  padding: 7vw 5vw;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.illust-modal.is-rendered {
  display: grid;
}

.illust-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.illust-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

.illust-modal-content {
  position: relative;
  z-index: 1;
  display: none;
  width: 80vw;
  max-width: 1000px;
  box-sizing: border-box;
  max-height: calc(100dvh - 10vw);
  overflow-x: hidden;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.illust-modal-content.is-active {
  display: block;
}

.illust-modal.is-open .illust-modal-content.is-active {
  opacity: 1;
  transform: scale(1);
}

.illust-modal-close {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1101;
  width: 70px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.illust-modal-close img {
  display: block;
}

.illust-modal-card {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - 10vw);
  padding: 4% 6% 4%;
  border: #fff solid 1px;
  background-image:
    url(../img/corner-illust-1.png), url(../img/corner-illust-2.png),
    url(../img/corner-illust-3.png), url(../img/corner-illust-4.png);
  background-position:
    top 8px left 8px,
    top 8px right 8px,
    bottom 8px left 8px,
    bottom 8px right 8px;
  background-repeat: no-repeat;
  background-size: 44px;
  background-color: #a59e79;
  overflow-y: auto;
  overflow-x: hidden;
}

.illust-modal-outer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.illust-modal-inner {
  width: 48%;
}

.illust-modal-head {
  width: 90%;
  margin: 0 auto 1rem;
}

.illust-modal-head img {
  display: block;
  width: 100%;
}

.illust-modal-frame {
  position: relative;
  width: 100%;
  padding: 2rem;
  background-image: url(../img/frame.png);
  background-size: 100% 100%;
}

.illust-modal-image {
  display: block;
  width: 100%;
}

.illust-modal-name {
  position: absolute;
  bottom: -6%;
  right: 0;
  width: 100%;
  text-align: center;
}

.illust-modal-name img {
  width: 60%;
}

.btn-x {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 1.5rem 0 0;
  z-index: 10;
}

.btn-x img {
  width: 34%;
}

.illust-modal-body {
  width: 100%;
}

.frame-top {
  margin: 2rem 0 0;
}

h3.sub-heading-2 {
  width: fit-content;
  margin: 0 auto;
  padding: 0.3em 0.8em 0.4em;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  background-image: url(../img/bg-heading.png), url(../img/bg-heading.png);
  background-repeat: no-repeat;
  background-position:
    center left,
    center right;
  background-size: 80% auto;
  background-color: #000;
  transform: translate(15%, -18px);
}

.illust-comment {
  color: #fff;
  font-size: 13px;
  margin: 0 0 4.5rem;
}

.illust-inner {
  position: relative;
  padding: 0 1rem 1.5rem;
}

.illust-inner p {
  font-size: 13px;
}

.illust-thumb {
  position: absolute;
  top: -4.3rem;
  left: 0;
  width: 24%;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .illustration {
    margin: 5rem 0 0;
    background-size: 30px;
    box-shadow: 3px 3px 0 #757053;
  }

  .i-inner {
    width: 100%;
    padding: 17% 5% 6%;
  }

  .illust-heading {
    top: -2.6rem;
  }

  .illust-heading img {
    width: 85%;
  }

  .illust-outer {
    gap: 5px;
  }

  .illust-item {
    padding: 0.8rem;
  }

  .loupe {
    bottom: 15px;
    right: 15px;
    width: 15%;
  }

  .illust-name {
    bottom: -1.4rem;
  }

  .illust-name img {
    width: 90%;
  }

  .illust-bottom {
    left: auto;
    width: 100%;
    margin: -2% 0 0 -8%;
  }

  .cut-1 {
    width: 60%;
  }

  .illust-catch {
    width: 10%;
  }

  .c-1 {
    bottom: 10%;
    left: 26%;
  }

  .bakudan {
    width: 40%;
    padding: 0;
  }

  .illust-modal {
    padding: 18vw 6vw 10vw;
  }

  .illust-modal-content {
    width: 90vw;
    max-width: 90vw;
  }

  .illust-modal-close {
    width: 14vw;
  }

  .illust-modal-card {
    max-height: calc(100dvh - 28vw);
    padding: 6% 6%;
    background-image:
      url(../img/corner-illust-1.png), url(../img/corner-illust-2.png);
    background-position:
      top 6px left 6px,
      top 6px right 6px;
    background-size: 32px;
  }

  .illust-modal-outer {
    display: block;
  }

  .illust-modal-inner {
    width: 100%;
  }

  .illust-modal-head {
    margin: 0 auto 0.5rem;
  }

  .illust-modal-head img {
    display: block;
    width: 100%;
  }

  .illust-modal-frame {
    padding: 1.5rem;
  }

  .illust-modal-image {
    display: block;
    width: 100%;
  }

  .illust-modal-name {
    bottom: -9%;
  }

  .illust-modal-name img {
    width: 80%;
  }

  .btn-x {
    margin: 1.2rem 0 0;
  }

  .btn-x img {
    width: 40%;
  }

  .illust-modal-body {
    margin: 1rem 0 0;
  }

  .frame-top {
    margin: 1.5rem 0 0;
  }

  h3.sub-heading-2 {
    padding: 0.3em 0 0.4em 0.4em;
    font-size: 3.8vw;
    background-size: 60% auto;
    background-color: #000;
    transform: translate(10%, -14px);
  }

  .illust-comment {
    font-size: 3.077vw;
    margin: 0 0 5em;
  }

  .illust-inner {
    padding: 0 0.8rem 0.8rem;
  }

  .illust-inner p {
    font-size: 3.077vw;
  }

  .illust-thumb {
    top: -3.4rem;
    left: -6%;
    width: 27%;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .illust-outer {
    gap: 30px;
  }

  h3.sub-heading-2 {
    font-size: 1.898vw;
  }

  .illust-comment,
  .illust-inner p {
    font-size: 1.371vw;
  }
}

@media screen and (min-width: 1025px) {
  .illust-thumb-wrap .t-hover {
    cursor: pointer;
    transition: all 0.2s;
  }

  .illust-thumb-wrap .t-hover:hover {
    transform: scale(1.012);
  }
}
