@charset "UTF-8";
/* layout  ------------------------------*/
html{
    color: #666;
}
body.overflow,
body.sp-menu-open{
    overflow: hidden;
}

#container{
    line-height: 1.5em;
    position: relative;
    margin: 0 auto;
    padding-top: 70px;
}

#container > .section{
    padding: 2em 0;
}
#container > .section:nth-child(even){
    background-color: #f7f9fb;
}

.inner {
    position: relative;
    width: 1024px;
    margin: 0 auto;
}
.inner.m{
    max-width: 840px;
}
.inner.s{
    max-width: 640px;
}
.inner.ss{
    max-width: 300px;
}



#container > .section::after {
    content: "";
    display: table;
    clear: both;
}
#container > .section.full{
    padding: 2em 0;
}
#container > .section.padding0{
    padding: 0;
}


.fa.block{
    display: block;
    margin-bottom: 0.25em;
}

/* header  ------------------------------*/
#header{
    position: fixed;
    top:0; left:0;
    z-index: 100;
    width: 100%;
    margin:0;
    background-color: #FFF;
    border-bottom: 1px solid rgba(133, 133, 133, 0.31);
    max-height: 70px;
}
#header .inner {
    padding: 9px 0;
    height: auto;
}


#header h1{
    float: left;
    font-size: 1.6em;
    margin: 10px;
}
#header h1 a{
    display: inline-block;
    line-height: 0;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}
#header h1 img{
    height: 35px;
    width: auto;
    vertical-align: middle;
}

#header #menu{
    position: absolute;
    top:0;right: 0;
    display: table;
}

#header li {
    display: table-cell;
    vertical-align: top;
    min-width: 70px;
}
#header li a{
    display:block;
    height: 70px;
    padding: 0.5em 1em;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}
#header li:not(.icon) a{
    padding: 1.5em 1em;
}
#header li.icon a {
    font-size: 12px;
    background-color: rgba(0,58,137);
    transition-duration:0.5s;
}
#header li.icon .fa {
    display: block;
    font-size: 2.5em;
    margin-bottom: 5px;
}
#header li a:hover{
    background-color: rgba(0,58,137,0.5);
}
#header li.icon a:hover{
    background-color: rgba(0,58,137,0.75);
}

#header li.icon{
    position: relative;
}
#language + ul{
    display: none;
    position: absolute;
    top:70px; right: 0;
    z-index: 101;
    border: 2px solid #FFF;
}
#language + ul::before{
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -10px;
    right: 30px;
    border: 5px solid transparent;
    border-bottom: 5px solid #FFF;
}


#language + ul li{
    display: block;
}
#language + ul li a{
    height: auto;
    white-space: nowrap;
    color: #333;
    padding: 0.5em 1em !important;
    background-color: #FFF !important;
}
#language + ul li a.on,
#language + ul li a:hover{
    color: #FFF;
    background-color: #0f4692 !important;
}

#sp_bars,
#sp_login{
    position: absolute;
    top:0; left: 0;
    color: #000;
    font-size: 20px;
    line-height: 1em;
    padding: 20px;
}
#sp_login{
    left:auto; right: 0;
}
#sp_mune_bg{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* menu  ------------------------------*/
#sp-menu-bg{
    display: none;
    position: fixed;
    top:0;left: 0;
    z-index:999;
    width: 100%;
    height: 100%;
    color: #FFF;
    background-color: rgba(0,0,0, 0);
}
.sp-menu-open #sp-menu-bg{
    display: block;
}
.sp-menu-open #sp-menu-bg .fa{
    display: none;
}

#sp-menu{
    position:fixed;
    top:80px;
    right:-100%;
    z-index:1000;
    width: 300px;
    margin-right: 10px;
    box-shadow:0 0 5px rgba(0,0,0,0.4);
}
#sp-menu dd{
    background-color: #FFF;
}
#sp-menu a{
    display:block;
    padding:0.75em 2em;
    color: #333;
}
#sp-menu dd a:hover {
    background-color: #dee8f3;
}
#sp-menu dt a{
    text-align: center;
    color: #FFF;
    background-color: #0f4692;
}

