@charset "UTF-8";

/* =======================================================
* sub_main
* ======================================================= */
#sub_main {
  background: url(../images/bg-about.jpg) no-repeat center/cover;
}

/* =======================================================
* history
* ======================================================= */
#history dl {
  margin-bottom: 30px;
}

#history dl dt {
  width: 150px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-bottom: 20px;
  position: relative;
}

#history dl dd {
  width: 80%;
  margin-bottom: 20px;
}

#history dl dd a {
  color: var(--color-theme);
  opacity: 1;
}

#history dl::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  top: 8px;
  left: 124px;
  background: var(--color-theme);
}

#history dl dt::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-theme);
  top: 6px;
  right: 20px;
}

@media screen and (max-width:768px) {

  #history dl dt,
  #history dl dd {
    width: 100%;
    padding-left: 25px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  #history dl dt {
    margin-bottom: 5px;
    font-size: 1.4rem;
  }

  #history dl::before {
    left: 4px;
  }

  #history dl dt::after {
    right: auto;
    left: 0;
  }
}

/* =======================================================
* story
* ======================================================= */
#story ul {
  display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 40px;
}

@media screen and (max-width:768px) {
  #story ul {
    grid-template-columns: 1fr;
  }
}





/* =======================================================
* yato
* ======================================================= */
#yato {
  background-color: #fafafa;
  padding-top: 5rem;
}

#yato .bg-yato {
  background: url(../../images/bg-footer.png) repeat-x center/contain;
  height: 80px;
  margin-bottom: 40px;
}

@media screen and (max-width:768px) {
  #yato {
    padding-top: 2rem;
  }

  #yato .bg-yato {
    margin-bottom: 0;
  }
}

/* =======================================================
* message
* ======================================================= */
.message_img {
  width: 20%;
}

.message_txt01 {
  width: 75%;
}

.message_txt02 .indent {
  padding-left: 1em;
  text-indent: -1em;
}

.message_name {
  text-align: right;
}

.message_name p {
  margin-bottom: 0;
}

.message_name img {
  width: 15%;
}


@media screen and (max-width:768px) {
  .message_txt01 {
    width: 100%;
  }

  .message_img {
    width: 50%;
    margin: 0 auto 25px;
  }

  .message_name img {
    width: 35%;
  }
}

/* =======================================================
* creature
* ======================================================= */
#creature {
  padding-top: 5rem;
  background-image: radial-gradient(#a3c594 20%, transparent 10%);
  background-size: 7px 50px;
  position: relative;
}

#creature ul.creature01 {
  padding-top: 50px;
}

#creature ul.creature02 {
  padding-bottom: 50px;
}

#creature li {
  position: relative;
  width: 13%;
  margin: 0 20px;
  transform: rotate(-22deg);
}

#creature li::after {
  border-radius: 55% 46% 55% 60% / 38% 51% 50% 50%;
  position: absolute;
  content: "";
  width: 100%;
  height: 60%;
  background: #efefe2;
  top: 10px;
  right: -5px;
  z-index: -1;
}

#creature li:nth-child(even) {
  margin-top: 100px;
}

#creature li:nth-child(even)::after {
  height: 100%;
}

#creature li img {
  border-radius: 55% 46% 43% 40%/38% 51% 50% 50%;
}


@media screen and (max-width:768px) {
  #creature {
    padding-left: 20px;
    padding-right: 20px;
  }

  #creature ul.creature01 {
    padding-top: 0px;
    padding-left: 20px;
  }

  #creature ul.creature02 {
    padding-bottom: 20px;
    padding-left: 20px;
  }

  #creature li {
    width: 20%;
    margin: 0;
  }

  #creature li::after {
    height: 46%;
  }

  #creature li:nth-child(even) {
    margin-top: 60px;
  }

  #creature li:nth-child(even)::after {
    height: 90%;
    right: -6px;
  }
}