@charset "utf-8";
/* CSS Document */
/* =========================================
   FV Layout
========================================= */
/* 初回フェード用 */
.fv {
  opacity: 0;
  transition: opacity 1.6s ease;
}

.fv.is-visible {
  opacity: 1;
}
/* FV */
.fv {
	padding: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: 100vh;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 10px;
	overflow: hidden;
	position: relative;
}
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0));
}

.fv-col-large {
	grid-row: 1 / 3;
	overflow: hidden;
}

.fv-col-small {
	overflow: hidden;
}

.fv-col-track {
	display: flex;
	height: 100%;
	transition: transform 1.2s ease;
}

.fv-item {
	flex: 0 0 100%;
	background-size: cover;
	background-position: center;
}

/*fvcopy*/
.fv-copy {
	position: absolute;
	left: 8%;
	bottom: 8%;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	text-shadow: 0 4px 6px rgba(0,0,0,0.55);
	z-index: 10;
}
.fv-copy._gothic{
   font-family: var(--font-ja);
	
}
.fv-copy .line1 {
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.3;
}

.fv-copy .line2 {
  font-size: clamp(18px, 2.2vw, 32px);
}

.fv-copy .line3 {
  font-size: clamp(15px, 1.3vw, 25px);
  margin-top: 20px;
  letter-spacing: 0.12em;
}

/*fvcopy　フェイド*/

.fv-copy {
  opacity: 0;
  transform: translateY(20px);
  transition: 1.2s ease;
}

.fv-copy.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
	.fv {
		aspect-ratio: 4 / 5;
		grid-template-columns: 1fr;
		min-height: 60%;
	}
  .fv-col.fv-col-small {
    display: none; /* 小さい列を消す */
  }

  .fv-col.fv-col-large {
    width: 100%; /* 大きい列をフル幅に */
  }
	
	.fv-copy .line1 {
  font-size: clamp(1.563rem, 0.644rem + 3.87vw, 2.5rem);
}

}
@media (max-width: 370px) {
    .fv-copy .line1 {
		  font-size: 24px;
    }
}
/*========================================
	TOP lead
=======================================*/
#top-lead {
  text-align: center;
}

#top-lead .lead-ttl {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.5;
  margin-bottom: clamp(30px, 4vw, 50px);
	font-weight: 600;
}


#top-lead .pmg p {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 2;
  margin-bottom: 18px;
}

@media (max-width: 360px) {
	#top-lead .lead-ttl {
	font-size: 1.23rem;
	}
}

/*========================================
	TOP Concept
=======================================*/
#top-concept{
	width: 100%;
	overflow: hidden;
}
#top-concept .concept-flex {
	width: 97%;
	margin-left: auto;
    margin-right: 0;
    display: grid;
    grid-template-columns: 1fr 50vw;
    grid-gap: 1.25rem;
    gap: 1.25rem;
    position: relative;	
}

#top-concept .concept-text {
/*	width: 46%;*/
	max-width: 700px;
}

#top-concept .concept-item {
  margin-bottom: 30px;
}
#top-concept .concept-ttl {
	font-weight: 600;
	font-size: 2rem;
	margin-bottom: 20px;
	line-height: 1.4;
	color: var(--text-point);
	font-family: var(--font-min); 	


}
#top-concept .concept-ttl span{
	position: relative;
	display: inline-block;
	padding: 5px;
}

#top-concept .concept-ttl span::before{
	content: "";
	position: absolute;
	left: -5px;             /* タイトルの左端からスタート */
	bottom: 0;        /* タイトル下に少し余白を作る */
	width: 106%;          /* タイトル幅の1/3 */
	height: 40%;         /* ラインの太さ */
	background-color: rgba(221,190,60,.3); /* デザインシステムに準拠 */
	border-radius: 2px;  /* 角丸で柔らかい印象 */
	z-index: -1;
}
#top-concept .concept-num {
	font-size: clamp(1.7rem, -0.045rem + 2.73vw, 2rem);
}

#top-concept .concept-subttl {
	font-size: clamp(1.35rem, 1.059rem + 0.45vw, 1.4rem);
	line-height: 1.4;
}

#top-concept .concept-item p {
  line-height: 1.8;
  color: var(--text-sub);
	padding-left: 1rem;
}

#top-concept .concept-images {
	/*width: 50%;*/
	display:grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}

