@charset "UTF-8";
/* layout */
.top-page {
  overflow: hidden;
}

.site-main.top-page {
  padding-bottom: 0;
}

.top-topics {
  margin: 24px 0;
}

.top-contents {
  margin-top: 40px;
  margin-bottom: 24px;
}

.top-works {
  background-color: #F5F5E4;
}

@media not all and (min-width: 768px) {
  .top-contents {
    padding: 0 15px;
  }
}
@media (min-width: 768px) {
  .top-topics {
    margin: 80px 0;
  }

  .top-contents {
    margin: 172px 0 96px;
  }

  /* .top-works {
    margin: 96px 0;
  } */
}
@media (min-width: 768px) {
  .top-contents {
    margin-bottom: 172px;
  }
}
/* button layout */
.top-topics__button,
.top-contents__button,
.top-works__button,
.top-contact__button {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .top-topics__button,
.top-contact__button {
    margin-top: 72px;
  }

  .top-contents__button {
    margin-top: 48px;
  }

  .top-works__button {
    margin-top: 36px;
  }

  .top-contact__button {
    margin-top: 40px;
  }
}
/* animation */
@keyframes lefttop {
  0% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(-10px, -15px);
  }
}
@keyframes leftdown {
  0% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(-10px, 15px);
  }
}
@keyframes pyoko01 {
  0% {
    transform: translate(0, 0px);
  }
  10% {
    transform: translate(0, -10px);
  }
  20% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(0, 0px);
  }
}
.top-topics::before,
.top-works__article-wrapper::before,
.top-contact__deco::before,
.top-contact__deco::after {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
}

.top-topics::before {
  animation-name: lefttop;
}

.top-works__article-wrapper::before {
  animation-name: leftdown;
}

.top-contact__deco::before,
.top-contact__deco::after {
  animation-name: pyoko01;
}

/* main visual */
.main-visual {
  position: relative;
  background-color: #000;
  width: 94vw;
  margin: 0 auto;
}
/* .main-visual::before, .main-visual::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  top: 0;
  z-index: 2;
} */


@media not all and (min-width: 1024px) {
  .main-visual {
    height: 100vh !important;
  }
}
@media not all and (min-width: 768px) {
  .main-visual {
    height: 80vh !important;
  }
}
.swiper-container,
.slide-img {
  height: 100%;
}

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

/* swiper */
.swiper-container-fade.swiper-container-free-mode .swiper-slide {
  transition-timing-function: ease-out;
}
.swiper-container-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}
.swiper-container-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}
.swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

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

@keyframes swiper-scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0px);
  }
  100% {
    transform: rotate(-45deg) translate(0, 10px);
  }
}
/* swiper-bar */
/* .swiper-progress.on::before {
  transform: translateX(0);
  transition: transform 5.5s linear;
}

.swiper-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #F4F2D9;
  z-index: 1;
}
.swiper-progress::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background-color: #0D623B;
  will-change: transform;
} */

.swiper-scroll {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  padding-bottom: 15px;
  position: absolute;
  bottom: 40px;
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
}

.swiper-scroll::before {
  animation: scroll 2s infinite;
  border: solid #fff;
  border-width: 0 0 1px 1px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}

@media not all and (min-width: 768px) {
  .swiper-scroll {
    display: none;
  }
}
@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  80% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@media not all and (min-width: 1024px) {
  .main-visual__contact {
    display: none;
  }
}
.main-visual__contact {
  position: fixed;
  right: 0;
  bottom: 30px;
  z-index: 3;
  color: #fff;
}

.main-visual__contact-link {
	display: flex;
    align-items: center;
    background-color: #403C30;
	opacity: 0.9;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 8px 40px;
    margin-right: 24px;
    transition: 0.1s;
    border-radius: 40px;
	font-family: 'Noto Serif JP';
}
.main-visual__contact-link::before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 42px;
  background-image: url("/wp-content/themes/withhome-child/assets/image/top/main_contact_02.png");
  background-size: contain;
  background-position: center bottom 9px;
  background-repeat: no-repeat;
  margin-right: 16px;
  transition: 0.1s;
}
.main-visual__contact-link:hover {
  opacity: 0.9;
}
.main-visual__contact-link:hover::before {
  background-image: url("/wp-content/themes/withhome-child/assets/image/top/main_contact_01.png");
}

/* TOPICS */
.article-top-topics__title {
  font-size: 1.4rem;
  font-weight: 400 !important;
  padding: 1px 0 0 10px;
}

