@charset "utf-8";
/*------------------------------------------------
  トップページ
------------------------------------------------*/

/*========== メインビジュアル ==========*/

.main-visual {
  padding-top: 60px;
  position: relative;
}

.main-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 60px);
  background-image: url(../../images/top/top_main_visual_background.jpg);
  background-position: center;
  background-size: cover;
}

.main-visual-title {
  color: #fff;
  width: 100%;
  font-size: 5vw;
  text-align: center;
  text-shadow: /*rgba(0, 0, 0, 1) 5px 5px 6px,*/
    rgba(3, 66, 107, 1) 0 0 1px,
    rgba(3, 66, 107, 1) 0 0 5px,
    rgba(3, 66, 107, 1) 0 0 10px,
    rgba(3, 66, 107, 1) 0 0 30px,
    rgba(3, 66, 107, 1) 0 0 30px,
    rgba(3, 66, 107, 1) 0 0 40px,
    rgba(3, 66, 107, 1) 0 0 50px;
  background-image: url(../../images/top/top_main_visual_inner_background.png);
  background-position: center center;
  background-size: cover;
  padding: 30px 0;
  line-height: 2.5;
}

@media print, screen and (min-width: 600px) {
  .main-visual-title {
    font-size: 3rem;
    text-shadow:  /*rgba(0, 0, 0, 1) 5px 5px 6px,*/
      rgba(3, 66, 107, 1) 0 0 1px,
      rgba(3, 66, 107, 1) 0 0 5px,
      rgba(3, 66, 107, 1) 0 0 10px,
      rgba(3, 66, 107, 1) 0 0 30px,
      rgba(3, 66, 107, 1) 0 0 30px,
      rgba(3, 66, 107, 1) 0 0 40px,
      rgba(3, 66, 107, 1) 0 0 50px;
  }
}

@media print, screen and (min-width: 769px) {
  .main-visual {
    padding-top: 90px;
  }

  .main-visual-inner {
    height: 759px;
    margin-top: -90px;
    padding: 0;
    justify-content: center;
    background-position: top center;
  }

  .main-visual-title {
    font-size: 3.6rem;
    line-height: 2;
    height: 260px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}


/*========== 新着情報 ==========*/
.main-visual-bnr {
  position: fixed;
  right: 0;
  top: 100px;
  width: 160px;
  border: 4px solid #fff;
  z-index: 100;
}
.main-visual-bnr a,
.main-visual-bnr a > img {
  width: 100%;
}


@media print, screen and (min-width: 769px) {
  .main-visual-bnr {
    width: 260px;
    top: 200px;
    border: 8px solid #fff;
  }
}

@media print, screen and (min-width: 1600px) {
  .main-visual-bnr {
    width: 260px;
    top: 14px;
    border: 10px solid #fff;
  }
}



/*========== 新着情報 ==========*/

.news {}

.news-inner {
  padding: 0 15px;
  width: 100%;
  height: 250px;
  overflow-y: auto;
}
.news-list {
  width: 100%;
}
.news-item {
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 15px;
}
.news-date {
  color: #666;
  width: 100%;
  font-size: 1.3rem;
}
.news-content {
  width: 100%;
  font-weight: 350;
}
.news-pic {
  width: 80%;
  margin: 15px auto;
}
.news-pic > img{
  width: 100%;
}

.news-pic.wide {
  width: 80%;
  margin: 15px auto;
  display: block;
}

@media print, screen and (min-width: 600px) {
  .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .news-date {
    width: 80px;
    margin-right: 15px;
    font-size: 1.4rem;
  }
  .news-content {
    width: calc(100% - 105px);
    font-size: 1.4rem;
  }
  .news-pic,
  .news-pic.wide {
    margin: 15px 0;
  }
}

@media print, screen and (min-width: 769px) {
  .news {
    margin-top: 100px;
    margin-bottom: 50px;
  }
  .news-inner {
    width: 800px;
    height: 400px;
    margin: auto;
    padding: 0;
  }
  .news-date {
    font-size: 1.6rem;
  }
  .news-content {
    font-size: 1.6rem;
  }
  .news-pic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .news-pic > img {
    width: 300px;
    margin: auto;
  }
  .news-pic.wide {
    width: 100%;
  }
  .news-pic.wide > img {
    width: 600px;
    margin: auto;
  }
}

/*========== コンテンツについて ==========*/

.about {
  margin-top: 50px;
/*  margin-bottom: 50px;*/
}

.about-inner {
  padding: 0 15px;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-item:not(:nth-last-of-type(-n+2)) {
  width: 100%;
}

.about-item:nth-last-of-type(-n+2){
  width: calc(50% - 7.5px);
}

.about-item:not(:last-of-type) {
  margin-bottom: 15px;
}

.about-item-button {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 180px;
  background-position: center;
  background-size: cover;
}

/*-------ボタン背景写真-------*/
/*会社情報*/
.about-item-button-company {
  background-image: url(../../images/top/top_about_company_bg.jpg);
}
/*事業領域*/
.about-item-button-business {
  background-image: url(../../images/top/top_about_business_bg.jpg);
}
/*私たちの強み*/
.about-item-button-features {
  background-image: url(../../images/top/top_about_features_bg.jpg);
}
/*工事実績*/
.about-item-button-construction {
  background-image: url(../../images/top/top_about_construction_bg.jpg);
}
/*サービスフロー*/
.about-item-button-flow {
  background-image: url(../../images/top/top_about_flow_bg.jpg);
}
/*採用情報*/
.about-item-button-recruit {
  background-image: url(../../images/top/top_about_recruit_bg.jpg);
}
/*アクセス お問合せ*/
.about-item-button-access,
.about-item-button-contact {
  background-color: #e9e6eb;
}


/*-------ラベル-------*/
.about-item-button-label {
  padding: 10px;
  color: #fff;
  font-size: 1.5rem;
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 500;
  text-align: center;
  position: relative;
}

/*-------ラベル矢印-------*/
.about-item-button-label::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7.5px 7.5px 7.5px 7.5px;
  border-color: rgba(255,255,255,0) rgba(255,255,255,0.5) rgba(255,255,255,0.5) rgba(255,255,255,0);
  position: absolute;
  bottom: 7.5px;
  right: 7.5px;
}

/*アクセス お問合せ*/
.about-item-button-access .about-item-button-label::before,
.about-item-button-contact .about-item-button-label::before {
  border-color: rgba(34, 49, 73, 0) rgba(34, 49, 73,1) rgba(34, 49, 73,1) rgba(34, 49, 73,0);
}

/*-------ラベル調整-------*/
/*会社情報*/
.about-item-button-company .about-item-button-label {
  background-color: rgba(43, 62, 91, 0.9);
}
/*事業領域*/
.about-item-button-business .about-item-button-label {
  background-color: rgba(54, 90, 118, 0.9);
}
/*私たちの強み*/
.about-item-button-features .about-item-button-label {
  background-color: rgba(164, 72, 88, 0.9);
}
/*工事実績*/
.about-item-button-construction .about-item-button-label {
  background-color: rgba(75, 61, 147, 0.9);
}
/*サービスフロー*/
.about-item-button-flow .about-item-button-label {
  background-color: rgba(103, 85, 1, 0.9);
}
/*採用情報*/
.about-item-button-recruit .about-item-button-label {
  background-color: rgba(64, 93, 83, 0.9);
}
/*アクセス お問合せ*/
.about-item-button-access .about-item-button-label,
.about-item-button-contact .about-item-button-label {
  color: #000;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 65px;
}
.about-item-button-access .about-item-button-label::after,
.about-item-button-contact .about-item-button-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-size: cover;
  position: absolute;
  top: 60px;
  left: 50%;
  margin-left: -20px;
}
.about-item-button-access .about-item-button-label::after {
  background-image: url(../../images/top/top_about_access_img.png);
}
.about-item-button-contact .about-item-button-label::after {
  background-image: url(../../images/top/top_about_contact_img.png);
}


