@charset "utf-8";

/*============================
お知らせパーツ
============================*/
.top_news_parts {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 100;
  /* display: none; */
}
@media screen and (max-width: 640px) {
  .top_news_parts {
    width: 100%;
  }
}

.top_news_parts a {
  display: flex;
  align-items: center;
  background-color: #FFF;
  padding: 0.20rem 0.30rem;
  padding-right: 0.60rem;
  color: #191919;
  width: fit-content;
  position: relative;
}
@media screen and (max-width: 640px) {
  .top_news_parts a {
    padding: 0.20rem;
    padding-right: 0.40rem;
    width: 100%;
    box-sizing: border-box;
  }
}

.top_news_parts a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 0.05rem solid transparent;
  border-bottom: 0.05rem solid transparent;
  border-left: 0.06rem solid #246a8c;
  border-right: 0;
  position: absolute;
  right: 0.20rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.top_news_parts a:hover::after {
  right: 0.16rem;
}

.top_news_parts a .date {
  font-family: "Outfit", sans-serif;
  font-size: 0.14rem;
  position: relative;
}
@media screen and (max-width: 640px) {
  .top_news_parts a .date {
    font-size: 0.12rem;
  }
}

.top_news_parts a .border {
  width: 0.20rem;
  height: 1px;
  background-color: #666;
  margin: 0 0.20rem;
}
@media screen and (max-width: 640px) {
  .top_news_parts a .border {
    width: 0.15rem;
    margin: 0 0.10rem;
  }
}

.top_news_parts a .ttl {
  font-size: 0.14rem;
  font-weight: 600;
  color: #246a8c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 3.00rem;
}
@media screen and (max-width: 640px) {
  .top_news_parts a .ttl {
    font-size: 0.13rem;
    max-width: fit-content;
  }
}

/*============================
mv
============================*/
#mv {
  width: 100%;
  height: 100svh;
  position: fixed;
  overflow: hidden;
}

#mv .splide {
  width: 100%;
  height: 100%;
}

#mv .splide__track {
  width: 100%;
  height: 100%;
}

#mv .splide__list {
  width: 100%;
  height: 100%;
}

#mv .splide__slide {
  width: 100%;
  height: 100%;
  transition: opacity 4s ease-in-out;
}


/* 
#mv .slide-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: inherit;
  transform: scale(1);
  z-index: 0;
  opacity: 1;
  transition: transform 0.5s;
}

#mv .splide__slide.is-active .slide-content::after {
  animation: zoomIn 12s linear;
}

@keyframes zoomIn {
  1% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  } 
} */

#mv .splide__slide .slide-content {
  transform: scale(1.0);
  overflow: hidden; 
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#mv .slide-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

#mv .splide__slide.is-visible .slide-content {
  animation: zoomIn 5s linear forwards; 
}

@keyframes zoomIn {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.06);
  }
}

/* スライド終了時の対応（ずれないための処置） */
#mv .splide__slide:not(.is-visible):not(.is-active) .slide-content {
  animation: none;
  transform: scale(1.06);
}

/* 固定テキスト */
#mv_txt {
  height: 100vh;
}

@media screen and (max-width: 640px) {
  #mv_txt {
    overflow-x: hidden;
  }
}
#mv_txt .fixed-text {
  /* position: absolute;
	top: 0;
	left: 0; */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

#mv_txt .in {
  position: absolute;
  top: 50%;
  left: 0.40rem;
  transform: translateY(-50%);
}
@media screen and (max-width: 640px) {
  #mv_txt .in {
    top: auto;
    bottom: 15vh;
    left: 0.10rem;
  }
}

/* #mv_txt .text_wrap {
  padding-top: 2rem;
}
@media screen and (max-width: 640px) {
  #mv_txt .text_wrap {
    padding-top: 0;
  }
}

#mv_txt .text_wrap .mv_ttl {
  font-size: 0.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.5);
  font-family: "Noto Serif JP", serif;
} */

#mv_txt .mv_ttl {
  font-size: 0.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.5);
  padding-bottom: 0.20rem;
}
@media screen and (max-width: 640px) {
  #mv_txt .mv_ttl {
    font-size: 0.16rem;
    font-weight: 600;
    letter-spacing: 0.15em;
  }
}

#mv_txt .txt {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.5);
  font-family: "Playfair Display", serif;
  line-height: 1.33;
}
@media screen and (max-width: 640px) {
  #mv_txt .txt {
  font-size: 0.36rem;
  letter-spacing: 0.05em;
}
}

/* Splideの矢印ボタンを非表示 */
#mv .splide__arrow {
  display: none;
}

