/* headerとfooterのためのスタイルをこちらにすべて記述してください */

/* Footer
------------------------------------------------------------------------- */

#md_footerLogo {
    border-top: solid 1px #f5f5f5;
	padding: 8px 0 0 0;
}

/* Header
------------------------------------------------------------------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    background-color: #fff;
}
header.on {
    height: 100%;
    overflow: scroll;
}
.fr_header {
    background: #ffffff;
    color: #000;
}
.navbar-header {
    height: 64px;
    line-height: 60px;
    border-bottom: solid 4px #000;
}
.md_ecTopWrap .navbar-header,
.md_ecListWrap .navbar-header,
.md_ecDetailWrap .navbar-header {
    border-bottom: solid 5px #fff;
}
.md_ecTopWrap .js_fr_page_loading.on .navbar-header,
.md_ecListWrap .js_fr_page_loading.on .navbar-header,
.md_ecDetailWrap .js_fr_page_loading.on .navbar-header {
    border-bottom: solid 5px #000;
}
#md_headerNav ul {
    margin-bottom: 17px;
}
#md_headerNav ul li {
    float: left;
    padding: 8px 16px;
    width: 48%;
    height: 48px;
    line-height: 50px;
    font-family: 'ヒラギノ角ゴ Pro W6','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
	#md_headerNav ul li:nth-child(2n) {
		padding-left: 5px;
		padding-right: 0;
	}
	.fr_img_logo {
	    max-width: 100%;
	    max-height: 20px;
	    margin-left: 16px;
	}
.md_toggleBtn {
    float: right;
    border: none;
    margin: 19px 16px 16px 0px;
    width: 26px;
    height: 22px;
    padding: 0;
    border-radius: 0;
    background: url("../images/common/icon/btn_open01.png") center top;
    background-size: cover;
}
.md_toggleBtn.on {
    background: #fff url("../images/common/icon/btn_close01.png") center top;
    background-size: cover;
}
.md_toggleWrap {
    position: absolute;
    right: -100%;
    width: 100%;
    padding: 0 15px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 999999;
    background-color: #fff;
}
.md_toggleWrap.on {
    right: 0;
}


@media screen and (min-width: 375px) and (max-width: 413px) {
	.navbar-header {
	    margin: 0;
	    height: 64px;
	    line-height: 60px;
	    border-bottom: solid 4px #000;
	}
	.fr_img_logo {
	    max-width: 100%;
	    max-height: 20px;
	    margin-left: 16px;
	}
	.md_toggleBtn {
	    float: right;
	    border: none;
	    margin: 19px 16px 16px 0;
	    width: 26px;
	    height: 22px;
	}
	.md_toggleWrap {
	    padding: 0 18px;
	}
}
/* 商品検索
------------------------------------- */
.md_search_products {
    margin: 0 -15px;
}
@media screen and (max-width: 1200px) {
	.md_search_products {
	    margin: 0;
		margin-bottom: -10px;
	}
}
	.md_toggleWrap input[type="search"] {
	    float: left;
	    margin: 18px 0;
		padding: 8px;
	    width: 84%;
	    height: 40px;
	    border: 1px solid #252525;
        -webkit-appearance: none;
        border-radius: 0;

	}
	.md_toggleWrap button {
	    float: left;
	    margin: 18px 0;
	    padding: 0;
	    width: 40px;
	    height: 40px;
	    border: none;
	}
	.md_toggleWrap button img{
	    width: 100%;
	    height: 40px;
	}


