@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : index.css
 Style Info : 「トップ」のCSS
====================================================== */

#wrap-loader {
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--basecolor3);
}

#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cube-transition {
  position: relative;
  transform: translate(-25px, -25px);
}

.cube-transition > div {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background-color: var(--basecolor2);
  animation-fill-mode: both;
  animation: cube-transition 1.6s 0s infinite ease-in-out;
}

.cube-transition > div:last-child {
  animation-delay: -.8s;
}

@keyframes cube-transition {
  25% {
    transform: translateX(50px) scale(.5) rotate(-90deg);
  }
  50% {
    transform: translate(50px, 50px) rotate(-180deg);
  }
  75% {
    transform: translateY(50px) scale(.5) rotate(-270deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

#visual-block {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slider {
  display: none;
}

.slider.slick-initialized {
  display: block;
}

.slider {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.slider li {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slider li .text-box {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  letter-spacing: .04em;
  padding-right: 5%;
  color: var(--basecolor2);
}

.slider li .chatch1 {
  line-height: 2;
  font-size: 2.8rem;
  font-weight: 700;
}

.slider li .chatch2 {
  margin-top: 1em;
  font-size: 1.4rem;
  font-weight: 500;
}

#top-news-block {
  margin: -40px 0 3em;
  padding-right: calc(50vw - 50%);
  width: 100vw;
}

#top-news-block dl {
  display: table;
  margin-left: auto;
  max-width: 500px;
  width: 100%;
  background: var(--basecolor2);
}

#top-news-block dt,
#top-news-block dd {
  display: table-cell;
  vertical-align: middle;
}

#top-news-block dt {
  padding-left: 15px;
  width: 90px;
  color: var(--basecolor2);
  background: var(--basecolor5);
}

#top-news-block dt span {
  font-size: 1.8rem;
  font-weight: 700;
}

#top-news-block dt h2 {
  font-size: 1.1rem;
}

#top-news-block dd {
  padding: 1em 1em .5em 1em;
}

#top-news-block dd p span {
  display: block;
  margin-bottom: .4em;
  font-size: 1.2rem;
  font-weight: 300;
}

#top-news-block dd p a {
  line-height: 1.4;
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
}

#top-news-block .btn-box a {
  position: relative;
  display: block;
  margin: 1.5em 0 0 auto;
  padding-right: 30px;
  width: fit-content;
  color: var(--basecolor5);
  font-size: 1.3rem;
}

#top-news-block .btn-box a::before,
#top-news-block .btn-box a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 7px;
}

#top-news-block .btn-box a::before {
  width: 7px;
  height: 1px;
  background: var(--basecolor5);
  transform: translateY(-50%);
}

#top-news-block .btn-box a::after {
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--basecolor5);
  border-right: 1px solid var(--basecolor5);
  transform: translateY(-50%) rotate(45deg);
}

#top-news-block .btn-box a .circle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--basecolor5);
  border-radius: 50%;
}

#content .title-box p {
  letter-spacing: .03em;
  margin-bottom: .2em;
  font-size: 3rem;
  font-weight: 700;
}

#content .title-box h2 {
  letter-spacing: .04em;
  margin-bottom: .5em;
  color: #999;
  font-size: 1.3rem;
}

#greeting-block {
  margin-bottom: 5em;
  padding-right: calc(50vw - 50%);
  width: 100vw;
}

#greeting-block > .grid {
  display: grid;
  gap: 1em;
}

#greeting-block .img-box {
  height: 360px;
  background-image: url(../img/index/greeting-block-bg.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

#greeting-block .text-box p {
  line-height: 2;
  margin-bottom: 1em;
  text-align: justify;
}

#greeting-block .text-box .sine-text {
  font-weight: 500;
  text-align: right;
}

#service-block {
  margin-bottom: 5em;
  padding-top: 3em;
  padding-bottom: 3em;
  background: var(--basecolor2);
}

