@charset "utf-8";

/* PC版の画像と内容を使い、画面幅に合わせて配置だけを調整する。 */
@media screen and (max-width: 1199px) {
    html {
        scroll-behavior: smooth;
    }
    body {
        min-width: 0;
    }
    .container,
    header.container {
        width: min(100% - 32px, 1000px);
    }
    header.container {
        height: auto;
        min-height: 80px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 22px;
        padding: 10px 0;
    }
    header h1 a {
        float: none;
        margin: 0;
    }
    header nav {
        flex: 1 1 470px;
    }
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    header nav li a {
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        min-height: 44px;
        margin: 0;
        padding: 9px 12px;
        text-indent: 0;
        background: #f0f1f8;
        border-radius: 3px;
        color: #171575;
        font-weight: bold;
    }
    header nav li[class] a {
        width: 100%;
        height: auto;
        margin: 0;
        background-image: none;
        text-indent: 0;
    }
    header .header_tel {
        float: none;
        width: auto;
        height: auto;
        margin: 0;
        text-indent: 0;
        background: none;
        color: #171575;
        font-weight: bold;
    }
    header br[clear] {
        display: none;
    }
    #slideshow li {
        width: 100%;
        overflow: hidden;
        background-size: auto 100%;
        background-position: 42% top;
    }
    #slideshow li img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #top04 table {
        max-width: 100%;
    }
    .top03_box {
        max-width: calc(100% - 32px);
    }
}

