/* 基本設定 */
:root {
    --main-gradient: linear-gradient(90deg, #4FA9F3 0%, #6A8AF7 100%);
    --main-color: #6A8AF7;
    --text-color: #51656f;
    --base-font: 'Noto Sans JP', sans-serif;
    --background-gray: #f7f7f7;
}

html {
    font-size: 17px; /* 基準フォントサイズを少し大きくする */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

body {
    font-family: var(--base-font);
    color: var(--text-color);
    margin: 0;
    background-color: #fff; /* デフォルトの背景を白に戻す */
    line-height: 1.9; /* 行間を調整 */
    overflow-x: hidden; /* 横スクロール完全防止 */
    max-width: 100vw; /* 画面幅を超えない */
}

body > svg {
    display: block;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

h1, h2 {
    font-size: 3.5rem;
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

h1 .jp-title, h2 .jp-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: var(--text-color);
    margin-top: 0.5rem;
}


section:not(#mv) {
    padding: 8rem 0;
}

main > section:not(#mv):nth-of-type(odd) {
    background-color: var(--background-gray);
}

#about, #concept, #reservation, #blog, #access, .qa-banner, .hexagon-bg {
    background-image: url('../images/hexagon-pattern.svg');
    background-repeat: repeat;
    background-size: 100px 115px;
}


a {
    text-decoration: none;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    background: var(--main-gradient);
    color: white;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent; /* MV上では透明 */
    backdrop-filter: none;
    z-index: 1000;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.8); /* スクロール後は白背景 */
    backdrop-filter: blur(10px);
}

header:not(.scrolled) .logo .logo-default {
    display: none;
}

header:not(.scrolled) .logo .logo-transparent {
    display: block;
}

header.scrolled .logo .logo-default {
    display: block;
}

header.scrolled .logo .logo-transparent {
    display: none;
}

@media (min-width: 1101px) {
    header:not(.scrolled) nav ul li a {
        color: white;
    }
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header .logo img {
    height: 74px;
    width: auto;
    display: block;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    padding: 1rem;
    font-weight: bold;
}

header nav ul li a:hover {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header nav ul li a[href="#top"],
header nav ul li a[href="../#top"] {
    padding-bottom: 5px;
}

.header-reservation-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

.hamburger-reservation {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-btn span,
.hamburger-btn span::before,
.hamburger-btn span::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 10px;
    transition: all 0.3s;
}

.hamburger-btn span {
    top: 24px;
}

.hamburger-btn span::before {
    top: -10px;
}

.hamburger-btn span::after {
    top: 10px;
}


/* メインビジュアル */
#mv {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#mv-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.mv-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); /* 動画の上に少し暗いオーバーレイをかける */
}

#mv .mv-text {
    position: absolute;
    top: 78%; /* 少し上に移動 */
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 100%;
}

.mv-sns {
    margin-top: 1.5rem;
}
.mv-sns a {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s;
}
.mv-sns a:hover {
    transform: scale(1.1);
}
.mv-sns img {
    height: 50px;
    width: auto;
}

#mv .mv-text h1 {
    font-size: 2.8rem;
    color: white;
     -webkit-text-fill-color: white;
}
#mv .mv-text h1 .jp-title {
     -webkit-text-fill-color: white;
     opacity: 0.8;
}

#mv .mv-text p {
    font-size: 1.2rem;
}

#mv .mv-logo {
    width: 65%; /* SPロゴサイズを調整 */
    max-width: 500px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#mv .mv-logo img {
    width: 100%;
    height: auto;
}

/* About */
#about .about-text {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
#about .about-text p {
    font-size: 15px; /* フォントサイズを指定 */
}
#about .about-text h3 {
    font-size: 2.2rem;
    line-height: 1.4;
}

