/*! Remodal - v0.1.3 - 2014-03-31
 * https://github.com/VodkaBears/remodal
 * Copyright (c) 2014 VodkaBears; */

/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

@charset "shift-JIS";

html.remodal_lock, body.remodal_lock {
    overflow: hidden;
}


.remodal li {
    width: 100%;
    color: #fff;
	padding: 0.7% 0;
    background-color: #0050a3;
    border-bottom: 2px #2671c2 solid;
}
.remodal li a {
	display: block;
	padding: 0.7% 0;
}



/* Anti FOUC */
.remodal, [data-remodal-id] {
    visibility: hidden;
}

/* Overlay necessary styles */

.remodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}

.remodal-overlay:after {
    display: inline-block;
    height: 100%;
    margin-left: -0.05em;
    content: '';
}

/* Fix iPad, iPhone glitches */

.remodal-overlay > * {
    -webkit-transform: translateZ(0px);
}

/* Modal dialog necessary styles */

.remodal {
    position: relative;
    display: inline-block;
}

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

@import url(http://fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);

.remodal a, .remodal a:link, .remodal a:hover { color: #5a5a5a; text-decoration: none; font-weight: bold; }
.remodal_nav a, .remodal_nav a:link, .remodal_nav a:hover { color: #fff; text-decoration: none; font-size: 110%; line-height: 180%;}


.remodal, .remodal * {
	font: 14px/180%  Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; 
	 -webkit-text-size-adjust: 100%; 
	color: #000;
	text-align: center; 
}

/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s linear;
    -moz-transition: -moz-filter 0.2s linear;
    -o-transition: -o-filter 0.2s linear;
    transition: filter 0.2s linear;
}

body.remodal_active .remodal-bg {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
}

/* Overlay default theme styles */

.remodal-overlay {
    opacity: 0.8;
    background: rgba(255,255,255,0.8);
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

body.remodal_active .remodal-overlay {
    opacity: 0.9;
}

/* Modal dialog default theme styles */

.remodal {
    width: 70%;
    max-height: 90%;
    padding: 0 0 15px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #ffffff;
    background-clip: padding-box;
    color: #333;
    -webkit-box-shadow: 0px 0px 8px #171a24;
    box-shadow: 0px 0px 4px #656565;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition: -webkit-transform 0.2s linear;
    -moz-transition: -moz-transform 0.2s linear;
    -o-transition: -o-transform 0.2s linear;
    transition: transform 0.2s linear;
}

body.remodal_active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* Modal dialog vertical align  */

.remodal, .remodal-overlay:after {
    vertical-align: middle;
}

/* Close button */
/*
.remodal-close {
    position: absolute;
    bottom: 14px;
    right: 16px;
    width: 26px;
    height: 26px;
    text-decoration: none;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #aaaaaa;
}
.remodal-close:after {
    display: block;
    padding-left: 1px;
    font-size: 23px;
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN", sans-serif !important;
    content: "×";
    line-height: 22px;
    cursor: pointer;
    text-decoration: none;
    color: #aaaaaa;
}
.remodal-close:hover.remodal-close:after, .remodal-close:active.remodal-close:after {
    color: #aaaaaa;
}
*/

/* Dialog buttons */
.remodal-cancel {
    display: inline-block;
    width: 55px;
    padding: 3px 0 1px 1px;
    margin: 10px 0 0 0;
    font-weight: bold;
    font-size: 10pt;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background-clip: padding-box;
}

.remodal-cancel {
    border: 2px solid #aaaaaa;
    background: #f4f4f4;

}
.remodal-cancel:hover, .remodal-cancel:active {
    border: 2px solid #aaaaaa;
    background: #f4f4f4;
}



/* Media queries
   ========================================================================== */
/* 600px以下 */
@media screen and (max-width:600px){
.remodal li {
	padding: 2% 0;
}
.remodal li a {
	padding: 2% 0;
}

.remodal_nav a, .remodal_nav a:link, .remodal_nav a:hover { font-size: 110%; line-height: 100%;}
}/* 600px以下 end */

/* 568px以下 */
@media screen and (max-width:568px){
.remodal {
    width: 80%;
    max-height: 90%;
    padding: 0 0 15px 0;
}
.remodal li {
	float: left;
	width: 48.5%;
	margin:1% 0 0 1%; 
	padding: 2% 0;
    background-color: #0050a3;
    border-bottom: 2px #2671c2 solid;
}
.remodal li a {
	display: block;
	padding: 1% 0;
}
.remodal_nav a, .remodal_nav a:link, .remodal_nav a:hover { font-size: 100%; line-height: 100%;}

}/* 568px以下 end */

/* 320px以下 */
@media screen and (max-width:320px){
.remodal {
    width: 90%;
    max-height: 90%;
    padding: 0 0 15px 0;
}
.remodal li {
	float: none;
	width: 100%;
	margin:0%; 
	padding: 2% 0;
    background-color: #0050a3;
    border-bottom: 2px #2671c2 solid;
}
.remodal li a {
	display: block;
	padding: 2% 0;
}
.remodal_nav a, .remodal_nav a:link, .remodal_nav a:hover { font-size: 100%; line-height: 110%;}

}/* 320px以下 end */