/* 初期状態 */
#top-concept .concept-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 38% 50%;	
	opacity: 0;
	transform: translateY(40px) translateX(50px); /* 下から + 右から */
	transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
#top-concept .concept-images img:nth-child(2){
	object-position: 80% 50%;
	
}
#top-concept .concept-images img:nth-child(3){
	object-position: 35% 50%;
	
}
/* activeで発火 */
#top-concept .concept-images img.active {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* 遅延 */
.concept-images img:nth-child(1) { transition-delay: 0.2s; }
.concept-images img:nth-child(2) { transition-delay: 0.4s; }
.concept-images img:nth-child(3) { transition-delay: 0.6s; }

@media (max-width:1023px){

#top-concept .concept-flex{
	grid-template-columns: 1fr;
	width: 92%;
	margin: 0 auto;
	gap: 50px;
}

#top-concept .concept-text{
	max-width: 100%;
	padding-left: 0;
}

#top-concept .concept-images{
	grid-template-columns: repeat(3,1fr);
	gap: 15px;
		order: -1;
}

#top-concept .concept-images img{
	height: 220px;
}

#top-concept .concept-ttl{
	font-size: 1.8rem;
}

}
@media (max-width:500px){

#top-concept{
	padding-top: 70px;
	padding-bottom: 70px;
}

#top-concept .concept-ttl{
	font-size: 1.5rem;
	margin-bottom: 12px;
}
	#top-concept .concept-num {
		display: block;
	}
#top-concept .concept-subttl{
	font-size: 1.2rem;
}
#top-concept .concept-ttl span::before{
	width: 103%;          /* タイトル幅の1/3 */
	height: 20%;         /* ラインの太さ */
}
#top-concept .concept-item{
	margin-bottom: 25px;
}
}
@media (max-width: 360px) {
	#top-concept .concept-num {
        font-size: 1.2rem;
	}	
    #top-concept .concept-subttl {
        font-size: 1.07rem;
    }
}
/*========================================
	TOP Service
=======================================*/
#top-service{
	padding: 0;
}
.top-service-wrap{
	display: flex;
}
.top-service-wrap .image,
.top-service-wrap .textarea{
	width: 50%;
}
.top-service-wrap .image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top-service-wrap .textarea{
	padding: 3.75rem 4rem 3.75rem 4rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media (max-width:1023px){

	.top-service-wrap{
	  flex-direction: column;
	}

	.top-service-wrap .image,
	.top-service-wrap .textarea{
	  width: 100%;
	}

	.top-service-wrap .image img{
	  height: clamp(260px, 35vw, 360px);
	}

	.top-service-wrap .textarea{
	  padding: 50px 6%;
	}

}

@media (max-width:500px){

	.top-service-wrap .image img{
	  height: 220px;
	}

	.top-service-wrap .textarea{
	  padding: 40px 6%;
	}

	#top-service .pmg p{
	  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1rem);
	  line-height: 1.9;
	}

}
/*========================================
	TOP WORKS
=======================================*/
.twork-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 30px 0;
    font-size: 0;
}
.twork-list li {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}
.twork-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
	filter: saturate(0.6);
    transition: filter 0.3s ease;
}

/* hover時*/
.twork-list .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* 半透明黒 */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.twork-list .overlay span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.twork-list li:hover .overlay {
    opacity: 1;
}
@media(max-width:519px){
	.twork-list {
  	  grid-template-columns: repeat(1, 1fr);
	}
}
/*========================================
	TOP NEWS
=======================================*/
.newswrap{
	display: flex;
	gap:40px;
	
}
.newstitle{
	width: 25%;
}

.listwrap{
	width: 70%;
}
#newsList{
	max-height: 196px;
	overflow-y: auto;
}

#newsList li{
	border-bottom: 1px dotted var(--text-sub);
}
#newsList li a{
	padding: 1rem .5rem;
	display: block;
	transition: all .3s;
}
#newsList li a:hover{
	color: var(--color-accent-hover);
}
#newsList .up_ymd{
	width: 105px;
	display: inline-block;
}

/*スクロールバー*/
#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 3px;
    background: #fff;
}
#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsList::-webkit-scrollbar-thumb, .privacy_flame::-webkit-scrollbar-corner {
    background: var(--color-accent);
}
@media(max-width:767px){
	.newswrap{
		flex-direction: column;	
		gap:0px;

	}
	.newstitle,.listwrap{
		width: 100%;
	}

}
@media(max-width:519px){
#newsList .up_ymd{
	width: 100%;
	display: block;
}	
}

