@charset "utf-8";

/*=====================================================
/* header
/*=======================================================*/
#header{
	background: #fff;
	z-index: 99;
	width: 100%;
    padding-bottom: 0.5rem;	
}
#header.transform{
	position: fixed;
	background: #fff;
	box-shadow: 0 0 3px #eee;
	transition: .6s all;
	height: auto;
	animation: DownAnime 0.5s forwards; 
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}
#header .inner{
	width: 98%;
}
.top_menu{
	display: flex;
	justify-content: space-between;
	align-items: center;	
}
.h_logo{
	width: 300px;
	display: block;
	z-index: 999;
	margin-top: 0.5rem;	
}
.h_logo img {
    width: 100%;
	height: 100%;
    display: block;
    margin: 0 auto;
}
.transform .h_logo{
	width: 235px;
}
.m1{
	display: flex;
	flex-direction: column;
}
.t-con {
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    transition: all 1s;
}
.t-btn1{
	width: 250px;	    
	font-size: 1.3em;	   
	display: block;  
	text-align: center; 
	margin-top: 0.5rem;  
	color: #212529;
	transition: all 0.5s;   
	font-family: "Anta", sans-serif;  
}
.t-btn1:hover{
	opacity: 0.6;
	text-decoration: transparent;
    
}
.t-btn2{
	width: 250px;	    
	font-size:0.9em;	     
	display: block;  
	text-align: center; 
	padding: 1% 0 0.3%;
	margin-left: 15px;  
	vertical-align: middle;    
	border:1px solid #212529;;
	color: #212529;; 
	transition: all 0.5s; 
	position: relative;
	overflow: hidden;	
    transition: ease .2s;	
}
.t-btn2 span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color: #212529;
}
.t-btn2:hover span {
	color: #212529;
}
.t-btn2.bgleft::before {
 	background:#ff0;
}
/*hoverした際の形状*/
.t-btn2.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}
.transform .t-con{
	display: none;
}

#gnav ul{
	display: flex;
	justify-content: flex-end;
    width: auto;
	
}
#gnav ul li{ 
	padding: 0 .5rem;
	border-right: solid thin #aaa;
}
#gnav ul li:last-child{
	border-right: none;
}
/* ナビゲーションのリンク設定 */
#gnav ul li a {
	display: block;
	text-decoration: none;
	color: #212529;
	transition: all 0.3s;
	padding: 0 0.5rem;
	font-size: 1rem;
	position: relative; /* 必須 */
}

/* ホバー時のスタイル */
#gnav ul li a:not(.active)::after {
	content: '';
	position: absolute;
	bottom: -2px; /* リンクの下に表示 */
	left: 0;
	width: 100%;
	height: 2px; /* 線の太さ */
	background-color: #fff000; /* 線の色 */
	transform: scale(0, 0);
	transition: all 0.4s;
}

#gnav ul li a:hover::after {
	transform: scale(1, 1);
	transition: all 0.4s;
}

/* 現在のページに対応するスタイル */
#gnav ul li a.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 20%;
	width: 60%;
	height: 2px;
	background-color: #fff000;
}
@media (max-width:950px){
	.m1{
		display: none;
	}
	#header{
		position: fixed;
	}	
}
@media (max-width:750px){
	.top_menu {
		padding: 5px 15px 0;
	}		
	.h_logo {
		width: 230px;
	}
	.transform .h_logo{
		width: 215px;
	}	
}
@media (max-width:500px){

	.h_logo {
		width: 180px;
	}
	.transform .h_logo{
		width: 180px;
	}		
}
/*==spnav==========================*/
.openbtn{
	position: fixed;
    top: 10px;
    right: 10px;
    height: 48px;
    width: 45px;
	background: #000;
    cursor: pointer;
    z-index: 999;
	display: block;
}

.transform .openbtn{
	top:5px;
	border: 1px solid #fff000;
}
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
	background: #fff;
  	width: 62%;
    left: 9px;
 }

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

.openbtn span:nth-of-type(2) {
	top:17px;
	left:8px;
	font-size:0.5rem;
	text-transform: uppercase;
	color: #fff;
}

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

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

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

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

