@charset "utf-8";

/*******************************************************
 * index.css
 *******************************************************/
.no-scroll {
  animation: 2.5s linear no-scroll forwards;
}

@keyframes no-scroll {
  0% {
    overflow: hidden;
  }

  100% {
    overflow: auto;
  }
}

.wrapper {
  position: relative;
  font-size: 16px;
  line-height: 2;
  color: #666;
  background: #fff;
  overflow: hidden;
  user-select: none;
  font-family: 'Kaisei Decol', serif;
}

/* #loading*/
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 150vh;
  background: #7d8cc1;
  z-index: 9999;
}

.loading-img {
  position: fixed;
  top: calc(50% - 2.5rem);
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-text {
  position: fixed;
  top: calc(50% + 2.5rem);
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.9rem;
}

.loading-anime {
  animation: 1s ease-out 1 fadeout 1.5s forwards;
}

.loading-img-anime {
  animation: 0.8s ease-out 1 fadeout 1.5s forwards;
}

.loading-text-anime {
  animation: 1s ease-out 1 fadeout 1.5s forwards;
}

.loading-text-1 {
  animation: 1.5s ease-out infinite loading-text-anime 0.4s forwards;
}

.loading-text-2 {
  animation: 1.5s ease-out infinite loading-text-anime 0.5s forwards;
}

.loading-text-3 {
  animation: 1.5s ease-out infinite loading-text-anime 0.6s forwards;
}

.loading-text-4 {
  animation: 1.5s ease-out infinite loading-text-anime 0.7s forwards;
}

.loading-text-5 {
  animation: 1.5s ease-out infinite loading-text-anime 0.8s forwards;
}

.loading-text-6 {
  animation: 1.5s ease-out infinite loading-text-anime 0.9s forwards;
}

.loading-text-7 {
  animation: 1.5s ease-out infinite loading-text-anime 1s forwards;
}

.loading-text-8 {
  animation: 1.5s ease-out infinite loading-text-anime 1.1s forwards;
}

@keyframes loading-text-anime {
  0% {
    opacity: 0;
    font-size: 0.9rem;
  }

  50% {
    opacity: 1;
    font-size: 1rem;
  }

  100% {
    opacity: 0;
    font-size: 0.9rem;
  }
}

/* /#loading*/

h1 {
  font-size: 3rem;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
}

h3 {
  font-weight: bold;
}

img {
  pointer-events: none;
}

@keyframes fadein {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: inherit;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
    visibility: inherit;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/*******************************************************
 * header
 *******************************************************/

header {
  width: 100%;
}

/* ▼▽▼ハンバーガーメニュー▼▽▼*/
#ham-check-button {
  display: none;
}

.ham-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 999;
  top: 10px;
  right: -50px;
  width: 70px;
  height: 70px;
  background: #7d8cc1;
  border: solid 3px #7d8cc1;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s, background .5s;
  cursor: pointer;
}

.ham-button:hover {
  border: solid 3px #6270a0;
}

.ham-button-anime {
  animation: 1s ease-out 1 fadein 3.5s forwards, 1s ease-out 1 ham-button-anime 3.5s forwards;
}

@keyframes ham-button-anime {
  100% {
    right: 5px;
  }
}

.ham-top,
.ham-middle,
.ham-bottom {
  position: absolute;
  width: 30px;
  height: 5px;
  border-radius: 3px;
  background: #fff;
  transition: all .5s;
}

.ham-top {
  top: 15px;
}

.ham-middle {
  top: 25px;
}

.ham-bottom {
  top: 35px;
}

.ham-menu-text {
  position: absolute;
  top: 40px;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  transform: scale(0.9);
  transition: all .5s;
}

#ham-check-button:checked ~ .ham-button {
  background: #fff;
}

#ham-check-button:checked ~ .ham-button:hover {
  border: solid 3px #ccc;
}

#ham-check-button:checked ~ label .ham-top {
  width: 42px;
  top: 39.5%;
  outline: none;
  background: #7d8cc1;
  transform: rotate(315deg);
}

#ham-check-button:checked ~ label .ham-middle {
  opacity: 0;
}

#ham-check-button:checked ~ label .ham-bottom {
  width: 42px;
  top: 39.5%;
  outline: none;
  background: #7d8cc1;
  transform: rotate(-315deg);
}

#ham-check-button:checked ~ label .ham-menu-text {
  top: 42px;
  color: #7d8cc1;
}

/* ▲△▲ハンバーガーメニュー▲△▲*/