.article-top-topics__date {
  display: inline-block;
  background-color: #E8ECD7;
  font-size: 1.2rem;
  padding: 3px 7px;
  white-space: nowrap;
}
.article-top-topics__box {
    padding: 14px 0;
  }
  .article-top-topics__box:not(:first-child) {
    border-top: 1px solid #403C30;
  }

  .article-top-topics__infobox {
    display: flex;
    align-items: self-end;
  }

  .article-top-topics__image {
    display: none;
  }

@media not all and (min-width: 768px) {
  .article-top-topics__box {
    padding: 14px 0;
  }
  .article-top-topics__box:not(:first-child) {
    border-top: 1px solid #403C30;
  }

  .article-top-topics__infobox {
    display: flex;
    align-items: self-end;
  }

  .article-top-topics__image {
    display: none;
  }
}
.top-contents__button .button {
	justify-content: center;
}


@media (min-width: 768px) {
  /* md幅で2カラム */
  /* .article-top-topics {
    display: flex;
    flex-wrap: wrap;
    margin: -20px -16px 0;
  }

  .article-top-topics__box {
    flex-basis: calc(50% - 16px * 2);
    margin: 20px 16px 0;
    padding: 0;
  }
  .article-top-topics__box:not(:first-child) {
    border-top: 0;
  }

  .article-top-topics__infobox {
    margin-top: 15px;
  }

  .article-top-topics__date {
    font-size: 1.4rem;
    padding: 3px 12px;
  }

  .article-top-topics__title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0 0 0 20px;
    margin-top: 10px;
  } */
  .top-contents__button .button {
	justify-content: flex-start;
    margin-left: 24px;
}
}
@media (min-width: 1024px) {
  /* lg幅で3カラム */
  /* .article-top-topics__box {
    flex-basis: calc(33.333% - 16px * 2);
  }

  .article-top-topics__infobox {
    margin-top: 16px;
  } */

  /* .top-topics {
    position: relative;
  } */
  /* .top-topics::before {
    content: "";
    display: inline-block;
    width: 104px;
    height: 75px;
    background-image: url("/wp-content/themes/withhome-child/assets/image/top/deco_02.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -25px;
    right: calc(50vw - (1130px - 15px * 2) / 2 - 104px);
  } */
}


/* CONTENTS */
.top-contents__box {
  display: flex;
  flex-direction: column;
  padding: 15px
}

.top-contents__image {
  order: 1;
  background-size: cover;
  background-position: center;
  padding-top: 65%;
  /* 画像の比率を固定 */
}

.top-contents__textbox {
  order: 2;
  padding: 32px 0 40px;
}

.top-contents__text {
  line-height: 2.286;
  /* text-align: center; */
  margin-top: 15px;
}

.top-contents02 .heading-primary{
	text-align: left;
	font-size: 2rem;
	background: #fff;
    display: inline;
}
.top-contents02 .heading-primary__text--underline {
    background: linear-gradient(transparent 60%, #fff 60%);
}
@media (min-width: 480px) {
  .top-contents__image {
    padding-top: 30%;
    /* 画像を横長にデザイン調整 */
  }
  .top-contents__text {
	margin-left: 16px;
  }

  .top-contents__textbox {
    padding: 32px 70px 40px;
  }
}
@media (min-width: 1024px) {
	.top-contents02 .heading-primary{
		font-size: 3rem;
	}
  .top-contents__box {
    flex-direction: row;
	justify-content: center;
	padding: 0;
  }

  .top-contents__box--reverse {
    flex-direction: row-reverse;
	justify-content: center;
  }

  .top-contents__image {
    width: 45%;
    padding-top: 0;
  }

  .top-contents__textbox {
    width: 50%;
    padding: 50px 65px 85px;
    max-width: 620px;
  }

  .top-contents__text {
    line-height: 2.625;
    margin-top: 22px;
  }
  .top-topics_wapper {
    display: flex;
    justify-content: space-between;
}
.article-top-topics {
    width: 65%;
}

}
@media (min-width: 1024px) {
.top-contents02__image{
	width: 40%;
	max-width: 500px;

}
}
/* WORKS */
.top-works {
	padding: 80px 0;
}

@media screen and (max-width: 767px) {
	.top-works__article-wrapper .article :nth-child(n+3) {
display: none;
}
}
@media (min-width: 768px) {
  .top-works__article-wrapper {
    margin-top: 50px;
  }
}
@media (min-width: 1024px) {
	.top-works {
		padding: 160px 0 160px;
		/* margin-top: 10vh; */
	}
  .top-works__article-wrapper {
    position: relative;
  }
  /* .top-works__article-wrapper::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 80px;
    background-image: url("/wp-content/themes/withhome-child/assets/image/top/deco_03.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -60px;
    left: -100px;
  } */
}
/* contact */
.top-contact {
  margin-top: 40px;
  padding-top: 40px;
  position: relative;
}
/* .top-contact::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50vw 40px 50vw;
  border-color: transparent transparent #F5F5E4 transparent;
} */
/* .top-contact::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 40px;
  background-color: #707070;
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  margin: 0 auto;
} */

.top-contact__container {
  background-color: #ECE8D9;
  padding: 40px 0;
}

.top-contact__inner {
  display: flex;
  flex-direction: column;
}

.top-contact__mapbox {
  order: 1;
}

.top-contact__infobox {
  order: 2;
}

.top-contact__map iframe {
  width: 100% !important;
  height: 194px;
}

.top-contact__name {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-top: 13px;
}

.top-contact__address {
  font-size: 1.2rem;
  text-align: center;
  margin-top: 2px;
}

.top-contact__infobox {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #403C30;
  display: flex;
  flex-direction: column;
}

.top-contact__button {
  order: 1;
}

.top-contact__title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  padding: 24px 0;
  position: relative;
}
.top-contact__title::before, .top-contact__title::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: #403C30;
}
.top-contact__title::before {
  transform: rotate(45deg);
}
.top-contact__title::after {
  transform: rotate(-45deg);
}

