﻿.guestBox {
    overflow: hidden;
    margin-top: 26px;
    position: relative;
    cursor: pointer;
}

.guestBox.active {
    overflow: inherit;
}

.guestBox dt {
    position: relative;
    line-height: 1.2;
    font-size: 12px;
    background: #fff;
    color: #000;
    font-weight: normal;
    padding: 10px 42px 10px 68px;
}

.guestBox dt span {
    text-decoration: underline;
    font-weight: normal;
}

.guestBox dt:before {
    display: block;
    content: "";
    position: absolute;
    left: 15px;
    top: 10px;
    width: 40px;
    height: 40px;
    background: url(https://www.kyoto-machiya-inn.com/wp-content/themes/kyotomachiya/img/accomodations-detail/ico_amenity01.png) center center no-repeat;
    background-size: 40px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.guestBox dt:after {
    display: block;
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    margin-top: -3px;
}

.guestBox dd {
    font-size: 13px;
    display: block;
    width: 287px;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
    line-height: 1.5;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    display: block;
    position: absolute;
    background: #fff;
    border: 1px solid #007891;
    text-align: left;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    bottom: 60px;
    right: 16px;
    z-index: 9999;
    font-weight: normal;
}

.guestBox dd.active {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

.guestBox dd:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 113px;
    border: 4px solid transparent;
    border-top: 4px solid #007891;
}

.guestBox dd em {
    margin-top: 5px;
    display: inline-block;
    line-height: 1.2;
    font-style: normal;
    font-size: 10px;
}

.guestBox dd p:nth-child(1) {
    background: #007891;
    color: #fff;
    font-size: 16px;
    padding: 5px;
    text-align: center;
    line-height: 1;
}

.guestBox dd p:nth-child(2) {
    padding: 10px 10px 0 10px;
    text-align: center;
    color: #000;
}

.guestBox dd p:nth-child(2) span {
    display: block;
    text-align: center;
    line-height: 1;
    font-size: 13px;
}

.guestBox dd p:nth-child(2) span strong {
    font-weight: normal;
    font-size: 16px;
}

.guestBox dd p:nth-child(2) .big {
    margin-bottom: 5px;
}

.guestBox dd p:nth-child(3) {
    padding: 5px 10px 10px 10px;
    color: #000;
}

.ja .guestBox dt {
    line-height: 1.618;
}

@media (max-width: 768px) {
    .guestBox dd {
        right: 0px;
    }
}

.toggle dd {
    display: none;
}

.toggle dt {
    position: relative;
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.toggle dt:hover {
    color: #007891;
    text-decoration: underline;
}

.toggle dt:hover:after {
    border-top: 1px solid #007891;
    border-right: 1px solid #007891;
}

.toggle dt:after {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    margin-left: 10px;
    position: relative;
    top: -6px;
}

.rooms .container .scrollWrap .scrollSide .reserveBtn.top {
    margin-bottom: 16px !important;
}

.rooms header .inner .reserveBtn {
    display: none;
}

.rooms .container .scrollWrap .scrollSide .reserveBtn {
    line-height: 1.2;
    position: relative;
    margin-top: 42px;
}

.rooms .container .scrollWrap .scrollSide .reserveBtn span {
    display: block;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: -28px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #a18553;
    background: #fff;
    line-height: 1;
    padding: 6px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

header .inner .reserveBtn {
    position: relative;
    width: 240px;
}

header .inner .reserveBtn.bnr {
    width: 240px !important;
}

header .inner .reserveBtn span {
    letter-spacing: normal;
    display: block;
    font-size: 13px;
    position: absolute;
    left: 0;
    bottom: -25px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #a18553;
    background: #fff;
    line-height: 1;
    padding: 6px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

@media (max-width: 768px) {
    header .inner .reserveBtn {
        width: 200px;
    }

    header .inner .reserveBtn.bnr {
        width: 200px !important;
    }

    header .inner .reserveBtn span {
        font-size: 10px;
        bottom: -22px;
        font-family: sans-serif;
    }

    header .inner nav {
        z-index: 9999;
    }
}

@media (max-width: 600px) {
    .rooms .container .scrollWrap .scrollMain section>dl>dd.amenityBox .caution {
        font-size: 10px;
        font-family: sans-serif;
    }
}

.stayArtArea .slider {
    width: 50%;
    height: 430px;
    position: relative;
}

.stayArtArea .slider span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
}

.stayArtArea .slider span img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .stayArtArea .slider {
        height: 287px;
    }

    .stayArtArea .slider span img {
        height: 287px;
    }
}

.stayArtArea .slider span.slide1 {
    animation: fade 15s infinite;
    -webkit-animation: fade 15s infinite;
}

.stayArtArea .slider span.slide2 {
    animation: fade2 15s infinite;
    -webkit-animation: fade2 15s infinite;
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade2 {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.stay .stayAmenityArea .box .txt>em {
    display: block;
    text-align: center;
    font-size: 10px;
    font-family: sans-serif;
    font-style: normal;
    margin-top: -10px;
    margin-bottom: 16px;
}

.stay .stayAmenityArea .box .txt strong {
    display: block;
    font-weight: normal;
    font-size: 13px;
    font-family: sans-serif;
    background: #fff;
    text-align: left;
    padding: 16px;
    line-height: 1.618;
    max-width: max-content;
    margin: 10px auto 0;
}

.stay .stayAmenityArea .box .txt strong b {
    font-size: 16px;
    font-weight: normal;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    margin-bottom: 6px;
    display: block;
}

.stay .stayAmenityArea .box .txt strong em {
    display: inline-block;
    font-family: sans-serif;
    font-size: 10px;
    text-align: center;
    background: #999;
    color: #fff;
    margin-right: 6px;
    line-height: 1;
    padding: 3px 0;
    width: 60px;
    position: relative;
    top: -3px;
    font-style: normal;
}

.stay .stayAmenityArea .box .txt span {
    display: block;
    font-size: 10px;
    font-family: sans-serif;
    margin-top: 10px;
}


footer .copy span em {
    font-style: normal;
    display: block;
    font-size: 10px;
    font-family: sans-serif;
}


@media (max-width: 768px) {
    .stayArtArea .slider {
        width: 100% !important;
    }
}

.mainVisual h2 {
    top: 70%;
}


.stay.breakfast2 .mainVisual:before {
    background: url(../images/stay/breakfast/img01.jpg) center center no-repeat;
    background-size: cover;
}


.access .gMap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 62.5%;
}

.access .gMap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 600px) {
    .stay .stayBreakfastArea {
        padding: 68px 16px;
    }

    .stay .stayBreakfastArea .box dl {
        padding: 26px 16px;
    }

    .stay .stayBreakfastArea .cautionTxt {
        display: block;
        line-height: 1.618;
        font-size: 13px;
        font-family: sans-serif;
    }
}


.brp {
    font-family: Verdana, Arial, Helvetica, "Noto Sans JP", sans-serif;
    font-size: 11px;
    line-height: 1.2;
    background: #4597b5;
    padding: 6px 13px 6px 10px;
    display: flex;
    border-radius: 100px;
    max-width: max-content;
    align-content: center;
    align-items: center;
    color: #fff;
    text-align: left;
}

.brp:before {
    display: inline-block;
    content: "";
    background: url(../images/common/header_icon06_wh.svg);
    background-size: cover;
    width: 13px;
    height: 13px;
    margin-right: 6px;
}

.priceBox .brp {
    position: absolute;
    left: 26px;
    top: 0;
    margin: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.machiyaDetail .box .boxR .priceBox {
    padding-top: 34px;
    position: relative;
}

@media screen and (max-width: 600px) {
    .brp {
        font-size: 10px;
        display: flex !important;
        line-height: 1.2;
    }

    .brp:after {
        width: 6px;
        height: 6px;
    }

    .priceBox .brp {
        right: auto;
        top: 0;
        left: 26px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    header.active .spLogo.toTop .brp,
    header.active .head1 .boxL .brp {
        display: none !important;
    }
}


@media screen and (min-width: 601px) {
    header.active .head2.active>ul {
        justify-content: space-between;
        padding: 68px 0;
    }

    header.active .head2.active>ul>li {
        border-bottom: 1px solid #ccc;
        border-left: 1px solid #ccc;
    }

    header.active .head2.active>ul>li:nth-child(1) {
        border-top: 1px solid #ccc;
    }

    header.active .head2.active>ul>li ul.double {
        display: flex;
        flex-wrap: wrap;
    }

    header.active .head2.active>ul>li>span {
        display: block;
    }

    header.active .head2.active>ul>li ul.double li {
        width: 50%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        margin: 10px 0 0 0 !important;
        border: none!important;
    }

    header.active .head2.active>ul>li ul.double li:nth-child(odd) {
        border-right: 1px solid #ccc !important;
    }

    header.active .head2.active>ul>li>a {
        position: relative;
        display: block;
    }

    header.active .head2.active>ul>li>a::after {
        display: block !important;
        content: "" !important;
        width: 6px !important;
        height: 6px !important;
        border-top: 1px solid #666;
        border-right: 1px solid #666;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        right: -21px;
        top: 50%;
        margin-top: -3px;
        transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
    }

    header.active .head2.active>ul>li a::after {
        border-top: 1px solid #968463;
        border-right: 1px solid #968463;
    }
    header.active .head2.active>ul>li.single {
        width: 50%;
        box-sizing: border-box;
    }
    header.active .head2.active>ul>li.single:last-of-type {
        border-right: 1px solid #ccc !important;
    }

}

@media screen and (max-width: 600px) {
    header.active .head2.active>ul>li {
        padding: 0 !important;
    }

    header.active .head2.active>ul>li>span {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 13px;
        background: #999;
        color: #fff;
        padding: 3px 0 !important;
        margin: 0 !important;
    }

    header.active .head2.active>ul>li ul li {
        border-top: 1px solid #ccc;
        font-size: 14px;
        margin: 0 !important;
        position: relative;
    }

    header.active .head2.active>ul>li ul li:nth-child(1),
    header.active .head2.active>ul>li ul.double li:nth-child(2) {
        border-top: 0;
    }

    header.active .head2.active>ul>li ul.double {
        display: flex;
        flex-wrap: wrap;
    }

    header.active .head2.active>ul>li ul.double li {
        width: 50%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    header.active .head2.active>ul>li ul.double li:nth-child(odd) {
        border-right: 1px solid #ccc;
    }

    header.active .head2.active>ul>li ul li a {
        padding: 21px 0 21px 0 !important;
        max-width: 5000000px !important;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        background: #fff;
        color: #000 !important;
    }

    header.active .head2.active>ul>li ul.double li a {
        padding: 16px 42px 16px 16px !important;
        white-space: wrap;
        line-height: 1.2;
        font-size: 13px;
        text-align: left;
        flex-grow: 1;
        display: flex;
        align-items: center;
        align-content: center;
    }

    header.active .head2.active>ul>li>a {
        padding: 21px 0 !important;
        max-width: 5000000px !important;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        border-top: 2px solid #999;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 17px;
        background: #fff;
        color: #000 !important;
    }

    header.active .head2.active>ul>li>ul>li a:after,
    header.active .head2.active>ul>li>a:after {
        content: "" !important;
        display: block !important;
        width: 16px;
        height: 16px;
        background: url(../images/common/header_arr.svg) no-repeat;
        background-size: 100%;
        position: absolute;
        right: 16px;
        top: 50%;
        -webkit-transform: translate(0%, -50%);
        transform: translate(0%, -50%);
    }

    header.active .head2.active>ul,
    header.active .head2.active .rNavBox.btm {
        margin-top: 42px;
    }

    header.active .head2.active>ul .boxIn,
    header.active .head2.active .rNavBox .boxIn {
        margin-bottom: 0 !important;
    }

    header.active .head2.active .rNavBox .boxIn .soNav {
        margin-top: 10px;
    }

    header.active .head2.active .rNavBox .boxIn .soNav li a {
        background: #fff;
        -webkit-border-radius: 6px;
        -ms-border-radius: 6px;
        border-radius: 6px;
        font-size: 10px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        color: #968463;
        text-align: center;
        display: block;
        padding: 17px 6px 10px;
    }

    header.active .head2.active .rNavBox .boxIn .soNav li a:before {
        background: url(../images/common/header_icon06.svg) center center no-repeat;
        display: block;
        content: "";
        width: 42px;
        height: 42px;
        margin: 0 auto 6px;
        background-size: cover !important;
    }

    header.active .head2.active .rNavBox .boxIn .reserve li:nth-child(1) a {
        color: #4e89c7 !important;
    }

    header.active .head2.active .rNavBox .boxIn .reserve li:nth-child(1) a:before {
        background: url(../images/common/header_icon05a.svg) center center no-repeat !important;
    }

    .ja .rNavBox .boxIn .member li a span {
        font-size: 10px;
    }
}