@charset "utf-8";
/* CSS Document */
/*共通要素*/
html{
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
body{
	font-family: 'Cinzel', 'Sawarabi Mincho', serif;
	font-weight:100;
}
a,a:hover{
	text-decoration: none;
}
@media screen and (max-width:768px) {
	.pc {
		display: none;
		}
}
@media screen and (min-width:769px) {
		.sp {
		display: none;
		}
}

/*フェードイン*/
	/*1.フェードインアニメーションの指定*/
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
	animation-name: fadeInDown;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}
@keyframes fadeInDown {
	0% {
		opacity: 0;         
	}
	100% {
		opacity: 1;
		transform: translate(0);
	}
}
	/*2.上下の動きを指定*/
.updown {transform: translateY(-50px);}
.downup {transform: translateY(50px);}
	/*3.左右の動きを指定*/
.sect02{overflow: hidden;} /*横スクロールバーを隠す*/
.slide-right {transform: translateX(200px);}
.slide-left {transform: translateX(-200px);}

/*navbar*/
header{
	background-color: rgba( 0, 0, 0, 0.3 );
}
.bg-nav{
	background-color: rgba( 255, 255, 255, 0.85 );
}
nav{
	max-width:1200px;
	margin:0 auto;
}
#navbarNav ul li.nav-item a.nav-link{
	font-size: 14px;
	color:#ffffff;
}
.bg-nav #navbarNav ul li.nav-item a.nav-link{
	font-size: 14px;
	color:#000000;
}

.navbar-toggler{
	background: hsla(0,0%,77%,0.85);
}
@media screen and (min-width:768px) {
	.l-nav{
		display: none;
	}
	.navbar-nav {
	}
	.navbar-nav ul {
	}
	.navbar-nav li {
	}
	.navbar-nav li a {
		font-weight: bold;
		text-align: center;
	}
	.navbar-nav li:last-child a {
		border-right: 0;
		border-radius: 0 3px 3px 0;
	}
}
@media screen and (max-width:768px) {
	.m-nav{
		display: none;
	}
	.slider-container,.header-img{
		margin-top: 80px;
	}
}

/*QRコード表示*/
.popup_wrap input {
display: none;
}
.popup_overlay {
display: flex;
justify-content: center;
overflow: auto;
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
opacity: 0;
transition: opacity 0.5s, transform 0s 0.5s;
transform: scale(0);
}

.popup_trigger {
position: absolute;
width: 100%;
height: 100%;
}

.popup_content {
position: relative;
align-self: center;
width: 90%;
max-width: 800px;
padding: 30px 40px;
box-sizing: border-box;
background: #fff;
line-height: 1.4em;
transition: 0.5s;
text-align: center;
}

.close_btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 14px;
cursor: pointer;
padding:8px;
background: #f29c9f;
color: #fff;
border-radius:15px;
line-height:14px;
font-weight:bold;
}

.popup_wrap input:checked ~ .popup_overlay {
opacity: 1;
transform: scale(1);
transition: opacity 0.5s;
}

.popup_wrap input:checked ~ .popup_overlay .popup_content{
transform: translateY(50px);
}

.open_btn {
}

.open_btn:hover{
	cursor:pointer;
}

/*画像の上に文字*/
.text-on {
	position: relative;
}
.text-on p {
	position: absolute;
	width:100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin:0;
	text-align: center;
	color: #D4D4D4;
	font-weight: bold;
	font-size: 2.0vw;
	z-index:1000;
}
.text-on p span{
	font-size: 1.4vw;
	display: block;
}
.text-on::after {
	position: absolute;
	top: 30%;
	left: 0;
	display: block;
	width: 100%;
	height: 40%;
	content: "";
	background: rgba(0, 0, 0, 0.6);
}
@media screen and (max-width:768px) {
	.text-on p {
		font-size: 6.0vw;
	}
	.text-on p span{
		font-size: 3.0vw;
	}
	.text-on::after {
		top: 20%;
		height: 60%;
	}
}

