@charset "utf-8";
/* CSS Document */
/*=============================================================================
 header
====================================================*/
#header{
	position: fixed;
	width: 100%;
	height: 80px;
	top: 0;
	left: 0;
	padding: 10px 2vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 99;
}
.h-logo{
	height: 100%;
	width: 35%;
	max-width: 400px;
	min-width: 200px;	
}
.h-logo img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top;
}

.gnavi{
    display: flex;
	align-items: center;
}

.gnavi li a{
    display: block;
    text-decoration: none;
	position: relative;
	overflow: hidden;
	padding:20px 60px;
	text-shadow: 1px 1px 3px #333;
}

.gnavi li span{
	position: absolute;
	left: 50%;
	top:0;
	transition: all .5s;
	transform: translate(-50%, 0);
	display: block;
	opacity:1;
	white-space: nowrap;
}

/*差し替わるテキストの設定*/
.gnavi li span:nth-child(2){
	opacity:0;/*透過0に*/
    transform: translate(-50%,100%);/*X方向に-50% Y方向に100%*/
	font-size: 85%;
}

/*hoverするとテキストが入れ替わる設定*/
.gnavi li:hover span:nth-child(1){
	opacity:0;/*透過0に*/
    transform: translate(-50%,-100%);/*X方向に-50% Y方向に-100%*/
}

.gnavi li:hover span:nth-child(2){
	opacity:1;/*不透明に*/
	transform: translate(-50%, 8px);/*X方向に-50% Y方向に0*/
}

@media(max-width:914px){
	.gnavi{
		display: none;
	}
}
@media(min-width:915px){
	.openbtn{
		display: none;
	}
}
.openbtn{
	position:fixed;
    z-index: 100;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 55px;
    height:55px;
	background: #d02124;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 27%;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 46%;
  }

.openbtn span:nth-of-type(1) {
	top:19px;	
}

.openbtn span:nth-of-type(2) {
	top:27px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span:nth-of-type(1) {
    top: 20px;
    left: 20px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 32px;
    left: 20px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

@media(max-height:700px){
.openbtn{
    width: 45px;
    height:45px;
}
.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:22px;
}

.openbtn span:nth-of-type(3) {
	top:29px;
}	
.openbtn.active span:nth-of-type(1) {
    top: 15px;
    left: 15px;
}

.openbtn.active span:nth-of-type(3){
    top: 27px;
    left: 15px;
}	
}
#g-nav{
    position:fixed;
    z-index: 88;
	top:0;
    right: -150%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background: rgba(17,17,17,0.70);
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
	width: 40%;
	min-width:280px;
	background: #9c8b7e;
    height: 100vh;/*表示する高さ*/
	margin-left: auto;
	padding: 80px 15px;
}
.nav1{
	margin-bottom: 40px;
}
#g-nav ul{
	width: 98%;
}

#g-nav .nav1 li{
	list-style: none;
	border-bottom: 1px solid #666;
}

#g-nav .nav1 li a{
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding-left: 2rem;
	position: relative;
}
#g-nav .nav1 li a::before{
	position: absolute;
	content: '\e4dd';
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	left: .3rem;
	top: 8px;
	color:#d02124; 	
}

.spcta a{
	display: block;
	text-align: center;
	padding: .4rem 0;
	border:1px solid #d02124; 
	border-radius: 30px;
	font-size: clamp(1.1rem, 0.961rem + 0.59vw, 1.3rem);
	margin-bottom: 18px;
	font-weight: 600;
	color: #d02124;
	background: #fff;
}
.spcta_tel span{
	position: relative;
	padding-left:2rem; 
}
.spcta_tel span::before{
	position: absolute;
	content: '\f095';
	font-family: "Font Awesome 6 Free";
	left: 0;
	top: -3px;
	font-size: 1.2rem;
	color:  #d02124; 
	
}
/*=============================================================================
 sp-footnavi
====================================================*/