@media screen and (max-width: 1023px) {
    .contents > .container {
        display: flex;
        flex-direction: column;
    }
    #main {
        float: none;
        order: 1;
        width: 100%;
        min-width: 0;
    }
    #side {
        float: none;
        order: 2;
        width: min(100%, 350px);
        margin: 36px auto 0;
    }
    #main img,
    #side img,
    footer img {
        max-width: 100%;
        height: auto;
    }
    #main iframe,
    #side iframe,
    #main video {
        max-width: 100%;
    }
    #main > *,
    #main section,
    #main article,
    #main figure {
        max-width: 100%;
    }
    #main p,
    #main li,
    #main td,
    #main th,
    #main dd {
        overflow-wrap: anywhere;
    }
    #main table,
    #side table {
        max-width: 100%;
    }
    #main br[clear],
    .contents > .container > br[clear] {
        display: none;
    }

    #gnav {
        margin: 17px 0 25px;
    }
    #gnav ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }
    #gnav li a {
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 43px;
        padding: 7px;
        text-indent: 0;
        text-align: center;
        background: #211878;
        border-radius: 3px;
        color: #fff;
        font-weight: bold;
    }
    #gnav br[clear] {
        display: none;
    }

    #topimg {
        min-height: 0;
    }
    #topimg h2 {
        width: 100%;
        height: clamp(95px, 16vw, 170px);
        background-size: auto 100%;
        background-position: center top;
        text-indent: -9999px;
        overflow: hidden;
    }
    #contents_top h3 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 45;
        margin: 25px 0 16px;
        background-size: 100% 100%;
        text-indent: -9999px;
        overflow: hidden;
    }
    #contents_top p {
        padding: 10px 8px 25px;
    }
    #contents_top table {
        max-width: 100%;
    }

    /* The common booking panel is part of this site; only its layout changes. */
    #mainunder {
        width: 100%;
        height: auto;
        margin-top: 28px;
        padding: 20px;
        background: #f5f5f8;
        border: 1px solid #d7d4e5;
    }
    #mainunder h2 {
        float: none;
        width: auto;
        height: auto;
        margin: 0 0 5px;
        padding: 0;
        text-indent: 0;
        background: none;
        color: #211878;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }
    .mainunder_best {
        float: none;
        margin: 0 0 16px;
        color: #664c00;
        text-align: center;
        line-height: 1.5;
    }
    #mainunder > br[clear] {
        display: none;
    }
    #mainunder .mainunder_h301 {
        width: auto;
        height: auto;
        margin: 0 0 12px;
        padding: 0;
        text-indent: 0;
        background: none;
        color: #211878;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
    }
    .mainunder_box01 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: min(100%, 520px);
        height: auto;
        margin: 0 auto;
    }
    .mainunder_box01 a {
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 10px;
        text-indent: 0;
        text-align: center;
        background: #211878;
        border-radius: 3px;
        color: #fff;
        font-weight: bold;
    }
    .mainunder_box01 br[clear] {
        display: none;
    }
    #mainunder .mainunder_tel {
        display: block;
        width: min(100%, 520px);
        height: auto;
        margin: 12px auto 20px;
        padding: 11px;
        text-indent: 0;
        text-align: center;
        background: #fff;
        border: 1px solid #211878;
        border-radius: 3px;
        color: #211878;
        font-size: 16px;
        font-weight: bold;
        overflow-wrap: anywhere;
    }
    .mainunder_box02 {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 20px;
        background: #fff;
        border: 1px solid #e3e0ed;
    }
    .mainunder_box02 h3 {
        width: auto;
        height: auto;
        margin: 0 0 10px;
        text-indent: 0;
        background: none;
        color: #211878;
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        line-height: 1.4;
    }
    .mainunder_box02 p strong {
        display: block;
        width: auto;
        height: auto;
        margin: 0 0 7px;
        text-indent: 0;
        background: none;
        color: #664c00;
        line-height: 1.45;
    }
    .mainunder_box02 li {
        padding: 8px 4px 8px 32px;
    }
    .mainunder_box02 li span {
        font-size: 17px;
    }
    .totop {
        max-width: 100%;
        margin: 36px 0 36px auto;
    }

    #side01 {
        width: 100%;
        max-width: 250px;
    }
    #side02 li img {
        max-width: 100%;
        height: auto;
    }
    #side iframe {
        width: 100%;
    }

    /* Keep original PC image headings, scaling their full artwork. */
    #mind01 h3 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 413;
        margin-bottom: 20px;
        background-size: 100% 100%;
        text-indent: -9999px;
        overflow: hidden;
    }
    #facilities01 h3,
    #room01 h3 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 66;
        background-size: 100% 100%;
        text-indent: -9999px;
        overflow: hidden;
    }
    #comic01 h3 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 88;
        background-size: 100% 100%;
        text-indent: -9999px;
        overflow: hidden;
    }
    #facilities01 h4,
    #facilities01 h4.facilities01_h308_t1,
    #facilities01 h4.facilities01_h308_t2 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 70;
        margin-left: 0;
        background-size: 100% 100%;
        text-indent: -9999px;
        overflow: hidden;
    }
    #spa02,
    #restaurant02 {
        width: 100%;
    }
    #spa02 h3 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 70;
        background-size: 100% 100%;
    }
    #room02 h3,
    #access01 h3,
    #access02 h3,
    #tourism01 h3,
    #tourism02 h3,
    #tourism03 h3,
    #faq01 h4 {
        width: 100%;
        max-width: 100%;
        background-size: 100% 100%;
    }
    .facilities01_071,
    .facilities01_072,
    .facilities01_073 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 208;
        background-size: 100% 100%;
    }

    .spa01_box {
        width: 100%;
        height: auto;
        background: none;
    }
    .spa01_box::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 735 / 632;
        background: #211a4d url(../spa/images/spa01_box.png) center / contain no-repeat;
    }
    .spa01_box_p1,
    .spa01_box_p2 {
        width: 100%;
        margin: 0;
        padding: 14px 18px;
        background: #211a4d;
        color: #fff;
        line-height: 1.6;
    }
    .spa01_box_p2 {
        padding-top: 0;
        margin-bottom: 26px;
    }
    #spa02 img {
        max-width: 100%;
        height: auto;
    }
    #spa02 p {
        max-width: 100%;
    }
    .sss1,
    .sss2 {
        max-width: 100%;
        height: auto;
        min-height: 60px;
        padding: 16px;
        background-size: 100% 100%;
    }

    .restaurant01_box {
        width: 100%;
        height: auto;
        padding: 0;
        margin: 26px 0;
        background: none;
    }
    .restaurant01_box::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 735 / 454;
        background: #ffefc7 url(../restaurant/images/restaurant01_box.png) center / contain no-repeat;
    }
    .restaurant01_box h4 {
        display: block;
        margin: 0;
        padding: 13px 18px 0;
        background: #ffefc7;
        color: #a64a00;
        font-size: 19px;
        font-weight: bold;
    }
    .restaurant01_box p {
        padding: 12px 18px 18px;
        background: #ffefc7;
        line-height: 1.6;
    }
    #restaurant02 {
        height: auto;
        min-height: 190px;
        background-size: cover;
    }

    #facilities01 table,
    #room01 table,
    #room02 table,
    #spa01 table,
    #restaurant01 table,
    #comic01 table,
    #contact01 table {
        width: 100%;
    }
    #facilities01 .facilities01_h308_box p {
        width: 100%;
        padding: 14px;
    }
    .facilities01_h308_box_img img {
        display: block;
        width: 100%;
        height: auto;
    }
    .facilities01_h308_bihin {
        width: 100%;
    }
    .facilities01_h308_bihin_title {
        float: none;
        width: 100%;
        height: auto;
        line-height: 1.4;
        padding: 12px;
    }
    .facilities01_h308_bihin_right {
        float: none;
        width: 100%;
    }
    .facilities01_h308_bihin_right ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }
    .facilities01_h308_bihin_right li {
        float: none;
        width: auto;
        padding: 0;
        text-align: center;
    }
    .facilities01_h308_bihin_box_top img {
        width: 35px;
        height: auto;
    }

    #room01 .left {
        width: min(100%, 625px);
    }
    #room01 .right {
        width: 101px;
        max-width: 100%;
    }
    #contents_top .room-nav {
        width: min(100%, 580px);
    }
    #contents_top .room-nav img {
        width: 100%;
    }
    .room01_yoyaku {
        width: 100%;
        height: auto;
        padding: 22px;
        background: #f1f0f8;
    }
    .room01_yoyaku a {
        width: min(100%, 280px);
        height: auto;
        margin: 0 auto;
        padding: 12px;
        background: #211878;
        color: #fff;
        text-indent: 0;
        text-align: center;
        border-radius: 3px;
    }

    .access01_box,
    .faq01_box,
    .restaurant01_box,
    .spa01_box,
    #contents_top address {
        max-width: 100%;
    }
    #contents_top address {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 25px;
        background-size: cover;
    }
    .gmap,
    .bus {
        max-width: 100%;
    }
    .access01_box {
        width: 100%;
        height: auto;
        background-size: contain;
    }
    .p_right {
        width: auto;
        max-width: 100%;
    }
    .tourismtop03,
    .tourismtop03- {
        width: 100%;
        max-width: 100%;
        background-size: 100% 100%;
    }
    .tourismtop01,
    .tourismtop02 {
        width: 100%;
        height: auto;
        aspect-ratio: 735 / 208;
        background-size: 100% 100%;
    }
    .tourismtop03 {
        height: auto;
        aspect-ratio: 735 / 416;
    }
    .tourismtop03- {
        height: auto;
        aspect-ratio: 735 / 208;
    }
    #tourism02 table,
    #tourism03 table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        border-spacing: 8px 0;
    }
    #tourism02 td,
    #tourism02 th,
    #tourism03 td,
    #tourism03 th {
        width: 50%;
        min-width: 0;
        overflow-wrap: anywhere;
    }
    #tourism02 img,
    #tourism03 img {
        max-width: 100%;
        height: auto;
    }
    .kuwasiku {
        width: min(100%, 186px);
        height: auto;
        aspect-ratio: 186 / 46;
        background-size: 100% 100%;
        overflow: hidden;
    }
    #contact01 input,
    #contact01 textarea {
        max-width: 100%;
    }

    #top01 h2,
    #top02 h2,
    #top02 .osirase-title {
        width: 100%;
        max-width: 100%;
        background-size: contain;
    }
    #top02 table {
        width: 100%;
    }
    #top02 td {
        max-width: 100%;
        height: auto;
    }
    #top02 td img {
        display: block;
        width: 100%;
        height: auto;
    }
    #top01 h2 {
        height: auto;
        aspect-ratio: 735 / 59;
    }
    .top01_box {
        width: 100%;
        height: auto;
        margin: 16px 0 25px;
        padding: 0;
        background: none;
    }
    .top01_box::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 735 / 300;
        background: url(../images/top01_box.png) center / contain no-repeat;
    }
    .top01_box h3 {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 16px 18px 6px;
        text-indent: 0;
        background: #fff0dd;
        color: #7d3d11;
        font-size: 19px;
        font-weight: bold;
    }
    .top01_box p {
        width: 100%;
        margin: 0;
        padding: 6px 18px 14px;
        background: #fff0dd;
    }
    .top01_box a {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 12px;
        text-indent: 0;
        text-align: center;
        background: #d8914d;
        color: #fff;
        font-weight: bold;
    }
    #top03 {
        margin: 45px 0 22px;
    }
    #top03 h2 {
        height: 95px;
        background-size: contain;
    }
    #top03 img {
        max-width: 100%;
        height: auto;
    }
    .top03_box {
        width: min(100% - 32px, 650px);
        height: auto;
        margin: 18px auto 0;
        padding: 18px;
        background: #f3f1fb;
    }
    .top03_box h3 {
        width: auto;
        height: auto;
        margin: 0 0 10px;
        text-indent: 0;
        background: none;
        color: #211878;
        font-size: 18px;
        font-weight: bold;
    }
    .top03_box_plan,
    .top03_box_kakunin {
        float: none;
        display: inline-block;
        width: auto;
        height: auto;
        margin: 4px;
        padding: 12px 16px;
        text-indent: 0;
        background: #211878;
        color: #fff;
        border-radius: 3px;
    }
    .top03_box br[clear] {
        display: none;
    }
    #top04 {
        min-height: 0;
        margin-top: 48px;
        padding: 22px 16px 38px;
        background-size: cover;
    }
    #top04 h2 {
        height: 85px;
        background-size: contain;
    }
    #top04 table,
    #top04 tbody {
        display: block;
        width: min(100%, 1004px);
    }
    #top04 tr {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 10px;
    }
    #top04 td {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 250 / 312;
        background-size: 100% 100%;
    }
    #top04 td a {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    footer {
        margin-top: 40px;
    }
    footer .container {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 18px;
    }
    .footer_totop {
        flex: 0 0 100%;
        margin: 0 auto;
    }
    .footer01 {
        float: none;
        flex: 1 1 260px;
        height: auto;
        min-height: 225px;
        padding: 18px;
        background: #f1f0f8;
        text-align: center;
    }
    .footer01 h2 {
        width: auto;
        height: auto;
        margin: 0 0 12px;
        text-indent: 0;
        text-align: center;
        background: none;
        color: #211878;
        font-size: 18px;
        font-weight: bold;
    }
    .footer01_plan,
    .footer01_kakunin {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 7px auto;
        padding: 11px;
        text-indent: 0;
        text-align: center;
        background: #211878;
        color: #fff;
    }
    .footer01_tel {
        width: auto;
        height: auto;
        text-indent: 0;
        background: none;
    }
    .footer02 {
        float: none;
        flex: 1 1 280px;
        width: auto;
        padding-top: 0;
    }
    .footer03,
    .footer04 {
        float: none;
        flex: 1 1 160px;
        width: auto;
        margin: 0;
    }
    .footer03 h2,
    .footer04 h2 {
        width: auto;
    }
    footer hr,
    .copyright {
        flex: 0 0 100%;
        margin: 0;
    }
    .copyright {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 700px) {
    .container,
    header.container {
        width: min(100% - 24px, 1000px);
    }
    header.container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        text-align: center;
    }
    header h1 a {
        margin: 0 auto;
    }
    header nav {
        width: 100%;
    }
    header nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    header nav li a {
        width: 100%;
        font-size: 13px;
        line-height: 1.35;
    }
    header .header_tel {
        text-align: center;
    }
    #gnav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #slideshow,
    #slideshow li {
        height: clamp(190px, 55vw, 280px);
    }
    #slideshow li img {
        object-position: 42% top;
    }
    #topimg h2 {
        height: 88px;
    }
    #main img {
        max-width: 100%;
        height: auto;
    }
    #main table,
    #main tbody,
    #main tr {
        max-width: 100%;
    }
    #facilities01 table:not(.facilities01_h308_bihin_table table),
    #room01 table,
    #room02 table,
    #spa01 table,
    #restaurant01 table,
    #comic01 table,
    #contact01 table {
        width: 100%;
    }
    #facilities01 table:not(.facilities01_h308_bihin_table table) tr,
    #room01 table:not(.room-nav) tr,
    #room02 table tr,
    #spa01 table tr,
    #restaurant01 table tr,
    #comic01 table tr,
    #contact01 table tr {
        display: block;
    }
    #facilities01 table:not(.facilities01_h308_bihin_table table) th,
    #facilities01 table:not(.facilities01_h308_bihin_table table) td,
    #room01 table:not(.room-nav) th,
    #room01 table:not(.room-nav) td,
    #room02 table th,
    #room02 table td,
    #spa01 table th,
    #spa01 table td,
    #restaurant01 table th,
    #restaurant01 table td,
    #comic01 table th,
    #comic01 table td,
    #contact01 table th,
    #contact01 table td {
        display: block;
        width: 100%;
        height: auto;
        padding: 10px 12px;
    }
    #contents_top .room-nav,
    #contents_top .room-nav tbody {
        display: block;
        width: 100%;
    }
    #contents_top .room-nav tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    #contents_top .room-nav td {
        display: block;
        width: 100%;
        padding: 0;
    }
    #contents_top .room-nav img {
        width: 100%;
        height: auto;
    }
    #room01 .left,
    #room01 .right {
        float: none;
        width: 100%;
    }
    #room01 .right {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
    }
    #room01 .right > img {
        flex: 0 0 100%;
        width: auto;
    }
    #room01 .right a {
        display: block;
        width: min(30%, 101px);
    }
    #room01 .right a img {
        width: 100%;
    }
    #room01 p,
    #room02 p,
    #mind01 p {
        padding: 14px 4px 20px;
    }
    #mind01 h4 {
        padding: 0 4px;
        font-size: 18px;
    }
    .mind01_bottom {
        margin-top: 0;
    }
    .mainunder_box01 {
        grid-template-columns: 1fr;
    }
    .mainunder_box02 {
        padding: 15px;
    }
    .mainunder_box02 h3 {
        font-size: 17px;
    }
    #mainunder {
        padding: 15px;
    }
    #side01,
    #side04,
    #side05 {
        display: none;
    }
    #side02 h2,
    #side03 h2 {
        max-width: 100%;
    }
    #side02 li a {
        display: block;
        width: min(100% - 24px, 326px);
        margin: 0 auto;
    }
    #side02 li img {
        display: block;
        width: 100%;
    }
    #top02 table,
    #top02 tbody,
    #top02 tr,
    #top02 td {
        display: block;
        width: 100%;
    }
    #top02 td {
        height: auto;
    }
    #top01 h2,
    #top02 h2,
    #top04 h2 {
        height: auto;
        aspect-ratio: auto;
        margin: 24px 0 16px;
        padding: 8px 10px;
        text-indent: 0;
        text-align: center;
        background: none;
        color: #211878;
        font-size: 22px;
        font-weight: bold;
        line-height: 1.4;
    }
    #top01 h2 {
        font-size: 18px;
    }
    #top04 tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    #top04 td a {
        text-indent: -9999px;
        overflow: hidden;
    }
    .facilities01_h308_bihin_right ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .facilities01_h308_bihin_right li {
        display: flex;
        align-items: center;
        gap: 8px;
        text-align: left;
    }
    .facilities01_h308_bihin_box_bottom {
        text-align: left;
    }
    .facilities01_h308_bihin_table table,
    .facilities01_h308_bihin_table tbody {
        display: block;
        width: 100%;
    }
    .facilities01_h308_bihin_table tr:first-child {
        display: none;
    }
    .facilities01_h308_bihin_table tr:not(:first-child) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 10px;
        border: 1px solid #c3cbdb;
    }
    #facilities01 .facilities01_h308_bihin_table tr:not(:first-child) th {
        grid-column: 1 / -1;
        width: 100%;
        padding: 10px 12px;
        background: #c3cbdb;
        font-weight: bold;
    }
    #facilities01 .facilities01_h308_bihin_table tr:not(:first-child) td {
        width: 100%;
        min-width: 0;
        padding: 10px 12px;
        border: 0;
        background: #f0f2f6;
    }
    .facilities01_h308_bihin_table td::before {
        display: block;
        margin-bottom: 3px;
        color: #4a4e62;
        font-size: 12px;
    }
    .facilities01_h308_bihin_table td:nth-child(2)::before {
        content: "部屋の広さ";
    }
    .facilities01_h308_bihin_table td:nth-child(3)::before {
        content: "料金／1時間";
    }
    #contact01 input,
    #contact01 textarea {
        width: 100%;
    }
    #contact01 input[type="radio"],
    #contact01 input[type="checkbox"],
    #contact01 input[type="submit"],
    #contact01 input[type="image"] {
        width: auto;
    }
    #spa02 img,
    #spa02 p,
    .p_right {
        float: none;
        width: 100%;
        margin: 12px 0;
    }
    .tourismtop01,
    .tourismtop02,
    .tourismtop03,
    .tourismtop03- {
        height: auto;
        min-height: 100px;
    }
    #tourism02 table,
    #tourism03 table {
        border-spacing: 5px 0;
    }
    #tourism02 td,
    #tourism02 th,
    #tourism03 td,
    #tourism03 th {
        padding-inline: 3px;
    }
    .tourismtop03 a {
        max-width: 100%;
    }
    #faq01 dt,
    #faq01 dd {
        height: auto;
        min-height: 70px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .top03_box_plan,
    .top03_box_kakunin {
        display: block;
        margin: 7px 0;
        text-align: center;
    }
    .footer01,
    .footer02,
    .footer03,
    .footer04 {
        flex: 1 1 100%;
    }
    .footer03 h2,
    .footer04 h2 {
        padding: 12px 0;
    }
    .footer03 li a,
    .footer04 li a {
        margin-left: 0;
    }
}