.sp-menu-btn{
    position: absolute;
    top:0;
    right:0;
    text-decoration: none;
    display: inline-block;

    font-size:30px;
    padding: 0.5em;
}
.sp-menu-btn > span{
    color:#999;
}

@media only screen and (max-width: 767px){


    #space_navi{
        top:70px;
    }
    #space_navi .btn{
        font-size: 0.9em;
        width: auto;
        margin: 0;
        padding: 0.5em;
    }
    #space_navi a>i{
        display: none;
    }

    #header > ul{
        margin: 0;
        width: 100%;
    }
    #header li a{
        font-size: 0.6em;
        padding: 10px 0;
        line-height: 1em;
    }
    #header li span{
        display: block;
        margin: 0 0 0.25em 0;
    }
    #header li span.fa-angle-down {
        display: none;
    }
    #header #menu{
        display: none;
    }
    #sp-menu{
        top:0;
        width: 100%;
        height: 100%;
        margin-right: 0;
        padding-left: 3em;
        overflow: auto;
        box-shadow :none;
    }
    #sp-menu-bg{
        background-color: rgba(0,0,0, 0.5);
    }
    .sp-menu-open #sp-menu-bg .fa{
        display: inline-block;
        margin: 1em;
    }
}


.page-breadcrumb {
    margin-bottom: 1em;
}
.page-breadcrumb >li{
    display: inline-block;
    padding: 0 1em;
    font-size: 12px;
    line-height: 1em;
    border-left:1px solid #CCC;
}

/* footer  ------------------------------*/
#footer {
    text-align: center;
    padding: 2.5em 1em 1em 1em;
    background-color: #f8f8f8;
}

#footer h1{
    float: left;
    width: 25%;
    text-align: center;
    overflow: hidden;
}
#footer h1>a{
    display: block;
    padding: 0.5em;
}

#footer ul{
    text-align: center;
}
#footer li {
    margin: 0;
    display: inline-block;
}
#footer li>a{
    display: block;
    padding: 0.5em;
    color: #999;
}
#footer li>a:hover{
    text-decoration: underline;
}

#footer .sns {
    margin-bottom: 1em;
}
#footer .sns li{
    margin: 0 0.5em;
}
#footer .sns li a{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #CCC;
    padding: 0;
    transition-duration:0.5s;
}
#footer .sns li a:hover{
    background-color: #0f4692;
}


.section ul.logos{
    margin-top: 1em;
}
.section ul.logos li{
    float: left;
    width: 25%;
    min-height: 90px;
    padding: 1em;
    text-align: center;
}
.section ul.logos img{
    max-height: 50px;
    width: auto;
    max-width: 100%;
    height: auto;
}

#footer #copy{
    text-align: center;
    font-size: 0.8em;
    margin-top: 2em;
}

@media only screen and (max-width: 767px){
    #footer {
        padding: 1em;
    }
    #footer h1{
        float: none;
        width: 100%;
    }

    #footer ul{
        margin:0;
        text-align: center;
    }
    #footer li{
        display: block;
    }
    #footer .sns li{
        display: inline-block;
    }
    .section ul.logos li{
        width: 50%;
    }
}


#page_top{
    position: fixed;
    bottom:0.25em; right:0.25em;
    font-size: 4em;
    line-height: 1em;
    opacity: 0.5;
}

/* Font  ------------------------------*/
#container h1{
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin: 0.5em 0;
}
h1 [class^="icon-"], h1 [class*=" icon-"] {
    font-size: 1.6em;
}

#container h2{
    color: #333;
    font-size: 1.5em;
    line-height: 1.5em;
    font-weight: bold;
    padding:1em 0;
    text-align: left;
}
#container h2>small{
    color: #CCC;
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.5em;
    margin-bottom: 1em;
}


