@charset "UTF-8";


/* ファーストビュー */
.first-view {
  width: 100%;
  height: calc(100vh - 70px);
  background-color: #FCFCFC;
  position: relative;
  overflow: hidden;
}

.first-view__text-area {
  position: absolute;
  z-index: 30;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 3% 8%;
}

.first-view__text {
  font-weight: bold;
  font-size: clamp(32px, 2.5vw, 40px);
}

.first-view__text--01,
.first-view__text--02,
.first-view__text--03,
.first-view__text--04,
.first-view__text--05 {
  display: block;
  width: max-content;
  margin-bottom: clamp(10px, 1vw, 17px);
  padding: 4px 10px 5px 10px;
  position: relative;
  box-shadow: 0px 0px 8px #00000010;
}

.first-view__text--02,
.first-view__text--03,
.first-view__text--04 {
  color: #FCFCFC;
  background-color: #004C99;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .5s ease-out, transform .5s ease-out;
}

.first-view__text--02.action,
.first-view__text--03.action,
.first-view__text--04.action {
  opacity: 1;
  transform: translateX(0);
}

.first-view__text--01 {
  background-color: #ffffff;
  color: #004C99;
  opacity: 0;
  transition: opacity .7s ease-in;
}

.first-view__text--01.action {
  opacity: 1;
}

.first-view__text--05 {
  color: #004C99;
  background-color: #ffffff;
  margin: clamp(40px, 3.5vw, 60px) 0 0;
  padding: 5px 10px 5px 0px;
  opacity: 0;
  transition: opacity .7s ease-in;
}

.first-view__text--05.action {
  opacity: 1;
}

.first-view__text--05-01 {
  font-weight: 700;
  font-size: 1.05em;
}

.first-view__text--05-02 {
  font-weight: bold;
}

.first-view__btn {
  margin-top: clamp(50px, 5vw, 120px);
  width: clamp(230px, 25vw, 400px);
  height: clamp(55px, 5vw, 77px);
  opacity: 0;
  transition: opacity .7s ease-in;
}

.first-view__btn.action {
  opacity: 1;
}


.first-view__btn--text {
  font-size: clamp(18px, 1.8vw, 30px);
  left: 5%;
}

.first-view__btn--icon {
  width: 12px;
  height: 12px;
  right: 5%;
}

.first-view__img-area {
  width: 100%;
  height: 100%;
}

.first-view__img-area--left {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 100%;
  z-index: 10;
  background: url(../images/index/first-view-left.webp) left/cover no-repeat;
}

.first-view__img-area--right {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 20;
  background: url(../images/index/first-view-right.webp) center/cover no-repeat;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.first-view__animation--layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  background-color: #FCFCFC;
  transition: transform 1s ease;
}

.first-view__animation--layer.action {
  transform: translateX(100%);
}


.first-view-animation-layer__contents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1.5vw;
  align-items: center;
  opacity: 0;
  transition: opacity .5s ease-in;
}

.first-view-animation-layer__contents.action {
  opacity: 1;
}

.first-view-animation-layer__contents img {
  width: 7vw;
  min-width: 40px;
}

.first-view-animation-layer__contents p {
  font-weight: bold;
  font-size: clamp(23px, 4.2vw, 150px);
  white-space: nowrap;
  transform: translateY(-2%);
}



/* メイン */
.content-title {
  color: #004C99;
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: clamp(35px, 4vw, 70px);
}


/* 会社案内コンテンツ */
.index-about__content-01 {
  display: flex;
  gap: 4%;
}

.index-about__content-01--text {
  width: calc((100% - 4%)/2);
}

.index-about__content-01--text-01 {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 7%;
}

.index-about__btn {
  margin-top: 10%;
}

.index-about__content-01--img {
  width: calc((100% - 4%)/2);
}

.index-about__content-02 {
  width: calc(100% + 6vw);
  transform: translateX(-3vw);
  padding: clamp(22px, 3vw, 45px);
  background-color: #F7F7F7;
  margin-top: 5vw;
  height: clamp(470px, 60vw, 550px);
  box-shadow: 0px 0px 8px #00000010;
}

.index-about__content-02--title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: clamp(50px, 4vw, 80px);
}

.index-about__content-02-details {
  display: flex;
  gap: 4%;
}

.index-about__content-02--text {
  width: calc((100% - 4%)/2);
}

.index-about__content-02--text-01 {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10%;
}

.index-about__content-02--text-01 span {
  font-size: 1.1em;
  color: #004C99;
  margin-right: 3px;
}


.index-about__content-02--img {
  width: calc((100% - 4%)/2);
  transform: translateY(-25%);
}


/* 施工紹介 */
.index-service {
  background-color: #F8F8F8;
}

.index-service__content-01 {
  display: flex;
  margin-bottom: clamp(70px, 10vw, 90px);
  box-shadow: 0px 0px 8px #00000010;
}

.index-service__content-01-img {
  width: 50%;
}

.index-service__content-01-text {
  width: 50%;
  padding: 4% 4% 4% 4%;
  background-color: #FCFCFC;
}

.index-service__content-01--title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 5%;
}

.index-service__btn-01 {
  width: clamp(230px, 30vw, 250px);
  height: clamp(50px, 6.5vw, 55px);
  margin-top: 10%;
}

