@charset "utf-8";
/*==================================================
all
===================================*/
/*--------------サイトメニュー----------------*/
.header-nav-menu {
	position: absolute;
	z-index: 50;
	color: #fff;
	display: flex;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
/*==================================================
main
===================================*/
/*--------------ファーストビュー----------------*/
.img-box {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
.img-box > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10;
	opacity: 0;
	animation-name: fade;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}
.img-box > div::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 15;
}
.img-box > span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 20;
	text-align: center;
	color: #fff;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.small-font {
	font-size: 24px;
	white-space: nowrap;
	/* font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500; */
	font-family: "BIZ UDPMincho", serif;
	font-weight: 400;
	margin-bottom: 10px;
}
.big-font {
	font-size: 40px;
	/* font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900; */
	font-family: "BIZ UDPMincho", serif;
	font-weight: 700;
}
@keyframes fade {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 7;
	}
	80% {
		opacity: 0;
		transform: scale(1.2);
	}
	100% {
		z-index: 0;
		opacity: 0;
	}
}
/* 1枚目のスライド */
.img-box > div:first-of-type {
	background-image: url(../image/index/slideshow01.jpg);
}
/* 2枚目のスライド */
.img-box > div:nth-of-type(2) {
	background-image: url("../image/index/slideshow02.png");
	animation-delay: 7s;
}
/* 3枚目のスライド */
.img-box > div:last-of-type {
	background-image: url("../image/index/slideshow03.png");
	animation-delay: 14s;
}
/*--------------おかげさまで～----------------*/
.mitsumori-container {
	margin-top: 100px;
	text-align: center;
}
/*  */
.mitsumori-title {
	position: relative;
	display: inline-block;
	padding: 0 65px;
	text-align: center;
	font-size: 40px;
	/* font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900; */
	font-family: "BIZ UDPMincho", serif;
	font-weight: 700;
}
.mitsumori-title:before, .mitsumori-title:after {
	position: absolute;
	top: calc(50% - 3px);
	width: 50px;
	height: 6px;
	content: '';
	border-top: solid 2px #000;
	border-bottom: solid 2px #000;
}
.mitsumori-title:before {
	left: 0;
}
.mitsumori-title:after {
	right: 0;
}
/*  */
.mitsumori-text {
	margin: 50px 0;
}
.slide-anime {
	/* overflow: hidden; */
	transform: translate(-100%, 0);
	transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 3s;
	font-size: 16px;
	text-align: center;
}
.slide-anime span {
	display: block;
	transform: translate(100%, 0);
	transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 3s;
}
.slide-anime.-visible, .slide-anime.-visible span {
	transform: translate(0, 0);
}
/*  */
/*---------------栄城建装ができること-----------------*/
/* .business-container {
    position: relative;
    margin: 100px auto 300px auto;
    text-align: center;
    background-color: #020066;
    color: #fff;
    padding: 100px 0 150px 0;
    height: 500px;
}

.business-container h4 {
    font-size: 30px;
}

.business-container p {
    margin: 30px 0;
}

.gallery {
    position: absolute;
    bottom: -100px;
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.gallery img {
    height: 200px;
}
 */
/*---------------栄城建装ができること-----------------*/
/*---------------主な施工事例-----------------*/
.business-container, .achievements-container {
	position: relative;
	margin: 100px auto 200px auto;
	text-align: center;
	background-size: cover;
	color: #fff;
	padding: 100px 0 150px 0;
	height: 500px;
}
.business-container {
	background-image: url(../image/index/dekirukoto.jpg);
	background-position: top;
}
.achievements-container {
	background-image: url(../image/index/sekou.jpg);
	background-position: center;
}
.business-title, .achievements-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.5rem;
	/* font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900; */
	font-family: "BIZ UDPMincho", serif;
	font-weight: 700;
}
.business-link, .achievements-link {
	position: absolute;
	bottom: -70px;
	left: 50%;
	/* 親要素の幅の50% */
	transform: translateX(-50%);
	/* 左に自身の幅の50%分移動 */
	width: 80%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	border: 1px solid #0d76cc;
	/* border: 1px solid #437dd1; */
	padding: 30px 0;
	background-color: #0d76cc;
	/* background-color: #437dd1; */
	box-sizing: border-box;
	/* パディングを幅に含める */
}
/*==================================================
******ここからレスポンシブ*******
===================================*/
/*==================================================
ipad大
===================================*/
@media (min-height:1200px) {
	/*--------------ファーストビュー----------------*/
	.img-box {
		height: 100vh;
	}
	.img-box > div {
		height: 100vh;
	}
}
/*==================================================
ipad
===================================*/
@media (max-width:900px) {
	/*--------------ファーストビュー----------------*/
	.img-box {
		height: 100vh;
	}
	.img-box > div {
		height: 100vh;
	}
	/*--------------おかげさまで～----------------*/
	.mitsumori-title {
		font-size: 30px;
	}
	/*--------------栄城建装ができること----------------*/
	/* .gallery {
        display: none;
    }
    .business-container {
        background-image: url(../image/index/sekou.jpg);
        background-size: cover;
        background-position: center; 
        margin-bottom: 0;
        height: 400px;

    } */
	/*--------------栄城建装ができること----------------*/
	.business-title, .achievements-title {
		top: 40%;
		left: 50%;
		transform: translate(-50%, -40%);
		font-size: 30px;
	}
	/*--------------主な施工事例----------------*/
	.business-container, .achievements-container {
		height: 200px;
	}
}
/*==================================================
iPhone大
===================================*/
@media (max-width:600px) {
	/*--------------おかげさまで～----------------*/
	.mitsumori-title {
		font-size: 20px;
	}
	.mitsumori-container {
		width: 90%;
		margin: 80px auto 0 auto;
	}
	.mitsumori-container h3 {
		font-size: 28px;
	}
	/*--------------栄城建装ができること----------------*/
	/*---------------主な施工事例-----------------*/
	.business-title, .achievements-title {
		top: 30%;
		left: 50%;
		transform: translate(-50%, -30%);
		font-size: 24px;
	}
	.business-container h4, .achievements-container h5 {
		top: 30%;
		font-size: 28px;
		white-space: nowrap;
	}
	.business-link, .achievements-link {
		bottom: -100px;
		flex-direction: column;
	}
	.business-link p, .achievements-link p {
		margin-bottom: 20px;
	}
}
/*==================================================
iPhone小
===================================*/
@media (max-width:450px) {
	/*--------------ファーストビュー----------------*/
	.img-box {
		height: 50vh;
	}
	.img-box > div {
		height: 50vh;
	}
	.small-font {
		font-size: 18px;
	}
	.big-font {
		font-size: 25px;
	}
	/*--------------おかげさまで～----------------*/
	.mitsumori-title {
		padding: 0 40px;
	}
	.mitsumori-title:before, .mitsumori-title:after {
		width: 30px;
	}
	/*--------------栄城建装ができること----------------*/
	/*---------------主な施工事例-----------------*/
	.business-title {
		width: 90%;
		margin: 0 auto;
		font-size: 24px;
		top: 20%;
	}
	.achievements-title {
		width: 90%;
		margin: 0 auto;
		font-size: 24px;
	}
	.business-link, .achievements-link {
		width: 90%;
	}
	.business-link p, .achievements-link p {
		padding: 0 10px;
	}
}