@charset "UTF-8";
/* CSS Document */
*,*:before, *,after{
	box-sizing: border-box;
	/* [disabled]font-size: 22px; */
}
html{
	font-size: 10px;
}
img{
	vertical-align: bottom;
}
body{
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", sans-serif;
	color: #333;
	-webkit-text-size-adjust: 100%;
}
ul, li, p, h1, h2, h3, h4, h5, dl, dt, dd, img{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
a{
	text-decoration: none;
	color: #333;
	transition: 0.4s;
}
address{
	font-style: normal;
}
input[type="submit"] {
	-webkit-appearance: button;
	border-radius: 0;
}
.wrap{
	position: relative;
	width: 100%;
	height: 100vh;
}

@media screen and (min-width: 961px){
	.sp-none {
		display: block;
	}
	.pc-none {
		display: none;
	}
	.br-pc{ 
		display:block;
	}
	.br-sp{ 
		display:none;
	}
}

@media screen and (max-width:960px){
	.wrap{
		width: 85%;
		height: auto;
		margin: 0 auto;
	}
	.sp-none {
		display: none !important;
	}
	.pc-none {
		display: block !important;
	}
	.br-pc{ 
		display:none;
	}
	.br-sp{ 
		display:block;
	}
}



/* header
--------------------------------------------------------------------------- */
header{
	position: absolute;
	top: 7%;
	left: 5%;
}
header .inner{
	
}
header h2{
	font-size: 2rem;
	font-weight: normal;
}
header p{
	margin-top: 30px;
	font-size: 1.4rem;
	line-height: 2;
}

@media screen and  (max-width:1360px){
	header{
		position: absolute;
		top: 5%;
		left: 4%;
	}
	header h2{
		font-size: 1.8rem;
	}
	header p{
		margin-top: 20px;
		font-size: 1.3rem;
	}
}

@media screen and (max-width:960px){
	header{
		position: static;
		margin-top: 50px;
	}
	header .inner{

	}
	header h2{
		font-size: 2rem;
	}
	header p{
		margin-top: 30px;
		font-size: 1.5rem;
		line-height: 2;
	}
}

@media screen and (max-width:600px){
	header p{
		margin-top: 22px;
		font-size: 1.4rem;
	}
}



/* main
--------------------------------------------------------------------------- */
main > .inner{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
	min-width: 400px;
	margin: 0 auto;
}
main h1 img{
	width: 100%;
}
.top_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	width: 100%;
	margin-top: 10%;
}
.top_flex > div{
	width: 46%;
}
.top_flex > div img{
	width: 100%;
	box-shadow: 0 0 4px rgba(0,0,0,0.4);
	transition: 0.4s;
}
.top_flex div p{
	margin-top: 12px;
	font-size: 1.6rem;
	text-align: center;
	transition: 0.4s;
}
.top_flex a:hover img{
	box-shadow: 0 0 12px rgba(0,0,0,0.4);
	transform: scale(1.02,1.02);
}
.top_flex a:hover p{
	letter-spacing: 1px;
}
.about_btn{
	width: 28%;
	min-width: 150px;
	margin:  10% auto 0;
}
.about_btn a{
	display: block;
	padding: 7px 0;
	border: 1px solid #000;
	font-size: 1.8rem;
	text-align: center;
	cursor: pointer;
}
.about_btn a:hover{
	background: #000;
	color: #fff;
}

@media screen and (max-width:960px){
	main{
		margin-top: 100px;
		padding-bottom: 120px;
	}
	main > .inner{
		position: static;
		transform: none;
		width: 400px;
		min-width: inherit;
	}
	.top_flex{
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-top: 90px;
	}
	.top_flex > div{
		width: 100%;
	}
	.top_flex > div:last-child{
		margin-top: 70px;
	}
	.top_flex div p{
		font-size: 1.7rem;
	}
	.about_btn{
		margin:  10% auto 0;
	}
}

@media screen and (max-width:600px){
	main{
		margin-top: 50px;
	}
	main > .inner{
		position: static;
		transform: none;
		width: 100%;
	}
	.top_flex{
		margin-top: 70px;
	}
	.top_flex > div:last-child{
		margin-top: 60px;
	}
	.top_flex div p{
		margin-top: 10px;
		font-size: 1.5rem;
	}
}



/* modal
--------------------------------------------------------------------------- */
.modal_content{
	position: fixed;
	display: none;
	width: 97%;
	height: 95%;
	color: #000;
	z-index: 9999;
	overflow: auto;
	-ms-overflow-style:none;
	-webkit-overflow-scrolling: touch;
}
.modal_content::-webkit-scrollbar {
  display: none;
}
.modal_content .inner{
	position: relative;
	width: 100%;
	height: 100%;
}
.m_close{
	position: absolute;
	top: 5%;
	right: 3%;
}
.m_close img{
	width: 40px;
	height: 40px;
	transition: 0.4s;
	transform: rotateZ(0deg) scale(1);
}
.m_close:hover img{
	cursor: pointer;
	transform: rotateZ(180deg) scale(0.9);
}
#modal_overlay{
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	z-index: 100;
}

@media screen and (max-width:960px){
	.modal_content{
		width: 100vw;
		height: 100vh;
	}
	.m_close{
		position: fixed;
		top: 4%;
		right: 6%;
	}
}

@media screen and (max-width:600px){
	.m_close img{
		width: 30px;
		height: 30px;
	}
}