/* ▼▽▼グローバルメニュー▼▽▼*/
.header-nav .nav-menu {
  position: fixed;
  top: 0;
  width: 100%;
  color: #fff;
  background: #7d8cc1;
  opacity: 0;
  visibility: hidden;
  transition: all .5s;
  z-index: 998;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.header-nav .nav-menu li {
  width: 70%;
  margin: 1.5rem 3%;
  font-size: 1.5rem;
  background: #f5d755;
  border: solid 3px #f5d755;
  border-radius: 20px;
}

@media screen and (min-width: 769px) {
  .header-nav .nav-menu li {
    margin: 1.5rem auto;
    width: 50%;
  }
}

.header-nav .nav-menu li:hover {
  border: solid 3px #debd4b;
}

.header-nav .nav-menu li a {
  display: block;
  padding: 0 1.5rem;
}

.header-nav .nav-menu li a i {
  margin-right: 0.75rem;
}

.nav-background {
  position: fixed;
  width: 100vw;
  height: 0;
  margin: 0 calc(50% - 50vw);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity .5s, visibility .5s;
  z-index: 997;
}

#ham-check-button:checked ~ .nav-menu {
  opacity: 1;
  visibility: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

#ham-check-button:checked ~ label .nav-background {
  height: 100vh;
  opacity: 1;
  visibility: inherit;
}

/* ▲△▲グローバルメニュー▲△▲*/

/*******************************************************
 * main
 *******************************************************/
/* .main-visual*/
.main-visual {
  position: relative;
}

#main-visual-canvas {
  width: 100%;
  height: 100vh;
}
/*
#main-visual-canvas::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
}
*/
.main-visual-logo {
  position: absolute;
  left: 20px;
  top: 0;
  width: 30%;
}

.main-visual-logo h1 {
  display: inline;
}

.main-visual-logo img {
  width: 100%;
  max-width: 100px;
  vertical-align: middle;
  filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.2));
  transform: rotate(-15deg);
  opacity: 0;
}

.main-visual-logo-anime {
  animation: 1s ease-out 1 fadein 2.5s forwards, 1.5s ease main-visual-logo-anime 2.5s forwards;
}

@keyframes main-visual-logo-anime {
  25% {
    transform: rotateX(15deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(10deg);
  }
  70% {
    transform: rotate(-7.5deg);
  }
  80% {
    transform: rotate(5deg);
  }
  90% {
    transform: rotate(-2.5deg);
  }
  100% {
    transform: rotate(0);
  }
}

@media screen and (min-width: 769px) {
/*
  #main-visual-canvas::after {
    display: none;
  }
*/
  .main-visual-logo {
    top: inherit;
    bottom: 20px;
  }

  .main-visual-logo img {
    width: 50%;
    max-width: 200px;
  }
}

/* /.main-visual*/

@media screen and (min-width: 769px) {
  .section-wrap {
    margin: 0 auto;
    max-width: 1024px;
  }
}

/* .illustration*/
.illustration {
  margin: 5% 0;
}

.illustration .illustration-title {
  text-align: right;
  margin: 10% 20px 5%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-80%) skewX(10deg);
}

.illustration .illustration-title-anime {
  animation: 1s ease-out 1 illustration-title-anime forwards;
}

@keyframes illustration-title-anime {
  80% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0px) skewX(10deg);
  }

  90% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(10px) skewX(-10deg);
  }

  100% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0) skewX(0deg);
  }
}

.illustration-section-wrap {
  position: relative;
  display: grid;
  padding: 20px 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
  content-visibility: auto;
}

.illustration-section {
  position: relative;
  z-index: 2;
}

.illustration-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 65%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  background: #75aad5;
}
.illustration-section-anime::before {
  animation: 1s linear 1 fadein 1.5s forwards, 1s linear 1 illustration-section-anime-before 1.5s forwards;
}

@keyframes illustration-section-anime-before {
  50% {
    top: -10px;
    left: 0;
  }

  100% {
    top: -10px;
    left: -10px;
  }
}

.illustration-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s;
  color: #333;
  z-index: 2;
}

.illustration-thumbnail {
  width: 100%;
  height: 200px;
  filter: sepia(0%);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transform-origin: 0% 0%;
  cursor: pointer;
  transition: all .5s;
}

.illustration-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.illustration-thumbnail-anime {
  animation: 0.5s linear 1 illustration-thumbnail-anime 1s forwards;
}

@keyframes illustration-thumbnail-anime {
  100% {
    opacity: 1;
    visibility: inherit;
    transform: scale(1);
  }
}