@media print, screen and (min-width: 600px) {
  .about-item:not(:nth-last-of-type(-n+2)) {
    width: calc(50% - 7.5px);
  }
  .about-item:nth-of-type(-n+2) {
    margin-bottom: 15px;
  }
}

@media print, screen and (min-width: 769px) {
  .about {
    margin-top: 100px;
    margin-bottom: 50px;
  }
  .about-inner {
    width: 1000px;
    margin: auto;
    padding: 0;
  }
  .about-list {
    position: relative;
    justify-content: flex-start;
  }
  /*リンク*/
  .about-item:not(:nth-of-type(1)) {
    width: 310px;
  }
  .about-item:nth-of-type(-n+4) {
    margin-bottom: 35px;
  }
  .about-item:nth-of-type(n+4) {
    margin-bottom: 0;
  }
  .about-item:not(:nth-of-type(1)):not(:nth-of-type(4)):not(:nth-of-type(7)):not(:nth-of-type(8)) {
    margin-right: 35px;
  }
  /*リンクサイズ調整---会社情報*/
  .about-item:nth-of-type(1) {
    width: 1000px;
  }
  /*リンクサイズ調整---アクセス お問合せ*/
  .about-item:not(:nth-last-of-type(-n+2)) .about-item-button {
    height: 310px;
  }
  .about-item:nth-last-of-type(-n+2) .about-item-button {
    height: 145px;
  }
  /*リンク位置調整---お問合せ*/
  .about-item:last-of-type {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  /*ラベル*/
  .about-item-button-label {
    padding: 15px;
    font-size: 2.4rem;
    text-align: left;
  }
  /*ラベル調整---会社情報*/
  .about-item .about-item-button-company > .about-item-button-label {
    width: 310px;
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  /*ラベル調整---アクセス お問合せ*/
  .about-item-button-access .about-item-button-label,
  .about-item-button-contact .about-item-button-label {
    padding-top: 15px;
    padding-left: 45px;
  }
  .about-item-button-access .about-item-button-label::after,
  .about-item-button-contact .about-item-button-label::after {
    width: 85px;
    height: 84px;
    top: 50%;
    left: 20px;
    margin-left: 0;
    margin-top: -42px;
  }
  /*-------ラベル矢印-------*/
  .about-item-button-label::before {
    bottom: 12px;
    right: 12px;
    border-width: 10px;
  }
}
