@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav-list a {
    color: #7e745b;
    text-decoration: none;
    font-family: "Times New Roman", serif;
    font-size: 16px;
    letter-spacing: 0.15em;
}

body {
    background-color: rgb(252, 240, 223);
    color: #7e745b;
    font-family:
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "Meiryo",
        sans-serif;

    letter-spacing: 0.08em;
}

/* 各セクションの上下余白 */
main > section {
    padding-block: 80px;
}

/* トップ画像はヘッダーの直下に配置 */
#top {
    padding-top: 0;
}

/* 各ページ・セクション共通の見出し */
.section-heading {
    text-align: center;
}

.section-title {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    letter-spacing: 0.15em;
    font-family:
        "Times New Roman",
        "Yu Mincho",
        "YuMincho",
        serif;
}

.section-subtitle {
    margin-top: 5px;
    color: #8d8174;
    font-family: "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.salon-intro h1 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    margin-bottom: 20px;
    font-family: "Yu Mincho", "YuMincho", serif;
}

.salon-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 0;
    text-align: center;
    line-height: 2;
}


.salon-intro p {
    margin-bottom: 16px;
    font-size: 14px;
}

.salon-intro-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.salon-intro-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid #8d8174;
    color: #7e745b;
    background-color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.salon-intro-link:hover,
.salon-intro-link:focus-visible {
    background-color: #7e745b;
    color: #fff;
}

.text-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img {
    padding: 10px;
}

/*------- top ---------*/

.top_img {
    position: relative;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.803);

    padding: 50px 0;
}

/* 背景写真 */
.background_title {
    width: 95%;
    max-width: 1200px;
    height: 90%;
    max-height: 750px;
    object-fit: cover;
    display: block;
    margin: 0 auto;

    opacity: 0;
    animation: backgroundFadeIn 3s ease forwards;
}

/* 上に重ねる文字画像 */
.title {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 50%;
    max-width: 600px;
    height: auto;

    opacity: 0;

    /* 背景より遅く、ゆっくり表示 */
    animation: titleFadeIn 6s ease 2s forwards;
}


/* 背景画像 */
@keyframes backgroundFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}


/* 文字画像 */
@keyframes titleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   Message
========================= */

.message-heading {
    padding: 80px 8% 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
}

.message-heading .section-subtitle {
    text-align: left;
}

.message-audience {
    font-size: 15px;
    letter-spacing: 0.15em;
}

/* top メッセージ */
.top-message {
    text-align: center;
    color: #7e745b;
    padding: 20px 20px;
    font-size: 17px;
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: 0.12em;

    /* メッセージ背景画像 */
    background-image: url(img/nishiki_naisou3.jpg);
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.top-message-text {
    width: fit-content;
    margin: 0 auto;
    padding: 5px;

    background-color: rgba(255, 255, 255, 0.8);
}

.top-message p {
    margin-bottom: 20px;
}

/* ---------- Menu ---------- */

#menu {
    padding-inline: 20px;
    text-align: center;
}

.menu-description {
    max-width: 700px;
    margin: 25px auto 0;

    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.08em;

    color: #8d8174;
}

/* 料金価格欄 */
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 50px;

    max-width: 900px;
    margin: 50px auto 0;
}

.menu-row {
    display: flex;
    align-items: stretch;
    /* 写真と料金の高さを合わせる*/
    width: 100%;
}

/* 写真エリアの設定 */
.menu-image {
    width: 50%;
}

.menu-image .swiper {
    width: 100%;
    height: 100%;
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
}

.menu-image .swiper-pagination-bullet {
    box-shadow: 0 0 3px #555;
}

.menu-image .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 写真 */
.menu-image img {
    display: block;
    width: 100%;
    height: 100%;
}

/* メニューの種類 */
.menu-category-title {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.menu-category-title span {
    display: block;
    margin-top: 5px;
    color: #8d8174;
    font-family: "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.2em;
}

.menu-box {
    width: 50%;
    padding: 35px 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

.menu-item {
    display: flex;
    justify-content: space-between;

    padding: 15px 5px;
    border-bottom: 1px solid #cfc5b8;

    font-size: 14px;
    letter-spacing: 0.08em;
}

.menu-note {
    margin-top: 30px;
    font-size: 13px;
    color: #8d8174;
    font-weight: 500;
}

/* ---------- access ---------*/
#access {
    padding-inline: 20px;
}

.access-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.access-route {
    margin: 24px 0 20px;
    font-size: 13px;
    font-weight: 500;
    color: #7e745b;
}

#access iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

.access-info {
    margin-top: 28px;
    text-align: left;
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.1em;
    color: #8d8174;
}

.access-detail {
    display: grid;
    grid-template-columns: 6em minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #cfc5b8;
}

.access-detail:first-child {
    border-top: 1px solid #cfc5b8;
}

.access-detail dt {
    font-weight: 500;
    color: #7e745b;
}

.access-detail dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.access-note {
    font-size: 12px;
}



/* ---------- Reserve ---------*/
#reserve {
    text-align: center;
    padding-inline: 20px;
}

/* 画像とボタンを入れる箱 */
.reserve-image {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* 画像 */
.reserve-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.5;
}

/* 予約ボタン */
.reserve-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 15px 50px;

    background-color: rgba(255, 255, 255, 0.9);
    color: #625950;
    text-decoration: none;
    letter-spacing: 0.15em;

    transition: 0.3s;
}



/* -------- ヘッダー -----------*/
header {
    height: 70px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: solid 2px #e5e5e5;

    position: sticky;
    top: 0;
    z-index: 100;
}

.header_logo img {
    height: 100px;
}