#sp_navi {
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	background: #d02124;
}
@media(min-width:500px){
	#sp_navi{display: none;}
}
	#sp_navi ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
			-ms-flex-wrap: wrap;
		flex-wrap: wrap;
			-webkit-box-pack: justify;
			-ms-flex-pack: justify;
		justify-content: space-between;
			-webkit-box-align: center;
			-ms-flex-align: center;
		align-items: center;
	}
	#sp_navi ul li {
		width: calc(100% / 3 );
		border-top: 1px solid #fff;
		border-right: 1px solid #fff;
	}
	#sp_navi ul li:last-child {
		border-right: none;
	}
	#sp_navi ul li a {
		display: block;
		padding: 5px 0;
		text-align: center;
		color: #fff;
		font-size: 1.5rem;
		line-height: 1.2;
	}
	#sp_navi ul li a.sp_tel:before {
		font-family: "Font Awesome 6 Free";
		content: "\f095";
		font-weight: 900;
	}
	#sp_navi ul li a.sp_contact:before {
		font-family: "Font Awesome 6 Free";
		content: "\f0e0";
		font-weight: 900;
	}
	#sp_navi ul li a.sp_access:before {
		font-family: "Font Awesome 6 Free";
		content: "\f3c5";
		font-weight: 900;
	}
	#sp_navi ul li a span {
		display: block;
		font-size: 1rem;
		font-weight: 400;
	}
/*=============================================================================
 footer
====================================================*/
.cta::before{
	position: absolute;
	content: '';
	width: 90%;
	height: 100%;
	background: url("../img/ctabg.jpg")no-repeat bottom/cover;
	top: 0;
	left:0;	
	z-index: -1;
	border-radius: 0 500px 500px 0;
}

.ctagrid{
	width: 92%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:16px;
	align-items: center;
	color: #fff;
}
.cta a{
	color: #fff;
}
.ctattl .en{
	font-size: 2rem;
	margin-bottom: 20px;
	letter-spacing: .2rem;
}
.ctattl th{
	text-align: left;
	font-weight: 400;
	font-size: 18px;
}
.ctattl td{
	font-size: 20px;
}
.cta_tel a{
	font-size: 2rem;
	letter-spacing: .1rem;
	text-shadow: 0 0 3px #000;
}
.cta_mail a{
	font-weight: 600;
	padding-right: 3rem;
	position: relative;
}
.cta_mail span{
	border-bottom: 1px solid #fff;
}
.cta_mail a::before{
	position: absolute;
	content: '';
	width: 1.8rem;
	height: 1.8rem;
	top:50%;
	right:.3rem;
	transform: translateY(-50%);
	background: url("../img/arrow.svg")no-repeat center/contain;
	transition: .4s;
}
.cta_tel a:hover,
.cta_mail a:hover{
	color: #eb494c;
	transition: .4s;	
}
.cta_mail a:hover::before{
	transition: .4s;
	right: -.2rem;
}

@media(max-width:899px){
	.ctagrid{
		grid-template-columns: repeat(2, 1fr);
	}	
	.ctattl{
 		grid-row: 1 / 3; /* 1~2行目 */
	}
	.cta_tel{
 		grid-row: 1 / 2; /* 1~2行目 */	
	}
	.cta_mail{
 		grid-row: 2 / 3; /* 1~2行目 */			
	}
}
@media(max-width:599px){
	.cta::before{
		width: 98%
	}	
	.ctagrid{
		display: block;
		width: 100%
	}
	.ctattl	,.cta_tel{
		margin-bottom: 20px;
		text-align: center;
	}
	.ctattl th{
		text-align: center;
		font-size: 14px;
	}	
	.ctattl td{
		font-size: 16px;
	}	
}
footer{
	padding: clamp(40px,6vw,70px) 0 ;
	font-size: clamp(16px,2vw,18px);
}
.flogo{
	width: 300px;
	margin-bottom: 20px;
}