@media (min-width:951px){
	.openbtn{
		display: none;
	}
}
@media (max-width:500px){
	.openbtn {
    	top: 5px;
    	height: 45px;		
	}
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 888;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#fff;
    /*動き*/
	transition: all 0.6s;
}

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

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul{
    position: absolute;
    z-index: 999;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
	padding-left: 10px;
	border-bottom: 1px dotted #ff0;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

#g-nav ul li{
  opacity: 0;
  transform: translateX(200px);
  transition: transform 0.6s ease, opacity 0.2s ease;
}
#g-nav.panelactive ul li:nth-child(2) {
  transition-delay: 0.15s;
}
#g-nav.panelactive li:nth-child(3) {
  transition-delay: 0.3s;
}
#g-nav.panelactive li:nth-child(4) {
  transition-delay: 0.45s;
}
#g-nav.panelactive li:nth-child(5) {
  transition-delay: 0.6s;
}
#g-nav.panelactive li:nth-child(6) {
  transition-delay: 0.75s;
}
#g-nav.panelactive li:nth-child(7) {
  transition-delay: 0.9s;
}
#g-nav.panelactive li:nth-child(8) {
  transition-delay: 1.05s;
}
#g-nav.panelactive li:nth-child(9) {
  transition-delay: 1.3s;
}
#g-nav.panelactive li:nth-child(10) {
  transition-delay: 1.45s;
}
#g-nav .sp_button{
  opacity: 0;
  transform: translateX(200px);
  transition: transform 0.6s ease, opacity 0.2s ease;
  margin-top: 20px;
}

#g-nav.panelactive ul li{
  opacity: 1;
  transform: translateX(0);
  transition: transform 1s ease, opacity 0.9s ease;
}
#g-nav.panelactive .sp_button{
  opacity: 1;
  transform: translateX(0);
  transition: transform 2s ease, opacity 3s ease;
}

#g-nav li.sp_button{
	text-align: center;
	border: 1px solid #ff0;
	background: #fff;
	box-shadow: 3px 3px 3px #ffff9691;
}

/*==============================================
/* footer
/*==============================================*/

.f_contact{
	background-image: linear-gradient(146deg, #ff0, #fbb03b);
}
.fbtn{
	margin: 15px 10px;
	padding: 5px 0;
	width: 80%;
	max-width: 350px;
	text-align: center;
	font-size: clamp(1.2rem, 0.922rem + 1.17vw, 1.8rem);
}
.fbtn{
	background: #fff;
}
.fbtn:last-child{
	padding: 8px 0 2px;	
	background: transparent;
	outline: 1px solid #000;
	color: #fff;
}

.fbtn:hover{
	outline: #000 solid 1px;
	background: #ff0;
}
.fbtn:last-child:hover{
	    color: #212529;
}
.f_address,.f_map{
	width: 50%;
}
.f_address{
	padding: 40px 0;
}
.f_logo{
	width: 90%;
	max-width: 400px;
	margin: 0 auto 20px;
}
.copy{
	text-align: center;
	font-size: 13px;
	padding: 5px 0;
	background: #fbb03b;
}
@media(max-width:820px){
.f_address,.f_map{
	width: 100%;
}	
.f_logo{
	width: 80%;
	max-width: 350px;
	margin: 0 auto 20px;
}	
}

/*==============================================
/* slide
/*==============================================*/
.slider-box{
    width: 100%;
    height: 70vh;
	overflow: hidden;
	position: relative;
}
.slider-box::after{
	content: '';
	width: 100%;
	 height: 40%;
	position: absolute;
	top: 0;
	left: 0;
	/* background: linear-gradient(180deg, rgba(0, 0, 0,0.4), rgba(255, 255, 255,0));*/
    z-index: 1;
}

.text_img{
  position: absolute;
  bottom: 5vh;
  left: 5%;   
  max-width:600px;
  width: 80%;    
 z-index: 10;   
  animation: fadeIn1 3s ease 0.5s 1 normal backwards;    
}
.text_img img{
width: 100%;    
}
@keyframes fadeIn1 {
  0%{
    opacity: 0;
    transform: translateX(300px);   
  }
 50%{
    opacity: 1;    
     transform: scale(1.2);
  }    
 100% {
    transform: translateX(0); 
     transform: scale(1); 
  }
}



/*==============================================
/* index
/*==============================================*/
/*挨拶*/
.g_txt{
	padding-left: 8rem;
}
.g_img{
	position: relative;	
	height: 500px;
	
}
.g_img::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	top: 18px;
	right: 0;
	background: #ff0;
	z-index: -1;
}
.g_img img{
	height: 482px;
	width: 100%;
	padding-left: 18px;
	object-fit: cover
}

@media(max-width: 1024px){
.g_txt{
	padding-left: 4%;
}	
}
@media(max-width:820px){
	.g_txt{
		padding:0 4%;
	}
	.g_img{
		height: 250px;
	}	
	.g_img img{
		height: 232px;
		width: 100%;
		padding-left: 18px;
		object-fit: cover
	}	
}

