@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/*---------------------------------------------
	Browser Default Initialization
  ---------------------------------------------*/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family:Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", sans-serif;
	font-size:18px;
	letter-spacing: 0.05rem;
	color: #666;
}

body{
	color:antiquewhite;
}

.btn,
a.btn,
button.btn {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	position: relative;
	display: inline-block;
	padding: 1rem 4rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 0.5rem;
}
.header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height:80px;
	padding: 8px 3%;
	background: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}
.title{
	display:flex;
	justify-content: center;
	align-items: center;
}
.title h2{
	margin: 1.2rem;
	font-size: 1rem;
	transform: scaleY(1.4);
	line-height: 1.7;
	font-family:var(--font-primary, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", sans-serif);
	padding:  0.2rem;
    font-weight: bold;
    color: darkblue;
    text-align:center;
}
/* 簡易的なアニメーションの挿入を一時的に削除
.title h2::after{
	content: '';
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:100%;
	background: white;
	animation: showRight .8s ease forwards;
	animation-delay: 4.5s;
}
*/
.logo{
	position: relative;
	font-size: 2.5rem;
	font-weight: 600;
	color: antiquewhite;
	text-decoration: none;
	width:96px;
	height: 32px;
	display: block;
	margin: 0 auto;
}
.logo img{
	position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 簡易的なアニメーションの挿入を一時的に削除
.logo::after{
	content: '';
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:100%;
	background: white;
	animation: showRight 1.5s ease forwards;
	animation-delay: 2.8s;
}
*/
.navbar a{
	font-size: 0.9rem;
	font-weight: 500;
	color: #666;
	text-decoration: none;
	margin-left: 35px;
	transition: .3s;
}

.navbar a:hover,
.navbar a.active{
	color: darkblue;
}

.footer{

	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	padding: 0px 10%;
	background: darkblue;
	color: #ececec;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 80px;
	z-index: 100;
}
.footer p{
	color: #ffffff;
	font-size: 0.7rem;
}

.home{
	height: 100vh;
	background: url('../images/home-img.png') no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	padding: 0 10%;
}

.home-content{
	max-width: 600px;
	background: darkblue;
	padding:0.5rem;
}

.home-content h1{
	position: relative;
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.2;
	color:white;
}

.home-content h1::before{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: darkblue;
	animation: showRight 1s ease forwards;
	animation-delay: 1s;
}
.home-content h3{
	position: relative;
	font-size: 1.2rem;
	font-weight 600;
	color: #555;
	color:white;
}

.home-content h3::before{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: darkblue;
	animation: showRight 1s ease forwards;
	animation-delay: 1.3s;
}
.home-content p{
	position: relative;
	font-size: 0.9rem;
	margin: 20px 0 40px;
	color:white;
}

.home-content p::before{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: darkblue;
	animation: showRight 1s ease forwards;
	animation-delay: 1.8s;
}
.home-content .btn-box{
	position: relative;
	display: flex;
	justify-content: space-evenly;
	max-width: 600px;
	height: 50px;
	background: cornflowerblue;
}

.home-content .btn-box::before{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: darkblue;
	animation: showRight 1s ease forwards;
	animation-delay: 2s;
	z-index: 2;
}

.btn-box a{
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 128px;
	height: 100%;
	background: yellowgreen;
	border: 2px solid yellowgreen;
	border-radius: 8px;
	font-size: 1rem;
	color: black;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 1px;
	z-index: 1;
	overflow: hidden;
	transition: .4s;
}

.btn-box a:hover{
	color: aliceblue;
}

.btn-box a:nth-child(2){
	background:transparent;
	color: aliceblue;
}

.btn-box a:nth-child(2):hover{
	background:black;
}

.btn-box a:nth-child(2)::before{
	background:cornflowerblue;
}

.btn-box a::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: black;
	z-index: -1;
	transition: .4s;
}

.btn-box a:hover::before{
	width: 100%;
}

.home-sci{
	position: fixed;
	bottom: 7rem;
	right: 0;
	width: 120px;
	background: yellowgreen;
	display: flex;
	justify-content: end;
	z-index:100;
}

.home-sci::before{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: darkblue;
	animation: showRight 1s ease forwards;
	animation-delay: 2.5s;
	z-index: 2;
}

.home-sci a{
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background transparent;
	border: 2px solid cornflowerblue;
	border-radius: 50%;
	font-size: 20px;
	color: corflowerblue;
	text-decoration: none;
	z-index: 1;
	overflow: hidden;
	transition: .4s;
}

.home-sci a:hover{
	
}

.home-sci a::before{
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: darkblue;
	z-index: -1;
	transition: .4s;
}

.home-sci a:hover::before{
	width: 100%;
}

.home-imgHover{ 
	position: absolute;
	top: 0;
	right: 30px;
	width: 800px;
	height: 100%;
	background: transparent;
	transition: 2s;
	animation: manipActiveHover .1s forwards;
	animation-delay: 4s;
	pointer-events: none;
}

.home-imgHover:hover{
	background: white;
	opacity: .8;
} 

.home-imgHover::after{
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	width: 120%;
	height: 100%;
	background: red;
	animation: showRight 1s ease forwards;
	animation-delay: 3s;
	z-index: 100;
}

@keyframes showRight{
	100%{
		width: 0;
	}
}

@keyframes manipActiveHover{
	100%{
		pointer-events: auto;
	}
}

.about{
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	grid-gap: 0.8rem;
	justify-content: center;
	align-items: center;
	padding: 5rem 0.5rem 5rem 0.5rem;
	background-color:whitesmoke;
}

.about-img img{
	max-width: 100%;
	width: auto;
	height: auto;
	padding: 0.5rem;
	order:2;
}

.about-text {
	padding: 1rem;
}

.about-text h2{
	font-size: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #333;
}

.about-text h3{
	font-size: 1rem;
	padding-top: 0.5rem;
	color: #555;
	font-weight:600;
}

.about-text p{
	font-size: .9rem;
	margin: 0.8rem 0 1.8rem;
	line-height: 1.7;
}

.company{
	display: grid;
	/*grid-template-columns: repeat(2, 2fr); 画像を一時的に削除対応*/
	grid-gap: 0.8rem;
	justify-content: center;
	align-items: center;
	padding: 5rem 0.5rem 10rem 0.5rem;
	background-color:whitesmoke;
}

.company-img{
	padding-top:10%;
	padding-right: 20%;
	padding-left: 20%;
	padding-bottom:10%;
}
.company-img img{
	max-width: 100%;
	width: auto;
	height: auto;
}

.company-img p{
	font-size:0.9rem;
}

.company-text {
	padding:0.5rem;
	order:2;
}

.company-text h2{
	font-size: 1.5rem;
	padding: 8px;
	color: #333;
}

.company-text h3{
	font-size: 1rem;
	padding: 8px;
	color: #555;
	font-weight:600;
}

.company-text p{
	font-size: .9rem;
	margin: 0.8rem 0 1.8rem;
	line-height: 2.1rem;
	padding: 8px;
	letter-spacing: 0.2rem;
}

.company-text dl{
	padding: 0.5rem;
	display:flex;
	flex-flow: row wrap;
	max-width: 100%;
	width:100%
}

.company-text dt{
	flex-basis: 20%;
	font-weight:600;
	width:100%;
}

.company-text dd{
	flex-basis: 85%;
	width:100%;
	padding-left: 10px;
}

.products{
	padding:5rem 0.5rem 5rem 0.5rem;
	background: url('../images/products-background.jpg') no-repeat;
	background-size: 70%;
	background-position: right;
	background-color: whitesmoke;
}

.products-title h3{
	position:relative;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 1.4rem;
	padding: 5rem 0rem 5rem 4rem;
	color: #555;
	font-weight:600;
	float:left;
}

.products-title p{

	position:relative;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: .8rem;
	line-height: 1.1rem;
	padding: 5.3rem 0rem 5rem 0.1rem;
	letter-spacing: 0.0rem;
	float:left;
}

.products-img img{
	max-width: 65%;
	width: auto;
	height: auto;
	position: left;
}

.products-text {
	background-color: white;
	padding: 1rem;
	margin-top:15rem;
	margin-right:20rem;
	width:50%;
}
.products-text h2{
	width:70%;
	margin: 0 auto;
	font-size: 1.5rem;
	padding: 0.5rem;
	color: #333;
}

.products-text h3{
	width:70%;
	margin: 0 auto;
	font-size: 1rem;
	padding: 0.5rem;
	color: #555;
	font-weight:600;
}

.products-text p{
	width:70%;
	font-size: .8rem;
	margin: 0 auto;
	line-height: 1.1rem;
	padding: 0.5rem 0rem 2rem 0rem;
	letter-spacing: 0.0rem;
}


.products-text a.btn-flat {
	overflow: hidden;
	padding: 1.5rem 6rem;
	color: #fff;
	border-radius: 0;
	background: lightblue;
	left: 50%;
	transform: translateX(-50%);
}

.products-text a.btn-flat span {
	position: relative;
}

.products-text a.btn-flat:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	-webkit-transform: translateX(-96%);
	transform: translateX(-96%);
	background: darkblue;
}

