@charset "UTF-8";
/*--------------------
モーダルのデザイン
--------------------*/
.modal {
  display: none;
}
.modal.is_open {
  display: block;
}
.modal .modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modal .modal__overlay .modal__close--btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.modal .modal__overlay .modal__close--btn p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 34px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
  opacity: 0.5;
  font-weight: bold;
  line-height: 1;
}
.modal .modal__overlay .modal__close--btn p span {
  padding-top: 2px;
  display: inline-block;
  font-size: 10px;
}
.modal .modal__overlay .modal__container {
  max-width: 530px;
  max-height: 88vh;
  margin: 0 10px;
  padding: 20px;
  background: rgb(245, 245, 250);
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
          box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
}
.modal .modal__overlay .modal__container--wrap {
  padding-top: 60px;
  position: relative;
}
.modal .modal__overlay .modal__container--wrap .wrap__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
}
.modal .modal__overlay .modal__container--wrap .wrap__name > p {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
}
.modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name {
  max-width: 162px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
}
.modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name > div {
  grid-column: 1/2;
  grid-row: 1/2;
  padding: 4px 12px 5px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #aaa;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  opacity: 0;
}
.modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name > div.show {
  opacity: 1;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name > div.hidden {
  opacity: 0;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
.modal .modal__overlay .modal__container--wrap .wrap__talent {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
}
.modal .modal__overlay .modal__container--wrap .wrap__talent > div {
  grid-column: 1/2;
  grid-row: 1/2;
  opacity: 0;
  -webkit-transform: translateX(10px);
          transform: translateX(10px);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}
.modal .modal__overlay .modal__container--wrap .wrap__talent > div.show {
  opacity: 1;
  -webkit-transform: translateX(0px);
          transform: translateX(0px);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transition-delay: 0.25s;
          transition-delay: 0.25s;
}
.modal .modal__overlay .modal__container--wrap .wrap__talent > div.hidden {
  opacity: 0;
  -webkit-transform: translateX(-10px);
          transform: translateX(-10px);
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
.modal .modal__overlay .modal__container--wrap .wrap__btn {
  width: 110px;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  bottom: 0;
  left: 0;
}
.modal .modal__overlay .modal__container--wrap .wrap__btn > div {
  padding: 3px 0;
  color: #005BAB;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  border: 1px solid #005BAB;
  border-radius: 40px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.modal .modal__overlay .modal__container--wrap .wrap__btn > div span {
  line-height: 1.1;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}
.modal .modal__overlay .modal__container--wrap .wrap__btn > div.current {
  background: #005BAB;
  color: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}
.modal .modal__overlay .modal__container--wrap .wrap__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.modal .modal__overlay .modal__container--wrap .wrap__link .link__btn a {
  width: 36px;
  height: 36px;
  display: block;
  background: #fff;
  border-radius: 100%;
}
.modal .modal__overlay .modal__container--close {
  margin-top: 20px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 40px;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  color: #aaa;
}

@media screen and (min-width: 600px) {
  .modal .modal__overlay .modal__container {
    max-width: 570px;
    margin: 0 auto;
    padding: 40px;
  }
  .modal .modal__overlay .modal__container--wrap {
    padding-top: 30px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__name {
    z-index: 2;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__name > p {
    margin-bottom: 14px;
    font-size: 48px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name {
    max-width: 182px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__name .illustrator__name > div {
    padding: 6px 8px 7px 8px;
    border-radius: 20px;
    font-size: 12px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn {
    width: 148px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn > div {
    font-size: 10px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn > div span {
    line-height: 1.5;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  .modal .modal__overlay .modal__container--wrap .wrap__link .link__btn a {
    width: 48px;
    height: 48px;
  }
  .modal .modal__overlay .modal__container--close {
    margin-top: 40px;
    font-size: 14px;
  }
}
@media screen and (min-width: 1025px) {
  .modal {
    display: none;
  }
  .modal .modal__overlay .modal__container {
    width: 100%;
    max-width: 600px;
    max-height: 92vw;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn {
    width: 148px;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn > div {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__btn > div:hover {
    background: #005BAB;
    color: #fff;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__link .link__btn a {
    overflow: hidden;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__link .link__btn a img {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .modal .modal__overlay .modal__container--wrap .wrap__link .link__btn a:hover img {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  .modal .modal__overlay .modal__container--close {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .modal .modal__overlay .modal__container--close:hover {
    background: #aaa;
    color: #fff;
  }
}
.modal[aria-hidden=false] .modal__overlay {
  -webkit-animation: mmfadeIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
          animation: mmfadeIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.modal[aria-hidden=false] .modal__container {
  -webkit-animation: mmslideIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
          animation: mmslideIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.modal[aria-hidden=true] .modal__overlay {
  -webkit-animation: mmfadeOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
          animation: mmfadeOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.modal[aria-hidden=true] .modal__container {
  -webkit-animation: mmslideOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
          animation: mmslideOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

/* Animation */
@-webkit-keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes mmslideIn {
  from {
    -webkit-transform: translateY(10%);
            transform: translateY(10%);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes mmslideIn {
  from {
    -webkit-transform: translateY(10%);
            transform: translateY(10%);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
}
@keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
}