#container h3{
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 1em;
}
#container h4{
    font-weight: bold;
    margin-bottom: 0.5em;
}

#container h2>.fa,
#container h3>.fa,
#container h4>.fa{
    color: #0f4692;
}

p{
    margin-bottom: 1em;
    line-height: 2em;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}
.label{
    display: inline-block;
    font-size: 0.8em;
    line-height: 1em;
    padding: 0.5em 1em;
    white-space: nowrap;
    vertical-align: middle;
    color: #0f4692;
    border: 1px solid #0f4692;
}
.label.s{
    font-size: 0.7em;
    padding: 0.25em 0.5em !important;
}

.label.new,
.label.red {
    color: #FFF;
    background-color: #c00;
    border-color: #c00;
}
.label.blue {
    color: #FFF;
    background-color: #0f4692;
    border-color: #0f4692;
}

.label.status1 {
    color: #FFF;
    background-color: #0f4692;
    border-color: #0f4692;
}
.label.status2 {
    color: #FFF;
    background-color: #390;
    border-color: #390;
}
.label.status3 {
    color: #FFF;
    background-color: #F90;
    border-color: #F90;
}

/* 利用前 */
.label.reservation_status1{
    color: #FFF;
    background-color: #0f4692;
    border-color: #0f4692;
}
/* 利用済 */
.label.reservation_status3{
    color: #666;
    background-color: #CCC;
    border-color: #CCC;
}
/* キャンセル */
.label.reservation_status4{
    color: #FFF;
    background-color: #990000;
    border-color: #990000;
}


a{
    text-decoration:none;
}
#container a:not(.btn){
    color: #0f4692;
    text-decoration:underline;
}
#container a:not(.btn):hover{
    color: #00a2e8;
    text-decoration:none;
}

.br-sp{
    display:none;
}
.mgr-1{
    margin-right:0.5em;
}
.mgr-2{
    margin-right:1em;
}
.mgr-3{
    margin-top:4em;
    margin-bottom:2em;
}
.pdt-1{
    padding-top:2em;
}
.pdt-2{
    padding-top:0.6em;
}
.cols-3 li{
    float:left;
    width:33%;
}
.lineh-L{
    line-height:1.8em;
}


ul.attention {
    margin-left: 1em;
}
ul.attention li{
    text-align: left;
    font-size: 0.9em;
    margin-bottom: 0.5em;
    text-indent: -1em;
}


.row{
    margin-bottom: 1em;
    margin-right: -10px;
    margin-left: -10px;
}
.row>div[class*="col-"]{
    margin-bottom: 1em;

    padding-right: 10px;
    padding-left: 10px;
}

.form-group{
    padding: 1em 0;
    border-bottom: 1px solid #CCC;
}
.form-group .error{
    color: #C00;
    font-size: 0.8em;
}
#container .form-group h3{
    margin: 0;
    padding: 1em 0;
    text-align: center;
}

.form-control{
    display: block;
    padding: 0.5em;
    width: 100%;
}
.form-actions{
    text-align: center;
    margin: 1em 0;
}

.input-group .form-control {
    display: inline-block;
    width: auto;
}
.input-group .form-control+.btn{
    float: right;
    padding: 0.75em;
    border-radius: 0 0.25em 0.25em 0;
}
.inline{
    display: inline-block;
}

.badge{
    white-space: nowrap;
    font-size: 12px;
    line-height: 1em;
    padding: 0.1em 0.5em;
    border-radius: 1.2em;
    color: #0f4692;
    border: 1px solid #0f4692;
    vertical-align: middle;
}
.badge.required{
    color: #FFF;
    background-color: #C00;
    border-color: #C00;
}



/* Table  ------------------------------*/
table{
    width: 100%;
    margin-bottom: 1em;
}
tr:not(:last-child){
    border-bottom: solid 1px #EEE;
}
th{
    width: 30%;
    font-weight: bold;
    font-size: 0.8em;
}
th,td {
    text-align: left;
    padding: 1em;
}
td,a{
    word-wrap: break-word;
    word-break: break-all;
}
td>b {
    display: none;
    font-size: 0.8em;
}

