@charset "UTF-8";
/* ====================================================
 トップ 
 ====================================================*/
/* TOP スライダー
 ====================================================*/
.slider_img img {
	width: 100%;
	max-width: 100%;
	height: 100vh;
	max-height: 100%;
	margin: auto;
	object-fit: cover;
}
.slick-dots {
  position: absolute;
  bottom: var(--fs10);
}
.slick-dots li button::before {
  font-size: var(--fs13);
}
.slick-dots li.slick-active button::before {
  opacity: 100;
  color: yellow;
}
.slick-dots li button::before {
  opacity: 100;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.top_copy{
	color: #fff;
  	position: absolute;
  	top: 30%;
  	z-index: 1;
  	-ms-writing-mode: tb-rl;
  	writing-mode: vertical-rl;
  	left: 40%;
  	transform: translateX(-50%);
  	font-size: 30px;
  	line-height: 3;
  	white-space: px;
  	letter-spacing: 6px;
	text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
main#top{
	position: relative;
	z-index: 1;
}

.img--01{/* 共通画像 */
	width: min(600px, 100%);
	margin: 30px auto;
	border-radius: 30px;
}
.img--01 img{
	border-radius: 30px;
}
/* トップ　お知らせ */
.top_news_kotei{/* 固定 */
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 3;
}
.top_news_kotei ul{
	background-color: var(--blue--01);
	padding: 20px 40px;
}
.top_news_kotei ul li{
	display: flex;
	gap: 1em;
	color: #fff;
}
.top_news {
	display: flex;
	gap: 50px;
	align-items: center;
  	justify-content: space-between;
  	padding-inline: 10%;
	margin-block: 60px;
}
#top_news_post{
	width: 800px
}
#top_news_post ul{
	border-bottom: 0.5px solid var(--base);
}
#top_news_post li{
	border-top: 0.5px solid var(--base);
  	display: flex;
  	padding: 10px;
	  align-items: center;
}
#top_news_post .top_news_list time{
	padding-right: 2em;
}
#top_news_post .top_news_list .top_cate{
	width: 5em;
	color: #fff;
	padding-block: 2px 5px;
	margin-right: 1em;
	font-size: 14px;
	text-align: center;
	line-height: 1
}
#top_news_post .top_news_list .top_cate.news{
	background-color: var(--base);
}
#top_news_post .top_news_list .top_cate.blog{
	background-color: var(--blue--03);
}

.ttl_group{
	text-align: center;
	line-height: 1.5;
}
.ttl_group .top_ttl--01{
	font-size: 35px;
	color: var(--blue--03)
}
.ttl_group .sub{
	font-size: 14px;
}

/* 施工事例 case */
.top_case{
	background-color: var(--blue--02);
	display: flex;
	justify-content: space-evenly;
	padding-inline: 10%;
	padding-block: 60px;
}
.top_case li{
	width: calc(100% / 3 - 20px);
}
.top_case li img {
  	height: 250px;
  	object-fit: cover;
}

/* トップ　家づくり */
.top_concept{
	margin: 100px 20%;
}
.top_concept ul{
	display: flex;
	justify-content: center;
	gap: 30px;
	align-items: center;
}
.top_concept ul li{
	width: calc(100% / 2 - 20px);
	line-height: 2
}
.top_concept .top_concept_ttl{
	font-size: 40px;
}



/* 施工事例 */
.works_gallery_main{
	width: 1000px;
	margin: 0 auto;
}
.works_archive_list{
	display: flex;
	gap: 20px 0;
	justify-content: space-evenly;
	flex-wrap: wrap;
	margin-bottom:60px;
}
.works_archive_list figure{
	width: calc(100% / 3 - 20px);
}
.works_archive_list figure img{
	width: 100%;
	height: 250px;
  	object-fit: cover;
}

.top_works{
	display: flex;
	justify-content: center;
	gap: 30px;
	padding-block: 30px;
}
.top_works ul{
	width: 80%;
	display: flex;
}
.top_works ul li img{
	object-fit: cover;
  width: 300px;
  height: 370px;
}
.home .works_slider li {
  overflow: hidden;
}
.home .works_slider li img {
  transition: transform .6s ease;
}
.slick-slide img {
  display: block;
  object-fit: cover;
  width: 100%;
}
.works_slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ====================================================
 中村建設の家づくり 
 ====================================================*/