/*=========================================
	下層共通
================================================*/
/*--ページtitle---*/
.pagetitle{
	padding: var(--section-padding) 0 0;
	position: relative;
	z-index: 0;
}
.page_ttl-has_bg{
    height: 25.125rem;
	overflow: hidden;
}

.pagetitle::before{
	position: absolute;
	content: "";
	width: 60%;
	height: 100%;
	right: 0;
	top: 0;
	background: rgba(255,255,255,.40);
	z-index: 0;
}
.pagetitle-bg{
	position: absolute;
	object-position: bottom;
	width: 60%;
	height: 100%;
	right: 0;
	z-index: -1;
}
.pagetitle-bg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.pagetitle-bg._company img{
	object-position: center center;		
}
.works .pagetitle-bg img{
	object-position: center center;	
}

.pagetitle .inner-wide{
	position: relative;
	height: 100%;
}
.pagettle-txt{
	display: flex;
	flex-direction: column;
}
.pagettle-txt .en{
	font-family: "Gloock", serif;	
	letter-spacing: .65rem;
	color: rgba(117,76,36,0.5);
	line-height: 1.3;
	padding-left: 1rem;
}
.pagettle-txt .ja{
	font-family: var(--font-min);
	color: #937253;
	font-size: 4.3rem;
	
}

/*--パンくず---*/
.breadcrumb {
  margin: 0;
  padding: 15px 0;
	position: absolute;
	bottom: 0;
	left: 0;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-family: var(--font-min);	
  color: var(--text-point);
}

.breadcrumb li:after {/* ▶を表示*/
  font-family: FontAwesome;
  content: '\f0da';
  padding: 0 0.2em;
  font-weight: bold;/*太字*/
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: var(--text-point);
}

.breadcrumb li a:hover {
  text-decoration: underline;
}


@media(max-width:820px){
	.page_ttl-has_bg{
		height:	clamp(21.125rem, 17.754rem + 14.38vw, 25.125rem);
	}
	.pagettle-txt{
		padding-top: 50px;
	}
	.pagettle-txt .ja{	
		font-size: clamp(2.4rem, 0.799rem + 6.83vw, 4.3rem);
	letter-spacing: .45rem;
	}
}

/*-service.php------------------------------------------------------------------------*/
/*========================================
	lead
=======================================*/
#service-lead{
	text-align: center;
}
#service-lead .lead-ttl {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.5;
  margin-bottom: clamp(30px, 4vw, 50px);
	font-weight: 600;
	color: var(--text-point);
}

#service-lead .pmg p {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 2;
  margin-bottom: 18px;
}

@media(max-width:330px){
	#service-lead .pmg p {
	  font-size: 0.85rem;
	}	
}
/*========================================
	新築住宅
=======================================*/
#service1{
	position:relative;
	overflow:hidden;
}

/* 横並びレイアウト */
#service1 .section_inner{
	display:flex;
	height:520px;
}

/* 左画像 */
#service1 .image-side{
	position: absolute;
	aspect-ratio: 4 / 3;
	width:45%;
	max-height:80%;
	
}
#service1 .image-side img{
	width:100%;
	height:100%;
	object-fit:cover;
}

#service1 .image-side.top{
	top: 0;
	left: 0;
}

#service1 .image-side.bottom{
	bottom: 0;
	right: 0;
}

/* 中央テキストBOX */
#service1 .text-side{
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	background:#fff;
	padding:40px clamp(3.125rem, -0.921rem + 7.89vw, 5rem);
	width: 75%;
	max-width:700px;
	z-index: 3;	
}

#service1 .text-side_inner{
	text-align:center;
}

.sub-ttl{
	margin:20px 0;
	font-size:clamp(1.125rem, 1.068rem + 0.24vw, 1.25rem);
	color:var(--text-point);
}

#service1 p{
	line-height:2;
}

#service1 .main-ttl-en{
	font-size:clamp(1.15rem, 0.957rem + 0.86vw, 1.6rem);
	letter-spacing:.08em;
    line-height: 1.4;

}