.top-contact__tel-number {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.2rem;
  font-weight: 700;
}
.top-contact__tel-number::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("/wp-content/themes/withhome-child/assets/image/common/tel_br.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 8px;
}



/* photo area */
.top-img_area {
	height: 15vh;
	display: flex;
}

.top-img_area_image {
	height: 15vh;
	width: 33.33%;
    background-size: cover;
    background-position: center;
}
@media (min-width: 1024px) {
.top-img_area {
	height: 32vh;
}
.top-img_area_image {
	height: 32vh;
}
}


/* voice */

.top-voice__article-wrapper .article__box .article__image a{
	display: flex;
	margin-top: 42px;
	justify-content: space-between;
}
.top-voice .containerL {
    padding: 80px 15px;
}
.voice_excerpt {
    width: 70%;
}

.top-voice__article-wrapper .article__title {
	position: relative;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #403C30;
	font-weight: 500;
	font-size: 1.8rem;
	text-align: center;
}

.top-voice__article-wrapper .article__title:before {
	position: absolute;
	top: 100%;
	left: 30%;
	transform: translateX(-50%) skew(-25deg);
	height: 20px;
	width: 10px;
	border-right: 1px solid #403C30;
	background-color: #fff;
	content: "";
}
.top-voice__article-wrapper .article__box {
	height: 250px;
	background-color: rgba(255,255,255,0.9);
	padding: 16px;
}


.top-voice {
	background-color:  #F5F5E4;
  }
  .top-voice .heading-slash {
	position: relative;
  }
  .top-voice .heading-slash::after {
content:'ウィズホームで注文住宅を建てられたお客様の声をご紹介します。';
position: absolute;
margin-top: 7rem;
  }
  .top-voice__article-wrapper .article__box .article__image a .customer_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: none;
    object-position: 54% 36%;
  }
  .top-voice__article-wrapper .article__box .article__image a p {
    margin-left: 8px;
	font-size: 12px;
}

  @media (min-width: 1024px) {
	.top-voice .containerL {
		padding: 160px 15px;
	}
	.top-voice__article-wrapper .article__box:nth-child(odd) {
		margin-top: 125px;
	}
	.top-voice__article-wrapper .article__box:nth-child(even) {
		margin-top: 0px;
	}
	.top-voice__article-wrapper .article__box .article__image a .customer_img {
		width: 130px;
		height: 130px;
	}
	.top-voice__article-wrapper .article__box .article__image a p {
		font-size: 14px;
	}
	}

	@media screen and (max-width: 767px) {
		.top-voice__article-wrapper .article {
			justify-content: center;
			margin-top: 56px;
		  }
		.top-voice__article-wrapper .article__box {
		flex-basis: fit-content;
		}
		.top-voice__article-wrapper .article .article__box:nth-child(n+3) {
			display: none;
		}
	  }
	  /* @media screen and (max-width: 767px) {
		.top-voice__article-wrapper .article :nth-child(n+3) {
	display: none;
	}} */
	


