@charset "UTF-8";

/* =========================================
	RECについて
========================================= */
#main{
	font-family: 'Noto Sans JP', sans-serif;
}
section:not(:last-of-type){
	margin-bottom: 200px;
}
.page_title{
	margin-bottom: 40px;
}

/* 代表挨拶
---------------------------------------- */
#greeting{
	position: relative;
}
#greeting::after{
	content: "";
	background: url(../img/about/area_bg.jpg) no-repeat right top/1437px;
	width: 1437px;
	height: 50%;
	position: absolute;
	top: 0;
	right: -400px;
	z-index: -2;
}

.gentlemen_wrap{
	display: flex;
	max-width: 1320px;
	width: 100%;
	position: relative;
	transform: translateX(-50%);
	left: 50%;
}
.gentlemen_wrap .photo{
	width: 45.5%;
	flex-shrink: 0;
	margin-right: 44px;
}
.gentlemen_wrap .txt_area{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}
.gentlemen_wrap .txt_area h3{
	width: 100%;
	margin: 50px 0 auto;
	font-size: 42px;
	font-weight: bold;
	letter-spacing: .06em;
	line-height: 1.6;
}
.gentlemen_wrap .txt_area .bg_box{
	display: table;
	width: 100%;
	height: 182px;
	margin: auto 0 65px;
	color: #fff;
	line-height: 1.2;
	font-size: 46px;
	font-weight: 600;
	position: relative;
}
.gentlemen_wrap .txt_area .bg_box p{
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}
.gentlemen_wrap .txt_area .bg_box::before{
	content: "";
	max-width: 1200px;
	width: calc(100vw - 120px);
	height: 319px;
	background: #F1F6CC;
	background: -moz-linear-gradient(40deg, #006934 0%, #1F8E56 25%, #B8D200 85%, #F1F6CC 100%);
	background: -webkit-linear-gradient(40deg, #006934 0%, #1F8E56 25%, #B8D200 85%, #F1F6CC 100%);
	background: -ms-linear-gradient(40deg, #006934 0%, #1F8E56 25%, #B8D200 85%, #F1F6CC 100%);
	background: linear-gradient(50deg, #006934 0%, #1F8E56 25%, #B8D200 85%, #F1F6CC 100%);
	position: absolute;
	top: 0;
	right:-60px;
	z-index: -1;
}
.txt_box{
	background: #fff;
	max-width: 960px;
	width: 100%;
	padding: 60px 75px 0;
	margin: -80px auto 0;
}
.txt_box .txt_right{
	display: block;
	margin-top: 55px;
	text-align: right;
	font-size: 18px;
}

/* 会社概要
---------------------------------------- */
.contents{
	margin-bottom: 100px;
	position: relative;
	transform: scale(0.9);
}
.contents::before{
	content: "";
	background: url(../img/about/bg.png) no-repeat center/100%;
	width: 1300px;
	height: 100%;
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 51%;
	z-index: 1;
	pointer-events: none;
}
.contents > div{
	display: flex;
}
.contents > div h3{
	flex: 1;
	font-size: 80px;
	line-height: 1.3;
	position: relative;
}
.contents > div h3::after{
	content: "";
	border-top: 2px solid #000;
	width: 45px;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}
.contents > div h3 small{
	display: block;
	color: #000;
	font-size: 20px;
	position: absolute;
	transform: translateY(-50%);
	top: 51%;
}
.contents > div div{
	flex: 1;
	font-size: 22px;
	font-weight: bold;
}
.contents > div div span{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 310px;
	height: 410px;
	text-align: center;
	position: relative;
	z-index: 1;
}
.contents > div span::before{
	content: "";
	position: absolute;
	transform: rotate(45deg);
	top: 50%;
	left: 50%;
	width: 310px;
	margin: -155px 0 0 -155px;
	height: 310px;
	border-radius: 32px;
	z-index: -1;
}
.contents > div:nth-of-type(1){
	align-items: flex-start;
}
.contents > div:nth-of-type(1) h3{
	margin-right: 80px;
	text-align: right;
	color: #E8F0A9;
}
.contents > div:nth-of-type(1) h3::after{
	right: -80px;
}
.contents > div:nth-of-type(1) div span::before{
	background: #F1F6CC;
}
.contents > div:nth-of-type(1) h3 small{
	right: 0;
}
.contents > div:nth-of-type(2){
	align-items: flex-end;
	margin-top: -40px;
}
.contents > div:nth-of-type(2) h3{
	color: #CCE1D6;
	order: 2;
	margin-left: 100px;
}
.contents > div:nth-of-type(2) h3::after{
	left: -80px;
}
.contents > div:nth-of-type(2) div span{
	margin-left: auto;
}
.contents > div:nth-of-type(2) div span::before{
	background: #D9E9E1;
}

#overview table{
	max-width: 790px;
	width: 100%;
	border-top: 1px solid #000;
	margin: 0 auto;
}
#overview table th,
#overview table td{
	padding: 25px 0;
	vertical-align: middle;
	overflow: hidden;
	border-bottom: 1px solid #000;
}
#overview table td{
	padding: 25px 20px;
}
#overview table tr:nth-child(1) td span{
	display: block;
	padding-left: 60px;
	position: relative;
}
#overview table tr:nth-child(1) td span::before{
	content: "";
	background: url(../img/logo.svg) no-repeat center/100%;
	width: 55px;
	height: 55px;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	left: 0;
}
#overview table a{
	color: #006934;
	text-decoration: underline;
}
#overview table a:hover{
	text-decoration: none;
	opacity: 1;
}

