@charset "UTF-8";
/*=====================================
 TOP ページ
=====================================*/
/*-----------------
 Slider
------------------*/
.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.mv {
  width: 100%;
  height: 100svh;
  position: relative;
}
@media screen and (max-width: 834px) {
  .mv {
    padding-top: 56px;
    padding-bottom: 0;
  }
}
@media screen and (min-width: 835px) {
  .mv {
    padding-top: 100px;
    padding-bottom: 80px;
  }
}

.mv .mv__slide {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 1241px) {
  .mv .mv__slide {
    width: calc(100% - 220px);
    margin-right: 0;
  }
}

.mv__slide .swiper-slide {
  overflow: hidden;
  height: 100%;
}

.mv__slide .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@-webkit-keyframes zoomUp {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}

@keyframes zoomUp {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}
.mv__slide .swiper-slide-active img,
.mv__slide .swiper-slide-duplicate-active img,
.mv__slide .swiper-slide-prev img {
  -webkit-animation: zoomUp 12s linear 0s;
  animation: zoomUp 12s linear 0s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

/*scroll*/
.scroll-bar {
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: 2;
}

.scroll-bar__text {
  font-size: 11px;
  color: #fff;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  letter-spacing: 0.1rem;
  margin-bottom: 10px;
  height: 100px;
  text-align: right;
}
@media screen and (min-width: 835px) {
  .scroll-bar__text {
    color: #333;
  }
}

.scroll-bar__bar {
  width: 2px;
  height: 70px;
  background: rgba(255, 255, 255, 0.8);
  margin-left: 8px;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 835px) {
  .scroll-bar__bar {
    background: rgba(0, 0, 0, 0.1);
  }
}

.scroll-bar__bar::before {
  content: "";
  width: 100%;
  background: #000000;
  position: absolute;
  left: 0;
  top: 0;
  height: 40%;
  -webkit-animation: scroll 1.5s cubic-bezier(1, 0.2, 0.2, 1) infinite;
          animation: scroll 1.5s cubic-bezier(1, 0.2, 0.2, 1) infinite;
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 250%, 0);
            transform: translate3d(0, 250%, 0);
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 250%, 0);
            transform: translate3d(0, 250%, 0);
  }
}
/*-----------------
 intro
------------------*/
.top-intro {
  position: relative;
}
.top-intro .p-tate {
  margin-bottom: 45px;
}
.top-intro .p-tate .sec-title {
  margin-bottom: 15px !important;
}
@media screen and (min-width: 541px) {
  .top-intro .p-tate .sec-title {
    margin-bottom: 20px !important;
  }
}
.top-intro .p-tate .sec-title h2 {
  font-size: 1.3rem;
}
@media screen and (min-width: 541px) {
  .top-intro .p-tate .sec-title h2 {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1241px) {
  .top-intro .p-tate {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
  .top-intro .p-tate .sec-title {
    margin-left: 20px;
  }
  .top-intro .p-tate .sec-title h2:after {
    width: 1px;
    height: 39px;
    margin-top: 15px;
    margin-left: -3px;
    content: "";
  }
  .top-intro .p-tate .midashi-min {
    letter-spacing: 0.7rem;
  }
  .top-intro .danraku {
    margin-bottom: 0;
    padding-top: 60px;
    width: 63.2295719844%;
  }
  .top-intro .button {
    margin-top: 60px !important;
  }
}
@media screen and (min-width: 1500px) {
  .top-intro .p-tate {
    right: 5%;
  }
  .top-intro .danraku {
    margin-left: 5%;
  }
  .top-intro .button {
    margin-left: 5%;
  }
}
/*-----------------
 top-works
------------------*/
.title-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 10px;
}
@media screen and (min-width: 541px) {
  .title-flex {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 835px) {
  .title-flex {
    margin-bottom: 40px;
  }
}
.title-flex .sec-title {
  margin-bottom: 0;
}

.top-work {
  overflow: hidden;
}
.top-work .swiper {
  overflow: visible;
}
.top-work .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.top-work .slide {
  overflow: hidden;
  width: 150px;
}
@media screen and (min-width: 541px) {
  .top-work .slide {
    width: 200px;
  }
}
@media screen and (min-width: 835px) {
  .top-work .slide {
    width: 260px;
  }
}
@media screen and (min-width: 1241px) {
  .top-work .slide {
    width: 380px;
  }
}
.top-work .slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 360/460;
  margin-bottom: 15px;
}
@media screen and (min-width: 835px) {
  .top-work .slide img {
    margin-bottom: 20px;
  }
}
.top-work .slide .work-name {
  font-size: 1.4rem;
  line-height: 1.4;
}
@media screen and (min-width: 541px) {
  .top-work .slide .work-name {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 835px) {
  .top-work .slide .work-name {
    font-size: 1.6rem;
  }
}
.top-work .slide .work-cat {
  margin-top: 8px;
  letter-spacing: 0;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #666;
}
@media screen and (min-width: 835px) {
  .top-work .slide .work-cat {
    margin-top: 12px;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
  }
}
.top-work .slide .work-list-tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 3px;
}
@media screen and (min-width: 835px) {
  .top-work .slide .work-list-tag {
    margin-top: 6px;
  }
}
.top-work .slide .work-list-tag li {
  font-size: 1.1rem;
  color: #666;
  margin-right: 4px;
}
@media screen and (min-width: 835px) {
  .top-work .slide .work-list-tag li {
    font-size: 1.3rem;
    margin-right: 10px;
  }
}
.top-work .slide .work-list-tag li:before {
  content: "#";
}
.top-work .button {
  margin-left: auto;
  margin-right: 0;
}

.top-work .swiper-slide a:hover img {
  opacity: 1;
}

/* 前へ / 次へボタン */
.top-work .swiper-controller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media screen and (min-width: 835px) {
  .top-work .swiper-controller {
    gap: 20px;
  }
}

.top-work .swiper-button-prev,
.top-work .swiper-button-next {
  position: relative;
  display: grid;
  place-content: center;
  cursor: pointer;
  left: initial;
  right: initial;
  top: initial;
  bottom: initial;
  margin-top: initial;
}

.top-work .swiper-button-prev::after,
.top-work .swiper-button-next::after {
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  color: #333;
  font-size: 20px;
}
@media screen and (min-width: 835px) {
  .top-work .swiper-button-prev::after,
  .top-work .swiper-button-next::after {
    font-size: 24px;
  }
}

.top-work .swiper-button-prev::after {
  content: "\f104";
}

.top-work .swiper-button-next::after {
  content: "\f105";
}

.top-work .swiper-button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

/*-----------------
 news
------------------*/
@media screen and (min-width: 1241px) {
  .top-news .p-tate {
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
  }
  .top-news .p-tate .sec-title h2:after {
    width: 1px;
    height: 39px;
    margin-top: 15px;
    margin-left: -7px;
    content: "";
  }
}
.top-news-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -4.8638132296%;
}
@media screen and (min-width: 541px) {
  .top-news-list {
    margin-left: -6.2256809339%;
  }
}
.top-news-list li {
  position: relative;
  width: 45.1361867704%;
  margin-left: 4.8638132296%;
  margin-bottom: 5%;
}
@media screen and (min-width: 835px) {
  .top-news-list li {
    width: 27.1076190661%;
    margin-left: 6.2256809339%;
  }
}
.top-news-list li a:hover {
  opacity: 1;
}
.top-news-list li a:hover img {
  opacity: 1;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.top-news-list .news-img {
  overflow: hidden;
  margin-bottom: 10px;
}
@media screen and (min-width: 835px) {
  .top-news-list .news-img {
    margin-bottom: 15px;
  }
}
.top-news-list .news-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 360/260;
}
.top-news-list .news-title {
  line-height: 1.4;
  font-size: 1.4rem;
}
@media screen and (min-width: 835px) {
  .top-news-list .news-title {
    font-size: 1.5rem;
  }
}
.top-news-list .news-cat {
  line-height: 1.3;
  font-size: 1.3rem;
  margin-top: 5px;
  color: #666;
}
@media screen and (min-width: 835px) {
  .top-news-list .news-cat {
    margin-top: 8px;
    font-size: 1.4rem;
  }
}
.top-news-list .news-date {
  color: #666;
  font-size: 1.1rem;
}
@media screen and (min-width: 835px) {
  .top-news-list .news-date {
    font-size: 1.2rem;
    margin-top: 5px;
  }
}
.top-news-list .wp-error-message {
  margin-left: 4.8638132296%;
}
@media screen and (min-width: 835px) {
  .top-news-list .wp-error-message {
    margin-left: 6.2256809339%;
  }
}