.catchy-copy {
    font-size: 2.6rem !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

.about-text .catchy-copy {
    color: #52a8d3;
    background-image: linear-gradient(179deg, rgba(82, 168, 211, 1), rgba(25, 186, 193, 1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.first-char-gradient {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hamburger-menu-title {
    display: none;
}

.about-slider {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.about-slider .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

/* News & Blog */
.news-list, .blog-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Privacy MV (News/Blogと同等のヒーローエリア) */
#privacy-mv {
    background-image: url('../images/header_top.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0;
    position: relative;
}
#privacy-mv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
#privacy-mv .container { position: relative; z-index: 2; }
#privacy-mv h1 {
    font-size: 3rem;
    margin: 0;
    background: none;
    color: white;
    -webkit-text-fill-color: white;
}
#privacy-mv p { font-size: 1.2rem; margin-top: 0.5rem; }
.news-list li a, .blog-list li a {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}
.news-list li a:hover, .blog-list li a:hover {
    background-color: #f0f0f0;
}
.news-list time, .blog-list time {
    margin-right: 2rem;
    font-weight: bold;
    color: var(--main-color);
    flex-shrink: 0;
}

.blog-list li img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 1.5rem;
    border-radius: 8px;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Concept */
.concept-item {
    margin-bottom: 8rem;
    position: relative;
}

#concept-kai {
    margin-bottom: 50px;
}

.concept-item.reverse {
    flex-direction: row-reverse;
}

.swiper-container.concept-slider {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px; /* 角丸をコンテナに適用 */
    overflow: hidden; /* 角丸を適用するために必要 */
}

.concept-slider .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    display: block;
}

.concept-content {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.concept-content h2 {
    font-size: 2.0rem;
    line-height: 1.4;
}

.small-text {
    font-size: 0.9rem; /* 少し大きく */
}

.concept-bg-text {
    position: absolute;
    font-size: 12rem;
    color: rgba(0,0,0,0.03);
    z-index: -1;
    font-weight: 900;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#concept-kai .concept-bg-text,
#concept-kou .concept-bg-text,
#concept-sei .concept-bg-text {
    color: #f1f6ff;
}

/* 監修者情報 */
.supervisor-container {
    padding-top: 0;
    padding-bottom: 2rem;
}

.supervisor-block {
    max-width: 800px;
    margin: 0 auto;
    border-top: none;
    padding-top: 20px;
}

.supervisor-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    background: var(--main-gradient);
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.sp-only-title {
    display: none;
}

.supervisor-intro {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 1.1rem;
}

.supervisor-intro p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.supervisor-intro p:last-child {
    margin-bottom: 0;
}

.supervisor-profile {
    margin-bottom: 3rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.supervisor-profile-top {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px dashed #ddd;
}

.supervisor-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.supervisor-details h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.supervisor-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.supervisor-details li {
    font-size: 0.95rem;
    margin-bottom: 0.1em;
    padding-left: 1.2em;
    position: relative;
}

.supervisor-details li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--main-color);
}

.supervisor-definition h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.supervisor-definition p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}


/* Menu */
.menu-container {
    margin: 0 auto;
    max-width: 900px;
}
.menu-gift-thumb {
    text-align: center;
    margin: 1.5rem 0 1rem;
}
.menu-gift-thumb img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.menu-type-title {
    font-size: 1.8rem;
    text-align: center;
    padding: 0.5rem 2rem;
    background: var(--main-gradient);
    color: white;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}
#menu .menu-item {
    border-bottom: 1px dashed #ddd;
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
#menu .menu-item:last-child {
    border-bottom: none;
}
.option-item {
    padding: 1.5rem 0 !important;
}
.option-item h4 {
    font-size: 1.2rem !important;
}
.option-item .menu-price {
    font-size: 1.6rem !important;
}
.option-item p {
    font-size: 0.9rem !important;
}
#menu .menu-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}
#menu .menu-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.45rem;
}
#menu .menu-text p {
    margin: 0;
}
#menu .menu-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    white-space: nowrap;
}

.menu-info-box {
    margin: 6rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 900px;
}
.menu-info-box h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 0;
}
.menu-info-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.menu-info-content img {
    max-width: 300px;
    border-radius: 8px;
}


