@charset "UTF-8";
/*TOPページ*/
#body_top .topmainimage {
  background: url(../top/back_topmainimage.webp) no-repeat center bottom;
  padding: 0 0 5%;
  margin: 0;
  background-size: contain;
  background-color: rgba(var(--sub-rgb));
  color: #FFF;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1023px) {
  #body_top .topmainimage {
    background-size: 150%;
  }
}

#body_top article#topmainimage.slider {
  position: relative;
  background: url(../img/back_recruit.webp) no-repeat bottom right;
  background-size: 115%;
  padding: 0 0 calc(0.5 * var(--margin-top));
}
#body_top article#topmainimage.slider h1 {
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  color: #FFF;
  margin: 0 !important;
}
@media (max-width: 1023px) {
  #body_top article#topmainimage.slider .topmaintext {
    position: relative;
    z-index: 10;
    margin: -20px 5% 0;
  }
  #body_top article#topmainimage.slider h1 {
    width: 80%;
  }
  #body_top article#topmainimage.slider p {
    display: flex;
    align-items: flex-end;
    margin-top: 10px;
  }
  #body_top article#topmainimage.slider p img {
    width: 50%;
  }
}
@media (min-width: 1024px) {
  #body_top article#topmainimage.slider h1 {
    position: absolute;
    z-index: 10;
    width: 40%;
    top: 25%;
    left: 3%;
  }
  #body_top article#topmainimage.slider p {
    align-items: flex-end;
    display: flex;
  }
  #body_top article#topmainimage.slider p img {
    z-index: 10;
    position: absolute;
    display: block;
    width: 45%;
  }
  #body_top article#topmainimage.slider p img.main01 {
    left: 5%;
    bottom: calc(0.5 * var(--margin-top));
    max-width: 600px;
  }
  #body_top article#topmainimage.slider p img.main02 {
    right: 5%;
    bottom: 0;
    max-width: 600px;
  }
}
#body_top article#topmainimage.slider #mainswiper {
  padding: 20px 5% 0;
}
@media (min-width: 1024px) {
  #body_top article#topmainimage.slider #mainswiper {
    margin: 0 0 0 30%;
    width: 70%;
  }
}
#body_top article#topmainimage.slider #mainswiper ul {
  list-style: none;
  margin: 0 0;
  padding: 0;
}
#body_top article#topmainimage.slider #mainswiper li {
  margin: auto;
  padding: 0;
  line-height: 1;
  width: 100%;
  max-width: 100%;
}
#body_top article#topmainimage.slider #mainswiper li img {
  border-radius: 20px;
}

#body_top article#about {
  position: relative;
}
@media (max-width: 1023px) {
  #body_top article#about .maikitreal {
    display: flex;
    justify-content: space-around;
  }
}
@media (min-width: 1024px) {
  #body_top article#about .maikitreal {
    text-align: center;
    margin-left: 12%;
  }
}
#body_top article#about .maikitreal img {
  vertical-align: middle;
}
#body_top article#about .maikitreal img.maikitmain {
  width: 70%;
}
#body_top article#about .maikitreal img.maikit01 {
  width: 12%;
}
#body_top article#about .maikitreal img.maikit02 {
  width: 12%;
}
@media (min-width: 1024px) {
  #body_top article#about .maikitreal img.maikit01 {
    position: absolute;
    left: 10%;
    top: 10%;
  }
}

#body_top #maincol article#message {
  background: none;
}
@media (max-width: 1023px) {
  #body_top #maincol article#message .massageimg img {
    float: right;
  }
}
@media (min-width: 1024px) {
  #body_top #maincol article#message {
    background: url(../top/message.png) no-repeat top right;
    background-size: 50%;
    z-index: 2;
  }
  #body_top #maincol article#message .massagetxt {
    width: 50%;
  }
}
#body_top #maincol article#message h1 {
  font-size: clamp(1.5555555556rem, 0.6546863989rem + 2.1141649049vw, 2.1111111111rem);
  background: url(../img/mark.png) no-repeat 0 0.2em;
  background-size: 1.2em;
  padding-left: 1.5em;
}
@media (min-width: 1024px) {
  #body_top #maincol article#message h1 {
    margin-left: -1.5em;
  }
}
#body_top #maincol article#message h2 {
  font-size: 115%;
}

#body_top #maincol article#about {
  margin-top: calc(-2 * var(--margin-top));
  padding-top: calc(1.5 * var(--margin-top));
  padding-bottom: calc(0.5 * var(--margin-top));
  background: url(../img/back_about.webp) no-repeat center 0;
  background-size: 100%;
}
@media (max-width: 1023px) {
  #body_top #maincol article#about {
    background-size: 150%;
  }
}

#body_top #maincol article#work {
  background: url(../img/back_work.webp) no-repeat 0 calc(0.7 * var(--margin-top));
  background-size: 100%;
}
@media (max-width: 1023px) {
  #body_top #maincol article#work {
    background-size: 150%;
    background-position: center center;
  }
}
@media (min-width: 1024px) {
  #body_top #maincol article#work h1 {
    text-align: right;
  }
}

#body_top #maincol .work_index dd {
  margin: 0;
}
#body_top #maincol .work_index a {
  font-size: 1.2em;
  display: block;
  margin-bottom: 1em;
}
@media (max-width: 1023px) {
  #body_top #maincol .work_index {
    background-color: rgba(255, 255, 255, 0.8);
  }
  #body_top #maincol .work_index div {
    margin: 5%;
  }
  #body_top #maincol .work_index dt img {
    margin: 0 auto 10px;
    width: 70%;
    display: block;
  }
  #body_top #maincol .work_index dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  #body_top #maincol .work_index {
    position: relative;
  }
  #body_top #maincol .work_index div {
    display: flex;
    margin: 0 0 0px;
  }
  #body_top #maincol .work_index dt {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;
    transition-property: opacity;
  }
  #body_top #maincol .work_index dt img {
    width: 90%;
  }
  #body_top #maincol .work_index dt.show {
    opacity: 1 !important;
  }
  #body_top #maincol .work_index dd {
    background-color: rgba(255, 255, 255, 0.8);
    width: 40%;
    padding: 5% 2% 5%;
    margin: 0 0 0 60%;
  }
  #body_top #maincol .work_index dd span {
    display: block;
    margin-left: 1.5em;
    font-size: 0.9em;
  }
}

#body_top #maincol article#person {
  background: none;
}
#body_top #maincol article#person .person_list.swiper-wrapper {
  transition-timing-function: linear;
}

#body_top #maincol article#recruit {
  background: none;
}
#body_top #maincol article#recruit .recruit_list {
  list-style: none;
  flex-shrink: 0;
  min-width: 20%;
  margin: 0;
  padding: 0;
  font-size: 120%;
}
#body_top #maincol article#recruit .recruit_list li {
  margin: 0 0 1.5em;
}
#body_top #maincol article#recruit .recruitimg {
  max-width: 960px;
}
#body_top #maincol article#recruit .recruitimg img {
  border-radius: 10px;
  display: block;
}
#body_top #maincol article#recruit .recruitimg img.recruitmain {
  width: 90%;
  margin: auto;
}
#body_top #maincol article#recruit .recruitimg img.recruit01 {
  margin: -15% 0 0;
}
@media (min-width: 1024px) {
  #body_top #maincol article#recruit h1 {
    text-align: right;
  }
  #body_top #maincol article#recruit .recruitimg img.recruitmain {
    width: 80%;
  }
}

/*# sourceMappingURL=top.css.map */