/*見出し*/
h3{
	text-align: center;
	padding-top: 1.5rem;
	font-size: 30px;
	font-weight: bold;
	line-height: 2.5rem;
}
h3 span{
	display: block;
	font-size: 14px;
	font-weight: normal;
}

/*ページ内リンクの位置調整*/
#rc,#works,#recruit{
	margin-top: -80px;
	padding-top:80px;
}

/*HOME*/
.header{
	font-size: 100px;
	width: 100%;
	height: 100vh;
}
.header video {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	min-width: 100vw;
	min-height: 100vh;
	width: auto;
	height: auto;
	z-index: -100;
}
.header img{
	width: 20%;
	position: fixed;
	top: 40%;
	left: 40%;
	z-index: -50;
}
.header img.img1{
	left: 70%;
}
.header img.img2{
	left: 10%;
}
@media screen and (max-width:768px) {
	.header img{
		width: 60%;
		position: fixed;
		top: 40%;
		left: 20%;
		z-index: -50;
	}
	.header img.img1{
		top: 45%;
		left: 20%;
	}
	.header img.img2{
		top: 15%;
		left: 20%;
	}
}

/*INFO*/
.ex{
	background-color: #ffffff;
	padding: 0 0 2.0rem;
}
.ex div.container{
	padding-bottom: 1.0rem;
	border-bottom: #D40003 double 3px;
}
.ex h3{
	padding-bottom: 0;
}
.ex2{
	margin-top: 0.5rem;
	border-top: #D40003 double 3px;
}
.ex h4{
	position: relative;
	color: #D40003;
	text-align: center;
	font-size: 24px;
	/*font-family: 'Shippori Antique', sans-serif;*/
	padding: 5px 0 10px;
	margin: 0 0 20px;
}

    /* 下三角 */ 
    .ex h4:after {
		border: 10px solid transparent;
		border-top-color: #ff0000;
		border-bottom-width: 0;
		bottom: 0;
		content: "";
		display: block;
		left: 50%;
		position: absolute;
		width: 0;
	}
.ex a{
	position: absolute;
	bottom: 0;
	width: 95%;
}
.topimg{
	width: 100%;
	margin: 0;
	padding: 0;
}

/*RC床版工*/
.rc{
	background-color: #ffffff;
	padding-bottom: 2.0rem;
}
.rc h4{
	position: relative;
	color: #000;
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	padding: 30px 0 10px;
	margin: 0 0 20px;
}
    /* 下三角 */ 
    .rc h4:after {
		border: 10px solid transparent;
		border-top-color: #ff0000;
		border-bottom-width: 0;
		bottom: 0;
		content: "";
		display: block;
		left: 50%;
		position: absolute;
		width: 0;
	}
.rc img{
	width: 100%;
}