/* 交通アクセス
---------------------------------------- */
.gmap{
	position: relative;
    width: 100%;
	padding-top: 62%;
	margin-bottom: 20px;
}
.gmap iframe{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.access_detail{
	max-width: 790px;
	width: 100%;
	margin: 0 auto;
}
.access_detail .addr{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	font-size: 18px;
	font-weight: bold;
}
.access_detail .addr .view_all{
	font-size: 15px;
	font-weight: normal;
}
.access_detail li{
	padding: 35px 0;
	border-bottom: 1px solid #333;
}
.access_detail li:not(.addr){
	padding-left: 35px;
	padding-right: 35px;
	text-indent: -40px;
}
.access_detail li:not(.addr)::before{
	content: "◆";
	display: inline-block;
	color: #C6DB33;
	text-indent: 0;
	padding-right: 25px;
}

/* =========================================
 1024px
========================================= */
@media screen and (max-width: 1024px) {
	.contents{
		transform:scale(0.8);
	}
}


/* =========================================
	Blake point
========================================= */
@media screen and (max-width: 840px){

	section:not(:last-of-type){
		margin-bottom: 100px;
	}

	.page_title{
		margin-bottom: 20px;
	}
	
	/* 代表挨拶
	---------------------------------------- */
	.gentlemen_wrap{
		display: flex;
		width: 100vw;
		padding-top: 55px;
		margin-bottom: 65px;
		position: relative;
		transform: translateX(-50%);
		left: 50%;
	}
	.gentlemen_wrap .photo{
		width: 74.5%;
		flex-shrink: 0;
		margin-right: 0;
	}
	.gentlemen_wrap .txt_area{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		width: 100%;
	}
	.gentlemen_wrap .txt_area h3{
		width: 100%;
		margin: 0;
		font-size: 23px;
		text-align: center;
		letter-spacing: .02em;
		position: absolute;
		left: 0;
		top: 0;
	}
	.gentlemen_wrap .txt_area .bg_box{
		display: block;
		width: 100%;
		height: auto;
		margin: auto 0 0;
		font-size: 4.4vw;
		position: unset;
	}
	.gentlemen_wrap .txt_area .bg_box p{
		display: inline-block;
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		padding: 0 0 0 20px;
		height: auto;
	}
	.gentlemen_wrap .txt_area .bg_box::before{
		content: "";
		max-width: 100%;
		width: calc(100vw - 70px);
		height: calc(100% - 55px);
		top: auto;
		bottom: -30px;
	}
	.txt_box{
		width: 100%;
		padding: 0;
		margin: 0 auto;
	}
	.txt_box .txt_right{
		margin-top: 20px;
		font-size: 16px;
	}
	#greeting::after{
		display: none;
	}

	/* 会社概要
	---------------------------------------- */
	.contents{
		max-width: 400px;
		padding-bottom: 25%;
		margin: 0 auto 75px;
		transform: unset;
	}
	.contents::before{
		background: url(../img/about/bg_sp.png) no-repeat center/83%;
		width: 100vw;
		height: 100%;
		transform: translate(-50%,0%);
		top: -4%;
		left: 50%;
	}
	.contents > div{
		display: block;
	}
	.contents > div h3{
		display: inline-block;
		font-size: 37px;
		position: relative;
		z-index: 2;
	}
	.contents > div h3::after{
		border-top: 1px solid #000;
		width: 19px;
		transform: translateY(0%);
		top: auto;
	}
	.contents > div h3 small{
		display: block;
		font-size: 10px;
		transform: translateY(0%);
		top: auto;
	}
	.contents > div div{
		font-size: 14px;
		padding: 0 15px;
	}
	.contents > div div span{
		width: 140px;
		height: 120px;
	}
	.contents > div span::before{
		/* width: 53.6vw;
		height: 53.6vw;
		margin: -26.8vw 0 0 -26.8vw; */
		width: 170%;
		height: auto;
		padding-top: 170%;
		margin: -85% 0 0 -85%;
		border-radius: 16px;
	}
	.contents > div:nth-of-type(1){
		text-align: right;
	}
	.contents > div:nth-of-type(1) h3{
		margin: 0 0 30px;
	}
	.contents > div:nth-of-type(1) h3::after{
		right: auto;
		left: 0;
		bottom: 15px;
	}
	.contents > div:nth-of-type(1) h3 small{
		right: auto;
		left: 30px;
		bottom: 10px;
	}
	.contents > div:nth-of-type(2){
		margin-top: 23%;
		position: relative;
	}
	.contents > div:nth-of-type(2) h3{
		margin: 0;
		position: absolute;
		top: 110%;
	}
	.contents > div:nth-of-type(2) h3::after{
		top: 34px;
		left: auto;
		right: -30px;
	}
	.contents > div:nth-of-type(2) h3 small{
		top: 25px;
		right: 0;
	}
	.contents > div:nth-of-type(2) div{
		text-align: right;
	}
	.contents > div:nth-of-type(2) div span{
		margin-left: auto;
	}
	.contents > div:nth-of-type(2) div span::before{

	}

	#overview table{
		border-top: 1px solid #000;
		font-size: 12px;
	}
	#overview table th,
	#overview table td{
		height: auto;
		vertical-align: middle;
		padding: 15px 0;
		border-bottom: 1px solid #000;
	}
	#overview table th{
		width: 6em;
	}
	#overview table td{
		padding: 15px 15px 15px 0;
	}
	#overview table tr:nth-child(1) td span{
		padding-left: 35px;
	}
	#overview table tr:nth-child(1) td span::before{
		width: 31px;
		height: 31px;
	}
	.company .flex_area > div{
		height: 230px;
		width: 100vw;
		margin-left: -20px;
	}

	/* 交通アクセス
	---------------------------------------- */
	.gmap{
		position: relative;
		width: 100%;
		padding-top: 62%;
		margin-bottom: 20px;
	}
	.gmap iframe{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	.access_detail{
		max-width: 790px;
		width: 100%;
		margin: 0 auto;
		font-size: 12px;
	}
	.access_detail .addr{
		display: block;
		font-size: 12px;
	}
	.access_detail .addr .view_all{
		margin: 10px 0 0;
	}
	.access_detail .addr .view_all a{
		font-size: 12px;
	}
	.access_detail li{
		padding: 15px 0;
		border-bottom: 1px solid #333;
	}
	.access_detail li:not(.addr){
		padding-left: 25px;
		padding-right: 25px;
		text-indent: -25px;
	}
	.access_detail li:not(.addr)::before{
		content: "◆";
		display: inline-block;
		color: #C6DB33;
		text-indent: 0;
		padding-right: 10px;
	}
}

/* ▼▼▼ 〜375px
====================================================== */
@media screen and (min-width: 375px) and (max-width: 767px){
	.contents{
		max-width: 400px;
		transform: unset;
	}
	.contents::before{
		background: url(../img/about/bg_sp.png) no-repeat center/565px;
		width: 100vw;
		height: 100%;
		transform: translate(-50%,0%);
		top: 5%;
		left: 50%;
	}
	.contents > div{
		position: relative;
	}
	.contents > div:nth-of-type(2){
		padding-top: 20px;
	}
	.contents > div span::before{
		width: 210px;
		height: 210px;
		padding: 0;
		margin: -105px 0 0 -105px;
	}
}