/* ヘッダーのnavタグを右寄せ */
header nav {
    margin: 0 0 0 auto;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-list li {
    border-left: solid 2px #e5e5e5;
    padding: 0 clamp(16px, 3vw, 40px);
    height: 70px;
    display: flex;
    align-items: center;
}

/* ---------- Design gallery ---------- */
.design-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 100px;
}

.design-heading {
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.9;
}

.design-heading > p:last-child {
    margin-top: 16px;
}

.design-heading > p:last-child,
.design-footer p {
    font-size: 14px;
}

.design-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.design-filter {
    min-width: 90px;
    padding: 9px 16px;
    border: 1px solid #b8aa96;
    border-radius: 0;
    background: transparent;
    color: #7e745b;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.design-filter:hover,
.design-filter:focus-visible,
.design-filter.is-active {
    background: #7e745b;
    color: #fff;
}

.design-card[hidden] {
    display: none;
}

.design-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.design-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
}

.design-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    object-fit: cover;
}

.design-footer {
    padding-top: 56px;
    text-align: center;
    line-height: 2;
}

.design-footer a {
    display: inline-block;
    margin: 20px 10px 0;
    padding: 10px 20px;
    border: 1px solid #b8aa96;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
}

.design-footer a:hover,
.design-footer a:focus-visible {
    background: rgba(255, 255, 255, 0.65);
}

/* デザイン画面のダイアログ表示 */
.design-dialog{
    width: min(90vw, 900px);
    max-height: 90vh;
    margin: auto;
    border: 0;
    padding: 40px;
}

/* ダイアログの後ろの黒い背景*/
.design-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.design-dialog-image {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 130px);
    height: auto;
    margin: auto;
    padding: 0;
    object-fit: contain;
}

.design-dialog-close {
    display: block;
    margin: 0 0 16px auto;
    padding: 8px 16px;
    border: 1px solid #0d6efd;
    border-radius: 4px;
    background: #0d6efd;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.design-dialog-close:hover,
.design-dialog-close:focus-visible {
    background: #0b5ed7;
    border-color: #0b5ed7;
}

@media screen and (max-width: 900px) {
    .design-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

/* ハンバーガーメニュー*/
/* PCでは非表示 */
.hamburger-button {
    display: none;
}


/* 画面幅768px以下の時に効くCSS スマホ用 */
@media screen and (max-width:768px) {

    main > section {
        padding-block: 56px;
    }

    #top {
        padding-top: 0;
    }

    .design-page {
        padding: 48px 16px 72px;
    }

    .design-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .design-heading {
        margin-bottom: 32px;
    }

    /* スマホ用ナビ */
    #global_nav {
        display: flex;

        position: fixed;
        top: 0;
        right: 0;

        width: 75%;
        max-width: 350px;
        height: 100vh;

        background: rgba(252, 240, 233, 0.98);

        justify-content: center;
        align-items: center;

        z-index: 999;

        /* 最初は画面右側に隠す */
        transform: translateX(100%);

        /* スライドアニメーション */
        transition: transform 0.4s ease;
    }


    /* ハンバーガーを押したら右から出す */
    #global_nav.active {
        transform: translateX(0);
    }

    #global_nav .nav-list li {
        border-left: none;
        padding: 0;
        height: auto;
        width: 80%;

        text-align: center;

        /* 上下の薄い線 */
        border-top: 1px solid #ddd8d2;
    }

    /* 最後の項目だけ下にも線 */
    #global_nav .nav-list li:last-child {
        border-bottom: 1px solid #ddd8d2;
    }

    #global_nav .nav-list li a {
        display: block;
        width: 100%;

        padding: 18px 0;

        /* リンクっぽさを消す */
        text-decoration: none;
        color: #7e745b;

        /* 文字を少し上品に */
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.2em;

        font-family:
            "Times New Roman",
            "Yu Mincho",
            "YuMincho",
            serif;
    }

    /* ハンバーガーボタンを表示する。*/
    .hamburger-button {
        display: block;
        /* 表示 */
        width: 40px;
        height: 40px;
        margin-left: auto;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger-line {
        display: block;
        width: 28px;
        height: 2px;
        margin: 6px auto;
        background-color: #A89F91;
    }

    #global_nav .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    /* ハンバーガーボタンを表示 */
    .hamburger-button {
        display: block;
        width: 40px;
        height: 40px;
        margin-left: auto;
        background: none;
        border: none;
        cursor: pointer;

        /* メニューより前に出す */
        position: relative;
        z-index: 1000;
    }

    /* メニュー料金設定 画像を縦表示*/

    .menu-row {
        flex-direction: column;
        align-items: center;
    }

    .menu-image {
        width: 90%;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        touch-action: pan-y;
    }

    .menu-image img {
        display: block;
        width: 80%;
        height: auto;
        padding: 0;
    }

    .menu-image .foot-slide {
        transform: rotate(90deg);
    }

    .menu-box {
        width: 90%;
        flex: 0 0 60%;
        min-width: 0;
        padding: 20px 10px;
    }

    .menu-category-title {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .menu-item {
        gap: 6px;
        padding: 10px 0;
        font-size: 11px;
        letter-spacing: 0;
    }

    .menu-item span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .menu-item span:last-child {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* ------Menu-------- */
    .top-message-text {
        font-size: 14px;
        font-weight: 350;
        line-height: 1.5;
    }


    /* ------access-------- */
    #access iframe {
        width: 100%;
        height: 250px;
    }

    .access-detail {
        gap: 12px;
        padding: 16px 0;
    }

    /* ------ reserve -------- */
    .reserve-button {
        font-size: 12px;
    }

    /* 画像 */
    .reserve-image img {
        height: 200px;
    }
}