.detail_table tr{
    border-bottom: 1px solid #CCC;
}

/* link  ------------------------------*/
a.link{
    color: #0f4692;
}
a.link:hover{
    text-decoration: underline;
}


/* Button  ------------------------------*/

.btn{
    display: inline-block;
    font-size: 1em;
    line-height: 1em;
    padding: 0.75em 2em;
    white-space: nowrap;
    text-decoration:none;
    border-radius:1.25em;
    width: auto;
    color: #0f4692;
    background-color: #FFF;
    border: 1px solid #0f4692;

    transition-duration:0.2s;
    cursor: pointer;
}
.btn:hover{
    color: #FFF;
    background-color: #0f4692;
}

.btn.active{
    color: #0f4692;
    background-color: #FFF;
    border: 1px solid #0f4692;
}

/*.btn:hover,*/
/*.btn.active{*/
/*	color: #FFF;*/
/*	background-color: #0f4692;*/
/*}*/

.btn.blue{
    color: #FFF;
    background-color: #0f4692;
    border-color:#0f4692;
}
.btn.blue:hover,
.btn.blue.active{
    color: #FFF;
    background-color: #001e3d;
    border-color:#001e3d;
}

.btn.red{
    color: #FFF;
    background-color: #990000;
    border-color:#990000;
}
.btn.red:hover,
.btn.red.active{
    color: #FFF;
    background-color: #660000;
    border-color:#660000;
}





.btn.block {
    display:block;
    width: 100%;
}
.btn [class^="icon-"], .btn [class*=" icon-"] {
    font-size: 1.5em;
}
.btn.round{
    border-radius:5px;
}

.tag  {
    display: inline-block;
}
.tag > li {
    display: inline-block;
    margin:1px;
    color: #0f4692;
    background: #eef1f5;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1em;
    padding: 0.25em 1em;
    border-radius: 1.25em;
}

.LRbtns{
    text-align: center;
    width: 100%;
    margin-top:1em;
    padding-top:1em;
    display:flex;
    justify-content: center;
}
.LRbtns li{
    margin:0 0.5em;
}
/*
.LRbtns li.L{
}
.LRbtns li.R{
}
*/
/* pagination  ------------------------------*/
ul.pagination{
    width:100%;
    text-align:center;
    padding:0;
    display:flex;
    justify-content: center;
    margin:1em auto;
}
ul.pagination li{
    margin:0.15em;
}
ul.pagination li a{
    border-radius:1em;
    display:inline-block;
    line-height: 1em;
    padding:0.5em 0;
    width: 2em;
    text-align:center;
}
ul.pagination li.active a{
    color: #FFF;
    background-color:#0f4692;
}
ul.pagination li.disabled a {
    color: #CCC;
    cursor: default;
}




.pageCount{
    width:100%;
    text-align:center;
    margin-top:0.5em;
}
/* box  ------------------------------*/
.box{
    padding: 1em 2em;
    margin:0 1em;
}
.box:not(:last-child){
    margin-bottom: 2em;
}
.box .btn.block {
    margin: 0 0 0.5em 0;
}


/* space  ------------------------------*/
dl.space{
    padding-bottom: 1em;
}
dl.space.modal{
    cursor: pointer;
}
.swiper-slide dl.space.modal{
    padding: 1em;

}

dl.space > a{
    display: block;
    padding-bottom: 1em;
    color: #333;
}

dl.space dd.photo {
    line-height: 0;
    margin-bottom: 1em;
    min-height: 250px;
}

@media only screen and (max-width: 320px){
    dl.space dd.photo {
        min-height: 220px;
    }
}

.photo > img{
    width: 100%;
    height: auto;
}
dl.space dt{
    font-size: 1.25em;
    font-weight: bold;
}
dl.space dt>small{
    font-size: 0.7em;
    display: block;
}