@media screen and (max-width: 430px) {
    #mainunder h2 {
        font-size: 18px;
    }
    .mainunder_box02 li {
        font-size: 14px;
    }
    #contents_top h3 {
        min-height: 35px;
        background-size: 100% 100%;
    }
    #mind01 h3 {
        margin-bottom: 14px;
    }
    #top04 {
        padding-inline: 12px;
    }
    #top04 tr {
        gap: 7px;
    }
    .g-recaptcha {
        max-width: 100%;
        overflow: hidden;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1100px) {
    #facilities01 h4 {
        width: calc(100% - 55px);
        background-size: 100% 100%;
    }
    #facilities01 h4.facilities01_h308_t1,
    #facilities01 h4.facilities01_h308_t2 {
        width: 100%;
    }
}

/* 2026-10-29 review: keep the source content while correcting its mobile layout. */
#contact01 .form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: min(100% - 24px, 400px);
    margin: 20px auto 28px;
}
#contact01 .form-actions input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 10px 12px;
    background: #e8eaf0;
    border: 1px solid #aeb5c6;
    border-radius: 3px;
    color: #211878;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}
#contact01 .form-actions input[type="submit"] {
    background: #211878;
    border-color: #211878;
    color: #fff;
}
.spa02-feature {
    display: flow-root;
}
#restaurant01 > p {
    width: min(100%, 655px);
    margin: 8px auto 18px;
}
#restaurant01 > p em {
    display: block;
    padding: 0;
    line-height: 1.5;
}