@media(max-width:767px){
	#service1 .section_inner {
		height: auto;
	}
	#service1 .text-side{
		width: 80%;
		padding:40px clamp(1.25rem, -3.864rem + 13.64vw, 3.125rem);
	}
	#service1 .text-side{
		position: relative;
		width:75%;
		max-height:80%;
		margin: 0 auto;
		transform:translate(0,0);
		top: 0;
		left: 0;
		
	}
}
@media (max-width:600px){

#service1{
	overflow:visible;
	padding-top: 0;
}

#service1 .section_inner{
	display:block;
}

/* 画像 */
#service1 .image-side{
	position:relative;
	width:100%;
	max-height:none;
}

#service1 .image-side.top{
	margin-bottom:20px;
}

#service1 .image-side.bottom{
	display: none;
}

/* テキスト */
#service1 .text-side{
	position:relative;
	transform:none;
	left:auto;
	top:auto;
	width:92%;
	margin:0 auto;
	padding:30px 20px;
}

}
@media (max-width:600px){
	#service1 .text-side_inner p{
		text-align: left
	}
	}
@media (max-width:359px){
	#service1 .text-side {
		width: 95%;
		padding: 30px 17px;
	}	
	.sub-ttl {
		font-size: 1.02rem;
	}
}
/*========================================
	リフォーム
=======================================*/
#reform{
	position: relative;
	padding-bottom: 0;
}
.reform-flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.leftimg{
	width: 50%;
	aspect-ratio: 7 / 5;
}
.leftimg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.txet-wrap{
	width: 45%;
}
.reforme-list{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:40px;
}
.case figure{
	aspect-ratio: 4 / 3;
	overflow: hidden;
	box-shadow: 0 0 7px rgba(0,0,0,.35);
}
.case img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}
.case h3{
	text-align: center;
	margin: 15px 0;
	font-weight: 400;
}

@media screen and (max-width:820px){

.reform-flex{
	flex-direction: column;
	gap: 30px;
}

/* 画像 */
.leftimg{
	width: 100%;
}

.leftimg img{
	height: 300px;
}

/* テキスト */
.txet-wrap{
	width: 100%;
	padding: 0 4%;
}
}
@media (max-width:767px){

	.reforme-list{
		grid-template-columns: 1fr;
		gap:25px;
	}
	.case figure{
		aspect-ratio: 16 / 9;
		}
	.case h3{
		font-size:18px;
	}

	.case p{
		line-height:1.8;
	}

}
/*========================================
	その他住まいの相談
=======================================*/

#other .main-ttl-ja{
	font-size:clamp(1.4rem, 1.122rem + 1.17vw, 2rem);
	line-height: 1.3;
	margin-bottom: 0px;
}
.otherlist{
	display: flex;
	justify-content: center;
	gap:40px;
	margin-bottom: 50px;
}
.otherlist li{
	padding: 8px 30px;
	text-align: center;
	width: 180px;
	border-radius: 15px;
	background: #fff;
	box-shadow:  0 0 7px rgba(0,0,0,.35);
}
#other p{
	text-align: center;
}
@media screen and (max-width:819px){
	.otherlist{
		flex-wrap: wrap;
	}
	.otherlist li{
		padding: 8px 30px;
		text-align: center;
		width: calc(80% / 2);
		border-radius: 15px;
		background: #fff;
		box-shadow:  0 0 7px rgba(0,0,0,.35);
	}
	
}
@media (max-width:450px){	
	.otherlist li{
		width: 95%;
	}
}
@media (max-width:375px){	
	.otherlist {
		gap: 20px;
		margin-bottom: 30px;
	}
}
/*========================================
	WORKS
=======================================*/
.workstitle{
	color: var(--text-point);
	font-family: var(--font-min);
	border-bottom: 2px solid var(--text-point);
	font-size: clamp(1.45rem, 1.291rem + 0.68vw, 1.8rem);
	margin-bottom: 30px;
	padding: 0 1rem;
}
.workstitle span{
	font-size: 70%;
	padding-left: 1.5rem;
	color: rgba(117,76,36,0.25);
}
.works-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap:40px;
	margin-bottom: 50px;
}
.works-list li a{
	pointer-events: painted;
}
.works-list li .thumbNailWrap{
	display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.works-list li img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .4s;
}
.works-list li:hover img{
	transform: scale(1.1);
	transition: .4s;
}