.concept_sec--01 figure{
	width: 100px;
	margin: 0 auto;
}
.concept_sec--01 .concept_copy{
	width: 50%;
	margin-inline: auto;
}
.concept_sec--01 .concept_copy .concept_copy_ttl{
	font-size: 20px;
}

.concept_sec--02{
	background: linear-gradient(to bottom, 
              #ffffff 0px, 
              #ffffff 100px, 
              #edf0f2 100px, 
              #edf0f2 100%);
	margin-block: 200px 100px;
	padding-bottom: 100px;
}
.concept_sec--02 .concept_nav{
	position: sticky;
	left: 0;
	top: 150px;
	z-index: 2;
	width: 70px;
}
.concept_sec--02 .concept_ttl{
	width: 200px;
	margin-left: 100px;
}
.concept_sec--02 .concept_design_first{
	background: linear-gradient(to bottom, 
              #ffffff 0px, 
              #ffffff 100px, 
              #edf0f2 100px, 
              #edf0f2 100%);
}
.concept_sec--02 .concept_design{
	display: flex;
	justify-content: space-between;
	padding-inline: 10%;
	background-color: var(--blue--02)
}
.concept_sec--02 .concept_design--01{
	position: absolute;
	top: -100px;
}
.concept_sec--02 .concept_design--02,
.concept_sec--02 .concept_design--03{
	padding-top: 100px;
}
.concept_sec--02 .concept_zumen{
	width: 50%;	mix-blend-mode: multiply;

}
.concept_sec--02 .concept_ttl--02{
	color: var(--blue--03);
	font-size: 18px;
}
.concept_sec--03{
	padding-inline: 10%;
}
.concept_sec--03 .concept_flex{
	display: flex;
	gap: 30px;
}
.concept_sec--03 .concept_original figure,
.concept_sec--03 .concept_kodawari figure{
	width: 100%;
}
.concept_sec--03 .concept_tuuki ul li{
	width: calc(100% / 2)
}

/* ====================================================
 FP　中村建設 
 ====================================================*/
.fp_link {
  display: flex;
  justify-content: space-between;
  width: 50%;
  margin-inline: auto;
  align-items: center;
	margin-block: 100px;
}
.fp_link li{
	width: calc(100% / 2 - 30px)
}

.fp-nakamura_sec{
	margin-top: 100px;
	margin-inline: 20%;
	text-align: center;
}
.fp-nakamura_sec h2{
	display: table;
	font-weight: 500;
	font-size: 24px;
	border-bottom: 1px solid var(--blue--01);
	margin-inline: auto;
}
.fp-nakamura_sec img{
	margin-top: 10px;
}

/* ====================================================
 case
 ====================================================*/
.case_sec_ttl{
	display: table;
	margin-inline: auto;
	position: relative;   /* 疑似要素を基準に配置 */
}
.case_ttl--01 {
	display: block; /* 文字幅に合わせる */
	font-size: 50px;
	text-align: center;
}
.case_ttl--01::after {
  content: "";
  position: absolute;
  left: 50%;            /* 文字の中央に配置 */
  top: 90px;            /* 文字の下端から開始 */
  transform: translateX(-50%);
  width: 1px;           /* 線の太さ */
  height: 150px;         /* 線の長さ（調整可） */
  background: var(--blue--03);     /* 線の色 */
}
.case_ttl--02{
	writing-mode: vertical-rl; 
	font-size: 40px;
	margin-top: 150px;
}
.case_sec--01 figure{
	width: 100px;
	margin: 0 auto;
}
.case_read{
	text-align: left;
	margin-top: 30px;
}
.case_list{
	margin-inline: 10%;
}
.case_list ul > li:last-child{
	width: 65%;
}
.case_list ul > li.img_small:last-child{
	width: 50%;
}
.case_list ul {
  	display: flex;
  	gap: 30px;
  	justify-content: center;
	align-items: center;
	margin-top: 60px;
}

/* 偶数番目の ul を逆順にする */
.case_list ul:nth-of-type(even) {
  flex-direction: row-reverse;
}

.case_table{
	margin: 100px auto;
}
.case_table td{
	border-right: 1px solid var(--base);
	padding-inline: 30px;
}
.case_table td:last-child{
	border-right: none
}

/* ====================================================
 会社概要 
 ====================================================*/
.office_list {
	display: grid;
	grid-template-columns: 150px 1fr; /* 左が項目, 右が内容 */
  	max-width: 800px;
	margin: 100px auto 0;
  	border-top: 1px solid var(--base);
}

.office_list dt {
  border-bottom: 1px solid var(--base);
  padding: 8px 0;
}

.office_list dd {
  margin: 0; /* ブラウザのデフォルト余白をリセット */
  border-bottom: 1px solid var(--base);
  padding: 8px 0;
}
.map {
  width: 90%;
  max-width: 1200px; /* PCでも広がりすぎないように制御 */
  margin: 100px auto 0;
}

.map iframe {
  width: 100%;
  height: 400px; /* spデフォルト */
  border: 0;
}

/* PC用 */
@media screen and (min-width: 768px) {
  .map iframe {
    height: 600px;
  }
}


/* ====================================================
 施工事例 
 ====================================================*/
.works_slide_wrap{
	width: 80%;
	margin-inline: auto;
}
.works_gallery_main .slick-slide img{
    display: block;
	/* object-fit: cover; */
    object-fit: contain;
	width: 100%;
	height: 700px;
}
.works_gallery_main .slick-slide img.harf {
    width: 50%;
    margin-inline: auto;
}
.works_gallery_main .slick-slide img.hiraya-css {
    width: 23%;
        margin-inline: auto;
}
.works_gallery_thum{
	margin-top: 20px;
}
.works_gallery_thum img {
	width: 100%;
  	height: 200px;
  	object-fit: contain;
}
.works_gallery_main li.slick-slide{
	height: 100%
}
.choice-btn .slick-slide {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.choice-btn .slick-current {
  opacity: 0.5; /* アクティブなサムネイルを半透明に */
}

/*矢印の設定*/

.slick-prev, 
.slick-next {
    /*position: absolute;
	z-index: 3;
    top: 42%;
    cursor: pointer;
    outline: none;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    height: 25px;
    width: 25px;*/
}

.slick-prev {
  left: 0.5rem;
  transform: rotate(0deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: 1.5rem;
	transform: rotate(0deg);
}
.slick-next:before{
	content: url(../img/works/works_arrow_next.svg);
	vertical-align: middle;
	padding-right: 5px;
}
.slick-prev:before{
	content: url(../img/works/works_arrow_prev.svg);
	vertical-align: middle;
	padding-right: 5px;
}
@media screen and (max-width: 769px) {
.slick-next {
  right: 0.5rem;
}
.slick-prev {
  left: 10px;
}
.slick-next::before {
  content: url(../img/works/works_arrow_next--sp.svg);
  vertical-align: middle;
  padding-right: 5px;
	width: 50px;
display: block;
}
.slick-prev:before{
	content: url(../img/works/works_arrow_prev--sp.svg);
	vertical-align: middle;
	padding-right: 5px;
	width: 50px;
display: table;
}
}

.slick-prev:hover,
.slick-next:hover{
	transform:scale(1.2,1.2);
  transition:0.5s all;
}
.works_gallery_thum .slick-next:before,
.works_gallery_thum .slick-prev:before{
	display: none;
}

/* 施工事例　カテゴリー */
.works_cate .ttl {
  text-align: center;
  margin: 1rem auto 0.1rem;
  font-size: 25px;
  color: #666;
  letter-spacing: 1px;
}
.works_cate .works_cate_list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: auto;
  margin: 30px auto 60px;
  text-align: center;
  justify-content: center;
}
.works_cate .works_cate_list li {
  display: flex;
  flex-wrap: wrap;
  width: auto;
}
.works_cate .works_cate_list li a {
  margin: 0 auto;
  padding: 10px 40px;
  width: 100%;
  text-align: center;
  border: 0.5px solid #000;
}
/*ネクストゲン*/
/*.ngg-galleryoverview.default-view {
	display: flex !important;
	gap: 0.3rem !important;
	flex-wrap: wrap;
	justify-content: space-between;
}*/
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img {
	width: 100% !important;
	object-fit: cover;
	height: 250px;
}
.ngg-galleryoverview {
  margin-top: 0px !important;
}
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
	display: inline-block;
	float: none;
	vertical-align: middle;
	width: calc(100% / 3 - 30px);
	margin-right: 10px;
	margin-bottom: 10px;
}
.ngg-clear {
  clear: both;
  display: none !important;
}
.ngg-navigation a.page-numbers, .ngg-navigation a.next, .ngg-navigation a.prev, .ngg-navigation span.page-numbers, .ngg-navigation span.next, .ngg-navigation span.prev, .ngg-navigation span.current {
  display: inline-block !important;
  padding: 10px 17px !important;
}
.ngg-navigation a.next, .ngg-navigation a.prev, .ngg-navigation span.next, .ngg-navigation span.prev {
  display: none !important;
}

/* ====================================================
 お問い合わせ
 ====================================================*/
.catalog_link a{
	background-color: var(--blue--01);
	color: #fff;
	padding: 5px 10px;
}
.contact_copy{
	margin-top: 30px;
}
.contact_copy_wrap{
	border: 1px solid var(--base);
	padding: 20px 30px;
	margin-top: 30px;
	border-radius: 30px;
	line-height: 1.5;
}
#contact{
	width: min(600px, 100%);
	margin: 0 auto;
}
#contact p{
	margin-bottom: 5px !important
}
#contact .contact-item{
	display: _flex;
	margin: 20px 0;
}
#contact .contact-item dt{
	width: 240px;
}
#contact .must{
	background-color: var(--blue--03);
	color: #fff;
	margin-right: 5px;
	padding: 1px 5px;
	font-size: 14px;
}
#contact input {
  padding: 15px;
	width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}