.rc a{
	position: absolute;
	bottom: 0;
}
.rc2{
	background-color: #ffffff;
	padding-bottom: 2.0rem;
}
.rc2 img.rc01{
	width: 90%;
	margin-left: 9%;
}
.rc2 img.rc01-1{
	width: 90%;
}
.rc01-2{
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
}
.rc01-3{
	margin-bottom: 3.0rem;
}
.rc01-3 table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0px 8px;
	font-size: 1.0rem;
	line-height: 2.0rem;
}
.rc01-3 table th,.rc01-3 table td{
	padding: 10px;
	border: solid 5px #2E6FB7;
	text-align:center;
	box-sizing:border-box;
}
.rc01-3 table th{
	background: #2E6FB7;
	color: #ffffff;
}
@media screen and (min-width:768px) {
	.rc01-3 table th,.rc01-3 table td{
		border-right: none;
	}
	.rc01-3 table td:last-child{
		border-right: solid 5px #2E6FB7;
	}
}
@media screen and (max-width:768px) {
	.rc01-3 table th,.rc01-3 table td{
		display: block;
		width: 100%;
		border-bottom: none;
	}
	.rc01-3 table td:last-child{
		border-bottom: solid 5px #2E6FB7;
	}
}
.popup figure{
  margin: 0;     /* マージンの初期化 */
  display: none; /* 最初に画像を隠しておく */
}
.popup figure:target{
  display: block;  /* 画像を表示する */
  position: fixed; /* スクロールしても画像を動かさない */
  top: 0;          /* 画面全体に対して画像を中央に設置する */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;    /* 画像を一番前に表示する */
}
.popup figure:target #overlay,.popup figure:target #overlay2{
  position: absolute;        /* 画像が重なるように */
  top: 0;                    /* 4つを0にして画面全体に広げる */
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;     /* フレックスアイテムの並びを縦にする */
  justify-content: center;    /* 左右中央に設置 */
  align-items: center;        /* 上下中央に設置 */
  background: rgba(0, 0, 0, 0.7); /* 画像を見やすくするため透過の黒背景 */
  text-decoration: none;      /* リンクなので文字に下線など装飾が付かないようにする */
  color: #fff;
}
.popup figure:target img{
  animation: fadein .3s;   /* 0.3秒かけたフェードイン効果 */
}
@keyframes fadein{         /* フェードイン効果の中身 */
  0%{
    transform: scale(0.2);
    opacity: 0.2;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

/*施工業績*/
.works{
	background-color: #ffffff;
	padding-bottom: 2.0rem;
	text-align: center;
}
.works img{
	max-width: 100%;
}
.works p{
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 1.0rem;
}
.works p span{
	font-size: 12px;
	font-weight: normal;
}

	/*施工業績スライドショー*/
.swiper-container{
	position: relative;
	overflow: hidden;
}
.swiper-wrapper img{
	width: 100%;
}
.swiper-pagination-bullet {
  border-radius: inherit;
  margin: 0 5px!important;
  width: 54px;
  height: 5px;
  background: skyblue;
  opacity: 0.19;
}
.swiper-pagination-bullet-active {
  background: skyblue;
  opacity: 1;
}
	/* ★ページネーションを外側に */
	.swiper-container {
		padding-bottom: 50px;
		box-sizing: content-box;
	}
	.swiper-button-prev, .swiper-button-next {
		top: calc((100% - 50px) * 0.5);
		margin-top: -22px;
	}
@media screen and (max-width:768px) {
}

/*フッター*/
footer{
	background-color: #1F1714;
	color: #DCDCDC;
	padding-top: 1.0rem;
}
footer a, footer a:focus, footer a:active {
	color: #DCDCDC;
}
.nav-list li {
	padding-top: 5px;
	padding-bottom: 5px;
}
.nav-list li a span {
	font-size:0.7rem;
}
.nav-list li a:hover:before {
	margin-left: 0;
	opacity: 1;
	visibility: visible;
}

ul, ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-list li a:before {
	content: "\f061";
	font: 900 21px/1 "Font Awesome 5 Free";
	color: #4d6de6;
	display: inline-block;
	vertical-align: baseline;
	margin-left: -28px;
	margin-right: 7px;
	opacity: 0;
	visibility: hidden;
	transition: .22s ease;
}
@media(min-width: 768px){
	a[href^="tel:"]{
		pointer-events: none;
	}
}

/*TOPへ戻るボタン*/
#gotop{
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
	width: 60px;
	height: 60px;
	box-sizing: border-box;
	background: #FFF;
	border: 1px solid #999;
	padding-top: 10px;
	text-align: center;
	letter-spacing: -1px;
	font-size: 30px;
	opacity: 0.5;
}
.gotop{
	text-decoration: none;
	color: #333;
}
#gotop:hover{
	opacity: 1;
}
@media(max-width:768px){
	#gotop{
		width: 40px;
		height: 40px;
		padding-top: 0px;
		opacity: 1;
		bottom: 10px;
		right: 10px;
	}
}