.illustration-section-hover:hover .illustration-text {
  opacity: 1;
  visibility: inherit;
}

.illustration-section-hover:hover .illustration-thumbnail {
  filter: sepia(100%);
}

/* /.illustration*/

/* .illustration-popup*/
.popup-no-scroll {
  overflow: hidden;
}

.illustration-popup-bg {
  animation: 0.3s linear 1 fadein forwards;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 150vh;
  background: #7d8cc1;
  z-index: 9998;
}

.illustration-popup {
  animation: 0.3s linear 1 fadein forwards;
  position: fixed;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vmin;
  height: 80vmin;
  color: #fff;
  z-index: 9999;
}

.illustration-image-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 96%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.illustration-image-wrap {
  font-size: 1.5rem;
}

.popup-arrow-left {
  display: block;
  padding: 10vmin 0;
  width: 8%;
  background: #f5d755;
  border-radius: 20px;
  cursor: pointer;
}

.popup-arrow-right {
  display: block;
  padding: 10vmin 0;
  width: 8%;
  background: #f5d755;
  border-radius: 20px;
  cursor: pointer;
}

.illustration-image {
  position: relative;
  width: 80%;
  text-align: center;
  object-fit: scale-down;
}

.popup-close-button {
  display: block;
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 3rem;;
  font-size: 1.5rem;
  line-height: 3rem;
  border-radius: 50%;
  background: #f5d755;
  cursor: pointer;
}

.illustration-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.illustration-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120vmin;
  text-align: center;
  font-size: 0.8rem;
}

/* /.illustration-popup*/

/* .profile*/
.profile {
  margin: 5% 0;
}

.profile .profile-title {
  text-align: left;
  margin: 10% 20px 5%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(80%) skewX(-10deg);
}

.profile .profile-title-anime {
  animation: 1s ease-out 1 profile-anime forwards;
}

.profile-name-wrap {
  margin: 5% 0;
  text-align: center;
  line-height: 1.5;
  transform: translateX(80%) skewX(-10deg);
  opacity: 0;
  visibility: hidden;
}

.profile-name-wrap-anime {
  animation: 1s ease-out 1 profile-anime 1s forwards;
}

.profile-name {
  font-size: 3rem;
}

.profile-name-kana {
  font-size: 1.5rem;
}

.profile-body {
  margin: 0 20px;
}

.profile-body-line-1,
.profile-body-line-2,
.profile-body-line-3,
.profile-body-line-4,
.profile-body-line-5,
.profile-body-line-6,
.profile-body-line-7,
.profile-body-line-8 {
  transform: translateX(80%) skewX(-10deg);
  opacity: 0;
  visibility: hidden;
}

.profile-body-line-1 a,
.profile-body-line-2 a,
.profile-body-line-3 a,
.profile-body-line-4 a,
.profile-body-line-5 a,
.profile-body-line-6 a,
.profile-body-line-7 a,
.profile-body-line-8 a {
  text-decoration: underline;
}

.profile-body-line-1 a:hover,
.profile-body-line-2 a:hover,
.profile-body-line-3 a:hover,
.profile-body-line-4 a:hover,
.profile-body-line-5 a:hover,
.profile-body-line-6 a:hover,
.profile-body-line-7 a:hover,
.profile-body-line-8 a:hover {
  opacity: 0.8;
}

.profile-body-line-1-anime {
  animation: 1s ease-out 1 profile-anime 1.5s forwards;
}

.profile-body-line-2-anime {
  animation: 1s ease-out 1 profile-anime 1.6s forwards;
}

.profile-body-line-3-anime {
  animation: 1s ease-out 1 profile-anime 1.7s forwards;
}

.profile-body-line-4-anime {
  animation: 1s ease-out 1 profile-anime 1.8s forwards;
}

.profile-body-line-5-anime {
  animation: 1s ease-out 1 profile-anime 1.9s forwards;
}

.profile-body-line-6-anime {
  animation: 1s ease-out 1 profile-anime 2.0s forwards;
}

.profile-body-line-7-anime {
  animation: 1s ease-out 1 profile-anime 2.1s forwards;
}

.profile-body-line-8-anime {
  animation: 1s ease-out 1 profile-anime 2.2s forwards;
}

@keyframes profile-anime {
  80% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0px) skewX(-10deg);
  }

  90% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(-10px) skewX(10deg);
  }

  100% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0) skewX(-0deg);
  }
}