.f_navi ul{
	display: flex;
	flex-wrap: wrap;
	
}
.f_navi li{
	width: calc(100% / 3);
    padding: 0 6px 0 15px;
	position: relative;
}

.f_navi li::before{
	position: absolute;
	content: '';
	width: 2px;
	height: 40%;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background: #eb494c;	
}


.f_navi a:hover{
	color: #eb494c;	
}



.copy{
	text-align: center;
	padding: 0px 0 5px;
	font-size: 13px;
}



/* ====================================================================
  FV
========================= */
/*--- FVベース --------------------*/
#fv{ 
	position:relative; 
	width:100%; 
	aspect-ratio: 7 / 5;
	max-height:80vh; 
	min-height:470px;
	overflow:hidden; 
	background: linear-gradient(to bottom,#ffffff99,transparent);
}

.layer{
  position:absolute;
  inset:0;
  overflow:hidden;
  contain:layout paint;
}

/*--- トラック --------------------*/

.track{
  display:flex;
  align-items:center;
  height:100%;
  width:280%;
  will-change:transform;
  transform:translateZ(0);
}

/*--- li基本 --------------------*/

.track li{
  list-style:none;
  flex-shrink:0;
  border-radius:18px;
  overflow:hidden;
  margin-right:30vw;
  backface-visibility:hidden;
}

/*--- 画像 --------------------*/
.track img{ 
	display:block; 
	height:50vh; 
	width:auto; 
	object-fit:cover; 
}

/*--- 奥行きレイヤー --------------------*/
.layer1{ z-index:3; }
.layer2{ z-index:2; }

.layer3{
  z-index:1;
  filter:blur(10px);
  transform:scale(1.1);
  opacity:.6;
  isolation:isolate;
}
/*--- 手前影 --------------------*/
.layer1 .track li{
  box-shadow:
    0 10px 30px rgba(0,0,0,.25),
    0 3px 10px rgba(0,0,0,.15);
}

/*---  位置ズレ --------------------*/

.layer1 .track li:nth-child(2n){
  transform:translateY(75px);
  margin-right:35vw;
}
.layer1 .track li:nth-child(3n){
  transform:translateY(-60px);
  margin-right:40vw;
}
.layer1 .track li:nth-child(4n){ margin-right:43vw; }
.layer1 .track li:nth-child(5n){
  transform:translateY(130px);
}
.layer1 .track li:nth-child(7n){ margin-right:38vw; }
.layer1 .track li:nth-child(8n){
  transform:translateY(80px);
  margin-right:25vw;
}

.layer2 .track li:nth-child(2n){
  transform:translateY(-95px);
  margin-right:45vw;
}
.layer2 .track li:nth-child(3n){
  transform:translateY(25px);
  margin-right:30vw;
}
.layer2 .track li:nth-child(4n){
  transform:translateY(200px);
  margin-right:28vw;
}
.layer2 .track li:nth-child(5n){
  transform:translateY(85px);
  margin-right:18vw;
}
.layer2 .track li:nth-child(7n){
  transform:translateY(-60px);
  margin-right:43vw;
}

.layer3 .track li:nth-child(2n){
  transform:translateY(100px);
  margin-right:45vw;
}
.layer3 .track li:nth-child(3n){
  transform:translateY(-60px);
  margin-right:30vw;
}
.layer3 .track li:nth-child(4n){
  transform:translateY(85px);
  margin-right:38vw;
}
.layer3 .track li:nth-child(5n){
  transform:translateY(-125px);
  margin-right:18vw;
}
.layer3 .track li:nth-child(7n){
  transform:translateY(35px);
  margin-right:43vw;
}

/*--- サイズバリエーション --------------------*/
.size-ss img{ height:clamp(5.938rem, 4.568rem + 5.85vw, 11.875rem);}
.size-sm img{ height:clamp(8.75rem, 6.442rem + 9.85vw, 18.75rem);}
.size-md img{ height:clamp(11.25rem, 8.654rem + 11.08vw, 22.5rem);}
.size-lg img{ height:clamp(12.5rem, 9.471rem + 12.92vw, 25.625rem);}