/* ページネーション（ドット）をカスタマイズ */
#mv .splide__pagination {
  left: auto;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 640px) {
  #mv .splide__pagination {
    right: 0.04rem;
  }
}

#mv .splide__pagination__page {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 0.1rem;
  height: 0.1rem;
  margin: 0.1rem 0;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.7;
}
@media screen and (max-width: 640px) {
  #mv .splide__pagination__page {
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 0.06rem;
    height: 0.06rem;
    margin: 0.06rem 0;
  }
}

#mv .splide__pagination__page:hover {
  opacity: 1;
  transform: scale(1.1);
}

#mv .splide__pagination__page.is-active {
  background: #fff;
  border-color: #fff;
  opacity: 1;
  transform: scale(1.3);
}

/*============================
リード
============================*/
#top_lead {
  width: 100%;
  /* height: 100vh; */
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}
@media screen and (max-width: 640px) {
  #top_lead {
    padding: 1rem 0 0.60rem;
  }
  #top_lead .in {
    padding: 0 0.3rem;
  }
}

#top_lead .cont_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#top_lead .text_wrap {
  width: 60%;
  box-sizing: border-box;
  padding-right: 0.6rem;
}
@media screen and (max-width: 640px) {
  #top_lead .text_wrap {
    width: 100%;
    padding-right: 0;
  }
}

#top_lead .text_wrap .deco {
  font-size: 0.3rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: #191919;
  font-family: "Playfair Display", serif;
  color: #fff;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 0.06rem rgba(0,0,0,0.2);
}
@media screen and (max-width: 640px) {
  #top_lead .text_wrap .deco {
    font-size: 0.2rem;
  }
}

#top_lead .text_wrap .deco span {
  font-size: 0.5rem;
}
@media screen and (max-width: 640px) {
  #top_lead .text_wrap .deco span {
    font-size: 0.36rem;
  }
}

#top_lead .text_wrap .ttl {
  font-size: 0.3rem;
  font-weight: 600;
  color: #191919;
  font-family: "Noto serif JP", serif;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
@media screen and (max-width: 640px) {
  #top_lead .text_wrap .ttl {
    font-size: 0.20rem;
    letter-spacing: 0.03em;
    line-height: 1.8;
    margin-bottom: 0.2rem;
  }
}

#top_lead .text_wrap .txt {
  font-size: 0.16rem;
  color: #191919;
  /* font-family: "Noto serif JP", serif; */
  line-height: 2;
  margin-bottom: 0.3rem;
}
@media screen and (max-width: 640px) {
  #top_lead .text_wrap .txt {
    font-size: 0.14rem;
    text-align: justify;
  }
}

#top_lead .img_wrap {
  width: 40%;
}
@media screen and (max-width: 640px) {
  #top_lead .img_wrap {
    width: 100%;
  }
}

#top_lead .img_wrap .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#top_lead .img_wrap .list .item {
  width: 48%;
  margin-bottom: 0.2rem;
}

#top_lead .img_wrap .list .item img {
  border-radius: 0.12rem;
}

/*============================
アバウト
============================*/
#about {
  background: #fff;
  padding-top: 1.5rem;
}
@media screen and (max-width: 640px) {
  #about {
    padding-top: 1rem;
  }
}

#about.colmn2 .cont_wrap .ttl_wrap {
  text-align: left;
}

@media screen and (max-width: 640px) {
  #about.colmn2 .cont_wrap .ttl_wrap {
    padding-left: 0.2rem;
  }
}

.colmn2 .cont_wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* margin: 1rem auto 0; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.colmn2 .cont_wrap .ttl_wrap {
  width: 100%;
  text-align: center;
}

.colmn2 .cont_wrap .img_wrap {
  width: 50%;
  height: 6rem;
  border-radius: 0 0.1rem 0.1rem 0;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .colmn2 .cont_wrap .img_wrap {
    width: 100%;
    height: 66vw;
    border-radius: 0;
  }
}

.colmn2 .cont_wrap .img_wrap img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 640px) {
  .colmn2 .cont_wrap .img_wrap img {
    width: 130%;
    height: 130%;
  }
}

.colmn2 .cont_wrap .text_wrap {
  width: 50%;
  box-sizing: border-box;
  padding-left: 0.8rem;
  max-width: 5.4rem;
}
@media screen and (max-width: 640px) {
  .colmn2 .cont_wrap .text_wrap {
    width: 100%;
    padding: 0.2rem 0.20rem;
    max-width: 100%;
  }
}

.colmn2 .text_wrap .txt {
  font-size: 0.16rem;
  color: #191919;
  line-height: 2;
  margin-bottom: 0.4rem;
}
@media screen and (max-width: 640px) {
  .colmn2 .text_wrap .txt {
    font-size: 0.15rem;
    text-align: justify;
  }
  .colmn2 .text_wrap .btn a {
    margin: auto;
  }
}