#service-block .title-box {
  margin-bottom: 2em;
  text-align: center;
}

#service-block .service-list-box {
  position: relative;
  display: grid;
  position: relative;
  padding: 5em 4em;
  color: var(--basecolor2);
  background-image: url(../img/index/service-list-box1-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#service-block .service-list-box:last-child {
  background-image: url(../img/index/service-list-box2-bg.jpg);
}

#service-block .service-list-box::before {
  z-index: 1;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  height: 90%;
  border: 5px solid var(--basecolor2);
}

#service-block .service-list-box::after {
  z-index: 0;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.2);
}

#service-block .service-list-box h2 {
  z-index: 2;
  letter-spacing: .1em;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}

#service-block .service-list-box h3 {
  z-index: 2;
  letter-spacing: .1em;
  position: relative;
  margin-bottom: 60px;
  font-size: 1.5rem;
}

#service-block .service-list-box h3::after {
  z-index: 1;
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--basecolor2);
}

#service-block .service-list-box p {
  z-index: 2;
  line-height: 1.8;
  font-size: 1.4rem;
  text-align: justify;
}

#service-block .btn1 {
  margin: 4em auto 0;
  color: #666;
  border-color: #ddd;
}

#works-block {
  position: relative;
  margin-bottom: 5em;
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: 25px;
  width: 100vw;
}

#works-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(--basecolor4);
}

#works-block > .grid {
  display: grid;
  gap: 1em;
}

#works-block .text-box p {
  line-height: 1.8;
}

#works-list-box.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

#works-list-box.grid li img {
  vertical-align: bottom;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

#flow-block {
  margin-bottom: 5em;
}

#flow-block .title-box {
  margin-bottom: 2em;
  text-align: center;
}

#flow-block .grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1em;
}

#flow-block .grid dl {
  padding: 1em 0;
  background: var(--basecolor2);
}

#flow-block .grid dt {
  position: relative;
  margin-bottom: 1em;
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
}

#flow-block .grid dt .circle {
  position: relative;
  display: block;
  margin: .2em auto 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0,87,49,.5);
  border-radius: 50%;
}

#flow-block .grid dt .circle .iconify {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0,87,49,.5);
  width: 20px;
  height: 20px;
}

#flow-block .grid dd {
  position: relative;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  margin: 0;
  width: 100%;
  height: 150px;
  font-size: 1.6rem;
}

#flow-block .grid dd p {
  position: absolute;
  top: 0;
  left: 50%;
  transform:translateX(-50%);
}

#recruit-block {
  z-index: 0;
  position: relative;
  margin-bottom: 5em;
  padding-top: 3em;
  padding-bottom: 3em;
  color: var(--basecolor2);
  background-image: url(../img/index/recruit-block-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#recruit-block::after {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
}

#recruit-block .title-box {
  margin-bottom: 1em;
  text-align: center;
}

#recruit-block .title-box p {
  color: var(--basecolor2);
  text-align: center;
}

#recruit-block .title-box h2 {
  color: var(--basecolor2);
  text-align: center !important;
}

#recruit-block .text-box p {
  line-height: 1.8;
  text-align: justify;
}