.index-service__btn-01--text {
  font-size: 1.1em;
}

.index-service__btn-01--icon {
  border-top: solid #004C99 2px;
  border-right: solid #004C99 2px;
}

.index-service-flex-group {
  display: flex;
  gap: 2%;
}

.index-service__content-02,
.index-service__content-03,
.index-service__content-04 {
  width: 32%;
  background-color: #FCFCFC;
  box-shadow: 0px 0px 8px #00000010;
}

.index-service-flex-group__img {
  width: 100%;
}

.index-service-flex-group_text {
  padding: 5% 4% 4%;
}

.index-service-flex-group__title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 5%;
}

.index-service__btn-02 {
  margin: clamp(70px, 10vw, 90px) auto 0;

}


/* お知らせ */
.index-news__list {
  display: flex;
  align-items: center;
  gap: 7%;
  padding: clamp(20px, 3%, 27px) clamp(10px, 2%, 18px);
}

.index-news__list:not(:last-of-type) {
  border-bottom: solid 1px #D9D9D9;
}

.index-news__category {
  width: 100px;
  height: 40px;
  position: relative;
  border: solid 1px #004C99;
}

.index-news__category span {
  width: 100%;
  color: #004C99;
  font-weight: 600;
  font-size: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.category-color {
  background-color: #036dd6;
  font-weight: 500;
}

.category-color span {
  color: #FCFCFC;
}


.index-news__list-title {
  font-weight: 500;
  text-decoration: underline;
  font-size: 1.1em;
  transition: opacity .3s ease;
}

.index-news__list-title:hover {
  opacity: .8;
}

.index-news__btn {
  margin: clamp(70px, 10vw, 90px) auto 0;
}





@media(max-width:1000px) {

  .first-view__text-area {
    padding: 3% 5%;
  }

  .first-view__btn--icon {
    width: 12px;
    height: 12px;
    right: 5%;
    border-top: solid #004C99 2px;
    border-right: solid #004C99 2px;
  }
}


@media(max-width:780px) {

  /* ファーストビュー */
  .first-view {
    height: calc(100vh - 60px);
  }

  .first-view__img-area--left {
    display: none;
  }

  .first-view__img-area--right {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 95%);
  }

  .first-view__text-area {
    bottom: 0;
    top: auto;
    left: 0;
    transform: translateY(-15%);
    padding: 2% 3%;
    padding-bottom: 20vw;
  }

  .first-view__text {
    font-size: clamp(16px, 4.5vw, 35px);
  }

  .first-view__text--01,
  .first-view__text--02,
  .first-view__text--03,
  .first-view__text--04,
  .first-view__text--05 {
    margin-bottom: clamp(4px, 1vw, 10px);
    padding: 2px 7px 3px;
  }

  .first-view__text--05 {
    margin: clamp(25px, 3.5vw, 40px) 0 0;
    padding: 2px 10px 3px 0px;
  }

  .first-view__btn {
    width: clamp(190px, 37vw, 260px);
    height: clamp(40px, 9vw, 60px);
    position: absolute;
    right: 3%;
    bottom: 1%;
  }

  .first-view__btn--text {
    font-size: clamp(14px, 3vw, 20px);
    left: 5%;
  }

  .first-view__btn--icon {
    width: 12px;
    height: 12px;
    right: 5%;
  }

  .first-view-animation-layer__contents {
    transform: translate(-50%, -70%);
  }


  /* 会社案内 */
  .index-about__content-01 {
    flex-direction: column-reverse;
    gap: 3vw;
  }

  .index-about__content-01--img {
    width: 100%;
  }

  .index-about__content-01--text {
    width: 100%;
  }

  .index-about__btn {
    margin: 7% auto 0;
  }

  .index-about__content-02 {
    margin-top: 7vw;
    height: auto;
  }

  .index-about__content-02-details {
    flex-direction: column-reverse;
    gap: 3vw;
  }

  .index-about__content-02--text {
    width: 100%;
  }

  .index-about__content-02--img {
    width: 100%;
    transform: translate(0, 0);
  }

  /* 施工案内 */
  .index-service__content-01 {
    flex-direction: column;
    margin-bottom: 5vw;
  }

  .index-service__content-01-img {
    width: 100%;
  }

  .index-service__content-01-text {
    width: 100%;
  }

  .index-service-flex-group__title {
    font-size: 1.3em;
  }

  .index-service__btn-01 {
    margin: 7% auto 0;
  }

  .index-service-flex-group {
    display: block;
  }

  .index-service__content-02,
  .index-service__content-03,
  .index-service__content-04 {
    width: 100%;
  }

  .index-service__content-02,
  .index-service__content-03 {
    margin-bottom: 5vw;
  }

  .index-service__btn-02 {
    margin: 5vw auto 3vw;
  }

  /* ニュース */
  .index-news__list {
    flex-wrap: wrap;
  }

  .index-news__list-title {
    width: 100%;
    margin-top: clamp(12px, 3vw, 20px);
  }

  .index-news__category {
    width: 100px;
    height: 35px;
  }

  .index-news__btn {
    margin: clamp(25px, 5vw, 35px) auto 3vw;
  }

}