/* 言語選択
------------------------------------- */
/*.md_language {
    padding-bottom: 50px;
}
	.md_language ul {
	    display: inline-block;
	    margin-bottom: 20px;
	}
	.md_language ul li {
	    display: inline-block;
	    width: 45px;
	    height: 30px;
	    line-height: 30px;
	    background-color: rgb(0,0,0);
	    color: rgb(255,255,255);
	    font-family: 'SackersGothicStd-Light';
	    font-size: 15px;
	    text-align:center;
	}
	.md_language ul li.on {
	    background-color: rgb(255,255,255);
	    color: rgb(0,0,0);
	}
*/
/* EC TOP
----------------------------------------------------------------------------- */
.md_login_header {
    position: relative;
    margin: 0 -15px;
    height: 70px;
    background-color: #dadfe2;
    border-bottom: solid 1px #bfc8cd;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
	.md_login_header.md_active {
	    height: 200px;
	}
	.md_login_header li {
	    display: inline-block;
	    margin-right: 25px;
	    padding: 18px 0;
	    width: 34px;
	    vertical-align: top;
	}
	.md_login_header li:last-child {
	    position: relative;
	    margin-right: 0px;
	}
		.md_login_header li .badge {
		    position: absolute;
		    right: -16px;
		    top: 13px;
		    font-size: 12px;
		    font-weight: normal;
		    color: red;
		    background-color: transparent;
		    border-radius: 10px;
		}
.md_login_header li dt {
    width: 34px;
    height: 34px;
    background: url(/user_data/packages/sphone/add/img/icon_mypage_off.png) center center;
    background-size: 100%;
}
	.md_login_header li dt.md_active {
	    background: url(/user_data/packages/sphone/add/img/icon_mypage_on.png) center center;
	    background-size: 100%;
	}

.md_login_header li dd {
    display: none;
    position: absolute;
    left: 0;
    top: 70px;
    width: 100%;
/*    height: 120px; */
    padding: 15px 0;
    background-color: #bfc8cd;
    text-align: left;
    z-index: 999999;
}
		.md_login_header li dd:after {
			bottom: 100%;
			left: 33%;
			border: solid transparent;
			content: " ";
			height: 0;
			width: 0;
			position: absolute;
			pointer-events: none;
			border-color: rgba(191, 200, 205, 0);
			border-bottom-color: #bfc8cd;
			border-width: 8px;
			margin-left: -8px;
		}
	.md_login_header li dd a {
	    display: block;
	    padding-left: 25px;
	    height: 50px;
	    line-height: 50px;
/*
	    padding-bottom: 14px;
	    padding-left: 15px;
*/
	    font-size: 12px;
	}
#md_category_header {
    margin: 0 -15px;
    padding-top: 18px;
    background-color: #dadfe2;
}
#md_category_header li {
    padding: 0 15px 0 25px;
    background-color: #dadfe2;
}
#md_category_header li dt,
#md_category_header li a {
    height: 50px;
    display: block;
    line-height: 50px;
    font-weight: normal;
    background: url(/user_data/packages/sphone/add/img/arrow_down02.png) right center no-repeat;
    background-size: 27px 14px;
}
	#md_category_header li dd {
	    display: none;
	    margin: 0 -15px 0 -25px;
	    padding: 0 0 0 37px;
	    background-color: #bfc8cd;
	}
	#md_category_header li dd li,
	#md_category_header li dd li a{
	    padding: 0;
	    background-color: transparent;
	    background-image: none;
	}
/* 商品検索
----------------------------------- */
#md_search_products_header {
    position: fixed;
    top: 65px;
    left: 0;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    background-color: #dadfe2;
    z-index: 99999;
}
@media screen and (min-width: 375px) and (max-width: 413px) {
	#md_search_products_header {
	    top: 77px;
	}
}
#md_search_products_header li {
    float: left;
    width: 36%;
    height: 40px;
    line-height: 40px;
    font-family: 'ヒラギノ角ゴ Pro W6','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    border-right: solid 1px #bfc8cd;
    text-align: center;
}
	#md_search_products_header li:first-child {
	    background: url(/user_data/packages/sphone/add/img/arrow_down01.jpg) 92% center no-repeat;
	    background-size: 12px 6px;
	}
	#md_search_products_header li:last-child {
	    border-right: none;
	    width: 28%;
	}
	#md_search_products_header li.md_searchBox {
	    position: absolute;
	    padding-top: 3px;
	    width: 65%;
	    border-right: none;
	    background-color: #dadfe2;
	}
		#md_search_products_header li.md_searchBox input#keywords05 {
		    background-color: transparent;
		    border: none;
		    border-radius: 0;
		    -webkit-box-shadow: none;
		    box-shadow: none;
		}
		input#keywords05::-webkit-input-placeholder {
		    color: #000;
		    font-weight: normal;
		}
		input#keywords05:-ms-input-placeholder {
		    color: #000;
		    font-weight: normal;
		}
		input#keywords05::-moz-placeholder {
		    color: #000;
		    font-weight: normal;
		}