/* 郵便番号 */
#contact .contact-address li{
	margin-bottom: 5px;
}
#contact .contact-zip input{
	width: auto !important
}
span.wpcf7-list-item {
    display: block;
}
select {
  text-transform: none;
  padding: 20px 40px;
  border: 1px solid var(--blue--02);
  background-color: #ccc;
}
textarea {
	width: 100%;
  padding: 10px;
	border: 1px solid #ccc;
}
.submit{
	margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.submit input{
	background-color: var(--blue--01);
  	font-size: 18px !important;
  	padding: 10px 60px !important;
  	color: #fff;
}
#autozip {
   display: none !important;
}
#contact .contact-agree input{
		width: auto;
}


@media screen and (max-width: 767px) {
#contact .contact-item {
  flex-flow: column;
	padding: 0 5%;
}
#contact input {
  width: 100%;
}
#contact .contact-address {
  width: 100%;
}
textarea {
  width: 100%;
}
#contact .contact-zip input{
		width: 200px;
	}
#contact .contact-agree input{
		width: auto;
}
.submit {
  width: 90%;
}
}

/* ====================================================
 フォトギャラリー 
 ====================================================*/
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery img {
  width: 150px;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade {
  animation: fadeIn 0.3s ease;
}


.modal-content {
  margin-top: 5%;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  animation: fadeIn 1s ease;
  opacity: 1;
}


.close {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  font-weight: bold;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: color 0.2s;
}
.nav:hover {
  color: #f0f0f0;
}
.nav.prev { left: 30px; }
.nav.next { right: 30px; }



/* ====================================================
 sp　ここから
 ====================================================*/
@media screen and (max-width: 767px) {
/* ====================================================
 sp トップ 
 ====================================================*/
#slider-wrap .top-copy {
	  top: 250px;
	 width: 90px;
}
#slider-wrap .top-copy img{
  width: 100%
}
#slider-wrap .top-copyright {
  top: 260px;
    left: -90px;
    font-size: 12px;
}
#slider-wrap .top-open{
    left: 5px;
    bottom: 88px;
    width: 150px;
}
#slider-wrap .top-open img{
	width: 100%
}
#slider {
    width: 100%;
    height: 90vh !important;
}
#slider-wrap .top-illust-01 {
  bottom: 80px;
}
#slider-wrap {
  top: 80px;
}
#slider-wrap .top_copy {
  top: 30%;
  width: 200px;
}
#top .with li:first-child {
  width: 70%;
}
#top .with {
  background-position: 0px;
  background-size: 80%;
	  margin-top: 10px;
}
#top .top_list{
	width: 80%;
}	
#top .top_illust--01 {
  right: 0px;
  width: 40%;
}	
#top .top_illust--02 {
  left: 5%;
  width: 20%;
}
#top .top_illust--03 {
  top: -70px;
  left: 40%;
  width: 25%;
}
.top_copy {
  top: 100px;
  left: 10%;
  transform: translateX(-50%);
  font-size: 30px;
  line-height: 2;
}
/*sp トップ　トピックス*/
.top_news{
	flex-flow: column;
	padding-inline:5%;
}
#top_news_post {
  width: 100%;
}

