/* CSS Document */
#mainVisual{
	height: 512px;
	background: url("../img/mainvisual_totalbeauty_pc.jpg") no-repeat left center;
	background-size: cover;
	position: relative;
}

#mainVisual .top_logo{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	max-width: 343px;
	width: 20%;
	font-family: 'Cinzel Decorative', cursive;
	font-size: 8.0rem;
	font-weight: normal;
	letter-spacing: 14px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media screen and (max-width:1920px){
	#mainVisual{
		height: 26.667vw;
	}

}
/*@media screen and (max-width:1720px){
	#mainVisual .top_logo{
		left: 70%;
		width: 100%;
	}
}
@media screen and (max-width:1440px){
	#mainVisual{
		height: 48.612vw;
	}
}*/
@media screen and (max-width:767px){
	#mainVisual{
		background: url(../img/mainvisual_totalbeauty_sp.jpg) no-repeat center;
		background-size: cover;
		overflow: hidden;
		height: 53.693vw;
	}
	
	#mainVisual .top_logo{
		width: 28%;
	}
}

h2{
	font-family: 'Cinzel Decorative', cursive;
	font-size: 3.0rem;
	font-weight: normal;
	letter-spacing: 5px;
}

h2.mincho{
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	font-weight: bold;
	font-size: 2.2rem;
	letter-spacing: 2px;
	margin-left: 12px;
	margin-bottom: 43px;
}

#contentsBlock .contents{
	margin: 85px auto 20px;
}

.lead_area{
	margin-top: 80px;
}
.lead_area p{
	margin-bottom: 40px;
	line-height: 2.0;
}

/*MING*/
figure.effect-ming {
	/*background: #030c17;*/
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	background: rgba(0,0,0,0.4);
	content: '';
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.1,1.2,1);
	transform: scale3d(1.1,1.2,1);
}

figure.effect-ming h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-ming p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming:hover img {
	/*opacity: 0.4;*/
}


.grid {
	display: flex;
	flex-wrap: wrap;
	margin: 100px auto 247px;
}

.grid figure {
	position: relative;
	overflow: hidden;
	margin: 10px 1%;
	max-width: 525px;
	max-height: 200px;
	width: 48%;
	height: auto;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption > div{
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}


.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 80;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	font-weight: 300;
	line-height: 1.2;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 57.5%;
	margin-top: 5px;
}
@media screen and (max-width:1080px){
}

@media screen and (max-width:860px){
	#contentsBlock .contents{
		margin: 100px auto 0;
	}
	
	.grid figure figcaption{
		background: rgba(0,0,0,0.4);
	}
	.grid figure h2{
		font-size: 2.2rem;
	}
	
	.grid figure p{
		font-size: 50%;
	}
}

@media screen and (max-width:600px){
	.grid{
		display: block;
		padding: 0 20px;
		margin-bottom: 100px;
	}
	
	.grid figure{
		width: 100%;
		margin: 10px auto;
	}
}