/*---  SP調整 --------------------*/

@media (max-width:768px){
  .layer3{
    filter:blur(4px);
    opacity:.5;
  }
}

@media (max-width:600px) and (max-height:800px){

  #fv{ height:65vh; }

  .layer3{ display:none; }

}

/*h1　表示*/
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
}
/*======================================================================
	index
===================================================*/
.t-greet-flex{
	display: flex;
}
.gtxt h2{
	font-size: clamp(1.875rem, 0.871rem + 1.57vw, 2.813rem);
	margin-bottom: clamp(45px,4vw,70px);
}
.gtxt p{
	padding: 0 2rem;
}

.gimg .img1{
	width: 60%;
	min-width: 350px;
	height: auto;
	position: relative;
}

.gimg .img2{
	position: absolute;
	width: 80%;
	height: auto;
	left: 80%;
	top: 85%;
	z-index: -1;
}
.gimg img,
.ta_img img{
	border-radius: 15px;
}

.ta_img{
	width: 50%;
	padding-right: clamp(15px,6vw,250px);
}
.ta_img img{
	border-radius:0 15px 15px 0;
}
.ta_txt{
	width: 50%;
	padding-right:  clamp(15px,6vw,250px);
}
.ta_txt p{
	padding: 2rem 2.5rem;
}

.breakimg{
	width: 70%;
	height: 50vh;
	position: relative;
	z-index: 3;
}

.service_flex{
	display: flex;	
}

.s_img{
	width: 40%;
}
.s_img img{
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 15px;
	object-fit: cover;
}
.s_txt{
	width: 45%;
}

.sttl{
	border-bottom: 1px solid #eee;
	font-size: 1.5rem;
	margin-bottom: 30px;
}
.t_works::before{
	position: absolute;
	content: '';
	width: 78vw;
	height: 90%;
	border-radius: 30px 0 0 30px;
	right: 0;
	top: 0;
	background:rgba(76, 10, 12, 0.2);
	z-index: -1;
}

.t_works .ttlwrap{
	border-bottom-width: 0;
}
.t_works .ttlwrap h2{
   color: #fff;
   text-shadow:
       3px 3px 0 #d02124,
     -1px -1px 0 #d02124,  
      1px -1px 0 #d02124,
      -1px 1px 0 #d02124,
       1px 1px 0 #d02124;
}
.tw_slide_wrap {
    margin-right: -28%;
    max-width: 1460px;
    margin-left: auto;
}
.tw_slide {
   width:94%;
    margin:0 auto;
}

.tw_slide li{
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.tw_slide img {
    width:100%;
    height: 100%;
	object-fit: cover;
}

.tw_slide .slick-slide {
    margin:0 10px;
}


@media(max-width:1024px){
	.t-greet-flex{
		display: block;
	}
	.gtxt,.gimg{
		width: 100%;
		max-width: 780px;
		margin: 0 auto 20px;
	}
	.gimg .img1{
		width: 55%;
		min-width: 280px;
	}	
	.gimg .img2{
		left: 90%;
		top: 50%;
	}	
	.ta_img{
		width: 40%;
	}
	.ta_txt{
		width: 60%;
	}
	.breakimg {
		width: 85%;
		height: 40vh;
	}	
}
@media(max-width:767px){
	.ta_img{
		width: 90%;
		max-height: 45vh;
        overflow: hidden;
		padding: 0;
		margin-right: 10%;
		border-radius:0 15px 15px 0;
	}
	.ta_txt{
		width: 95%;
		padding: 0;
	}	
	.ta_txt p {
		padding: 1vw 2vw;
	}
}
@media(max-width:599px){
	.service_flex{
		flex-direction: column;
	}
	.service_flex.rever{
		flex-direction: column-reverse;
	}

	.s_img{
		width: 80%;
		margin-bottom: 30px;
	}
	.s_img img{
		aspect-ratio: 16 / 9;
	}
	.s_txt{
		width: 98%;
		margin-bottom: 50px;
	}	
}
@media(max-width:459px){
	.gimg .img1{
		min-width: 200px;
	}
	.gtxt p {
		padding: 0;
	}	
	.t_service .ttlwrap{
		display: block;
	}	
}

/*===================================================================
	Subfv
=============================================*/
/* About Hero */
#about-hero,
#service-hero {
	position: relative;
	height: 45vh;
	min-height: 320px;
	overflow: hidden;
}