@media(max-width:768px){
	.works-list {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width:450px){
	.works-list {
		grid-template-columns: repeat(2, 1fr);
	}	
}
/*-company.php------------------------------------------------------------------------*/

/*========================================
	OVERVIEW
=======================================*/
.aboutwrap{
	padding: 3rem;
	border-radius: 20px;
}
.aboutwrap table{
	width: 100%;
    border-spacing: 8px;
}
.aboutwrap th{
	padding: .8rem ;
	width: 20%;
	text-align: left;
	border-bottom: 2px solid var(--text-point);
}
.aboutwrap td{
	padding: .8rem ;
	border-bottom: 1px solid #999;
}

@media (max-width:640px){
	.aboutwrap {
		padding: 3rem clamp(1.2rem, -1.347rem + 10.87vw, 3rem);
	}
	.aboutwrap th {
		display: block;
		width: 100%;
		border-bottom-width: 0;
		color: var(--text-point);
		padding-bottom: 0;
		
	}
	.aboutwrap td {
		display: block;
		width: 100%;
		
	}	
}

@media (max-width: 375px) {
    .aboutwrap {
        padding: 2.5rem 1rem;
    }
	.aboutwrap th,
	.aboutwrap td{
		padding-left: 0;
		padding-right: 0;
	}
}
/*========================================
	recruit
=======================================*/
#recruit {
  padding-top: 0;
}

.recruit-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.recruit-text {
  width: 55%;
}

.recruit-image {
  width: 45%;
}

.recruit-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.recruit-heading {
	font-size:clamp(1.6rem, 1.415rem + 0.78vw, 2rem);
  font-family: var(--font-min);
  color: var(--text-point);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
	font-weight: 600;
}

.recruit-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--text-point);
}

.recruit-text p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.recruit-text ul {
  margin: 10px 0 15px 0;
  padding-left: 0;
}

.recruit-text li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.recruit-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--text-point);
}

@media (max-width: 820px) {
  .recruit-flex {
    flex-direction: column;
  }

  .recruit-text,
  .recruit-image {
    width: 100%;
  }
	.recruit-image {
		aspect-ratio: 16 / 9;
		overflow: hidden;
		border-radius: 6px;
	}
	
}
@media (max-width: 500px) {
	#recruit {
	  padding-bottom: 40px;
	}
}

/*========================================
	CP-CONCEPT
=======================================*/
#cp-concept{
	background: #f8f8f8;
}
#cp-concept .cp-concept-flex{
	/*display: flex;*/
	display: grid;
	justify-content: space-between;
}
#cp-concept .cp-concept-text {
	padding: 2vw;
}
#cp-concept .text-wrap{
	padding: 30px;
    grid-column: 1 / 2;
}

#cp-concept .images{
	/*width: 38%;*/
	width: 90%;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    margin-left: auto;
}
#cp-concept .images img{
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: right center;	
}
.cp-concept-text  .main-ttl-ja{
	font-size:clamp(1.4rem, 1.122rem + 1.17vw, 2rem);
	line-height: 1.3;
}
@media screen and (max-width:820px){

#cp-concept .cp-concept-flex{
	/*flex-direction: column;
	gap: 40px;*/
}

/* 画像幅リセット */
#cp-concept .images{
	width: 100%;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
	aspect-ratio: 16 / 9;
	
}

/* テキスト余白調整 */
#cp-concept .cp-concept-text{
	padding: 0;
}

#cp-concept .text-wrap{
	padding: 20px 0;
}

}

/*========================================
	ACCESS
=======================================*/
.map{
	width: 100%;
	height: 45vh;
}

/*========================================
	FLOW
=======================================*/

