@charset "utf-8";

/* ==========================================================================
    共通ヘッダー main-header.php 用CSS
    Bootstrap(css/bootstrap4/bootstrap.min.css)を先に読み込み、重複する指定はこのファイルと
    main-footer.css が勝つ（読み込み順で上書き Bootstrap の !important 付きユーティリティだけは負ける）
    目次
    1. 変数
    2. ベース
    3. ヘッダー本体（ロゴ・店舗検索ボタン・ハンバーガー）
    4. メニュー（SP: 右ドロワー + アコーディオン）
    5. メニュー（768px〜: 横並び + ドロップダウン）
    6. パンくず
   ========================================================================== */

/* M PLUS Rounded 1c */
@font-face {
    font-display: swap;
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 400;
    src:
        url("../fonts/MPLUSRounded1c-Regular_7119.woff2") format("woff2"),
        url("../fonts/MPLUSRounded1c-Regular_7119.woff") format("woff");
}
@font-face {
    font-display: swap;
    font-family: "M PLUS Rounded 1c";
    font-style: normal;
    font-weight: 700;
    src:
        url("../fonts/MPLUSRounded1c-Bold_7119.woff2") format("woff2"),
        url("../fonts/MPLUSRounded1c-Bold_7119.woff") format("woff");
}

/* noto-sans-jp-regular - latin */
@font-face {
    font-display: swap;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    src:
        url("../fonts/noto-sans-jp-v53-japanese_latin-regular-websubfont.woff2")
            format("woff2"),
        url("../fonts/noto-sans-jp-v53-japanese_latin-regular-websubfont.woff")
            format("woff");
}
@font-face {
    font-display: swap;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    src:
        url("../fonts/noto-sans-jp-v53-japanese_latin-700-websubfont.woff2")
            format("woff2"),
        url("../fonts/noto-sans-jp-v53-japanese_latin-700-websubfont.woff")
            format("woff");
}

/* MARK: 1 変数 */
:root {
    --site-blue: #0000c0;
    --site-yellow: #faee00;
    --site-line: #646464;
    --site-hover: #eee;
    --site-bar: clamp(4px, 0.5vw, 6px);
    --site-sep-gap: 3px;
    --site-header-h: 60px;
}

/* MARK: 2 ベース */
html {
    scrollbar-gutter: stable;
}
/* メニュー展開中は背面のスクロールを止める */
body.is-nav-open {
    overflow: hidden;
}

/* MARK: 3 ヘッダー本体 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: white;
}
/* トップページだけ */
.header-txt {
    margin: 0 auto;
    max-width: 1140px;
    padding: 4px 8px;
    background-color: white;
    color: var(--site-blue);
    font-size: 9px;
    letter-spacing: -0.1px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: -0.1px;
    font-family: "M PLUS Rounded 1c";
}
.site-header-main {
    display: flex;
    align-items: stretch;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px 0px 10px;
}
.site-header-logo {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    align-self: center;
}
.site-header-logo img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
}
/* 日本一キレイなプライベートルーム（トップページのみ・右寄せ） */
.site-header-banner {
    display: none;
}
.site-header-banner img {
    display: block;
    height: auto;
    border-radius: 7px;
}

/* 店舗検索ボタン: */
.site-header-shop-btn {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 999px;
    background-color: var(--site-yellow);
    color: var(--site-blue);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}
.site-header-shop-btn:hover {
    color: var(--site-blue);
    text-decoration: none;
    opacity: 0.5;
}
.site-header-shop-btn:active {
    transform: scale(0.96);
}
.site-header-shop-icon {
    flex: 0 0 auto;
}