/* Reservation */
#reservation {
    text-align: center;
}
#reservation .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#reservation .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.reservation-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* PC a間の余白 */
}
.reservation-buttons .btn {
    margin: 0;
}
.btn.hotpepper { background: #ff6699; }
.btn.line { background: #00B900; }
.btn.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

/* Staff */
#staff .staff-list {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

#staff .staff-member {
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

#staff .staff-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.staff-info {
    text-align: left;
}

.staff-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.staff-message {
    font-size: 1rem;
    line-height: 1.7;
}

.qa-banner {
    padding-bottom: 4rem;
    text-align: center;
}

.qa-banner a {
    display: block;
    max-width: 800px; /* 最大幅を800pxに設定 */
    margin: 0 auto; /* 中央揃え */
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 1; /* 800x200の比率を維持 */
}

.qa-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qa-banner .container {
    max-width: 960px;
}

/* Room */
.room-category-titles h2 {
    margin: 0 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

.room-category-titles {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
}

.room-gallery {
    margin-top: 2rem;
}
#room .photo-grid {
    display: grid;
    gap: 0;
}
#room .headspa-grid {
    grid-template-columns: repeat(4, 1fr);
}
#room .reception-grid {
    grid-template-columns: repeat(3, 1fr);
}
#room .photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-images-container {
    width: 100%;
    overflow: hidden;
}

.room-images {
    display: flex;
    width: 100%;
}

.room-images img {
    height: auto;
    display: block;
    flex: 1 1 0;
    object-fit: cover;
    min-width: 0;
}

#headspa-room-images img {
    flex-basis: 25%;
}

#reception-room-images img {
    flex-basis: calc(100% / 3);
}


/* FAQ */
.faq {
    background-color: #fff;
    padding: 4rem 2rem;
}
.faq h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}
.faq-question::after {
    content: "▼";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.faq-answer {
    font-size: 1.2rem;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 1rem;
}

#access .container {
    max-width: 100%;
    padding: 0;
}

#access .access-map {
    width: 100%;
    padding: 0;
}

#access .access-map iframe {
    width: 100%;
    height: 450px; /* or desired height */
}

#access .access-info {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.access-info dl {
    border-top: 1px solid #e0e0e0;
}

.info-row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row dt {
    width: 150px;
    font-weight: bold;
    flex-shrink: 0;
}

.info-row dd {
    margin: 0;
}

.access-note {
    margin-top: 2rem;
    font-size: 1rem; /* 少し大きく */
    color: #555;
    text-align: center;
}


/* フッター */
footer {
    position: relative;
    background-image: url('../images/hexagon-pattern.svg');
    background-repeat: repeat;
    background-size: 100px 115px;
    padding-top: 10rem; /* 上の空間を確保 */
}

