@charset "utf-8";

/* 
ポイントカラー赤：#AF0107;
背景うすいグレー：#F3F3F3;
*/

/* -------------------------------
セクション共通
------------------------------------*/
.top-title_left {

}

.top-title_left-subtitle {
  font-size: 1.4rem;
}

.top-title_left-h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.5em;
  position: relative;
}
.top-title_left-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 7.2rem;
  height: .2rem;
  background-color: #AF0107;
}
@media screen and (max-width: 1024px) {
  .top-title_left-h2 {
    font-size: 3.2rem;
  }
}

.top-title_center-subtitle {
  font-size: 1.4rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.top-title_center-h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.5em;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.top-title_center-h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 7.2rem;
  height: .2rem;
  background-color: #AF0107;
}
@media screen and (max-width: 1024px) {
  .top-title_center-h2 {
    font-size: 3.2rem;
  }
}

/* -------------------------------
/ セクション共通
------------------------------------*/

/* -------------------------------
メインビジュアル
------------------------------------*/
.mainvisual-section {
  position: relative;
}

.mainvisual {
  width: 100%;
  height: 68rem;
  background-image: url(../img/top/mainvisual.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-position: center; */
  background-position: center 67%;
  filter: brightness(96%);
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .mainvisual {
    height: 44rem;
  }
}

.mainvisual-text {
  font-size: 4.5rem;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media screen and (max-width: 1024px) {
  .mainvisual-text {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 767px) {
  .mainvisual-text {
    font-size: 2.4rem;
    text-align: center;
    line-height: 1.5;
  }
}

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

/* -------------------------------
営業案内
------------------------------------*/
.service-flexbox {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .service-flexbox {
    display: block;
  }
}

.service-flexbox-child01 {
  width: 65%;
}
@media screen and (max-width: 1024px) {
  .service-flexbox-child01 {
    width: 100%;
  }
}

.service-flexbox-child02 {
  width: 25%;
}
@media screen and (max-width: 1024px) {
  .service-flexbox-child02 {
    width: 100%;
  }
}

.service-flexbox-child02-imgbox {
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .service-flexbox-child02-imgbox {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.service-flexbox-child02-imgbox img {
  width: 100%;
  vertical-align: bottom;
}
/* -------------------------------
/ 営業案内
------------------------------------*/

/* -------------------------------
施工実績
------------------------------------*/
.works-desc {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.works-flexbox {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .works-flexbox {
    display: block;
  }
}

.works-flexbox-child {
  width: 30%;
}
@media screen and (max-width: 767px) {
  .works-flexbox-child {
    width: 100%;
  }
}

.works-imgbox {
  width: 100%;
}

.works-imgbox img {
  width: 100%;
  vertical-align: bottom;
}

.works-retailname {
  font-size: 1.1em;
  font-weight: 700;
  border-bottom: solid 2px #333;
}

.works-method {

}

.morebtn_works {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
/* -------------------------------
/ 施工実績
------------------------------------*/

/* -------------------------------
会社案内
------------------------------------*/

@media screen and (max-width: 1024px) {
  .section.company {
    width: 100%;
    background-color: #F3F3F3;
  }
}

.company-flexbox {
  background-color: #F3F3F3;
  padding: 7.2rem;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .company-flexbox {
    background-color: transparent;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 4.8rem 0;
    display: block;
  }
}

.company-flexbox-child01 {
  width: calc(100% - 37rem);
}
@media screen and (max-width: 1024px) {
  .company-flexbox-child01 {
    width: 100%;
  }
}

.company-flexbox-child02 {
  width: 27rem;
}
@media screen and (max-width: 1024px) {
  .company-flexbox-child02 {
    width: 100%;
  }
}

.company-flexbox-child02-imgbox {
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .company-flexbox-child02-imgbox {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.company-flexbox-child02-imgbox img {
  width: 100%;
  vertical-align: bottom;
}
/* -------------------------------
/ 会社案内
------------------------------------*/