.about-hero__bg,
.service-hero__bg {
	position: absolute;
	inset: 0;
}

.about-hero__bg img,
.service-hero__bg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* グラデーション */
#about-hero::before ,
#service-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
	to bottom,
	rgba(76, 10, 12, 0.5) 0%,
	rgba(76, 10, 12, 0) 70%
	);
	z-index: 1;
}

.about-hero__inner ,
.service-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 6vw;
}

.about-hero__title ,
.service-hero__title {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: 0.08em;
	margin-bottom: 0.5em;
	text-align: center;
	color: #fff;
	text-shadow: 0 0 6px #666;
}

.about-hero__lead ,
.service-hero__lead {
	font-size: 1.2rem;
	text-align: center;
	color: #fff;
	text-shadow: 0 0 6px #666;
}

/* SP調整 */
@media (max-width: 768px) {
	#about-hero,
	#service-hero{
		height: 50vh;
	}

	.about-hero__inner,
	.service-hero__inner {
		padding: 0 5vw;
	}
}




.subfv{
	padding: clamp(45px,6vw,75px) 0;
}

.pagettl{
	padding-left: 2vw;
	padding-bottom: 1vh;
	border-bottom: 1px solid #eee;
}
@media(max-height:800px){
	.subfv{
		margin-top: 60px;
	}	
}

/*==================================================================
	Service
=============================================*/
.service-intro {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 3rem;
  color: #333;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item {
  display: block;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
  background: rgba(76, 10, 12, 0.2);
  border-color: #ccc;
}
.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.service-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #eee;
}
@media (max-width:767px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}
.service-detail {
  scroll-margin-top: 80px; /* ヘッダー高さ分 */
}

.service-flex {
  display: flex;
  justify-content: space-between;	
  gap: 3rem;
  align-items: center;
}

.service-txt{
	width: 55%;
}
.service-img{
	width: 35%;
  max-width: 480px
}
.service-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}
.service-list-min {
  margin-top: 1.2rem;
  padding-left: 0;
  list-style: none;
}

.service-list-min li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #eee;
}


@media (max-width: 599px) {
	.service-flex {
		flex-direction: column;
	}
	.service-flex.rever {
		flex-direction: column-reverse;
	}
	.service-txt,
	.service-img{
		width: 100%;
		margin-bottom: 20px;
	}	
}


/*------------施工事例--------------------------*/
.wttl{
	margin-bottom: 20px;
	padding-left: 18px;
	position: relative;
}
.wttl::before{
	position: absolute;
	content: '';
	width: 6px;
	height: 80%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #d02124;
}
.w-slider {
   width:94%;
    margin:0 auto;
}

