html {
    scroll-behavior: smooth;
}

body {
    font-family: "HOKKORI", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    margin: 0;
    color: #222222;
    background: url('./paper_00086.webp');
}
a {
    cursor:pointer;
}
.no-webp body {
    background: url('./paper_00086.jpg')
}

#onsen-mark-wrapper {
    margin-top: calc(50vh - 110px - 68px);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
}
#onsen-mark-wrapper a {
    color: inherit;
    text-decoration: inherit;
}
#onsen-mark-wrapper a:visited {
    color: inherit;
}

#main-title {
    width: 100%;
    text-align: center;
    font-size: 32px;
    line-height: 1.5;
    margin: 0 0 22px 0;
}

#body.animation #main-title {
    /*  transition: 3500ms; */
    transition: 350ms;
}


#xonsen-mark-cover {
    position: absolute;
    width: 100%;
    height: 300%;
    background: linear-gradient(#ffffff, #ffffff, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    animation: cover 8s cubic-bezier(.45, .29, .44, 1.04) forwards;
    top: -50px;
}

@keyframes cover {
    100% {
        transform: translateY(-200%);
    }
}

#onsen-mark {
    font-size: 100px;
    font-family: "游明朝", YuMincho, serif;
    margin: 0;
    width: 100%;
    line-height: 1.5;
    text-align: center;
}
#onsen-mark img {
    margin-top: 20px;
    width: 120px;
}

#body.animation #onsen-mark {
    transition: 1800ms;
    /*transition: 350ms;*/
}

#typing {
    text-align: center;
    height: 24px;
}

#typing span {
    transition: 1000ms;
}

@media (min-width: 480px) {
    #container {
        max-width: 480px;
        padding: 12px;
    }
}

@media (min-width: 960px) {
    #container {
        max-width: 700px;
        padding: 12px;
    }
}

#container {
    margin-right: auto;
    margin-left: auto;
}

#body.animation #container {
    /* transition: 2000ms; */
    transition: 200ms;
}

#container.ready {
    /*margin-top: 1000px;*/
}

#body.animation #container #decs-p span {
    /* transition: 1000ms; */
    transition: 100ms;
}

.ku-header {
    text-align: center;
}

.onsen-section {
    margin: 36px 0 12px 0;
    padding: 16px;
}
.onsen-section.inner-links {
    padding-right: 0;
}

.onsen-section .section-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.onsen-section .ku {
    margin-bottom: 18px;
}

.onsen-section .ku div {
    font-weight: bold;
    font-size: 14px;
}

.onsen-section .ku div a {
    color: #222222;
}
.onsen-section ul {
    list-style-type: none;
    margin: 2px 0 0 0;
    padding: 0 0 0 16px;
}

.onsen-section ul li {
    font-size: 14px;
    margin-top: 8px;
}

@media (min-width: 960px) {
    .onsen-section ul li {
        width: 50%;
        float: left;
    }
}


.onsen-section ul li .desc {
    line-height: 1.6em;
    margin: 10px 0 20px 0;
}
.onsen-section .onsen-title {
    color: #222222;
    margin-right: 16px;
    width: 180px;
    display: block;
    float: left;
}
.feature-title {
    color: #222222;
}
.onsen-section .onsen-badge {
    border-radius: 12px;
    font-size: 12px;
    padding: 4px 4px 4px 4px;
}

.onsen-section .onsen-kuroyu {
    background-color: #222222;
    color: #ffffff;
    font-weight: bold;
    /* border: #aaaaaa 1px solid; */
}