h2 >.label,
dl.space dt>.label {
    font-size: 0.5em;
    line-height: 1;
    margin-right: 1em;
    vertical-align: top;
}

dl.space .tag{
    margin: 0.5em 0;
}
dl.space .tag>li{
    font-size: 0.8em;
    padding: 0.25em 1em;
    margin: 2px;
    border-radius: 0.25em;
    background-color: #dee8f3;
}

/* Accordion  ------------------------------*/
dl.accordion{
    margin-bottom: 1em;
}
dl.accordion > dt{
    cursor: pointer;
    padding: 1em;
    font-size: 1.25em;
    font-weight: bold;
    border-bottom: 1px solid #dee8f3;
}
dl.accordion > dt > .fa{
    float: right;
}

dl.accordion > dt.open .fa-angle-down{
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

dl.accordion > dd{
    display: none;
    text-align: left;
}
dl.accordion > dt.open+dd{
    display: block;
}


/* timeline  ------------------------------*/
#timeline{
    margin: 1em 0 0 0;
    position: relative;
    overflow: auto;
    line-height: 1em;
    height: 100px;
}
#timeline_inner{
    position: absolute;
    top:0; left:0;
}

.timeline_header>li,
.timeline_body>li{
    float: left;
    border-left: 1px solid #CCC;
    overflow: hidden;
}
.timeline_header>li:last-child,
.timeline_body>li:last-child{
    border-right: 1px solid #CCC;
}
.timeline_body>li{
    border-color: #DDD;
}


.timeline_header>li{
    font-size: 0.8em;
    font-weight: bold;
    padding: 0.25em;
    background-color: #EEE;
}
.timeline_body>li>span,
.timeline_body>li>button {
    display: block;
    width: 100%;
    height: 60px;
}
.timeline_body>li>span{
    background-color: #CCC;
}
.timeline_body>li>button {
    border: none;
    padding: 0;
    margin: 0;
    color: #0f4692;
    background-color: #FFF;
    cursor: pointer;
}
.timeline_body>li>button:hover {
    color: #FFF;
    background-color: #0f4692;
}



/* Topics  ------------------------------*/
.topic_list li {
    display: inline-block;
    vertical-align: top;
}
.topic_list li{
    position:relative;
    line-height: 0;
    margin-bottom: 1em;
}
.topic_list a{
    display: block;
}

.topic_list img{
    width: 100%;
    max-height: 50vh;
}

.topic_list a:hover img{
    opacity: 0.25;
}

.topic_list h2,
.topic_list small{
    position:absolute;
    z-index:2;
    line-height: 1.2em;
}

#container .topic_list h2{
    top:0;left:0;
    margin: 0;
    padding: 1em;
    text-align: left;
}
.topic_list small{
    bottom:0;left:0;
    padding: 1em;
}
#container > .section.portal_detail{
    padding-top:60px;
}
/*topics 詳細 ------------------------------*/
.topic_detail img{
    width:100%;
}







/* Links  ------------------------------*/
.links > a{
    position: relative;
    display: block;
    padding: 1em 2.5em 1em 1em;
    border-top: solid 1px;
}
.links > a:last-child{
    border-bottom: solid 1px;
}
.links > a:after {
    font-family: 'favix';
    content: "\e93e";
    position: absolute;
    top: 50%;
    right: 0.25em;
    font-size: 1.8em;
    line-height: 0;
}
.links > a dd{
    font-size: 0.8em;
}
.links > a > [class^="icon-"]{
    position: absolute;
    top:50%;
    left:0.25em;
    font-size: 2.5em;
    line-height: 0;
}
.links > a > [class^="icon-"]+dl{
    margin-left: 3em;
}

.google-map{
    height: 360px;
    margin-bottom: 1em;
}
iframe.gmap{
    width: 100%;
    height: 400px;
    border: none;
}

/*予約 日時選択---------------*/

