﻿*{
	-webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
.cf:after {
	content: "";
	clear: both;
	display: block;
}
html,body{
	background-color:#DEDAFF;
	width:100%;
	height:100%;
}
html,body,div,dl,dt,dd,ul,ol,li,code,form,fieldset,input,textarea,p,blockquote,th,td,h1,h2,h3,h4,h5,h6,a{
	border:0;
	margin:0;
	padding:0;
	font-weight:normal;
	letter-spacing: 0.1rem;
	line-height:2.3rem;
	-webkit-text-size-adjust:none;
}
ul{
	list-style-type: none;
}
#wrap{
	max-width:768px;
	height:auto;
	margin:0 auto;
	background-color:#fff;
	min-height:100vh;
	/*overflow-x:hidden;*/
}
body img{
	max-width:100%;
}
a{
	cursor:pointer;
	transition: all 0.3s;
	color:#bdb6ff;
	font-weight:600;
	text-decoration: underline;
}
a:hover{
	opacity: 0.8;
}
a.btn{
	background-color:#bdb6ff;
	color:#fff!important;
	border-radius: 5px;
	text-align:center;
	text-decoration: none;
	display: block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.42857143;
	white-space: nowrap;
	vertical-align: middle;
	/*-ms-touch-action: manipulation;
	touch-action: manipulation;*/
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
}

.app_btn{
	cursor: pointer;
}

/*header*/
.div_header{
	max-width: 768px;
	position: fixed;
	top:0;
	margin: 0 auto;
	width: 100%;
	background-image:url(../image/static/x_head_bg.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	text-align:center;
	z-index:9999;
	padding:5px 0;
	background-size: cover;
}
.div_header h1{
	margin: 0;
	padding: 0;
	font-size: 1em;
}
.div_header #img_logo,.div_header .logo{
	/*padding: 0.4em;*/
	padding:0.6em;
	height:3.2em;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.div_header #img_history{
	/*height: 2.4em!important;*/
	height:28px!important;
	margin-top:8px;/*5+8=13px*/
	border: none !important;
}
.div_header #btn_setting.menu > img{
	/*height: 2em;
	border: none !important;
	margin-top: 5px;
	margin-left: 5px;*/
	height: 28px;
    border: none !important;
    margin-top: 13px;
    margin-left: 13px;
}

.navbar-offcanvas{
	position: fixed;
	/*width:100%;*/
	max-width: 280px;
	left: -280px;
	top: 0;
	/*padding-left: 0.1em;
	padding-right: 0.1em;
	padding-left:1em;padding-right:1em;*/
	z-index: 999;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: all 0.15s ease-in;
	transition: all 0.15s ease-in;
}
div#js-bootstrap-offcanvas.navbar-offcanvas.offcanvas-transform.js-offcanvas-done{
	height:100%!important;
}
.navbar-offcanvas .li_link{
	font-size:12px;
}
.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header{
	margin-right:0!important;
	margin-left:0!important;
}

/*フッター*/
copyright{
	display: block;
	text-align: center;
	background-image: url(../image/static/x_foot_bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	width: 100%;
	min-height: 220px;
	max-height:500px;
	z-index: 0;
	position: relative;
}
copyright a{
	display:block;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
  	vertical-align: middle;
	color:#aa8942;
	font-weight:bold;
}

/*ポップアップ*/

h4.modal_ttl{
	background-image: url(../image/static/x_head_bg.jpg);
	background-position: center center;
	background-size:cover;
	color:#fff;
	font-size:18px;
	text-align:center;
	padding:15px 0;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	font-weight:bold;
}
div.modal_naka{
	padding:15px 20px 20px;
}
div.modal_naka p{
	margin-bottom:15px;
}

div.modal_naka .pink{
	color:#F2419D;
}

#modal-content_favorite{
   	width:80%;
	max-width:650px;
    margin:1.5em auto 0;
    padding:0px;
    box-shadow: 0px 0px 8px #000;
    background:#fff;
    position:fixed;
    color: #1b1b1b;
    font-size: 0.9em;
    z-index:5;
    border-radius:10px;
	border:0px solid #fff;
	-webkit-transform: translate3d(0, 0, 5px);
    transform: translate3d(0, 0, 5px);
}

.modal-dialog-center{
	position:absolute!important;
    left: 50%!important;
    top: 50%!important;
	-webkit-transform: translate3d(-53%, -50%, 0)!important;
    transform: translate3d(-53%, -50%, 0)!important;
    -ms-transform: translate3d(-53%, -50%, 0)!important;
    -o-transform: translate3d(-53%, -50%, 0)!important;
    width: 90%!important;
	padding-top:0;
	z-index:1111!important;
}
.modal-dialog-center .category_menu ul{
	padding-left:15px;
}
/*fav*/
.favorite_result_button {
    color:#fff;
    font-size:1em;
    width: 90%;
    text-align: center;
    border-radius:5px;
    background-color: #bdb6ff;
	border:1px solid #bdb6ff;
    padding:10px 10px;
    margin: 5px auto;
	cursor: pointer;
	text-decoration: none;
}
.favorite_result_button:hover{
	text-decoration: none!important;
	background-color:rgba(189,182,255,0.7);
}

.favorite_cancel_button {
    color:#bdb6ff;
    font-size:1em;
    width: 90%;
    text-align: center;
    border-radius:5px;
    border:1px solid #bdb6ff;
    padding:10px 10px;
    margin: 5px auto;
	cursor: pointer;
	text-decoration: none;
}

.favorite_cancel_button:hover{
	text-decoration: none!important;
	color:#bdb6ff;
	background-color:rgba(189,182,255,0.3);
}