footer .footer-content {
    background: var(--main-color);
    color: white;
    text-align: center;
    padding: 10rem 2rem 6rem;
    position: relative;
    clip-path: url(#footer-wave);
    margin-top: -10rem; /* 背景の上に重ねる */
}

footer .footer-logo {
    margin-bottom: 2rem;
}

footer .footer-logo img {
    height: 80px;
    width: auto;
}

footer .footer-center .btn {
    margin-bottom: 1rem;
}

footer .footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

footer .footer-nav ul li a {
    color: white;
    padding: 0 1rem;
}

/* アニメーション */
section, .concept-item, .staff-member, .blog-list li, .room-category, .menu-item, .menu-info-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.in-view, .concept-item.in-view, .staff-member.in-view, .blog-list li.in-view, .room-category.in-view, .menu-item.in-view, .menu-info-box.in-view {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1100px) {
    /* SP: MV上ではロゴを非表示 */
    header:not(.scrolled) .logo {
        display: none;
    }

    /* SP: MV上ではハンバーガーメニューを白に（開いていない時だけ） */
    header:not(.scrolled) .hamburger-btn:not(.is-active) span,
    header:not(.scrolled) .hamburger-btn:not(.is-active) span::before,
    header:not(.scrolled) .hamburger-btn:not(.is-active) span::after {
        background-color: white;
    }

    /* SP: Conceptセクション表示時のヘッダースタイル */
    header.concept-visible {
        background-color: transparent;
        backdrop-filter: none;
    }

    header.concept-visible .logo {
        display: none;
    }

    header.concept-visible .hamburger-btn:not(.is-active) span,
    header.concept-visible .hamburger-btn:not(.is-active) span::before,
    header.concept-visible .hamburger-btn:not(.is-active) span::after {
        background-color: white;
    }

    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.5s ease-in-out;
        z-index: 1001;
        padding: 20px 2rem 4rem;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .header-right .header-reservation-btn {
        display: none;
    }

    .hamburger-menu-title {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hamburger-menu-title h2 {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hamburger-menu-title h2 .jp-title {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .header-right.is-active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    header nav ul li a {
        font-size: 1.2rem;
    }

    .hamburger-btn {
        display: block;
        margin-left: auto; /* ハンバーガーメニューを右に配置 */
    }

    .hamburger-btn.is-active span {
        background-color: transparent;
    }

    .hamburger-btn.is-active span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .hamburger-btn.is-active span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    header nav {
        display: block;
    }

    .hamburger-reservation {
        display: block;
        text-align: center;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0,0,0,0.1);
        width: 100%;
    }

    .hamburger-reservation h2 {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hamburger-reservation h2 .jp-title {
         font-size: 0.9rem;
         font-weight: 700;
    }

    .hamburger-reservation p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hamburger-reservation .reservation-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hamburger-reservation .reservation-buttons .btn {
        width: 80%;
        max-width: 280px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    .pc-br {
        display: none;
    }
    * {
        box-sizing: border-box;
    }
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    .about-slider {
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        box-sizing: border-box;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }

    .menu-type-title {
        width: 268px;
        height: 47px;
        line-height: 47px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 1.4rem;
    }

    .menu-container > h3.menu-type-title:nth-of-type(1) {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .menu-container > h3.menu-type-title:nth-of-type(2) {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .catchy-copy {
        font-size: 1.8rem !important;
    }

    .concept-item {
        margin-bottom: 60px;
    }

    #about .catchy-copy {
        font-size: clamp(1.3rem, 6.5vw, 2.0rem) !important;
        line-height: 1.1 !important;
    }
    
    #concept .catchy-copy {
        /* 画面幅が狭い時だけフォントサイズを可変させ、改行を防ぐ */
        font-size: clamp(1.4rem, 7vw, 1.8rem) !important;
    }

    body {
        overflow-x: hidden;
    }
    .about-slider .swiper-slide img {
        width: 100%;
    }
    section:not(#mv) {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    #menu {
        padding-bottom: 60px;
    }

    header {
        padding: 0 1.5rem;
    }

    #about .about-content, .concept-item, .concept-item.reverse {
        flex-direction: column;
    }
    #concept .concept-item {
        padding-left: 20px;
        padding-right: 20px;
    }

    #concept-kai {
        margin-bottom: 60px; /* スマートフォンでは既存の値を維持 */
    }

    /* 監修者情報セクション - モバイル */
    .supervisor-container {
        padding-top: 3rem;
    }

    .supervisor-block {
        padding-top: 0;
        border-top: none;
    }

    .supervisor-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .pc-only-title {
        display: none;
    }

    .sp-only-title {
        display: inline;
    }

    .supervisor-intro, .supervisor-profile {
        padding: 1.5rem;
    }

    .supervisor-intro {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 1.0rem;
    }

    .supervisor-profile-top {
        display: block;
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .supervisor-photo {
        margin: 0 auto 1.5rem auto;
    }

    .supervisor-definition {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px dashed #ddd;
    }

    .supervisor-definition h4 {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .supervisor-definition p {
        font-size: 0.8rem;
    }

    .supervisor-details h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .supervisor-details h4 .instructor-title {
        font-size: 0.9rem;
    }

    .supervisor-details li {
        margin-bottom: 2px;
        font-size: 0.8rem;
    }

    .supervisor-details ul {
        text-align: left;
    }

    .mobile-hidden-p {
        display: none;
    }

    #staff .staff-slider {
        padding-bottom: 2rem;
    }
    #staff .staff-member {
        padding-top: 25px;
    }
    #staff .staff-member img {
        margin-bottom: 10px;
    }
    .staff-slider .swiper-pagination {
        position: static;
        margin-top: 0px;
    }
    .staff-slider .swiper-pagination-bullet {
        background-color: var(--main-color);
    }

    #about p,
    #concept p,
    #reservation p {
        text-align: left;
        padding-left: 10px;
        padding-right: 10px;
    }

    .news-list li a {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-list li a {
        padding-left: 10px;
        padding-right: 0px;
    }

    .news-list li a p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

     #room .photo-grid {
        grid-template-columns: 1fr;
    }
    .menu-info-box {
        margin-top: 40px;
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .menu-info-box h4 {
        margin-bottom: 15px;
    }
    .menu-info-content {
        flex-direction: column;
    }
    #menu .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #menu .option-item {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #menu .menu-text h4 {
        line-height: 1.4;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    #menu .menu-price {
        font-size: 1.7rem;
    }

    #menu .option-item .menu-price {
        font-size: 1.6rem;
    }

    #menu .menu-text p {
        font-size: 0.9rem;
    }

    #menu .option-item .menu-text h4 {
        margin-bottom: 0px;
    }

    .room-images {
        flex-direction: column;
    }

    .reservation-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .reservation-buttons .btn {
        width: 80%;
        max-width: 300px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #headspa-room-images img,
    #reception-room-images img {
        width: 100%;
        flex-basis: auto;
    }
    footer .footer-nav ul {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        padding: 0 1rem;
        justify-content: center;
    }

    footer .footer-nav ul li {
        flex-basis: calc(50% - 1rem);
        text-align: center;
    }

    #mv .mv-text h1 {
        font-size: 1.35rem;
    }

    #mv .mv-text p {
        font-size: 0.85rem;
    }

    .mv-sns img {
        height: 40px;
    }
} 