/*選ばれる理由*/
.reason{
	background: url(../img/reason_bg.jpg);
	background-position: top;
	object-fit: cover;
	position: relative;
	color: #fff;
	z-index: 0;
}
.reason::before{
	position: absolute;
	content: '';
	background: #000;
	opacity: 0.5;
	width: 100%;
	height: 100%;
	top:0;
	z-index: -1;
}

.reason figure{
	position: relative;
}
.reason figure::before,.reason figure::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	border: 2px solid #ff0;
}
.reason figure::before{
	top: 6px;
	left: -6px;
}
.reason figure::after{
	top: -6px;
	left: 6px;
}
.reason dl img{
	aspect-ratio: 8 / 5;
}
.reason dt{
	text-align: center;
	font-size: 1.3rem;
	font-weight: 600;
	margin: 30px 0 10px;
}
@media(max-width:820px){
	.reason figure{
		float: left;
		max-width: 50%;
		width: 350px;
		margin-right: 30px;
		
	}
}
@media(max-width:660px){
	.reason figure{
		float:inherit;
		max-width: 80%;
		margin: 10px auto ;
		
	}
}
/*t_service*/
.s_txt{
	padding-right: 8rem;
}
.s_img{
	position: relative;	
	height: 500px;
}
.s_img::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	top: 18px;
	left: 0;
	background: #ff0;
	z-index: -1;
}
.s_img img{
	height: 482px;
	width: 100%;
	padding-right: 18px;
	object-fit: cover
}
@media(max-width: 1024px){
	.s_txt{
		padding-right: 4%;
	}	
}
@media(max-width:820px){
	.s_txt{
		padding:0 4%;
	}
	.s_img{
		height: 250px;
	}	
	.s_img img{
		height: 232px;
	}	
}
/*TOP施工事例*/
.t_work{
	padding-top: 40px;
}
.w_slider {
   width:94%;
    margin:0 auto;
}

.w_slider li{
	aspect-ratio: 4 / 3;
}

.w_slider img {
    height:100%;
	object-fit: cover;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

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

/*矢印の設定*/

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

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

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}
@media (max-width: 820px) {
	.t_work{
		padding-top: 0px;
	}
}
/*t_about*/
.t_about{
	background: url(../img/t_about_bg.jpg);
	background-position:center top 20%;
	object-fit: cover;
	position: relative;
	color: #fff;
	z-index: 0
}
.t_about::before{
	position: absolute;
	content: '';
	background: #000;
	opacity: 0.5;
	width: 100%;
	height: 100%;
	top:0;
	z-index: -1;
}
.text-box{
	padding: 0 5rem 3rem;
}

/*==============================================
/*	下層　pagetitle
/*==============================================*/