.onsen-section .onsen-salt {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-section .onsen-jusosen {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-section .onsen-roten {
    background-color: #0eb4ee;
    color: #ffffff;
    font-weight: bold;
}

.onsen-section .onsen-meta {
    background-color: #c0dafe;
    color: #ffffff;
    font-weight: bold;
    /* border: #aaaaaa 1px solid; */
}

.onsen-section .onsen-sauna {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-section .onsen-fresh {
    background-color: #999999;
    color: #ffffff;
    font-weight: bold;
    /* border: #aaaaaa 1px solid; */
}

#onsen-list {
    margin-top: 50px;
    padding-bottom: 180px;
}

#onsen-list .onsen-title {
    font-size: 18px;
    padding: 20px 0 10px 0;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #222222;
    background: -webkit-linear-gradient(top, #c0c0c0 0%, #666666 40%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.onsen-location {
    font-size: 12px;
    margin: 0;
    color: #808080;
    font-weight: normal;
}

.onsen-location a {
    color: #808080;
}

.onsen-card {
    margin-bottom: 90px;
}


.onsen-card .image-slider {
    margin: 8px 0 12px 0;
    height: calc(75vw + 15px);
    width: 100%;
    overflow-x: hidden;
}

@media (min-width: 480px) {
    .onsen-card .image-slider {
        height: calc(360px + 15px);
    }
}

@media (min-width: 960px) {
    .onsen-card .image-slider {
        height: calc(525px + 15px);
    }
}
.onsen-card .image-slider img {
    height: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    object-fit: cover;
}
.onsen-card .image-slider img:not([src='']) {
    opacity: 1;
}

.onsen-card .image-slider img.no-webp {
    display: none;
}

.no-webp body .onsen-card .image-slider img.webp {
    display: none;
}

.no-webp body .onsen-card .image-slider img.no-webp {
    display: inherit;
}
.image-slider .dots {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    margin-top: 8px;
}
.image-slider .dots .dot {
    border-radius: 50%;
    height: 6px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: 6px;
    background: rgba(0, 0, 0, 1);
    opacity: .4;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 4px;
}

.image-slider .dots .dot.active {
    opacity: 1;
}
.image-slider .dots .dot:last-child {
    margin-right: 0;
}

.onsen-specs {
    display: flex;
}
.onsen-specs .onsen-spec:first-child {
    margin-left: auto;
}
.onsen-spec {
    border-radius: 12px;
    font-size: 12px;
    padding: 2px 8px 2px 8px;
    margin-right: 5px;
}

.onsen-specs .onsen-kuroyu {
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
}

.onsen-specs .onsen-jusosen {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-specs .onsen-salt {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-specs .onsen-meta {
    background-color: #c0dafe;
    color: #ffffff;
    font-weight: bold;
}

.onsen-specs .onsen-sauna {
    background-color: rgb(227, 164, 48);
    color: #ffffff;
    font-weight: bold;
}

.onsen-specs .onsen-fresh {
    background-color: #999999;
    color: #ffffff;
}

.onsen-specs .onsen-roten {
    background-color: #0eb4ee;
    color: #ffffff;
    font-weight: bold;
}

.onsen-description {
    font-size: 14px;
    line-height: 1.6em;
    font-weight: normal;
}

.opa0 {
    opacity: 0;
}

.d-none {
    display: none;
}

.content {
    margin: 0 12px 0 12px;
}

@media (min-width: 480px) {
    .content {
        margin: 0;
    }
}

.number {
    font-weight: bold;
}
.image-single {
    --n: 1;
    display: flex;
    align-items: center;
    overflow-y: hidden;
    width: 100%;
    height: calc(100% - 15px);
}
.image-container {
    --n: 1;
    display: flex;
    align-items: center;
    overflow-y: hidden;
    width: 100%;
    width: calc(var(--n) * 100%);
    height: calc(100% - 15px);
    transform: translate(calc(var(--tx, 0px) + var(--i, 0) / var(--n) * -100%));
}
.onsen-card .image-slider .image-wrapper {
    width: 100%;
    width: calc(100%/var(--n));
    height: 100%;
}
.image-slider img {
    width: 100%;
    /*width: calc(100%/var(--n)); */
    user-select: none;
    pointer-events: none;
}
.image-slider .no-image {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    user-select: none;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.desc-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.5);
    display: flex;
    color: #ffffff;
    line-height: 2em;
    font-size: 18px;
    z-index: 10;
}
.desc-wrapper .desc div {
    text-align: center;
}
.desc-wrapper .link {
    color: #ffffff;
    margin-top: 12px;
}
.desc-wrapper .link a {
    color: #ffffff;
    font-size: 18px;
}
.desc-wrapper .link a:visited {
    color: #f0f0f0;
}
body.mobile img.pc {
    display: none
}
body.pc img.mobile {
    display: none
}
.smooth { transition: transform 0.35s ease-out; }

#dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-align: center;
    transition: 300ms;
}
#dialog.d-none {
    display: none;
}
#dialog.onsen-kuroyu {
    background-color: rgba(0, 0, 0, 0.8);
}
#dialog.onsen-salt {
    background-color: rgba(227, 164, 48, 0.9);
}
#dialog.onsen-jusosen {
    background-color: rgba(227, 164, 48, 0.9);
}
#dialog.onsen-meta {
    background-color: rgba(192, 218, 254, 0.9);
}
#dialog-content {
    color: #ffffff;
    padding: 18px;
    line-height: 1.8em;
    text-align: center;
    max-width: 700px;
}
.no-line {
    text-decoration: none;
}
#to-top {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    transition: 800ms;
}
footer {
    padding: 20px 0 30px 0;
    background-color: rgba(0, 0, 0, 0.7);
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}
.footer-content {
    padding: 10px 0 0 0;
    display: flex;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
}
.footer-content * {
    text-align: center;
}
.footer-content a {
    margin: 0 10px 0 10px;
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    padding: 10px 10px 50px 10px;
}
.copyright p, li {
    font-size: 14px;
    line-height: 1.6em;
}

.clearfix {
    clear: both;
}