.section ul.dateSelect{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-bottom:1em;
    border:1px solid #CCC;
    border-radius: 5px;
}
.section ul.dateSelect li{
    width:50%;
    line-height:2em;
}
.section ul.dateSelect li.multiday{
    width:100%;
}
.section ul.dateSelect li>div {
    padding:1em 0.5em;
    text-align:center;
}
.section ul.dateSelect li div:nth-child(2) {
    font-weight:bold;
    font-size:16px;
}
.section ul.dateSelect.divide li:last-child {
    border-left:1px solid #CCC;
}
.section ul.dateSelect.divide li a{
    display:block;
}
#container .section .dateSelect li h3{
    margin:0.5em 0;
}

ul.dateSelect li .form-interface-select-datetime-date,
ul.dateSelect li .form-interface-select-datetime-time{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    display: block;
    padding: 1em;
    color: #666;
    text-align: left;
    font-size: 100%;
}

/*予約 ご利用人数---------------*/
.form-interface_number{
    border:1px solid #ccc;
    padding:0.5em;
    border-radius: 5px;
    margin-bottom:1em;
    width:100%;
}
.form-interface_number input{
    width:10em;
    text-align:center;
}

.form-interface_number label{
    width:100%;
    display:block;
}



/*予約 timeTable---------------*/
#container .section .timeTableBox{
    /*padding:2em 0;*/
}
#container .section .timeTable th,
#container .section .timeTable td{
    display: table-cell;
    border:1px solid #ccc;
    text-align:center;
    width:auto;
}
#container .section .timeTable tr:nth-child(1) td{
    padding:0.7em 0;
}
#container .section .timeTable td{
    padding:0.5em 1em;
}

/*予約 calendar------------------------------*/

#container .calendarBox table{
    table-layout: fixed;
}
#container .calendarBox table td{
    display: table-cell;
    border:1px solid #ccc;
    text-align:center;
}

#container .calendarBox .currentMonth{
    width:100%;
    text-align:center;
    margin:1em 0;
}
#container .calendarBox .currentMonth a{
    margin:0 1rem;
    vertical-align:middle;
}


/*modal-------*/

.modal-on {
    overflow: hidden;
}

.modal_trigger {
    display: flex;
}

.modal_trigger ul{
    display: table-cell;
}
.modal_trigger li{
    border: 1px solid;
    border-radius: 5px;
    margin-right:0.4em;
    padding: 0.5em 0.3em;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: table;
    font-size:13.2px;
}
.modal_trigger li div{
    font-size:13.2px !important;
}
.modal_trigger li:first-child{
    min-width:4.3rem;
}
.modal_trigger li:last-child{
    border: none;
    margin:0;
    padding: 0 0.3em;

}
.modal_trigger li:last-child input{
    padding: 0.8em 0.3em;

}
.modal_box {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    /*overflow: scroll;*/
}
.modal_bg {
    position: absolute;
    height: 100%;
    width: 100%;
}
.modal_inner {
    position: relative;
    left: 50%;
    padding: 2em;
    top: 50%;
    transform: translate(-50%, -50%);
    width:94vw;
    max-height: calc(100vh - 15%);
    border-radius: 5px;
    overflow-y: scroll;
}


.modal_block {
    position: relative;
}
#mypage_box_osguestadd .modal_block {
    position:static;
}

.modal_box .contact_area h1{
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin: 0.5em 0;
}
.modal_box .contact_area h2{
    padding:1rem 0 0 0;
    background-color: #dae8f2;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.modal_box .contact_area div{
    padding-bottom:1em;
    margin:1em 0;
}
.modal_box .privacypolicy_area{
    max-width:640px;
    margin:1em auto;
}
.modal_box .privacypolicy_area h1{
    margin-bottom:1em;
    font-weight:bold;
}
.modal_box .privacypolicy_area dt{
    font-weight:bold;
}
.modal_box .privacypolicy_area dd{
    margin-bottom:1em;
}
#container .modal_block h3{
    margin-bottom: 0.5em;
}
.calender-select-ok,
.timetable-select-ok {
    width: 100%;
    text-align:center;
}