@media screen and (max-width: 1023px) {
    /* The source illustration already contains the menu heading. */
    .restaurant01_box h4 {
        display: none;
    }
    .restaurant01_box p {
        padding: 14px 18px 20px;
    }
    .spa01_box::before {
        aspect-ratio: 735 / 530;
        background-size: 100% auto;
        background-position: center top;
    }
    #spa02 .sss1,
    #spa02 .sss2 {
        background-color: #fff;
        background-size: 700px auto;
        background-position: left top;
    }
}

@media screen and (max-width: 700px) {
    #top01 h2 {
        margin: 24px 0 12px;
        padding: 0 4px;
        color: #663300;
        font-family: "Hiragino Mincho ProN", "Yu Mincho", "ヒラギノ明朝 ProN", serif;
        font-size: clamp(17px, 4.8vw, 20px);
        font-weight: 600;
        line-height: 1.55;
        text-align: left;
    }
    #spa02 .sss1,
    #spa02 .sss2 {
        min-height: 60px;
        height: auto;
        margin: 18px 0 10px;
        padding: 12px 10px 12px 65px;
        font-size: 16px;
        line-height: 1.4;
    }
    #spa02 .spa02-feature {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
    }
    #spa02 .spa02-feature img {
        float: none;
        width: min(100%, 300px);
        height: auto;
        margin: 0 auto;
    }
    #spa02 .spa02-feature p {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0 8px;
    }
    #restaurant01 > p {
        margin: 8px 0 18px;
        padding: 0 10px;
    }
    #room01 .right > img {
        display: none;
    }
    #room01 h4,
    #room02 h4 {
        margin: 24px 0 8px;
        padding: 0 4px;
    }
    #contents_top address {
        min-height: 0;
        padding: 35.714% 16px 16px;
        background-color: #5889c6;
        background-position: center top;
        background-size: 100% auto;
        background-repeat: no-repeat;
        line-height: 1.5;
    }
    #tourism02 th {
        padding: 8px 4px 10px 22px;
        background-position: 2px 10px;
        background-size: 12px 18px;
        font-size: 14px;
        line-height: 1.4;
        vertical-align: top;
    }
}