.w-slider li{
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.w-slider img {
    width:100%;
    height: 100%;
	object-fit: cover;
}

.w-slider .slick-slide {
    margin:0 10px;
}
.w-slider .slick-prev, 
.w-slider .slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.w-slider .slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.w-slider .slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.w-slider .slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.w-slider .slick-dots li {
    display:inline-block;
	margin:0 5px;
	aspect-ratio: auto;
}

.w-slider .slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.w-slider .slick-dots .slick-active button{
    background:#d02124;/*ドットボタンの現在地表示の色*/
}




/*==================================================================
	About
=============================================*/


/*私たちについて*/
.greet-flex{
	display: flex;
}
.gr-txt{
	width: 55%;
}
.gr-img{
	width: 35%;
}
.gr-img img{
	border-radius: 20px;
	box-shadow: 2px 2px 5px #aaa;
}

.img_grid{
	display: grid;	
	grid-template-columns: repeat(7, 1fr);
    row-gap: 0;
	margin-top: -6vh;
	margin-right: -10%;
}

.gr01{
	grid-column: 4 / 8;
	grid-row: 1 / 3;
}
.gr02{
	grid-column: 1 / 5;
	grid-row: 4 / 6;
}

#about{
	background: rgba(76, 10, 12, 0.2);
}
.w-box{
	background: #fff;
	padding: 2rem 3rem;
	border-radius: 30px;
	color: #3d1b03
}
.about tr{
	border-bottom: 1px solid #c1c1c1;
}
.about th{
	font-weight: 400;
	width: 28%;
	padding: 2rem .5rem;
}
.about td{
	padding: 2rem 1rem;
	width: 72%
}
.about a{
	text-decoration:underline;
	text-decoration-thickness: from-font;
	padding-top: 20px;
	font-size: 90%;
}
.about a:hover{
	letter-spacing: .1rem;
}
@media (max-width: 750px){
	.about tr{
		border-bottom: 0px solid #c1c1c1;
	}
	.about th{
		display: block;
		width: 100%;
		padding: .5rem 1rem;
		text-align: left;
		background: #f8f8f8;
	}
	.about td{
		display: block;
		width: 100%;
		padding: 1rem 1rem;
	}
}
@media(max-width:699px){
	.greet-flex{
		display: block;
	}
	.gr-txt{
		width: 98%;
	}
	.gr-img{
		width: 80%;
		margin: 20px auto 0;
	}
	.gr01{
		grid-column: 5 / 8;
		grid-row: 1 / 3;
	}
	.gr02{
		grid-column: 1 / 4;
		grid-row: 2 / 4;
	}
}
@media(max-width:499px){
.w-box{
	background: #fff;
	padding: 2rem 1.5rem;
	border-radius: 30px;
}
}
/*--　mailform　-----------*/
.mailform{
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	padding: 2.5rem 4rem;
	background: rgba(76, 10, 12, 0.2);
	border-radius: 30px;
	
}
.mailform .row{
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}
.mailform .row:not(.last){
	border-bottom: 1px dotted #cccccc;
}
.mailform .row div:nth-child(1){
	width: 28%;
	font-weight: 500;
	letter-spacing: 0.08em;
	font-size: 0.9rem;
}
.mailform .row div:nth-child(2){
	width: 70%;
	line-height: 1.5;
}
.mailform .row span{
  	color: #fff;
  	background: #eb494c;
  	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: #fff;
	border: 1px solid #fff;
	color: #eb494c;
}
.mailform button:hover{
	background: #eb494c;
	color: #fff;
}
.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: #eb494c;
}

.domain-alert{
	background: #9c8b7e;
	padding: 12px;
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-top: 30px;
}
@media (max-width: 750px){
	.mailform .row{
		padding: 20px 0;
		flex-direction: column;
	}
	.mailform .row div:nth-child(1){
		width: 100%;
		margin-bottom: 20px;
	}
	.mailform .row div:nth-child(2){
		width: 100%;
	}
}
@media(max-width:499px){
	.mailform{
		padding: 1.8rem 2rem;

	}
}
/*チェックボックス*/
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;
}
.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: #2e3192;
}

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

@media(max-width:599px){
	.contact .t_center{
		text-align: left;
	}
	.contact_info ul li{
		text-align:left
	}	
}


#calendar-wrap iframe{
	width: 90%;
	max-width: 1000px;
	border: 0;
	display: block;
	margin: 0 auto;
}