.flow {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flow ul {
	padding: 0;
	width:90%
}

.flow li {
  list-style-type: none;
}

.flow dd {
  margin-left: 0;
}

.flow-list > li {
	padding: 40px 10px;
}

.flow-list > li {
	border-bottom: 2px solid var(--text-sub);;
	position: relative;
	margin-bottom: 18px;	
}

.flow-list > li:not(:last-child)::before,
.flow-list > li:not(:last-child)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flow-list > li:not(:last-child)::before {
  border-width: 22px;
  border-top-color: var(--text-sub);
}

.flow-list > li:not(:last-child)::after {
  border-width: 19px;
  /*border-top-color: var(--bg-section);*/
	border-top-color:var(--bg-main);
}

.flow-list > li dl {
  margin: 0;
}

.flow-list > li dl dt {
  font-size: clamp(1.15rem, 1.082rem + 0.29vw, 1.3rem);
  font-weight: 600;
  border-bottom: 2px dotted #878787;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
	color:  var(--text-point);
}

.flow-list > li dl dt .icon02 {
  font-size: 0.6em;
  color: #fff;
  background: var(--text-point);
  padding: 5px 10px;
  display: inline-block;
  margin-right: 0.5em;
}
/*========================================
	CONTACT
=======================================*/
#contact{
	padding-bottom: 0
}
.contactlead{
	text-align: center;
	margin-bottom: 50px;
}
.contact-box{
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 0 7px rgba(0,0,0,0.35);
	padding: 3rem 2rem;
}
.contact-box h3{
	text-align: center;
	font-size: clamp(1.5rem, 1.409rem + 0.39vw, 1.7rem);
}
.contact-box-tel{
	text-align: center;
	margin-bottom: 20px;
}
.contact-box-tel a {
	display: block;
	text-align: center;
	color: #c98758;
	color: var(--color-accent);
	padding: 15px 0;
	border-radius: 12px;
	font-size: 1.5rem;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 0.625rem;
	font-weight: 600;
	transition: 0.3s;
}
.contact-box-tel a .num{
	font-size: clamp(2rem, 1.882rem + 0.5vw, 2.2rem);
}
.contact-box-tel a:hover {
	background: #e2d8cc;
}
.contact-box-form{
	max-width: 960px;
	margin: 0 auto;
}
@media(max-width:390px){
	.contact-box h3{
		font-size: 1.3rem;
	}
	.contact-box-tel a {
		font-size: 1.2rem;
	}
	.contact-box-tel a .num{
		font-size: 1.8rem;
	}	
}


/*--　mailform　-----------*/
.mailform{
	margin: 0 auto;
	width: 100%;
	padding: 2.5rem 2rem;
	border-radius: 30px;
	
}
.mailform .row{
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}
.mailform .row:first-child{
	border-top: 1px dotted #cccccc;	
}
.mailform .row{
	border-bottom: 1px dotted #cccccc;
}
.mailform .row.last{
	border-bottom: 0px dotted #cccccc;
	padding-bottom: 0px;
}

.mailform .row div:nth-child(1){
	width: 28%;
	font-weight: 500;
	letter-spacing: 0.08em;
	font-size: 0.9rem;
	display: flex;
    justify-content: space-between;
    align-items: center;
}
.mailform .row div:nth-child(2){
	width: 70%;
	line-height: 1.5;
}
.mailform .row span{
  	color: #fff;
  	background: var(--color-accent);
  	padding: 5px;
  	margin-right: 5px;
  	font-size: 11px;
	border-radius: 2px;
	vertical-align: middle;
	font-weight: 500;
}
.mailform .row small{
	display: block;
	margin-top: 3px;
}
.mailform .box, .mailform textarea{
	border: 1px solid #ddd;
  	padding: 5px;
  	width: 100% !important;
  	border-radius: 0;
	-webkit-appearance: none;
	margin-bottom: 5px;
	background: #fff;
}
.mailform .postal_btn{
	padding: 2px 10px;
	background: #2e3192;
	color: #fff;
	border-radius: 2px;
	margin-top: 5px;
	border: 1px solid #aaa;
	font-size: 0.9rem;
}
.mailform .postal_btn:hover{
	opacity: 0.8;
}
.mailform button{
	display: block;
	text-align: center;
	transition: .6s;
	font-size: 1rem;
	font-weight: 500;
	padding: 8px 5px;
	margin: 0 auto;
	width: 250px;
	background: var(--color-accent);;
	border: 1px solid var(--color-accent);;
	color: #fff;
	margin-top: 30px;
}
.mailform button:hover{
	background: #fff;
	color: var(--color-accent);;
}
.mailform button::before{
	font-family: "Font Awesome 6 Free";
	content: "\f1d8";
	font-weight: 700;
	margin-right: 10px;
}
.mailform .box:focus,
.mailform textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.radio-group label{
	display: block;
}

.domain-alert{
	padding: 12px;
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-top: 30px;
}

/*チェックボックス*/
input[type=checkbox] {
    display: none;
}
input[type=checkbox] + label{
    display: inline-block;
	padding-left: 20px;
	position:relative;
	margin-right: 20px;
	margin-bottom: 10px;
	cursor: pointer;
}
input[type=checkbox] + label::before{
    background: #fff;
    border: 1px solid #999;
    content: '';
    display: block;
	position: absolute;
	top: 55%;
	transform: translate(0,-50%);
  	left: 0;
    width: 15px;
  	height: 15px;
	border-radius: 3px;
}
input[type=checkbox] + label::after{
    border-right: 3px solid #222;
    border-bottom: 3px solid #222;
    content: '';
    display: block;
    height: 15px;
    left: 8px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 36%;
    width: 5px;
	transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
	transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}