.products-text a.btn-flat:hover:before {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}

.products-text a.btn-flat {
	border-radius: 100vh;
}

.solution{
	padding:5rem 0.5rem 5rem 0.5rem;
	background: url('../images/solution-background.jpg') no-repeat;
	background-size: 70%;
	background-position: left;
	background-color: whitesmoke;
}

.solution-title h3{
	font-size: 1.2rem;
	padding: 5rem 7rem 0rem 0rem;
	color: #555;
	font-weight:600;
	display:flex;
	justify-content:flex-end;
}

.solution-img img{
	max-width: 65%;
	width: auto;
	height: auto;
	position: left;
}

.solution-text {
	background-color: white;
	padding: 1rem;
	margin-top:15rem;
	margin: 15rem 0 0 auto;
	width:50%;
}
.solution-text h2{
	width:70%;
	margin: 0 auto;
	font-size: 1.5rem;
	padding: 0.5rem;
	color: #333;
}

.solution-text h3{
	width:70%;
	margin: 0 auto;
	font-size: 1rem;
	padding: 0.5rem;
	color: #555;
	font-weight:600;
}

.solution-text p{
	width:70%;
	font-size: .8rem;
	margin: 0 auto;
	line-height: 1.1rem;
	padding: 0.5rem 0rem 2rem 0rem;
	letter-spacing: 0.0rem;
}