.pagetitle{
	position: relative;
	padding: 50px 0;
	background: linear-gradient(152deg, #fff,#ffff80)
}
.pagetitle::before{
	position: absolute;
	content: '';
	width: calc(100% - 500px);
	height: calc(100% - 30px);
	background: url("../img/pagetop.jpg")no-repeat;
	background-position: left center;
	background-size: cover;
	top:0;
	right: 0;
}

.p_txt{
	width: 500px;
	text-align: center;
}
.pagetitle h3{
	font-size: 18px;
	color: #fbb03b;
}

/* breadcrumb */
.breadcrumb {
	z-index: 1;
	font-size: 0.8rem;
	background: transparent;
	position: absolute;
	bottom: 5px;
	right: 10%;
}
.breadcrumb li {
	display: inline;
	list-style: none;
}
.breadcrumb li:after {
	content: '>';
	padding: 0 0.2em;
	position: relative;
	top: -0.1em;
}
.breadcrumb li:last-child:after {
	content: '';
}
.breadcrumb li a {
	text-decoration: none;
	color: #fbb03b;
}
.breadcrumb li:first-child a::before {
	font-family: "Font Awesome 5 Free";
	content: '\f015';
	font-weight: bold;
	font-size: 90%;
	position: relative;
	top: -0.05em;
}

@media(max-width:950px){
	.pagetitle{
		margin-top: 60px;
		z-index: 0;
	}
	.pagetitle::before{
		width: 65%;
		z-index: -1;
	}
	.p_txt{
		width: 35%;
		text-align: center;
	}	
}
@media(max-width:500px){
	.pagetitle::before{
		width: 100%;
		z-index: -1;
	}
	.p_txt{
		width: 100%;
		text-align: center;
		background: rgba(255,255,255,.4);
	}
	
}
/*==============================================
/*	about.php
/*==============================================*/
.works_wrap{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:15px;
}
.works_wrap img{
	aspect-ratio: 4 / 3;
}


/*==============================================
/*	about.php
/*==============================================*/

.gr_img{
	width: 100%;
	overflow: hidden;
	-webkit-filter: grayscale(1);
    filter: grayscale(1);
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.gr_img:hover{
	-webkit-filter: grayscale(0);
    filter: grayscale(0);
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.a_table table{
	width: 98%;
	border-collapse:collapse;
	color: #666;
	margin: 20px auto;
	font-size: 16px;
}
.a_table tr{
	border-top: 1px solid #aaa;
}
.a_table tr:last-child{
	border-bottom: 1px solid #aaa;
}
.a_table th{
	padding: 1rem;
	font-weight: 400;
	text-align: left;	
	width: 27%;
	vertical-align:top;
}
.a_table td{
	padding: 1rem 0;
	width: 73%;
}

.map{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.map1{
	width: 100%;
	height: 100%;
}
.mapframe{
	width: 100%;
	height: 40vh;
}

@media(max-width:820px){
.mapframe{
	width: 100%;
	height: 30vh;
	margin-bottom: 30px;
}	
}
@media(max-width:510px){
.a_table th{
	padding: 1rem 0.5rem 1rem 0;
	font-size: 15px;
}	
}

/*==============================================
/*	recruit.php
/*==============================================*/

.r_table{
	width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.r_table tr {
    border: solid 2px #eee
}
/*.r_table tr:last-child {
    border-top: solid 2px #aaa
}*/
.r_table th {
    position: relative;
    padding: 10px 0;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    background-color:#FFF000;
	width: 20%;
}
.r_table th::after {
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    display: block;
    width: 0;
    height: 0;
    content: "";
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #FFF000;
}
.r_table td {
    padding: 10px 20px;
    vertical-align: middle;
	width: 80%;
	background: #fff;
}

/*==========================================
/*	contact.php
/*==========================================*/

/*メールフォーム*/
.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: 20%;
	font-weight: bold;
}
.mailform .row div:nth-child(2){
	width: 70%;
	line-height: 1.5;
}
.normal{
	font-weight: normal !important;
}
.mailform .row span{
  	color: #333;
  	background: #ff0;
  	padding: 5px;
  	margin-right: 5px;
  	font-size: 11px;
	border-radius: 2px;
	vertical-align: middle;
}
.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: #73C89C;
	color: white;
	border-radius: 2px;
	margin-top: 5px;
	border: 1px solid #73C89C;
}
.mailform .postal_btn:hover{
	background: #73C89C;
	opacity: 0.9;
}
/*
.mailform button{
	display: block;
	color: #111;
	text-align: center;
	transition: .6s;
	font-size: 1rem;
	font-weight: bold;
	padding: 8px 5px;
	margin: 0 auto;
	width: 250px;
	background: #007ac4;
	border: 1px solid #007ac4;
	border-radius: 25px;
	color: #fff;
}
.mailform button:hover{
	background: #fff;
	color: #007ac4;
}
.mailform button::before{
	font-family: "Font Awesome 5 Free";
	content: "\f0e0";
	font-weight: 700;
	margin-right: 10px;
}
*/

@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%;
	}
}

/*チェックボックス*/
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 #007ac4;
    border-bottom: 3px solid #007ac4;
    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);
}


.contact_info ul li{
	margin-bottom: 5px;
	text-align: center;
}
@media (max-width: 500px){
	.contact_info ul li{
		text-align: left
	}
}
/*===サンクスページ===*/
.thanks p{
	text-align: center;
}
.thanks .small p{
	font-size: 0.9rem;
}

@media (max-width: 500px){
	.thanks p{
		text-align: left;
	}
}
/*===プライバシーポリシーページ==============================*/
.privacy_policy{
	background: #fff;
	padding: 2rem;
}

.privacy_policy .wrap{
	margin-bottom: 40px;
}
.privacy_policy .wrap dt{
	margin-bottom: 10px;
	font-size: 1.2rem;
}
.privacy_policy .wrap dt::before{
	content: '';
    display: inline-block;
    width: 4px;
    height: 0.8em;
    background: linear-gradient(to bottom, #fbb03b 0%,#fbb03b 50%, #ff0 50%,#ff0 100%);
    margin-right: 10px;
}
.privacy_policy .wrap p{
	line-height: 1.7;
}


/*2025.8.6 追加*/
.youtube{
	margin: 30px auto;
	width: 90%;
	max-width: 960px;
}
.youtube iframe{
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}