.top-news .button {
  margin-top: 0 !important;
  margin-left: auto;
  margin-right: 0;
}

/*-----------------
 Service
------------------*/
.top-service-mv {
  width: 92%;
  margin-right: auto;
  margin-left: auto;
  background-repeat: none;
  background-size: cover;
  background-position: 50% 50%;
  color: #fff;
}
@media screen and (max-width: 540px) {
  .top-service-mv {
    aspect-ratio: 360/300;
    background-image: url(../img/home/service_sp.jpg);
  }
}
@media screen and (min-width: 541px) {
  .top-service-mv {
    width: 82.8488372093%;
    margin-right: 0;
    aspect-ratio: 500/300;
    background-image: url(../img/home/service.jpg);
  }
}
@media screen and (min-width: 835px) {
  .top-service-mv {
    aspect-ratio: 768/400;
  }
}
@media screen and (min-width: 1241px) {
  .top-service-mv {
    width: calc(100% - 220px);
    aspect-ratio: 1380/560;
  }
}
.top-service-mv a {
  padding: 7% 6%;
  width: 100%;
  height: 100%;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.top-service-mv .sec-title {
  margin-bottom: 0 !important;
}
.top-service-mv .sec-title h2:after {
  background-color: #fff;
}
.top-service-mv .midashi-min-mid {
  margin-bottom: 18px;
  letter-spacing: 0;
}
@media screen and (min-width: 541px) {
  .top-service-mv .midashi-min-mid {
    letter-spacing: inherit;
  }
}
@media screen and (min-width: 1241px) {
  .top-service-mv .top-service-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
}
.top-service-mv .button {
  border-bottom: 1px solid #fff;
  margin-top: 0 !important;
}
.top-service-mv .button span {
  color: #fff !important;
}
.top-service-mv .button:after {
  color: #fff;
}

.top-service-mv a:hover {
  opacity: 1;
}

.top-service-mv a:hover .button:after {
  right: 10px;
}