@charset "utf-8";
/* CSS Document */
/*会社概要ページ*/
#group-page{
	color: #3e3a39;
}
/*メインイメージ*/
#group-main-image{
	background-image: url("../images/group/main.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	padding-bottom: calc(100%*350/1000);
	position: relative;
}
#group-page-title{
	display: inline-block;
	position: absolute;
	color: #00A384;
	text-align: right;
	line-height: 1.4rem;
	padding: 0.5em;
	background:-moz-linear-gradient(right,rgba(255,255,255,0.8) 60%,rgba(255,255,255,0));
	background:-webkit-linear-gradient(right,rgba(255,255,255,0.8) 60%,rgba(255,255,255,0));
	background:linear-gradient(to left,rgba(255,255,255,0.8) 60%,rgba(255,255,255,0));
	top:50%;
	right: 0;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.main-ENG{
	font-size: 1.6rem;
	font-weight: bold;
	text-shadow: 1px 2px 3px #fff; 
}
.main-JPN{
	font-size: 2rem;
	font-weight: bold;
	text-shadow: 1px 2px 3px #fff; 
}
.bg-gray{
	background-color: #f2f2ee;
	border-top: solid 2px #b5b5b6;
	border-bottom: solid 2px #b5b5b6;
	padding: 3rem 1.2rem;
}

.group-title{
	color: #00a384;
	font-size: 1.6rem;
	
}
.text-box{
	display: inline-flex;
	flex-direction: column;
}
.theme{
	background-color: #00a384;
	color: white;
	padding: 1rem;
}
.text-box p{
	display: block;
	padding: 2rem;
	position: relative;
	border: solid 1px #00a384;
	background-color: white;
	height: calc(100%*500/600);
}
.text-box p:before{
	height: 0;
    display: block;
    position: absolute;
    right: -2px;
	bottom: -2px;
    content: "";
	border-bottom: solid 30px #f2f2ee;
    border-left: solid 60px transparent;
    z-index: 2;
}
.text-box p:after{
	height: 0;
	display: block;
    position: absolute;
    right: -2px;
	bottom: -2px;
    content: "";
    border-top: solid 30px #00a384;
    border-right: solid 60px transparent;
    
}
.example-list{
	font-size: 1.4rem;
	text-align: left;
	
}
.example-list li{
	list-style: disc;
	
}
.flame-doudle{
	display: inline-block;
	width: 100%;
	padding: 1rem 2rem;
	border: solid 1px #00a384;
	position: relative;
	color: #00a384;
}
.flame-doudle:before{
	content: "";
	border: solid 3px #00a384;
	position: absolute;
	top: -12px;
	bottom: -12px;
	right: -12px;
	left: -12px;
	z-index: -1;
}
table{
	display: block;
	border-collapse: collapse;
	margin: 0 auto;
}
th{
	display: none;
}
td{
	display: block;
	border: solid 1px #B5B5B6;
	padding: 1rem;
	width: 90%;
	margin: 0 auto;
}
td:first-child{
	color: #00a384;
	background-color: #d5ebe5;
	padding: 1rem;
	font-weight: bold;
}
td:nth-child(2):before,td:last-child:before{
	content: attr(data-label);
	color: #00a384;
}
.card-body{
	position: relative;
	display: inline-block;
}
.card-title{
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #00a384;
	border: solid 2px white;
	border-radius: 50%;
	width: 120px;
	height: 120px;
	top:-6rem;
	left: 50%;
	-ms-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
.card-title p{
	color: white;
	font-size: 1.6rem;
	text-align: center;
}
.card-text{
	padding-top: 5rem;
}
figure{
	position: relative;
	display: inline-block;
}
figure img{
	max-width: 100%;
	vertical-align: top;
}
figure figcaption{
	position: absolute;
	top: 0;
	right: 1em;
	color: white;
	font-weight: bold;
	font-size: 1.6rem;
}

.rank{
	color: #e73278;
}
.rank-no{
	font-size: 2rem;
	font-weight: bold;
}
.FAQ{
	background-color: #f2f2ee;
	border-bottom: solid 2px #b5b5b6;
}
.Q-box,.A-box{
	border: solid 1px #00a384;
	background-color: white;
	padding: 1rem;
}
.Q-box{
	line-height: 2em;
	color: #00a384;
	font-size: 1.4rem;
	font-weight: bold;
}
.A-box{
	margin-bottom: 3rem;
}


/*タブレット表示設定*/
@media (min-width: 600px) {
	#group-page{
		font-size: 1.8rem;
	}
	#group-page-title{
		line-height: 3.5rem;
		padding: 2em 1em;
	}
	.main-ENG{
		font-size: 3.5rem;
	}
	.main-JPN{
		font-size: 5rem;
	}
	
	.group-title{
		font-size: 2.4rem;
	}
	table{
		display: table;
		width: 90%;
	}
	th{
		display: table-cell;
		color: #00a384;
		background-color: #d5ebe5;
		font-size: 2rem;
		font-weight: bold;
		text-align: center;
		border: solid 1px #B5B5B6;
	}
	td{
		display: table-cell;
		padding: 2rem 1rem;
		border: solid 1px #B5B5B6;
		font-size: 2rem;
	}
	td:first-child{
		color: #00a384;
		font-weight: normal;
		background-color: transparent;
		width: 20%;
	}
	td:nth-child(2),td:last-child{
		width: 40%;
	}
	td:nth-child(2):before,td:last-child:before{
		display: none;
	}
	
	figure figcaption{
		top: 1rem;
		right: 1em;
		font-size: 2.0rem;
	}
	

}

/*PC表示設定*/
@media (min-width: 1025px) {
	#group-page-title{
		line-height: 6rem;
		padding: 5em 3em;
	}
	.main-ENG{
		font-size: 5rem;
	}
	.main-JPN{
		font-size: 7rem;
		letter-spacing: 2rem;
		margin-right: -2rem;
	}
	figure figcaption{
		font-size: 2.6rem;
	}
	.text-box p{
		line-height: 3rem;
	}
	table{
		width: 80%;
	}
}