.solution-text a.btn-flat {
	overflow: hidden;
	padding: 1.5rem 6rem;
	color: #fff;
	border-radius: 0;
	background: lightblue;
	left: 50%;
	transform: translateX(-50%);
}

.solution-text a.btn-flat span {
	position: relative;
}

.solution-text a.btn-flat:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	-webkit-transform: translateX(-96%);
	transform: translateX(-96%);
	background: darkblue;
}

.solution-text a.btn-flat:hover:before {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}

.solution-text a.btn-flat {
	border-radius: 100vh;
}

.construction{
	min-height:800px;
	display:block;
	text-align: left;
	grid-gap: 0.8rem;
	justify-content: center;
	align-items: center;
	padding: 5rem 0.5rem 5rem 0.5rem;
	background-color:whitesmoke;
}

.construction-img img{
	max-width: 100%;
	width: auto;
	height: auto;
	padding: 0.5rem;
}

.construction-text {
	padding: 1rem;
}

.construction-text h2{
	font-size: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #333;
}

.construction-text h3{
	font-size: 1rem;
	padding-top: 0.5rem;
	color: #555;
	font-weight:600;
}

.construction-text p{
	font-size: .9rem;
	margin: 0.8rem 0 1.8rem;
	line-height: 1.7;
}

.contact{
	display: grid;
	grid-gap: 0.8rem;
	justify-content: center;
	align-items: center;
	padding: 5rem 0.5rem 5rem 0.5rem;
	background-color:whitesmoke;
}



.contact-img img{
	max-width: 100%;
	width: auto;
	height: auto;
	padding: 0.5rem;
}

.contact-text {
	padding: 1rem;
	widhth:90%
	margin: 0 auto;
}

.contact-text h2{
	font-size: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #333;
}

.contact-text h3{
	font-size: 1rem;
	padding-top: 0.8rem;
	color: #555;
	font-weight:600;
}

.contact-text p{
	font-size: 1.5rem;
	line-height: 1.7;
	font-family:var(--font-primary, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", sans-serif);
	padding:  1rem;
	margin: 33% auto 5% auto;
	font-weight: bold;
	color:darkblue;
	background: #FFF;
	border: solid 3px darkblue;
	border-radius: 10px;/*角の丸み*/
	max-width:320px;
	text-align:center;
}

.contact-text a.btn-flat {
	font-size:.9rem;
	overflow: hidden;
	padding: 1rem 3rem;
	background: lightblue;
	left: 50%;
	transform: translateX(-50%);
	margin: 1% auto 10% auto;
}

.contact-text a.btn-flat span {
	position: relative;
}

.contact-text a.btn-flat:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	-webkit-transform: translateX(-96%);
	transform: translateX(-96%);
	background: darkblue;
}

.contact-text a.btn-flat:hover:before {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}
.contact-text a.btn-flat {
	border-radius: 100vh;
}
/* =================
ハンバーガーボタンの実装
================= */

