/*
 *  Remodal - v0.5.0
 *  Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
    overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
    visibility: hidden;
}

/* Necessary styles of the overlay */

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;

    display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    overflow: auto;

    text-align: center;

    -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
    display: inline-block;

    height: 100%;
    margin-left: -0.05em;

    content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
    -webkit-transform: translateZ(0px);
}

/* Necessary styles of the modal dialog */

.remodal {
    position: relative;

    display: inline-block;
}

/* Anti-zoom. Font-size should be >= 16px. */

.remodal select,
.remodal textarea,
.remodal input,
.remodal select:focus,
.remodal textarea:focus,
.remodal input:focus {
    font-size: 16px;
}

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s ease-out;
    -moz-transition: -moz-filter 0.2s ease-out;
    -o-transition: -o-filter 0.2s ease-out;
    transition: filter 0.2s ease-out;
}

body.remodal-is-active .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;

    opacity: 0;
    background: rgba(255, 255, 255, 0.65);
}

body.remodal-is-active .remodal-overlay {
    opacity: 1;
}

/* Default theme styles of the modal dialog */

.remodal {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1100px;
    padding: 0 0 30px 0;
    border: 5px solid #009EC1;
    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
    color: #182a3c;
    background: #FFF;
    background-clip: padding-box;
    
    border-radius: 5px;
}

body.remodal-is-active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);

    opacity: 1;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}

/* Close button */

.remodal-close {
    position: absolute;
    top: 5px;
    left: 5px;

    width: 28px;
    height: 28px;

    -webkit-transition: background 0.2s ease-out;
    -moz-transition: background 0.2s ease-out;
    -o-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    text-decoration: none;

    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.remodal-close:after {
    /*font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;*/
    font-size: 28px;
    line-height: 28px;

    display: block;

    /*content: "×";*/
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;

    color: #3e5368;
}

.remodal-close:hover,
.remodal-close:active {
    background: #3e5368;
}

.remodal-close:hover.remodal-close:after,
.remodal-close:active.remodal-close:after {
    color: #f4f4f4;
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
    font-size: 10pt;

    display: inline-block;

    width: 120px;
    margin: 0 0 5px 0;
    padding: 9px 0;

    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: center;
    text-decoration: none;

    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-clip: padding-box;
}

.remodal-confirm {
    color: #16a085;
    border: 2px solid #16a085;
    background: #f4f4f4;
}

.remodal-confirm:hover,
.remodal-confirm:active {
    color: #f4f4f4;
    background: #16a085;
}

.remodal-cancel {
    color: #c0392b;
    border: 2px solid #c0392b;
    background: #f4f4f4;
}

.remodal-cancel:hover,
.remodal-cancel:active {
    color: #f4f4f4;
    background: #c0392b;
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 40.063em) /* min-width 641px */ {
    .remodal {
        max-width: 95%;
        min-height: 0;
        margin: 20px auto;

        -webkit-border-radius: 6px;
        border-radius: 6px;
    }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F021242E, endColorstr=#F021242E);
}

.lt-ie9 .remodal {
    width: 1050px;
    min-height: 0;
    margin: 20px auto;
}

.lt-ie9 .remodal-close:after {
    margin: auto;

    text-align: center;
}

.lt-ie9 .remodal-close:hover,
.lt-ie9 .remodal-close:active {
    background: transparent;
}

.lt-ie9 .remodal-close:hover.remodal-close:after,
.lt-ie9 .remodal-close:active.remodal-close:after {
    color: #3e5368;
}

.remodal > p > a{
    display: block;
    border: solid 3px #008DAB;
    margin-bottom: 7%;
    padding: 7% 5%;
    border-radius: 5px;
    font-size: 0.9em;
}


/* 追加
   ========================================================================== */#modal-hotel {
	background: #C8EAFF;
	padding:30px 0 0 0;
}
#modal-hotel .item-wrap{
	width:1005px;
}
#modal-hotel .subttl {
    background-color: #013165;
    color: #FFF;
    padding-top: 5px;
}
#modal-hotel dl{
    width: 327px;
    float: left;
    background: #FFF;
    margin-right: 10px;
    margin-bottom: 10px;
}
#modal-hotel dl.mr0{
	margin-right:0;
}