/* ハンバーガー */
.site-header-toggle {
    --bar-gap: 7px;
    position: relative;
    flex: 0 0 auto;
    align-self: center;
    width: 45px;
    height: 45px;
    margin: 0 5px 0 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background-color: var(--site-blue);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
}
.site-header-toggle:focus {
    outline: 0;
}
.site-header-toggle:focus-visible {
    outline: 3px solid var(--site-yellow);
    outline-offset: -5px;
}
@media (hover: hover) {
    .site-header-toggle:hover {
        opacity: 0.5;
    }
}
.site-header-toggle-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background-color: white;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}
.site-header-toggle-bar:nth-child(1) {
    transform: translate(-50%, calc(-50% - var(--bar-gap)));
}
.site-header-toggle-bar:nth-child(2) {
    transform: translate(-50%, -50%);
}
.site-header-toggle-bar:nth-child(3) {
    transform: translate(-50%, calc(-50% + var(--bar-gap)));
}
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
}
.site-header-toggle[aria-expanded="true"] .site-header-toggle-bar:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* MARK: 4 メニュー（SP: 右ドロワー + アコーディオン） */
.site-nav {
    position: fixed;
    top: var(--site-header-h);
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(86vw, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    transform: translateX(100%);
    transition:
        transform 0.3s ease,
        visibility 0s linear 0.3s;
}
.site-nav.is-open {
    visibility: visible;
    transform: none;
    transition:
        transform 0.3s ease,
        visibility 0s;
}
.site-nav-overlay {
    position: fixed;
    top: var(--site-header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        visibility 0s linear 0.3s;
}
.site-nav-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transition:
        opacity 0.3s ease,
        visibility 0s;
}
.site-nav-list,
.site-nav-sub {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav-item {
    border-bottom: 1px solid #ccc;
}
.site-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    background: none;
    color: #212529;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}
.site-nav-link:hover {
    color: #212529;
    text-decoration: none;
    background-color: #e6ecfa;
}
.has-sub > .site-nav-link::after {
    content: "";
    flex: 0 0 auto;
    width: 0.5em;
    height: 0.5em;
    margin-left: 0.5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-25%) rotate(45deg);
    transition: transform 0.2s ease;
}
.has-sub.is-open > .site-nav-link::after {
    transform: translateY(25%) rotate(-135deg);
}
.has-sub.is-open > .site-nav-link {
    background-color: #e6ecfa;
}
.site-nav-sub {
    display: none;
    background-color: #f4f6fb;
}
.has-sub.is-open > .site-nav-sub {
    display: block;
}
.site-nav-sub-item {
    border-top: 1px solid #ddd;
}
.site-nav-sub-item a {
    display: block;
    padding: 12px 16px 12px 32px;
    color: #212529;
    line-height: 1.4;
}
.site-nav-sub-item a:hover {
    color: #212529;
    text-decoration: none;
    background-color: #e6ecfa;
}
.site-nav-sub-item.-tablet-only {
    display: none;
}
.site-nav-link:focus-visible,
.site-nav-sub-item a:focus-visible {
    outline: 3px solid var(--site-blue);
    outline-offset: -3px;
}

/* メディアクエリ例外 */
.site-header-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 8px 0 5px;
    padding: 0;
}
.site-header-shop-icon {
    display: block;
}
.site-header-shop-label {
    display: none;
}

/* 575px以下: ロゴの下に5pxの余白（576px〜の指定と重ならない境界） */
@media screen and (max-width: 575px) {
    .site-header-main {
        padding: 0 10px 5px 10px;
    }
}

@media screen and (min-width: 576px) {
    .header-txt {
        font-size: 14px;
        letter-spacing: 0;
        padding: 5px 0 0 15px;
        width: 100%;
    }
    .site-header-toggle {
        width: 48px;
        height: 48px;
        margin: 0 5px 0 0;
    }
    .site-header-shop-btn {
        gap: 5px;
        width: auto;
        height: 40px;
        margin: 0 10px 0 7px;
        padding: 0 14px 0 10px;
    }
    .site-header-shop-label {
        display: block;
        line-height: 1;
    }
}