/* sp 施工事例 case */
.top_case{
	flex-flow: column;
	gap: 10px;
}
.top_case li{
	width: 100%;
}

/* sp top 家づくり */
.top_concept {
  margin: 100px 5%;
}
.top_concept ul {
  flex-direction: column-reverse;
}
.top_concept ul li {
  width: 100%;
}
.top_concept .top_concept_ttl {
  font-size: 20px;
	margin-bottom: 20px;
}

/* sp top 施工事例 */
.top_works {
  flex-flow: column;
}
.top_works ul {
  width: 100%;
}
	
/* ====================================================
 sp 中村建設の家づくり taro
 ====================================================*/
.concept_sec--01 figure {
  width: 70px;
}
.concept_sec--01 .concept_copy {
  width: 80%;
}
.concept_sec--02 .concept_design {
  flex-flow: column;
}
.concept_sec--02 .concept_design--02 {
  padding-top: 200px;
}
.concept_sec--02 .concept_design--03 {
  padding-top: 80px;
}
.concept_sec--02 .concept_ttl {
  width: 130px;
}
.concept_sec--02 .concept_nav {
  width: 40px;
	z-index:2
}
.concept_sec--02 .concept_design--01 {
  top: -80px;
  z-index: 1;
}
.concept_sec--03 .concept_flex {
	flex-flow: column;
	gap: 0;
}
.concept_sec--03 .concept_tuuki ul li {
  width: 100%;
}

