/* CSS Document */

#plan .ohitori_box
{
	margin-bottom: 0px;
	position: relative;
}

#plan .ohitori_box h4
{
	font-size: 32px;
	line-height: 1.2;
	background-color: #46008C;
	padding: 20px;
	text-align: center;
	margin-bottom: 0px;
	color: #FFF;
	font-weight: normal;
}

#plan .ohitori_box h4 small
{
	font-size: 20px;
	margin-right: 10px;
	display: inline-block;
	vertical-align: middle;
}

#plan .ohitori_box .ohitori_title
{
	position: absolute;
	left: 40px;
	bottom: 30px;
}

#plan .ohitori_box .ohitori_title .img
{
	margin-bottom: 10px;
}

#plan .ohitori_box .ohitori_title .img img
{
	width:auto;
	height:auto;
}

#plan .ohitori_box .ohitori_title h5
{
	font-size: 48px;
	line-height: 1.2;
	color: #FFF;
	margin-bottom: 10px;
	font-weight: normal;
	text-shadow: 1px 1px 3px #000;
}

#plan .ohitori_box .ohitori_title h5 a
{
	font-size: 16px;
	color: #fff;
	display: inline-block;
	padding-top: 8px;
	padding-right: 40px;
	padding-bottom: 8px;
	padding-left: 10px;
	overflow: hidden;
	position: relative;
	z-index: 1;
	background-color: #46008C;
	background-image: url(../images/next_box_bg.png);
	background-repeat: no-repeat;
	background-position: right 10px center;
	margin-left: 20px;
	letter-spacing: 0px !important;
	text-shadow: 0px 0px 0px #fff;

}

#plan .ohitori_box .ohitori_title h5 a:before
{
	background: var(--sub-link-color);
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
	z-index: -1;
	background-image: url(../images/next_box_bg.png);
	background-repeat: no-repeat;
	background-position: right 10px center;

}

#plan .ohitori_box .ohitori_title h5 a:hover
{
	color: #fff !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;

}

#plan .ohitori_box .ohitori_title h5 a:hover:before
{
	transform-origin: left top;
	transform: scale(1, 1);

}


#plan .ohitori_box .ohitori_title p
{
	font-size: 28px;
	line-height: 1.4;
	color: #FFF;
	margin: 0px;
	text-shadow: 1px 1px 3px #000;

}


#plan .ohitori_box .white_box
{
	background-color:rgba(255,255,255,1);
	position: absolute;
	right: 30px;
	bottom: 30px;
}

#plan .ohitori_box .white_box h5
{
	font-size: 30px;
	line-height: 1.2;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	text-align: center;
	padding-top: 10px;
}

#plan .ohitori_box .white_box .pad
{
	padding: 10px;
}

#plan .ohitori_box .white_box .pad p
{
	margin-bottom: 0px;
	text-align: center;
}

#plan .ohitori_box .white_box .price
{
	font-size: 72px;
	line-height: 1;
	text-align: center;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px !important;
	margin-left: 0px;
}

#plan .ohitori_box .white_box .price small
{
	font-size: 28px;
	line-height: 1;
}

#plan .ohitori_price
{
	margin-bottom: 50px;
	text-align: center;
	padding: 30px;
	background: #000;
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{



}

/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1199px)
{

#plan .ohitori_box .ohitori_title
{
	left: 20px;
	bottom: 20px;
}

#plan .ohitori_box .ohitori_title .img
{
	margin-bottom: 10px;
	width: 20vw;
}

#plan .ohitori_box .ohitori_title h5
{
	font-size: 38px;
	line-height: 1.2;
}

#plan .ohitori_box .ohitori_title p
{
	font-size: 24px;
	line-height: 1.4;
}



}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{

#plan .ohitori_box h4
{
	font-size: 28px;
	line-height: 1.2;
}

#plan .ohitori_box h4 small
{
	font-size: 20px;
	margin-right: 0px;
	display: block;
	vertical-align: middle;
	margin-bottom: 10px;
	text-align: center;
}


}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

#plan .ohitori_box .ohitori_banner
{
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

#plan .ohitori_box .main_img
{
	margin-bottom: 0px;
}

#plan .ohitori_box .main_img img
{
	border-top-width: 3px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 3px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #FFF;
	border-right-color: #FFF;
	border-bottom-color: #FFF;
	border-left-color: #FFF;
}

#plan .ohitori_box h4
{
	font-size: 28px;
	line-height: 1.2;
	text-align: justify;
	margin-bottom: 0px;
}

#plan .ohitori_box h4 small
{
	margin-right: 0px;
}

#plan .ohitori_box .ohitori_banner .pad_box
{
	background-color: #140C4A;
	background-repeat: no-repeat;
	background-position: center center;
	-ms-background-size: auto 100%;
	-o-background-size: auto 100%;
	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;

	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;

}

#plan .ohitori_box .ohitori_title
{
	margin-bottom: 20px;
	position: static;
}
	
#plan .ohitori_box .ohitori_title p
{
	text-align: center;
}

#plan .ohitori_box .ohitori_title .img
{
	width: auto;
	text-align: center;
}

#plan .ohitori_box .ohitori_title h5
{
	text-align: center;
}

#plan .ohitori_box .ohitori_title h5 a
{
	display: block;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

#plan .ohitori_box .white_box
{
	background-color:rgba(255,255,255,0.8);
	position: static;

}

}