/* MARK: 5 メニュー（768px〜: 横並び + ドロップダウン） */
@media screen and (min-width: 768px) {
    .site-header-toggle,
    .site-header-shop-btn,
    .site-nav-overlay {
        display: none;
    }
    .site-header-logo {
        flex: 0 0 auto;
        width: 456px;
    }
    .site-header-banner {
        display: block;
        margin-left: auto;
        padding: 0 0 7px;
    }
    .site-header-banner img {
        width: auto;
        max-width: 100%;
        border-radius: 10px;
    }
    .site-nav {
        position: static;
        z-index: auto;
        width: auto;
        overflow: visible;
        border-top: 0;
        box-shadow: none;
        visibility: visible;
        transform: none;
        transition: none;
        background:
            linear-gradient(var(--site-blue), var(--site-blue)) top / 100%
                var(--site-bar) no-repeat,
            linear-gradient(var(--site-blue), var(--site-blue)) bottom / 100%
                var(--site-bar) no-repeat,
            white;
    }
    .site-nav-list {
        display: flex;
        align-items: stretch;
        max-width: 1140px;
        margin: 0 auto;
        padding: var(--site-bar) 0;
    }
    .site-nav-item {
        position: relative;
        display: flex;
        flex: 1 1 auto;
        border-bottom: 0;
    }
    .site-nav-item::before,
    .site-nav-item:last-child::after {
        content: "";
        position: absolute;
        top: var(--site-sep-gap);
        bottom: var(--site-sep-gap);
        width: 1px;
        background-color: var(--site-line);
        pointer-events: none;
    }
    .site-nav-item::before {
        left: 0;
    }
    .site-nav-item:last-child::after {
        right: 0;
    }
    .site-nav-item.-sp-only {
        display: none;
    }
    .site-nav-link {
        flex: 1 1 auto;
        justify-content: center;
        padding: 5px clamp(6px, 1.5vw, 30px);
        font-size: 1rem;
        text-align: center;
        white-space: nowrap;
    }
    .has-sub > .site-nav-link::after,
    .has-sub.is-open > .site-nav-link::after {
        display: none;
    }
    .has-sub.is-open > .site-nav-link {
        background-color: var(--site-hover);
    }
    .has-sub::after {
        content: "";
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        height: var(--site-bar);
    }
    .site-nav-sub {
        display: block;
        position: absolute;
        top: calc(100% + var(--site-bar));
        left: -1px;
        z-index: 10;
        width: max-content;
        min-width: calc(100% + 1px);
        background-color: white;
        border: 1px solid var(--site-line);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition:
            opacity 0.15s ease,
            transform 0.15s ease,
            visibility 0s linear 0.15s;
    }
    .has-sub.is-open > .site-nav-sub,
    .has-sub:focus-within > .site-nav-sub {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition:
            opacity 0.15s ease,
            transform 0.15s ease,
            visibility 0s;
    }
    .site-nav-sub-item {
        border-top: 0;
    }
    .site-nav-sub-item a {
        padding: 8px 20px;
        font-weight: bold;
        white-space: nowrap;
    }
    .site-nav-sub-item a:hover {
        background-color: #e6ecfa;
    }
}

@media screen and (min-width: 768px) {
    .site-nav-item.-sp-only + .site-nav-item::before,
    .site-nav-item:last-child::after {
        display: none;
    }
}

@media screen and (min-width: 1141px) {
    .site-nav-item.-sp-only + .site-nav-item::before,
    .site-nav-item:last-child::after {
        display: block;
    }
}

/* マウスのある環境だけ hover で開く（タッチ端末では JS の .is-open で開閉する） */
@media screen and (min-width: 768px) and (hover: hover) {
    .site-nav-item:hover {
        background-color: var(--site-hover);
    }
    .has-sub:hover > .site-nav-sub {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition:
            opacity 0.15s ease,
            transform 0.15s ease,
            visibility 0s;
    }
}

/* タブレット幅: ご意見は ご利用案内 のサブメニューに入れる */
@media screen and (min-width: 768px) {
    .site-nav-item.-hide-tablet {
        display: none;
    }
    .site-nav-sub-item.-tablet-only {
        display: block;
    }
}
@media screen and (min-width: 992px) {
    .site-nav-item.-hide-tablet {
        display: flex;
    }
    .site-nav-sub-item.-tablet-only {
        display: none;
    }
    .site-nav-link {
        padding-right: clamp(20px, 2vw, 30px);
        padding-left: clamp(20px, 2vw, 30px);
    }
    .header-txt {
        font-size: 16px;
    }
}

/* MARK: 6 パンくず */
.site-breadcrumb {
    margin-top: 8px;
    background-color: rgb(220, 221, 221);
    font-size: 0.8125rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.site-breadcrumb::-webkit-scrollbar {
    display: none;
}
.site-breadcrumb-list {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1080px;
    margin: 0 auto;
    padding: 2px 0 2px 10px;
    list-style: none;
    white-space: nowrap;
}
.site-breadcrumb-list li + li::before {
    content: ">";
    margin: 0 0.4em;
}
.site-breadcrumb-list a {
    color: #007bff;
}
@media screen and (min-width: 768px) {
    .site-breadcrumb {
        margin-top: 20px;
        font-size: 1rem;
    }
}

.site-breadcrumb-full,
.site-breadcrumb-suffix {
    display: none;
}
.site-breadcrumb-short {
    display: inline;
}
@media screen and (min-width: 992px) {
    .site-breadcrumb-full,
    .site-breadcrumb-suffix {
        display: inline;
    }
    .site-breadcrumb-short {
        display: none;
    }
}