/* modal  ------------------------------*/


.modal_box {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    /*overflow: scroll;*/
}
.modal_bg {
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal_inner {
    position: relative;
    left: 50%;
    padding: 2em;
    top: 50%;
    transform: translate(-50%, -50%);
    width:94vw;
    max-height: calc(100vh - 15%);
    border-radius: 5px;
    overflow-y: scroll;
    background-color: #FFF;
}
.modal_inner.m {
    width:60%;
}
.modal_inner.s {
    width:40%;
}


div.modal_close {
    position: absolute;
    right: 1em;
    top: 1em;
    font-size: 2rem;
    cursor: pointer;
}

.modal_block {
    position: relative;
}
#mypage_box_osguestadd .modal_block {
    position:static;
}

.modal_box .contact_area h1{
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin: 0.5em 0;
}
.modal_box .contact_area h2{
    padding:1rem 0 0 0;
    background-color: #dae8f2;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.modal_box .contact_area div{
    padding-bottom:1em;
    margin:1em 0;
}
.modal_box .privacypolicy_area{
    max-width:640px;
    margin:1em auto;
}
.modal_box .privacypolicy_area h1{
    margin-bottom:1em;
    font-weight:bold;
}
.modal_box .privacypolicy_area dt{
    font-weight:bold;
}
.modal_box .privacypolicy_area dd{
    margin-bottom:1em;
}

.calender-select-ok,
.timetable-select-ok {
    width: 100%;
    text-align:center;
}



#modal_privacy .modal-header,
#modal_contact .modal-header{
    display: block;
    text-align: left;
}

#modal_privacy h4,
#modal_contact h4{
    font-weight: bold;
}
#modal_privacy .modal-body h4,
#modal_contact .modal-body h4{
    margin: 1em 0;
}

#modal_contact table{
    width: 100%;
}
#modal_contact th,
#modal_contact td{
    font-weight: normal;
    padding: 0.5em;
    border-top:1px solid #EEE;
}
#modal_privacy .modal-body p{
    line-height: 1.5em;
}
#modal_privacy ol{
    list-style: decimal;
    list-style-position: outside;
    margin-left: 40px;
}

/* Form  ------------------------------*/

form > dl{
    margin-bottom: 1em;
}
form > dl > dt,
form > dl > dd{
    display: inline-block;
}
form > dl > dt{
    width: 30%;
    font-weight: bold;
    font-size: 0.8em;
}
form > dl > dd{
    width: 68%;
}

form input,
form select,
form textarea{
    padding: 0.2em;
    border: 1px solid #DDD;
    border-radius: 2px;
    width: 100%;
}
form input[type=checkbox]{
    width: auto;
    margin-right: 0.5em;
    vertical-align: middle;
}
label{
    display: inline-block;
    padding: 0.5em;
}
.alert{
    margin-bottom: 1em;
}
.alert.alert-danger{
    margin-bottom: 1em;
}
.alert.alert-danger li{
    font-size: 0.8em;
    padding: 0.25em;
}

.alert.alert-danger,
.alert.alert-danger [class^="icon-"]{
    color: #C00;
    font-weight: bold;
}
form .radio_area div{
    padding:0.5em 0;
}
form .radio_area div input{
    display:inline;
    width:auto;
    margin-right:0.3em;
}

form .radio_area .radio{
    display: none;
}
.radio + .radio-icon:before {
    content: "〇";
    font-size:160%;
    vertical-align:middle;
    margin-right:0.3em;
}
.radio:checked + .radio-icon:before {
    content: "\e947";
    font-family: "favix";

}

.mt-checkbox-inline >label.mt-checkbox{
    display: inline-block;
}