@media (min-width: 1024px) {
  .top-contact {
    margin-top: 72px;
    padding-top: 0;
  }
  .top-contact::before {
    border-width: 0 50vw 130px 50vw;
  }
  .top-contact::after {
    width: 1px;
    height: calc(100% - 80px);
    top: 0;
  }
/* 
  .top-contact__deco {
    position: relative;
  } */
  /* .top-contact__deco::before, .top-contact__deco::after {
    content: "";
    display: inline-block;
    width: 200px;
    height: 100px;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: absolute;
  }
  .top-contact__deco::before {
    background-image: url("/wp-content/themes/withhome-child/assets/image/top/contact_deco01.png");
    top: -98px;
    left: -105px;
  }
  .top-contact__deco::after {
    background-image: url("/wp-content/themes/withhome-child/assets/image/top/contact_deco02.png");
    top: -104px;
    right: -79px;
  } */

  .top-contact__container {
    padding: 80px 0;
  }

  .top-contact__inner {
    flex-direction: row;
    margin: 0 -30px;
    padding-top: 20px;
  }

  .top-contact__infobox {
    order: 1;
    width: 50%;
    margin: 0 30px;
    padding-top: 0;
    border-top: 0;
  }

  .top-contact__mapbox {
    order: 2;
    width: 50%;
    margin: 0 30px;
  }

  
  /* infobox */
  .top-contact__title {
    font-size: 2rem;
    padding: 16px 54px 5px;
    position: relative;
  }
  /* .top-contact__title::before, .top-contact__title::after {
    width: 86px;
    position: absolute;
    top: auto;
    bottom: 25px;
  }
  .top-contact__title::before {
    left: 0;
  }
  .top-contact__title::after {
    right: 0;
  } */

  .top-contact__button {
    order: 2;
  }

  .top-contact__tel {
    order: 3;
    margin-top: 64px;
  }

  /* tel */
  .top-contact__tel-number {
    font-size: 5.4rem;
  }
  .top-contact__tel-number::before {
    width: 58px;
    height: 58px;
    margin-right: 5px;
  }

  /* map */
  .top-contact__map iframe {
    height: 293px !important;
  }

  .top-contact__name {
    text-align: justify;
    font-size: 2.8rem;
    font-weight: 400;
  }

  .top-contact__address {
    text-align: justify;
    font-size: 1.6rem;
    margin-top: 12px;
  }
}


/* JOIN */
.mv_catch {
    position: absolute;
    width: 80vw;
    left: -2vw;
    bottom: 12vh;
    z-index: 2;
    height: 32px;
	line-height: 1.8;
}

.mv_catch span {
    font-size: 18px;
    font-weight: 500;
	background: rgba(255,255,255,0.8);
	margin-bottom: 8px;
	padding: 0 3vw;
}

@media (min-width: 1024px) {
	.mv_text {
    width: 250px;
    bottom: 0px;
	left: 40px;
	}
	.mv_catch {
		width: 40vw;
		bottom: 90px;
	}
	
	.mv_catch span {
		font-size: 28px;
	}
}

.newMark {
    display: inline-block;
    /* background-color: #b32626;
    color: #fff; */
    font-size: 1.2rem;
    padding: 3px 7px;
	background: linear-gradient(transparent 60%, #F4F2D9 60%);
}
/* 
.newMark::before, .newMark::after {
	content: "";
	display: inline-block;
	width: 20px;
	height: 1px;
	background-color: #403C30;
	margin-bottom: 4px;
  }
  .newMark::before {
	transform: rotate(45deg);
	margin-right: 6px;
  }
  .newMark::after {
	transform: rotate(-45deg);
	margin-left: 6px;
  } */

@media (min-width: 768px) {
.newMark  {
    font-size: 1.4rem;
    padding: 3px 12px;
}}

.container {
	position: relative;
	background: transparent;
	height: 10vh;
  }
  .wave {
	height: 10vh;
	background-size: cover;
  }
  .wave_002 .wave{
	height: 15vh;
  }
  .top-contents02 {
	background-image: url("/wp-content/themes/withhome-child/assets/image/top/hougan-back.jpg");
	background-color: rgba(255,255,255,0.5);
    background-blend-mode: lighten;
	padding-bottom: 5vh;

  }

  
@media (min-width: 1024px) {
  .container {
	height: 30vh;
  }
  .wave {
	height: 40vh;
  }
  .wave_002 .wave{
	height: 45vh;
  }
}

.top_ashi-container {
	position: relative;
	background: transparent;
	height: 5vh;
  }
  .top_ashi {
	height: 5vh;
	background-size: cover;
  }

  
@media (min-width: 1024px) {
	.top_ashi-container {
	height: 10vh;
  }
  .top_ashi  {
	height: 10vh;
	width: 90%;
    margin: 0 auto;
  }
}