#recruit-block .btn1 {
  margin: 3em auto 0;
  color: var(--basecolor1);
  border-color: #fff;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  .slider li .text-box {
    white-space: nowrap;
  }

  .slider li .chatch1 {
    font-size: 3.8rem;
  }

  .slider li .chatch2 {
    margin-top: 1.4em;
    font-size: 1.7rem;
  }

  #top-news-block {
    margin: -60px 0 4em;
  }

  #top-news-block dt {
    width: 95px;
  }

  #top-news-block dt span {
    font-size: 1.9rem;
  }

  #top-news-block dd {
    padding: 1em;
  }

  #top-news-block dd p span {
    font-size: 1.3rem;
  }

  #top-news-block dd p a {
    line-height: 1.5;
    font-size: 1.5rem;
  }

  #top-news-block .btn-box a {
    padding-right: 40px;
    font-size: 1.4rem;
  }

  #top-news-block .btn-box a::before,
  #top-news-block .btn-box a::after {
    right: 9px;
  }

  #top-news-block .btn-box a::before {
    width: 8px;
  }

  #top-news-block .btn-box a::after {
    width: 6px;
    height: 6px;
  }

  #top-news-block .btn-box a .circle {
    width: 26px;
    height: 26px;
  }

  #content .title-box p {
    font-size: 3.8rem;
  }

  #content .title-box h2 {
    font-size: 1.4rem;
  }

  #greeting-block {
    margin-bottom: 6em;
  }

  #greeting-block .img-box {
    height: 460px;
  }

  #greeting-block .text-box p {
    line-height: 2.1;
  }

  #service-block {
    margin-bottom: 6em;
    padding-top: 3.5em;
    padding-bottom: 3.5em;
  }

  #service-block .title-box {
    margin-bottom: 2.5em;
  }

  #service-block .service-list-box {
    padding: 10em 5em;
  }

  #service-block .service-list-box h2 {
    margin-bottom: 15px;
    font-size: 2.6rem;
  }

  #service-block .service-list-box h3 {
    font-size: 1.6rem;
  }

  #service-block .service-list-box p {
    line-height: 1.9;
  }

  #service-block .btn1 {
    margin-top: 4.5em;
  }

  #works-block {
    margin-bottom: 6em;
    padding-left: 40px;
  }

  #works-block::before {
    width: 20px;
  }

  #works-block .text-box p {
    line-height: 1.9;
  }

  #works-list-box.grid li img {
    height: 210px;
  }

  #flow-block {
    margin-bottom: 6em;
  }

  #flow-block .title-box {
    margin-bottom: 2.5em;
  }

  #flow-block .grid {
    gap: 1.2em;
  }

  #flow-block .grid dt {
    font-size: 1.8rem;
  }

  #flow-block .grid dt .circle {
    margin-top: .3em;
    width: 50px;
    height: 50px;
  }

  #flow-block .grid dt .circle .iconify {
    width: 30px;
    height: 30px;
  }

  #flow-block .grid dd {
    height: 170px;
    font-size: 1.8rem;
  }

  #recruit-block {
    margin-bottom: 6em;
    padding-top: 4.5em;
    padding-bottom: 4.5em;
  }

  #recruit-block .title-box {
    margin-bottom: 1.5em;
  }

  #recruit-block .text-box p {
    line-height: 1.9;
    text-align: center
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  .slider li .chatch1 {
    font-size: 4.8rem;
  }

  .slider li .chatch2 {
    margin-top: 1.8em;
    font-size: 2rem;
  }

  #top-news-block {
    margin: -80px 0 7em;
  }

  #top-news-block dt {
    width: 100px;
  }

  #top-news-block dt span {
    font-size: 2rem;
  }

  #top-news-block dd p span {
    font-size: 1.4rem;
  }

  #top-news-block dd p a {
    line-height: 1.6;
    font-size: 1.6rem;
  }

  #top-news-block .btn-box a {
    padding-right: 50px;
    font-size: 1.5rem;
  }

  #top-news-block .btn-box a::before,
  #top-news-block .btn-box a::after {
    right: 11px;
  }

  #top-news-block .btn-box a::before {
    width: 9px;
  }

  #top-news-block .btn-box a::after {
    width: 7px;
    height: 7px;
  }

  #top-news-block .btn-box a .circle {
    width: 32px;
    height: 32px;
  }

  #content .title-box p {
    font-size: 4.6rem;
  }

  #content .title-box h2 {
    font-size: 1.5rem;
  }

  #greeting-block {
    margin-bottom: 10em;
  }

  #greeting-block > .grid {
    grid-template-areas: "title-area img-area"
                         "text-area img-area";
    grid-template-columns: 50% 50%;
    grid-template-rows: auto 1fr;
    gap: 1em 0;
  }

  #greeting-block .title-box {
    z-index: 1;
    grid-area: title-area;
    margin-top: 5em;
  }

  #greeting-block .img-box {
    grid-area: img-area;
    height: 470px;
  }

  #greeting-block .text-box {
    grid-area: text-area;
    padding: 3em;
    width: 110%;
    background: var(--basecolor2);
  }

  #greeting-block .text-box p {
    line-height: 2.2;
  }

  #greeting-block .btn1:hover {
    color: var(--basecolor2);
    background: var(--basecolor4);
    border-color: var(--basecolor4);
  }

  #service-block {
    margin-bottom: 10em;
    padding-top: 4em;
    padding-bottom: 4em;
  }

  #service-block .title-box {
    margin-bottom: 3em;
  }

  #service-block > .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  #service-block .service-list-box {
    padding: 12em 4em;
    text-align: center;
  }

  #service-block .service-list-box h2 {
    margin-bottom: 20px;
    font-size: 3.2rem;
  }

  #service-block .service-list-box h3 {
    margin-bottom: 120px;
    font-size: 1.7rem;
  }

  #service-block .service-list-box h3::after {
    bottom: -90px;
    left: 50%;
    width: 1px;
    height: 60px;
    transform: translateX(-50%);
  }

  #service-block .service-list-box p {
    line-height: 2;
    margin: 0 auto;
    max-width: 530px;
    font-size: 1.5rem;
    text-align: center;
  }

  #service-block .btn1 {
    margin-top: 5em;
  }

  #service-block .btn1:hover {
    color: var(--basecolor2);
    background: var(--basecolor1);
    border-color: var(--basecolor1);
  }

  #works-block {
    margin-bottom: 10em;
    padding-left: 65px;
  }

  #works-block::before {
    width: 30px;
  }

  #works-block > .grid {
    grid-template-areas: "title-area img-area"
                         "text-area img-area"
                         "btn-area img-area";
    grid-template-columns: 30% 60%;
    grid-template-rows: auto auto 47px;
    gap: 1em 10%;
  }

  #works-block .title-box {
    grid-area: title-area;
    align-self: end;
  }

  #works-block .text-box {
    grid-area: text-area;
  }

  #works-block .text-box p {
    line-height: 2;
  }

  #works-block .img-box {
    grid-area: img-area;
  }

  #works-list-box.grid li img {
    height: 260px;
    transition: all .3s ease-in-out;
  }

  #works-list-box.grid li img:hover {
    opacity: .7;
  }

  #works-block .btn-box {
    grid-area: btn-area;
    align-self: start;
  }

  #works-block .btn1 {
    margin-top: 0;
  }

  #works-block .btn1:hover {
    color: var(--basecolor2);
    background: var(--basecolor4);
    border-color: var(--basecolor4);
  }

  #flow-block {
    margin-bottom: 10em;
  }

  #flow-block .title-box {
    margin-bottom: 3em;
  }

  #flow-block .grid {
    gap: 2em;
  }

  #flow-block .grid dt {
    font-size: 2rem;
  }

  #flow-block .grid dt .circle {
    margin-top: .4em;
    width: 60px;
    height: 60px;
  }

  #flow-block .grid dt .circle .iconify {
    width: 40px;
    height: 40px;
  }

  #flow-block .grid dd {
    height: 190px;
    font-size: 2rem;
  }

  #recruit-block {
    margin-bottom: 8em;
    padding-top: 10em;
    padding-bottom: 10em;
  }

  #recruit-block .title-box {
    margin-bottom: 2em;
  }

  #recruit-block .text-box p {
    line-height: 2;
  }

  #recruit-block .btn1:hover {
    color: var(--basecolor2);
    background: var(--basecolor1);
    border-color: var(--basecolor1);
  }

}