#modal-hotel dl img{
	width:100%;
}
#modal-hotel dd{
	background:#FFF;
	padding:0 10px 10px 10px;
	/*height:100px;*/
}
#modal-hotel dd p{
	font-size:12px;
	line-height:110%;
	color:#555;
	padding:5px;
	background: #FFF;
}
#modal-hotel dd a{
	color:#006699;
}
#modal-hotel dd a strong{
	text-decoration:underline;
	line-height:110%;
	margin-bottom:10px;
	display:block;
	background: url(../img/arrow2.gif) no-repeat 0 5px;
	padding-left: 25px;
	height:32px;
}
#modal-hotel dd a strong:hover{
	text-decoration:none;
}
#modal-hotel dd a{
	text-decoration:none;
}
.modal-box{width:990px}
.modal-box .section-box-left{width:462px; margin-left:30px;}
.modal-box .section-box-left{
	float:left;
}
.modal-box .section-box-right{
	float:right;
	width:430px;
	text-align:left;
	margin-right:30px;
}
.modal-box-pic{
	width:462px;
}
.modal-box-pic img{
	width:150px;
	display:inline-block;
}
.modal-box-pic img.mr10{
	margin-right:0px;
}
.modal-box h6{
	font-size:24px;
	font-weight:bold;
	margin-bottom:15px;
	color: #013165;
	line-height:120%;
	padding-top:20px;
}
.remodal h5 {
    font-size: 30px;
    font-weight: bold;
    padding-left: 0;
    color: #FFF;
    margin-bottom: 25px;
    text-align: center;
    background:#009EC1;
}
.half-ttl h5{
	padding:5px;
	margin:10px;
}

.remodal p{
	font-size:15px;
}
.remodal p.hotel-info-txt{
	margin-bottom:1em;
	border-bottom: dotted 2px #CCC;
	padding-bottom:1em;
}
.half-ttl .hotel-info-box{
	border-bottom: dotted 2px #CCC;
	border-top:;
}
.remodal .hotel-info-direction,
.remodal .hotel-info-class{
	text-align:center;
	width:40%;
	margin-bottom:15px;
}
.remodal .hotel-info-box{
	clear:both;
}
.remodal .hotel-box-ttl{
	font-size:18px;
	margin-bottom:0;
}
.remodal .item-box-btn a{
	padding:5px 15px;
	width:200px;
	float:none;
}
.remodal .item-box-price{
	margin-top:5px;
}
.remodal .price-main {
    font-size: 17px;
    font-weight:bold;
}
.remodal .section-pic.no-theta{
	position: relative;
}
/*.remodal .section-pic.no-theta{
	height:350px;
	position: relative;
}
.remodal .section-pic.no-theta img{
	height:350px;
}*/
.remodal .theta-section-nav{
	font-size:12px;
}
.remodal .theta-section-hosoku{
	font-size:11px;
}
.no-theta .theta-caption {
    position: absolute;
    left: -10px;
    top: 8px;
}
.remodal .hotel-item-box {
	width: 100%;
	padding: 14px 10px 14px 10px;
}
.remodal .hotel-item-box .item-box-btn{
	display:none;
}
.modal-box{
	clear:both;
}
.room-wrap{
	clear:both;
	width:990px;
	padding:30px 30px 0 30px;
}
.room-wrap .item-tab-box{
	height:auto;
}
/* ▽floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここから）▽ */
.modal-box:after {
  clear: both;
  content: url(../img/blank.gif);
  display: block;
  height: 0px;
}
.modal-box{
	display: inline-table;
}
/* Mac IE には適用させない \*/
* html .modal-box{
  height: 1px;
}
.modal-box{
  display: block;
}
/* △floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここまで）△ */

.room-wrap .theta-section{
	background:#EFEFEF;
}
.room-wrap{
	text-align:left;
}
.room-left{
	width:450px;
	float:left;
}
.room-right{
	width:450px;
	float:right;
}
.room-wrap .hotel-box-ttl{
	background:#059BBE;
	color:#FFF;
	margin-bottom:10px;
	text-align:center;
}
.room-wrap .Valiant360_default .controls {
    right: 21px;
}

/* ホイアンのホテル \*/
.heritage-hotel .item-wrap{
	width:910px;
}
.heritage-hotel#modal-hotel dl{
	width:450px;
	margin-right:10px;
}
.heritage-hotel#modal-hotel dt a{
	height:250px;
	overflow: hidden;
	display:block;
}
.heritage-hotel#modal-hotel dt a img{
	margin-top:-30px;
}
.heritage-hotel#modal-hotel dl:last-child{
	margin-right:0px;
}