/* ver2: separate Point 06/07 and make the common contact number usable. */
#top02 .top02_06 {
    padding-right: 7px;
}
#top02 .top02_07 {
    padding-left: 7px;
}
#top02 .top02_06 img,
#top02 .top02_07 img {
    max-width: 100%;
    height: auto;
}

#mainunder .mainunder_tel {
    position: relative;
}
#mainunder .mainunder_tel span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
#mainunder .mainunder_tel a {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 165px;
    height: 41px;
    overflow: hidden;
    text-indent: -9999px;
}
#mainunder .mainunder_tel a:focus-visible {
    outline: 3px solid #d8914d;
    outline-offset: 2px;
}

@media screen and (max-width: 1023px) {
    #mainunder .mainunder_tel {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px 12px;
        min-height: 68px;
        padding: 10px 12px;
        line-height: 1.35;
    }
    #mainunder .mainunder_tel span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        font-size: 14px;
    }
    #mainunder .mainunder_tel a {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        min-height: 44px;
        padding: 8px 14px;
        overflow: visible;
        border-radius: 3px;
        background: #211878;
        color: #fff;
        font-size: 19px;
        text-indent: 0;
        white-space: nowrap;
    }
}

@media screen and (max-width: 700px) {
    #top02 .top02_06,
    #top02 .top02_07 {
        padding: 0;
    }
    #top02 .top02_06 {
        margin-bottom: 14px;
    }
    #mainunder .mainunder_tel {
        flex-direction: column;
        gap: 4px;
    }
    #spa01 h3 {
        margin: 22px 0 10px;
        padding: 0 4px;
        font-size: 17px;
        font-weight: bold;
    }
    #spa01 table,
    #spa01 table tbody {
        display: block;
        width: 100%;
        margin: 0 0 24px;
        border-collapse: collapse;
        border-spacing: 0;
    }
    #spa01 table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #c3cbdb;
    }
    #spa01 table th,
    #spa01 table td {
        display: block;
        width: 100%;
        padding: 11px 14px;
        line-height: 1.55;
    }
    #spa01 table th {
        font-weight: bold;
    }
    #spa01 table td p {
        margin: 0;
        padding: 0;
    }
}

