/* layout mobile
--------------------------------------------------*/
@media screen and (max-width: 640px) {


/* 新メインビジュアル
*************************************/
.fv{
	position:relative;
	width:100%;
	min-width:320px;
	z-index:2;
	overflow-x:visible;
	background:none;
}

.fv_sp{
	position:relative;
	width:100%;
	height:auto;
	display:block;
}


/* メインビジュアル
*************************************/
.main_visiual{
	position:relative;
	width:100%;
    min-width:320px;
	height:auto;
	background-image:url("../images/main_bg.jpg");
	background-position:top center;
	z-index:2;
	padding-top:1.5%;
}

.main_bg_box{
	position:relative;
	height:auto;
	width:100%;
	overflow:scroll;
	display:none;	
}

.main_photo{
	position:relative;
	top:0;
	left:0;
	margin-left:0;	
	width:100%;	
	height:auto;
	display:block;
}

.main_title{
	position:relative;
	top:0;
	left:0;
	margin-top:0;	
	margin-left:0;
	width:100%;	
	height:auto;
	display:block;
}



/* ３つの理由
*************************************/
.point{
	width:100%;
	margin:auto;
	padding-top:7%;
	padding-bottom:7%;
}

.point_title{
  	position:relative;
	width:90%;
	background:#231714;
	color:#f3e827;
	font-size:8.6vw;
	border-radius:8px;
	display:block;
	padding:4% 6%;
	line-height:1.35;
	margin-bottom:4%;
	box-sizing:border-box;
	margin:auto;
}

.cursor {
	width:18%;
	height:auto;
	position:absolute;
	bottom:-34%;
	left:50%;
	margin-left:-7.5%;
	z-index:1;
}

.point_pkg{
	position:absolute;
	top:0;
	margin-top:5%;
	width:18%;
	height:auto;
	right:6%;
	z-index:1;
}

.point_three{
	position:relative;
	font-size:14vw;
	line-height:1;
	display:inline-block;
	z-index:1;
}

.point_three .big{
	position:relative;
	font-size:30vw;
	line-height:1;
	display:inline-block;
	vertical-align:-5vw;
	z-index:1;
}

.point_three .small{
	font-size:10vw;
	vertical-align:1vw;
}

.point_three_box{
	position:relative;
	margin-top:-5vw;
	margin-bottom:0;
}

.underline {
	position:relative;
	display:inline-block;
	overflow:hidden;
}

.inner_line{
	position:absolute;
	width:100%;
	height:10px;
	background:#f3e827;
	bottom:0;
	z-index:0;
}



/* 下メニュー
*************************************/
.under_menu{
	position:relative;
	width:90%;
	margin:7% auto 0;
	text-align:center;
}

.under_menu_detail{
	position:relative;
	display:inline-block;
	width:49%;
	float:left;
	margin-right:2%;
}

.under_menu_detail img{
	width:100%;
	height:auto;
}

.under_menu_detail:nth-of-type(5n){
	margin-top:0;
}

.under_menu_detail:nth-of-type(even){
	margin-right:0;
}

/*.under_menu_detail:nth-of-type(7){
	clear:both;
	float:none;
	margin:0 auto 0;
	display:block;
}*/

.under_menu_detail p{
	position:absolute;
	margin-top:38%;
	width:100%;
	text-align:center;
	color:#231815;
	font-size:4.5vw;
	line-height:1;
	z-index:1;
	font-weight:bold;
}

.under_menu_detail:hover .over_img{
	display:none;
}

.under_menu_detail:hover p{
	color:#231815;
	transition:0;
}



/* CMリンク
*************************************/
.cm_link{
	width:100%;
	background:#ffffff;
	padding-top:7%;
	text-align:center;
}

.cm_link_title{
	position:relative;
	display:inline-block;
	font-size:8vw;
	font-weight:bold;
	line-height:1;
}

.cm_line{
	position:relative;
	width:90%;
	height:1px;
	background:#d3d1d0;
	margin:0 auto 5%;
}

.cm_line_bottom{
	position:relative;
	width:90%;
	height:1px;
	background:#d3d1d0;
	margin:7% auto 0;
}

.cm_set{
	position:relative;
	width:90%;
	margin:0 auto 0;
}

.cm_set2{
	position:relative;
	width:90%;
	margin:0 auto 0;
}

.cm_set img{
	width:100%;
	height:auto;
}

.cm_set2 img{
	width:100%;
	height:auto;
}

.cm01{
	position:relative;
	float:none;
	text-align:center;
	margin-bottom:5%;
}

.cm02{
	position:relative;
	float:none;
	text-align:center;
	margin-bottom:5%;
}

.cm03{
	position:relative;
	float:none;
	text-align:center;
}

.cm_text{
	font-size:3.7vw;
}




/* トップページ 八味地黄丸とは
*************************************/
.index_hachimi_box{
  	position:relative;
	width:90%;
	margin:12% auto 0;
	background:#ffffff;
	padding:4%;
	box-sizing:border-box;
	border:solid 2px #ab952a;
	text-align:left;
}

.index_hachimi_pkg{
	position:absolute;
	width:50%;
	height:auto;
	top:0;
	left:auto;
	right:0;
	margin-top:-23%;
	margin-left:0;
	margin-right:-55%;
}

.index_hachimi_box .main_title_text{
	position:relative;
	margin-left:0;
}

.index_hachimi_box .btn{
	position:relative;
	width:100%;
	font-size:4.2vw;
	line-height:1;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	color: #ffffff;
	border-radius: 4px;
	background: linear-gradient(0deg, #f08300 50%, #f2901a 50%);
	box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.2);
	padding:3.5% 0;
	margin:7% auto 0;
	line-height:1.5;
}







/* 商品リンク詳細
*************************************/
.product_link_detail{
	width:100%;
	background:#ffffff;
	padding-left:5%;
	padding-right:5%;
	padding-top:0;
	padding-bottom:7%;
	text-align:left;
	margin-top:-5%;
}

.product_text{
	font-size:5vw;
	color:#9f8a28;
	margin-bottom:2%;
	font-weight:bold;
}



/* サブメニュー
*************************************/
.sub_menu_text_box{
	position:relative;
	width:90%;
	text-align:center;
	background:#ffffff;
	margin:1% auto 3%;
	padding:5% 7%;
	box-sizing:border-box;
}

.sub_menu_text{
	position:relative;
	line-height:1.8;
	font-size:4.2vw;
	display:inline-block;
	text-align:left;
}





/* 非表示 制作用
*************************************/








}