label.mt-checkbox{
    position: relative;
    overflow: hidden;
    padding: 0.25em 1em 0.25em 1.5em;
}
label.mt-checkbox input{
    position: absolute;
    top:-1em; left:-1em;
}
label.mt-checkbox>span{
    position: absolute;
    top:0.5em;
    left: 0;
    display: inline-block;
    height: 16px;
    width: 16px;
    border-radius:8px;
    background: #FFF;
    border: 1px solid #999;
}

label.mt-checkbox input:checked~span{
    background: #0f4692 !important;
    border-color: #0f4692;
}
label.mt-checkbox input:checked~span:before{
    color: #FFF;
    position: absolute;
    top: 2px;
    left: 2px;
    font-family: 'Font Awesome 5 Free';
    content: "\f00c";
    font-size: 10px;
    line-height: 1em;
}

.news_list {
    margin-bottom: 2em;
}
.news_list dl{
    padding: 1em 0;
    border-bottom: 1px solid #CCC;
}
.news_list dt{
    float: left;
    padding: 0 1em;
}
.news_list dl::after {
    content: "";
    display: table;
    clear: both;
}

.sp {
    display: none !important;
}

@media (min-width: 767px) {
    #menu{
        display: block !important;
    }
}
@media (min-width: 1024px) {

    .topic_list li {
        width: 31.9%;
        margin: 0.5%;
    }
}

/* SmartPhone */
@media only screen and (max-width: 767px){
    .sp {
        display:block !important;
    }

    #container {
        padding-top: 70px;
        width: 100%;
    }
    .inner{
        width: 100%;
    }
    #header h1 {
        float: none;
        text-align: center;
        font-size: 18px;
    }
    #header h1 img{
        height: 30px;
    }

    .section.text-center p{
        text-align: left;
    }

    .btn{
        display: block;
        width: 100%;
        margin: 0.5em 0;
    }
    #container > .section {
        padding: 1em 0;
    }
    #top_img > .inner,
    #container > .section>.inner,
    #container > .section>.inner.s,
    #container > .section>.inner.ss,
    #space_navi >.inner,
    #space_navi >.inner.s,
    #space_navi >.inner.ss{
        max-width: none;
        width: 90%;
    }

    thead{
        /*SPでカレンダー曜日が表示されないのでコメント*/
        /*display: none;*/
    }

    #container th,
    #container td,
    td>b {
        display: block;
        width: 100%;
    }
    #container th{
        color: #001e3d;
        padding:0.5em 0.5em 0 0.5em;
    }
    #container td{
        padding:0.25em 0.5em 0.5em 0.5em;
    }

    form > dl > dt,
    form > dl > dd{
        text-align: left;
        display: block;
        width: 100%;
    }
    form > dl > dt{
        color: #001e3d;
        padding: 0.5em 0;
    }

    #header #menu{
        position: fixed;
        top: 0;
        left: 5%;
        width: 90%;
        height: 100%;
        overflow: auto;
        z-index: 1001;
    }
    #header #menu li{
        display: block;
        border-bottom: 1px solid #CCC;
    }
    #header #menu li:last-child{
        border: none;
    }

    #header #menu li a{
        font-size: 1em;
        height: auto;
        padding: 1em;
        color: #666;
        background-color: #FFF;
    }
    #header li.icon .fa{
        display: inline-block;
        font-size: 1em;
        margin: 0 0.5em 0 0;
    }
    #language + ul{
        display: block !important;
        position: relative;
        top:auto; right: auto;
        border: none;
        border-top:2px solid #CCC;
    }
    #language + ul::before{
        border-bottom: 5px solid #CCC;
        right: 50%;
    }

    #language + ul li {
        border-top: 1px solid #CCC;
    }
    #language + ul li a{
        padding: 1em !important;
    }
    #language + ul li a:hover,
    #language + ul li a.on{
        color: #FFF !important;
    }

    .modal_inner.m,
    .modal_inner.s{
        width: 90%;
    }

    .btn{
        padding: 0.75em 1em;
    }
}

/* SmartPhone S */
@media only screen and (max-width: 479px){

}