/* Removing the duplicate booking panel also removes its reserved desktop space. */
@media screen and (min-width: 1024px) {
    #top04 {
        min-height: 0;
        padding-bottom: 48px;
    }
}

/* Mobile quick links stay visible without covering the last page content. */
.mobile-bottom-nav,
.mobile-bottom-nav-spacer {
    display: none;
}

@media screen and (max-width: 700px) {
    header nav,
    header .header_tel,
    #gnav,
    footer .footer03,
    footer .footer04 {
        display: none;
    }
    .mobile-bottom-nav-spacer {
        display: block;
        height: calc(60px + env(safe-area-inset-bottom));
    }
    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        background: #211878;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.22);
    }
    .mobile-bottom-nav * {
        box-sizing: border-box;
    }
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 60px;
        padding: 7px 3px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 13px;
        font-weight: bold;
        line-height: 1.3;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        font-family: inherit;
    }
    .mobile-bottom-nav a:nth-child(2) {
        background: #8c4a12;
    }
    .mobile-bottom-nav button:last-child {
        border-right: 0;
    }
    .mobile-bottom-nav a small {
        font-size: 10px;
        font-weight: normal;
        white-space: nowrap;
    }
    .mobile-bottom-nav a:focus-visible,
    .mobile-bottom-nav button:focus-visible {
        outline: 3px solid #fff;
        outline-offset: -4px;
    }
    .mobile-menu-icon {
        width: 21px;
        height: 16px;
        margin-bottom: 4px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        position: relative;
    }
    .mobile-menu-icon::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 0;
        width: 100%;
        border-top: 2px solid #fff;
    }
    .mobile-site-menu {
        position: fixed;
        inset: 0;
        z-index: 899;
    }
    .mobile-site-menu[hidden] {
        display: none;
    }
    .mobile-site-menu-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(12, 10, 36, 0.65);
    }
    .mobile-site-menu-panel {
        position: absolute;
        right: 0;
        bottom: calc(60px + env(safe-area-inset-bottom));
        left: 0;
        max-height: calc(100dvh - 80px - env(safe-area-inset-bottom));
        overflow-y: auto;
        padding: 18px 16px 24px;
        background: #fff;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    }
    .mobile-site-menu-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        color: #211878;
        font-size: 18px;
        font-weight: bold;
    }
    .mobile-site-menu-close {
        min-width: 44px;
        min-height: 44px;
        border: 1px solid #c9c7d9;
        border-radius: 4px;
        background: #fff;
        color: #211878;
        font-size: 23px;
        line-height: 1;
        cursor: pointer;
    }
    .mobile-site-menu-links {
        display: block;
    }
    .mobile-site-menu-section {
        margin: 0 0 20px;
    }
    .mobile-site-menu-section h2 {
        margin: 0 0 9px;
        padding: 7px 0 10px;
        border-bottom: 1px solid #0d0080;
        color: #0d0080;
        font:
            bold 16px Arial,
            Helvetica,
            sans-serif;
    }
    .mobile-site-menu-section ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .mobile-site-menu-section li {
        margin: 0;
        padding: 0;
    }
    .mobile-site-menu-section li a {
        position: relative;
        display: block;
        min-height: 38px;
        padding: 8px 8px 8px 20px;
        color: #0d0080;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none;
    }
    .mobile-site-menu-section li a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 3px;
        transform: translateY(-50%);
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid #0d0080;
    }
    .mobile-site-menu-section li a:focus-visible,
    .mobile-site-menu-close:focus-visible {
        outline: 3px solid #8c4a12;
        outline-offset: 2px;
    }
}

@media screen and (max-width: 340px) {
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        font-size: 12px;
    }
    .mobile-bottom-nav a small {
        font-size: 9px;
    }
}

/* 問い合わせ完了ページの見出しの大きさを調整 20261110 */
@media (max-width: 700px) {
    .thanks {
        padding-top: 24px;
    }
    .thanks h3 {
        font-size: 17px;
        letter-spacing: inherit;
    }
}