/* タブレット専用設定（スマホ・PCに影響なし） */
@media (min-width: 769px) and (max-width: 1100px) {
    /* コンテナの調整 */
    .container {
        max-width: 100%;
        padding: 0 3rem;
    }
    
    /* MVエリアの調整 */
    #mv .mv-content {
        padding: 0 2rem;
    }
    
    #mv .mv-logo {
        width: 60%;
        max-width: 400px;
    }
    
    #mv .mv-text {
        top: 78%;
        padding: 0 2rem;
    }
    
    #mv .mv-text h1 {
        font-size: 2.2rem;
    }
    
    #mv .mv-text p {
        font-size: 1.1rem;
    }
    
    /* セクションパディング調整 */
    section:not(#mv) {
        padding: 6rem 0;
    }
    
    /* フッターの調整 */
    footer .footer-logo {
        padding-top: 40px;
    }
    
    footer .footer-content {
        padding-bottom: 40px;
    }
    
    footer .footer-logo img {
        height: 140px;
    }
    
    /* スタッフセクションの調整 */
    .staff-slider .swiper-wrapper {
        display: flex;
        justify-content: center;
        gap: 3rem;
        flex-wrap: wrap;
    }
    
    .staff-slider .swiper-slide {
        width: auto;
        flex: 0 0 auto;
    }
    
    .staff-slider .swiper-pagination {
        display: none;
    }
    
    #staff .staff-member {
        max-width: 200px;
    }
    
    #staff .staff-member img {
        width: 160px;
        height: 160px;
    }
    
    /* その他のセクション調整 */
    .about-slider {
        width: 100%;
        margin-left: 0;
    }
    
    .concept-item {
        margin-bottom: 6rem;
    }
    
    .swiper-container.concept-slider {
        max-width: 90%;
    }
    
    .menu-container {
        max-width: 90%;
    }
    
    .reservation-buttons {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .qa-banner .container {
        max-width: 90%;
    }
    
    /* Nest Hub (1024x600) 特別対応 */
    @media (min-width: 1020px) and (max-width: 1030px) and (min-height: 590px) and (max-height: 610px) {
        #mv .mv-logo {
            width: 50%;
            max-width: 350px;
        }
        
        #mv .mv-text h1 {
            font-size: 1.8rem;
        }
        
        #mv .mv-text p {
            font-size: 1rem;
        }
        
        section:not(#mv) {
            padding: 4rem 0;
        }
        
        .catchy-copy {
            font-size: 2.2rem !important;
        }
        
        /* スタッフセクションさらに調整 */
        .staff-slider .swiper-wrapper {
            gap: 2rem;
        }
        
        #staff .staff-member {
            max-width: 180px;
        }
        
        #staff .staff-member img {
            width: 140px;
            height: 140px;
        }
        
        .staff-name {
            font-size: 1.2rem;
        }
        
        .staff-message {
            font-size: 0.9rem;
        }
    }

    /* 監修者情報セクション - モバイル */
    .supervisor-container {
        padding-top: 3rem;
    }

    .supervisor-block {
        padding-top: 2.5rem;
        border-top: 1px solid #e0e0e0;
    }

    .supervisor-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .supervisor-intro, .supervisor-profile {
        padding: 1.5rem;
    }

    .supervisor-profile-top {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .supervisor-details ul {
        text-align: left;
    }
}