/* 
.flex_cont .cont_wrap {
	max-width: 14rem;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.flex_cont .img_wrap {
	width: 48%;
}

.flex_cont .text_wrap {
	width: 50%;
	box-sizing: border-box;
	padding-left: 0.8rem;
}


.flex_cont .text_wrap .txt {
	font-size: 0.16rem;
	color: #191919;
	line-height: 2;
	max-width: 5.4rem;
	margin-bottom: 0.4rem;
} */

/*============================
施工実績
============================*/
#works {
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  background: #fff;
}
@media screen and (max-width: 640px) {
  #works {
    padding-top: 1rem;
    padding-bottom: 0.6rem;
  }
}


#works.colmn2 .cont_wrap .ttl_wrap {
  text-align: left;
}

@media screen and (max-width: 640px) {
  #works.colmn2 .cont_wrap .ttl_wrap {
    padding-left: 0.2rem;
  }
}

#works .cont_wrap {
  flex-flow: row-reverse;
}
@media screen and (max-width: 640px) {
  #works .cont_wrap {
    flex-flow:row;
    flex-wrap: wrap;
  }
}

.works_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#works.colmn2 .cont_wrap .img_wrap {
  border-radius: 0.1rem 0 0 0.1rem;
}
@media screen and (max-width: 640px) {
  #works.colmn2 .cont_wrap .img_wrap {
    border-radius:0;
  }
}

#works.colmn2 .cont_wrap .text_wrap {
  padding-left: 0;
  padding-right: 0.8rem;
}
@media screen and (max-width: 640px) {
  #works.colmn2 .cont_wrap .text_wrap {
    padding: 0.20rem 0.20rem;
  }
}

/*============================
ニュース
============================*/
#news {
  background: #dee9ee;
}

#news .btn_common {
  margin-top: 0.7rem;
}
@media screen and (max-width: 640px) {
  #news .btn_common {
    margin-top: 0.4rem;
  }
}

#news .btn_common a {
  margin: auto;
}

/*============================
会社概要
============================*/
#company {
  padding: 1rem 0;
  background: #fff;
}
@media screen and (max-width: 640px) {
  #company {
    padding: 0.6rem 0;
  }
}

#company .ttl_wrap {
  text-align: center;
}

#company table {
  background-color: #fff;
  width: 100%;
  border-collapse: collapse;
  max-width: 8rem;
  margin: auto;
  margin-top: 0.8rem;
}
@media screen and (max-width: 640px) {
  #company table {
    margin-top: 0.2rem;
  }
}


#company table tr {
  border-bottom: 1px solid #ccc;
}

#company table th {
  font-size: 0.16rem;
  font-weight: normal;
  padding: 0.25rem 0;
  width: 2rem;
  text-align: left;
  line-height: 1.5;
  vertical-align: top;
}
@media screen and (max-width: 640px) {
  #company table th {
    font-size: 0.14rem;
    font-weight: 700;
    display: block;
    width: 100%;
    padding: 0.15rem 0 0;
  }
}

#company table td {
  background-color: #fff;
  color: #191919;
  font-size: 0.16rem;
  padding: 0.25rem;
  line-height: 1.5;
}
@media screen and (max-width: 640px) {
  #company table td {
    font-size: 0.14rem;
    display: block;
    padding: 0.15rem 0;
  }
}

/*============================
お問い合わせ
============================*/
#contact {
  padding: 1.4rem 0;
  background: url(../img/top/contact_bg.jpg) no-repeat left center;
  background-size: cover;
  background-attachment: fixed;
}
@media screen and (max-width: 640px) {
  #contact {
    padding: 0.8rem 0;
    background-attachment: scroll;
    position: relative;
  }
  #contact::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
}

#contact .ttl_wrap {
  text-shadow: 0 0 0.06rem rgba(0,0,0,0.2);
}
@media screen and (max-width: 640px) {
  #contact .ttl_wrap {
    text-align: center;
    position: relative;
    z-index: 1;
  }
}


#contact .ttl_wrap .en {
  color: #fff;
  margin-bottom: 0.1rem;
}

#contact .ttl_wrap .jp {
  color: #fff;
}

#contact .text {
  font-size: 0.16rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #fff;
  line-height: 2;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 0.06rem rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 640px) {
  #contact .text {
    font-size: 0.14rem;
    font-weight: 400;
    line-height: 1.91;
    margin-bottom: 0.30rem;
  }
  #contact .btn {
    position: relative;
    z-index: 1;
  }
  #contact .btn a {
    margin: auto;
  }
}