.sns-link {
  width: 150px;
  margin: 1.5rem auto;
  opacity: 0;
  visibility: hidden;
}

.sns-link-anime {
  animation: 1s ease-out 1 fadein 1.9s forwards;
}

.sns-link ul {
  display: flex;
  justify-content: space-between;
}

.sns-link a {
  display: block;
}

.sns-link a:hover {
  opacity: 0.8;
}

.sns-link img {
  width: 30px;
}



/* /.profile*/

/* .contact*/
.contact {
  margin: 5% 0;
}

.contact .contact-title {
  text-align: right;
  margin: 10% 20px 5%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-80%) skewX(10deg);
}

.contact .contact-title-anime {
  animation: 1s ease-out 1 contact-title-anime forwards;
}

@keyframes contact-title-anime {
  80% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0px) skewX(10deg);
  }

  90% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(10px) skewX(-10deg);
  }

  100% {
    opacity: 1;
    visibility: inherit;
    transform: translateX(0) skewX(0deg);
  }
}

.contact-form {
  position: relative;
  margin: 100px auto 0;
  padding: 20px;
  max-width: 280px;
  border-radius: 20px;
  background: #7d8cc1;
  opacity: 0;
  visibility: hidden;
}

.contact-form-anime {
  animation: 0.8s ease-out 1 fadein forwards;
}

.contact-form-anime::before {
  animation: 0.8s linear 1 contact-form-anime 0.7s forwards;
  content: "";
  position: absolute;
  top: -50px;
  left: 70px;
  width: 40px;
  height: 100px;
  border-radius: 50%;
  background: #7d8cc1;
  transform: scale(0, 0);
  transform-origin: 50% 100%;
}

.contact-form-anime::after {
  animation: 0.8s ease-out 1 contact-form-anime 0.8s forwards;
  content: "";
  position: absolute;
  top: -50px;
  right: 70px;
  width: 40px;
  height: 100px;
  border-radius: 50%;
  background: #7d8cc1;
  transform: scale(0, 0);
  transform-origin: 50% 100%;
}

@keyframes contact-form-anime {
  90% {
    transform: scale(1.1, 1);
  }

  100% {
    transform: scale(1, 1);
  }
}

.contact-form label {
  color: #fff;
}

.contact-form label .contact-required {
  color: #f5d755;
}

.contact-form input[type=text],
.contact-form input[type=email] {
  display: block;
  padding: 5px 20px 5px 20px;
  width: 100%;
  background: #fff;
  border: solid 3px #7d8cc1;
  border-radius: 20px;
}

.contact-form textarea {
  display: block;
  padding: 5px 20px 5px 20px;
  width: 100%;
  height: 200px;
  background: #fff;
  border: solid 3px #7d8cc1;
  border-radius: 20px;
}

.contact-form input[type=text].input-validation,
.contact-form input[type=email].input-validation,
.contact-form textarea.input-validation {
  border: solid 3px #f5d755;
}

.contact-form input[type=text]::placeholder,
.contact-form input[type=email]::placeholder,
.contact-form textarea::placeholder {
  font-size: 0.8rem;
  color: #999;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form textarea:focus {
  border: solid 3px #6270a0;
}

.contact-form input[type=submit] {
  display: block;
  margin: 20px auto;
  width: 50%;
  text-align: center;
  color: #fff;
  background: #f5d755;
  border: solid 3px #f5d755;
  border-radius: 20px;
}

.contact-form input[type=submit]:active,
.contact-form input[type=submit]:hover {
  border: solid 3px #debd4b;
}

.contact-name-error,
.contact-mail-error,
.contact-contents-error {
  font-size: 0.8rem;
  color: #f5d755;
}

/* /.contact*/

/*******************************************************
 * aside
 *******************************************************/


/*******************************************************
 * scroll-top
 *******************************************************/
.scroll-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

.scroll-top-in {
  animation: 0.5s linear 1 fadein forwards;
}

.scroll-top-out {
  animation: 0.5s linear 1 fadeout forwards;
}

.scroll-top a {
  display: block;
  padding: 5px;
  width: 50px;
  height: 50px;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: #7d8cc1;
  border: solid 3px #7d8cc1;
  border-radius: 5px;
}

.scroll-top a:hover {
  border: solid 3px #6270a0;
}

/*******************************************************
 * footer
 *******************************************************/
footer {
  margin-top: 10%;
}

.footer-caution {
  margin: 0 20px;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .footer-caution {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1024px;
  }
}

.copylight {
  display: block;
  margin: 0 20px;
  text-align: center;
}