#md_search_products_header li img{
    width: 27px;
}
	#md_search_products_header li img.md_searchBtn {
	    margin-right: 5px;
	}

#md_productsHeader {
    height: 20px;
    line-height: 20px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-family: 'SackersGothicStd-Light';
    font-size: 9px;
    letter-spacing: 0.1em;
}
ul#md_search_products_headerNav {
    margin-bottom: 0;
}
#md_headerNav {
    padding-top: 2px;
}
@media screen and (min-width: 375px) and (max-width: 413px) {
    .js_fr_page_loading {
        padding-top: 64px;
    }
}
/*schoolページ用追加クラス fr_rn*/
.fr_school_outer {
    width: 980px;
    margin: 0 auto;
}
.fr_oubun-font{
/*    font-family: 'SackersGothicStd-Light' !important;*/
}
.fr_grayborder{
    border:1px solid #454545;
    display: inherit;
}
@media screen and (max-width: 414px) {
    .fr_school_outer {
        width: 100%;
        margin: 0 auto;
    }
}
.fr_copyright_dfix {
    text-align: center;
    font-size: 10px;
}
#md_search_products_header li.md_searchBox input#keywords05::-webkit-input-placeholder{
    color:#a9a9a9;
}
#md_search_products_header li.md_searchBox input#keywords05:-ms-input-placeholder{
    color:#a9a9a9;
}
#md_search_products_header li.md_searchBox input#keywords05::-moz-placeholder{
    color:#a9a9a9;
}
input:-webkit-autofill{
    background-color: transparent !important;
}
/* .md_language a{
	padding: 12px 48px;
	background-color: #000;
	color: #FFFFFF
}
.md_language li {
	float:left;
	list-style-type:none;
	margin-right: 30px;
} */
.fr_language_btn li {
	padding:0;
	margin:0;
	list-style-type:none;
	float:left;
	width: 50%;
}
.fr_language_btn a {
	background-color: #252525;
	color: #fff;
	width: 100%;
	padding: 10px;
	display: block;
	text-align: center;
}

.btn_on a {
	background-color: #fff;
	border: 1px solid #252525;
	color: #252525;
	width: 100%;
	margin-left: 8px;
}
.fr_storelocations_btn {
	width: 100%;
}

/* sp_banner */
#md_sp_banner_ex {margin:0 0 1.5rem; padding:1rem 1.6rem; border-top:solid 1px #f0f0f0; overflow:hidden; font-size: 13px;} 
#md_sp_banner_ex h2 {margin-bottom:1.5rem;}
#md_sp_banner_ex ul {overflow:hidden;}
#md_sp_banner_ex ul li {width:48.4%; margin:0 3.2% 0 0; float:left;}
#md_sp_banner_ex ul li:nth-child(2n+1) {margin:0;}
#md_sp_banner_ex ul li:first-child {width:100%; margin:0;}
#md_sp_banner_ex ul li img {width:100%;}
#md_sp_banner_ex ul li p {margin:0 0 1rem; padding:0.3rem 0 0;}
#md_sp_banner_ex .md_linkBtn {margin:1rem 0 0;}