/* ====================================================
 sp FP　中村建設 
 ====================================================*/
.fp_link {
  width: 80%;
}
.fp-nakamura_sec {
  margin-inline: 5%;
}
.fp-nakamura_sec h2 {
  font-size: 18px;
}
	
/* ====================================================
 sp case
 ====================================================*/
.case_ttl--01 {
  font-size: 30px;
}
.case_ttl--02 {
  font-size: 30px;
  margin-top: 120px;
}	
.case_ttl--01::after {
  left: 50%;
  top: 60px;
  height: 100px;
}
.case_list ul {
  flex-flow: column;
}
.case_list ul > li:last-child {
  width: 100%;
}
.case_list ul:nth-of-type(2n) {
  flex-direction: column;
}

/* ====================================================
 sp 会社概要 
 ====================================================*/
.office_list {
  grid-template-columns: 100px 1fr;
  max-width: 90%;
}

/* ====================================================
 sp 施工事例 
 ====================================================*/
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
  width: calc(100% / 2 - 20px);
}
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img {
  height: 150px;
}
.works_archive_list figure {
  width: calc(100% / 2 - 20px);
}
.works_archive_list figure img {
  height: 150px;
}
  .works_gallery_main {
    width: 100%;
  }
  .slick-prev:before {
    content: url(../img/works/works_arrow_prev--sp.svg);
    vertical-align: middle;
    padding-right: 5px;
    width: 50px;
    display: table;
  }
.works_gallery_main .slick-slide img {
  height: 300px;
}
.works_gallery_thum img {
  height: 100px;
}

/* ====================================================
 sp post 
 ====================================================*/
.contents_wrap {
  width: 100%;
}
.page_wrap_01 {
  padding: 50px 0px;
}
.post_wrap {
  flex-flow: column;
}
.news_post_wrap .news_post_cont {
  width: 100%;
}
	.side {
  width: 100%;
}

}/* // sp　ここまで */


/* ====================================================
 post　page　共通 taro
 ====================================================*/
.pankuzu{
	margin: 30px 0 30px 10%;
	font-size: 14px;
	font-weight: 400
}
.top_cate{
	width: 5em;
	color: #fff;
	padding-block: 2px 5px;
	margin-right: 1em;
	font-size: 14px;
	text-align: center;
	line-height: 1
}
.top_cate.news{
	background-color: var(--base);
}
.top_cate.blog{
	background-color: var(--blue--03);
}

#post h2{
	color: var(--blue--03);
	font-weight: 500;
	font-size: 18px;
}
#post p{
	margin-bottom: 1em;
}
#post .news_list li{
	display: flex;
	gap: 10px;
	align-items: center;
}
#post p.post_date {
  margin-bottom: 0 !important;
}
/* ページネーション */
.wp-pagenavi{
	margin-top: 30px;
}
.wp-pagenavi a, .wp-pagenavi span {
  padding: 3px 10px !important;
}