/* モーダル about
--------------------------------------------------------------------------- */
#modal_about{
	background: rgba(205, 220, 220, 0.9);
}
#modal_about .inner{
	width: 1200px;
	margin: 0 auto;
}
.about_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content:  space-between;
	-webkit-align-items: center;
	align-items: center;
	width: 100%;
	height: 100%;
}
.about_flex .left{
	font-size: 1.7rem;
}
.profile p{
	font-size: 2rem;
	line-height: 2;
}
.company{
	margin-top: 30px;
}
.company table{
	border-collapse: collapse;
}
.company table th{
	width: 110px;
	padding: 8px 0;
	border-right: 1px solid #000;
	font-weight: normal;
	text-align: left;
}
.company table td{
	padding: 8px 0 8px 30px;
}
.relation{
	margin-top: 35px;
}
.relation address{
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 1.4rem;
	line-height: 2;
}
.relation a{
	padding: 10px 20px;
	border: 1px solid #000;
	border-radius: 5px;
	font-size: 1.6rem;
	color: #000 ;
	text-align: center;
}
.relation a:hover{
	background: #fff;
}
#gmap{
	width: 600px;
	height: 600px;
}
.br-modal{
		display: none;
	}

@media screen and (max-width:1360px){
	#modal_about .inner{
		width: 850px;
	}
	.about_flex .left{
		font-size: 1.4rem;
	}
	.profile p{
		font-size: 1.7rem;
	}
	.company table th{
		width: 90px;
	}
	.company table td{
		padding: 8px 0 8px 20px;
	}
	.relation address{
		margin-bottom: 15px;
		line-height: 1.8;
	}
	.relation a{
		font-size: 1.4rem;
	}
	#gmap{
		width: 370px;
		height: 370px;
	}
}

@media screen and (max-width:960px){
	#modal_about .inner{
		width: 480px;
		margin-top: 130px;
		padding-bottom: 100px;
	}
	.about_flex {
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.about_flex .left{
		font-size: 1.6rem;
	}
	.profile p{
		font-size: 1.8rem;
	}
	.company{
		margin-top: 50px;
	}
	.company table th{
		width: 110px;
	}
	.company table td{
		padding: 8px 0 8px 30px;
	}
	.about_flex .right{
		margin-top: 60px;
		padding-bottom: 100px;
	}
	#gmap{
		width: 480px;
		height: 480px;
	}
	.relation{
		margin-top: 60px;
	}
	.relation p{
		font-size: 1.6rem;
	}
	.relation address{
		margin-bottom: 15px;
		font-size: 1.4rem;
	}
	.relation a{
		padding: 10px 20px;
		font-size: 1.6rem;
	}
}

@media screen and (max-width:600px){
	#modal_about .inner{
		width: 300px;
		margin-top: 100px;
		padding-bottom: 100px;
	}
	.about_flex .left{
		font-size: 1.3rem;
	}
	.profile p{
		font-size: 1.5rem;
	}
	.company{
		margin-top: 40px;
	}
	.company table th{
		width: 90px;
		vertical-align: text-top;
	}
	.company table td{
		padding: 8px 0 8px 30px;
	}
	.about_flex .right{
		margin-top: 50px;
	}
	#gmap{
		width: 300px;
		height: 300px;
	}
	.relation{
		margin-top: 40px;
	}
	.relation p{
		font-size: 1.5rem;
	}
	.relation address{
		font-size: 1.3rem;
	}
	.relation a{
		font-size: 1.5rem;
	}
	.br-modal{
		display: block;
	}
}


@media screen and (max-width:320px){
	#modal_about .inner{
		width: 270px;
		padding-bottom: 70px;
	}
	.about_flex .left{
		font-size: 1.2rem;
	}
	.profile p{
		font-size: 1.4rem;
	}
	.company table th{
		width: 85px;
	}
	.company table td{
		padding: 8px 0 8px 25px;
	}
	.about_flex .right{
		margin-top: 50px;
		padding-bottom: 70px;
	}
	#gmap{
		width: 270px;
		height: 270px;
	}
	.relation p{
		font-size: 1.4rem;
	}
	.relation address{
		font-size: 1.2rem;
	}
	.relation a{
		font-size: 1.3rem;
	}
}

@media screen and (orientation: landscape) {
   /* 横向きの場合のスタイル */
	@media only screen and (max-width: 670px) {
		.m_close{
			position: fixed;
			top: 6%;
			right: 4%;
		}
		.m_close img{
			width: 32px;
			height: 32px;
		}
		#modal_about .inner{
			margin-top: 70px;
		}
	}

	@media only screen and (max-width: 570px) {
		.m_close img{
			width: 30px;
			height: 30px;
		}
	}
}


@media only screen and (min-width: 960px) and (max-height: 800px) {
	
	#modal_about .inner{
		width: 740px;
	}
	.about_flex .left{
		font-size: 1.3rem;
	}
	.profile p{
		font-size: 1.5rem;
	}
	.company table th{
		width: 90px;
	}
	.company table td{
		padding: 8px 0 8px 20px;
	}
	.relation address{
		margin-bottom: 15px;
		font-size: 1.3rem;
		line-height: 1.8;
	}
	.relation a{
		font-size: 1.2rem;
	}
	#gmap{
		width: 300px;
		height: 300px;
	}
}