input[type=checkbox]:checked + label::after{
    opacity: 1;
	transform: rotate(45deg) scale3d(1,1,1);
}
@media (max-width: 750px){
	input[type=checkbox] + label{
		display: block;
	}
}

.row .privacy_flame{
	font-size: 14px;
	height: 30vh;
	overflow-y: scroll;
	background: #fff;
	color: #333;
	padding: .5rem 1rem;
	border: 1px solid #ddd;
}
.row .privacy_flame p span {
    display: block;
	background: #fff;
	color: #333;
    font-weight: 500;
	margin: 5px 0;
	font-size: 14px;
}

/*スクロールバー*/
.privacy_flame::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #fff;
}
.privacy_flame::-webkit-scrollbar-button {
    display: none;
}
.privacy_flame::-webkit-scrollbar-thumb, .privacy_flame::-webkit-scrollbar-corner {
    background: var(--color-accent);
}

.consent{
	font-size: clamp(0.875rem, 0.817rem + 0.24vw, 1rem);
}

@media(max-width:767px){
	.mailform .row {
		display: block;
	}
	.mailform .row div:nth-child(1) {
		width: 100%;
		margin-bottom: 10px;
		justify-content: flex-end;
		flex-direction: row-reverse;
	}	
	.mailform .row div:nth-child(2) {
		width: 100%;
	}	
	.mailform {
		padding: 2.5rem 0;
	}	
}
@media(max-width:390px){
	.domain-alert{
		padding: 8px;
		font-size: 0.8rem;
	}
}

/*-------詳細ページ--------------------------------------------------------*/
/*========================================
	NEWS
=======================================*/

#newsdetail{
	backface-visibility: #fff;
	border-radius: 20px;
	box-shadow: 0 0 7px rgba(0,0,0,0.4);
	padding: 40px clamp(2.2rem, 0.927rem + 5.43vw, 5rem);
	margin: 50px 0 30px;
	
}
#newsdetail #up_ymd{
	text-align: end;
	margin-bottom: 20px;
}

#newsdetail .detailUpfile{
	text-align: center;
	margin: 20px auto;
}
/*========================================
	works
=======================================*/

#works-deta #detail{
	margin-top:30px;
}

/* テキスト */
#works-deta .detailText{
	width:100%;
	margin-bottom:25px;
	line-height:1.9;
}

/* 画像グリッド */
#works-deta .detailImages{
	display:flex;
	flex-wrap:wrap;
	gap:20px;
}

/* PC 3列 */
#works-deta .detailImages a{
	display: block;
	width:calc((100% - 40px) / 3);
	display:block;
	aspect-ratio: 4 / 3;
}

#works-deta .detailImages img{
	width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: bottom;
	box-shadow: 0 0 4px  rgba(0,0,0,0.3);

}
.noto{
	text-align: end;
  color: var( --text-sub);
	
}
/* リフォーム用修正　*/
.detailImageBlock{
	margin: 0 0 30px;
}

.detailImageBlock img{
	display:block;
	max-width:100%;
	height:auto;
}

.baLabel{
	display:inline-block;
	margin:0 0 10px;
	padding:6px 12px;
	font-size:14px;
	line-height:1;
	border-radius:999px;
	background:#333;
	color:#fff;
}
.detailTextWrap{
	margin: 0 0 40px;
}

.detailBASection{
	margin: 0 0 50px;
}

.baSectionTitle{
	margin: 0 0 20px;
	padding-bottom: 10px;
	font-size: 24px;
	font-weight: bold;
	border-bottom: 2px solid #ddd;
}

.beforeTitle{
	color: #444;
}

.afterTitle{
	color: #444;
}

.otherTitle{
	color: #666;
}

.detailGallery{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.detailGallery li{
	width: calc(33.333% - 14px);
}

.detailGallery img{
	display: block;
	width: 100%;
	height: auto;
}

.detailFileWrap{
	margin-top: 30px;
}
/* SP */
@media (max-width:767px){

#works-deta .detailImages a{
	width:calc((100% - 20px) / 2);
}

}