.menu-btn {
	position: fixed;
	top: 0.8rem;
	right: 0.8rem;
	display: none;
	height: 32px;
	width: 32px;
	justify-content: center;
	align-items: center;
	z-index: 90;
	background-color: darkblue;
}
.menu-btn:hover {
	cursor: pointer;
}
/* 三本線の実装 */
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	content: "";
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background-color: #ffffff;
	position: absolute;
}
.menu-btn span:before {
	bottom: 8px;
}
.menu-btn span:after {
	top: 8px;
}
/* チェックボックスを非表示にする */
#menu-btn-check {
	display: none;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(
    255,
    255,
    255,
    0
  ); /*メニューオープン時は真ん中の線を透明にする*/
}

/* メニューを開いている時はハンバーガーボタンが×になる */
#menu-btn-check:checked ~ .menu-btn span::before {
	bottom: 0;
	transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
	top: 0;
	transform: rotate(-45deg);
}


#menu-btn-check:checked ~ .menu-content {
	left: 30%; /*メニューを画面内へ動かす*/
}

.iframe-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 296px;
}

.iframe-container iframe {
	width: 100%;
	height: 100%;
}

@media(max-width: 1140px){
	#menu-icon`{
		display: initial;
	}
}

@media(max-width: 968px){
	.header{
		height:60px;
	}
	.home{
		display:block;
		text-align: center;
		padding-top:15rem;
	}
	.home-content h1{
		font-size:2rem;
	}
	.home-content h3{
		font-size:1.1rem;
	}
	.about{
		display:block;
		text-align: left;
	}
	.about-img{
		order: 2;
	}
	section{
		padding: 100px 7%;
	}
	
	.company{
		display:block;
	}
	
	.company-img{
	}
	.company-text h2{
		padding:0;
	}
	.company-text dl{
		flex-flow:column;
	}
	.company-text dd{
		padding-top: 0.1rem;
		padding-bottom:0.1rem;
	}
	.contact{
		display:block;
		text-align: left;
	}
	.contact-img{
		order: 2;
	}
	.construction{
		
	}
	.construction-img{
		order: 2;
	}

	/* =================
	メニュー部分の実装
	================= */

	.menu-content {
	  width: 70%;
	  height: 100%;
	  position: fixed;
	  top: 0;
	   /* メニューを外に出しておく */
	  left: 100%;　
	  z-index: 80;
	  background-color: black;
	  transition: all 0.5s; /*アニメーションを滑らかにする*/
	}
	.menu-content ul {
	  padding: 70px 10px 0;
	}
	.menu-content ul li {
	  border-bottom: solid 1px #ffffff;
	  list-style: none;
	}
	.menu-content ul li a {
	  display: block;
	  width: 100%;
	  font-size: 15px;
	  box-sizing: border-box;
	  color: #ffffff;
	  text-decoration: none;
	  padding: 9px 15px 10px 0;
	  position: relative;
	}
	.menu-btn{
		display: flex;
	}
		header .navbar{
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		text-align: center;
		transition: .3s;
		background-color: white;
	}
	header .navbar.active{
		top: 70px;
	}
	.navbar a{
		padding: 0.8rem;
		display: block;
		text-align:center;
	}
	
	.products{
		padding: 5rem 0.5rem 5rem 0.5rem;
		background: url('../images/products-background.jpg') no-repeat;
		background-size: cover;
	}
	.products-title{
		height:3rem;
		padding: 0.5rem;
		display:block;
		background:white;
	}
	.products-title h3{
		position:absolute;
		padding:0.7rem 0rem 0rem 0.5rem;
		writing-mode: horizontal-tb;
		
	}
	.products-title p{
		padding:0rem 0rem 0rem 0.5rem;
		writing-mode: horizontal-tb;
	}
	
	.products-text {
		font-size:0.9rem;
		background-color: white;
		padding: 8px;
		margin: 1.5rem 1.5rem 0rem 0rem;
		width:100%;
	}
	
	.solution{
		padding: 5rem 0.5rem 5rem 0.5rem;
		background: url('../images/solution-background.jpg') no-repeat;
		background-size: cover;
	}
	.solution-title{
		height:3rem;
		padding: 0.5rem;
		display:block;
		background:white;
	}
	.solution-title h3{
		position:absolute;
		padding:0.7rem 0rem 0rem 0.5rem;
		writing-mode: horizontal-tb;
		
	}
	.solution-title p{
		padding:0rem 0rem 0rem 0.5rem;
		writing-mode: horizontal-tb;
	}
	
	.solution-text {
		font-size:0.9rem;
		background-color: white;
		padding: 8px;
		margin: 1.5rem 1.5rem 0rem 0rem;
		width:100%;
	}
	
}