@media (min-width: 1101px) {
    #mv .mv-text {
        top: 82%; /* PC版コピー位置調整 */
    }
    #mv .mv-logo {
        width: 445px;
    }
    .staff-slider .swiper-wrapper {
        display: flex;
        justify-content: center;
        gap: 4rem;
    }
    .staff-slider .swiper-slide {
        width: auto;
    }
    .staff-slider .swiper-pagination {
        display: none;
    }
    footer .footer-logo {
        padding-top: 50px;
    }
    footer .footer-content {
        padding-bottom: 50px;
    }
    footer .footer-logo img {
        height: 171px;
    }
}

@media (max-width: 768px) {
    footer {
        padding-top: 90px;
    }
    footer .footer-logo img {
        height: 152px;
        margin-top: 60px;
    }
    .footer-content {
        padding-bottom: 60px;
    }
    #staff .staff-slider {
        padding-bottom: 2rem;
    }
    #staff .staff-member {
        padding-top: 25px;
    }
    #staff .staff-member img {
        margin-bottom: 10px;
    }
    .staff-slider .swiper-pagination {
        position: static;
        margin-top: 0px;
    }
    .staff-slider .swiper-pagination-bullet {
        background-color: var(--main-color);
    }
}

/* Recruit */
#recruit {
    background-color: var(--background-gray);
}
#recruit .container {
    text-align: center;
}

#recruit p {
    margin-bottom: 2rem;
}

.recruit {
    background-color: #fff;
    padding: 4rem 2rem;
} 

/* TOPに戻るボタン */
@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background-image: url('../images/kumo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: cloudFloat 3s ease-in-out infinite;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.top-btn:hover {
    animation-play-state: paused;
    transform: scale(1.05) translateY(-2px);
}

.top-btn span {
    color: white;
    font-weight: bold;
    font-size: 16px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .top-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .top-btn span {
        font-size: 14px;
    }
    
    @keyframes cloudFloat {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-6px);
        }
    }
}

@media screen and (max-width: 480px) {
  body {
    min-width: 320px; /* より小さな画面にも対応 */
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .about-slider {
    width: calc(100% + 30px) !important;
    max-width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
} 