/* 朝食ビュッフェページ専用スタイル - 整理版 */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   サブビジュアル背景画像
======================================== */
body.restaurant .sub-visual {
    background: rgba(0, 0, 0, 0.4);
    background-image: url('../../restaurant/images/breakfast/svimg.jpg');
    background-size: cover;
    background-position: center center;
    background-blend-mode: overlay;
}

/* ========================================
   リードセクション
======================================== */
body.restaurant .lead-section {
    min-width: auto;
    padding-bottom: 40px;
}

body.restaurant .lead-section .container {
    background-image: none;
    padding: 80px 0 60px 0;
}

.lead-header {
    width: 100%;
}

.lead-header p {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: block;
}

/* ========================================
   朝食革命タイトル画像
======================================== */
.title-image {
    width: 25%;
    height: auto;
    display: block;
    margin: 0 auto 2em;
}

/* ========================================
   レストランロゴボタン
======================================== */
.restaurant-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.restaurant-logo-wrapper {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #1e3c72;
    border-radius: 6px;
    text-decoration: none;
    width: 216px;
    height: 100px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    margin: 6px;
}

.restaurant-logo-wrapper .logo-label {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    font-size: 0.6em;
    color: #474747;
    line-height: 1.2;
    background: #f5f5f5;
    border: none;
    border-radius: 3px;
}

.restaurant-logo-wrapper .logo-label.logo-label-year-round {
    background: #1e3c72;
    color: #ffffff;
}

.restaurant-logo-wrapper .logo-label.logo-label-seasonal {
    background: #f5f5f5;
    color: #474747;
    border: 1px solid #d0d0d0;
}

.restaurant-logo-image {
    display: block;
    padding: 20px 30px 0;
}

.restaurant-logo-link {
    width: 100%;
    height: auto;
    display: block;
}

.restaurant-logo-arrow {
    display: block;
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    text-align: center;
}

.restaurant-logo-arrow i.fa-chevron-down {
    color: #1e3c72;
    font-size: 0.7em;
}

/* ========================================
   セクション見出し
======================================== */
#tancha-heading,
#shichifuku-heading,
#other-menu-heading {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.2);
}

#tancha-heading:not(.english-text),
#shichifuku-heading:not(.english-text),
#other-menu-heading:not(.english-text) {
    font-size: 1em;
    font-family: 'Noto Sans JP', sans-serif;
}

#tancha-heading .english-text,
#shichifuku-heading .english-text,
#other-menu-heading .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 2.8125em;
    display: block;
}

/* ========================================
   背景画像セクション
======================================== */
.restaurant-info-section {
    background-image: none;
}

.section-tancha {
    background-image: url('../../restaurant/images/breakfast/bg01.jpg');
}

.section-shichifuku {
    background-image: url('../../restaurant/images/breakfast/bg02.jpg');
}

.section-etc {
    background-image: url('../../restaurant/images/breakfast/bg03.jpg');
    position: relative;
}

.section-etc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 1) 50%);
    z-index: 1;
}

.restaurant-info-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   レストラン情報レイアウト
======================================== */
.restaurant-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.restaurant-desc {
    width: 100%;
    margin: 0 auto;
}

.restaurant-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.restaurant-info.restaurant-info-layout {
    flex-direction: column;
    gap: 0em;
    align-items: flex-start;
}

.section-tancha .restaurant-info.restaurant-info-layout.content-box {
    margin-top: 2em;
}

.section-shichifuku .other-menu-box {
    margin-top: 2em;
}

.restaurant-info-left {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
}

.restaurant-info-left-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5em;
    align-items: start;
}

.restaurant-info-left-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
}

.restaurant-info-left-images {
    max-width: 100%;
    overflow: hidden;
}

.restaurant-info-left-images img,
.restaurant-info-left-images .slide-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-sizing: border-box;
}

.restaurant-info-right {
    flex: 2;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    padding-top: 2em;
    margin-top: 2em;
}

.other-menu-box .restaurant-info-right {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.section-etc .restaurant-info-right {
    margin-top: 0;
}

/* ========================================
   画像スライダー
======================================== */
.restaurant-info-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.restaurant-info-slide-wrapper {
    position: relative;
}

.restaurant-info-slider .slide-frame {
    display: none;
}

.restaurant-info-slider .slide-frame.active {
    display: block;
}

.restaurant-info-slider .slide-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.restaurant-info-slider .carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    pointer-events: auto;
}

.restaurant-info-slider .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.restaurant-info-slider .carousel-indicators .indicator.active {
    background: #1e3c72;
}

/* ========================================
   見出しスタイル
======================================== */
.restaurant-info h3,
.restaurant-info-left-text h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #757575;
    line-height: 1;
    border-bottom: 1px solid #a3a3a3;
    padding-bottom: 0.6em;
}

.restaurant-info h3 .english-text,
.restaurant-info-left-text h3 .english-text {
    font-size: 30px;
    display: block;
    margin-bottom: 2px;
    padding-bottom: 0;
}

.restaurant-info h3.other-menu-catch {
    position: relative;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: #757575;
    margin: 0 auto;
    padding: 0 0 0.9em;
    border-bottom: none;
}

.restaurant-info-right h4 {
    font-size: 1.17em;
    font-weight: 400;
    margin: 2em 0 1em 0;
    padding-bottom: 0.6em;
    border-bottom: 1px solid #a3a3a3;
}

.restaurant-info-right h4:first-child {
    margin-top: 0;
}

.restaurant-info-right h4 .menu-copy {
    font-size: 16px;
}

/* ========================================
   メニューアイテム
======================================== */
.restaurant-info-right .menu-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: start;
}

.restaurant-info-right .menu-item {
    display: flex;
    flex-direction: column;
}

.restaurant-info-right .menu-item .menu-item-image {
    margin-bottom: 1em;
}

.restaurant-info-right .menu-item .menu-item-image .restaurant-info-slider {
    width: 100%;
}

.restaurant-info-right .menu-item .menu-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.restaurant-info-right .menu-item h4 {
    margin-top: 0;
}

/* ========================================
   その他メニューセクションの画像
======================================== */
.image-pair {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 1em;
}

.image-pair-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.image-pair img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* ========================================
   営業時間・料金セクション
======================================== */
.restaurant-info-hours-price {
    width: 100%;
    margin-top: 2em;
    padding: 2em;
    background-color: #fbf7f4;
}

.restaurant-info-hours-price a {
    display: block;
    text-align: center;
    margin: 1em 0;
}

.restaurant-info-hours-price .lead-image {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.restaurant-info-text {
    text-align: center;
    margin: 1.5em 0;
}


.restaurant-price {
    margin-bottom: 1em;
}

.restaurant-info-text .restaurant-notice {
    font-size: 0.8em;
}

.restaurant-info-text .btn-more {
    margin-top: 1em;
}

/* ========================================
   note-section（注意事項・案内事項セクション）
======================================== */
.note-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    margin-bottom: 0;
}

.note-container {
    display: flex;
    gap: 2em;
    width: 800px;
    margin: 0 auto;
}

.note-column {
    flex: 1;
}

.note-container .note-column .note-content {
    font-size: 0.8em;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.note-container .note-column .note-content strong {
    display: block;
    margin-bottom: 0.5em;
}

.note-container .note-column .note-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-container .note-column .note-content ul li {
    margin-bottom: 0.5em;
    padding-left: 1.2em;
    position: relative;
    }
    
.note-container .note-column .note-content ul li::before {
    content: "・";
    position: absolute;
    left: 0;
}


/* ========================================
   フロアマップセクション
======================================== */
.floormap-section {
    padding: 80px 0;
    background: #fbf7f4 url('../../images/facility_bg.jpg');
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
}

.floormap-section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
}

.floormap-section h2:not(.english-text) {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.floormap-section h2 .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 45px;
    display: block;
}

.floormap-section .english-text {
    display: block;
}

.floormap-description {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 50px;
    font-size: 1em;
}

.restaurant-grid {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.restaurant-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.restaurant-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.restaurant-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
    transition: opacity 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.restaurant-card:hover {
    opacity: 0.8;
}

.restaurant-image {
    position: relative;
    overflow: hidden;
    flex: 1;
    border-radius: 12px 12px 0 0;
}

.restaurant-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.restaurant-image .restaurant-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.restaurant-card h3 {
    padding: 10px 10px 5px;
    font-size: 0.9em;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    font-weight: 400;
    flex-shrink: 0;
}

.floormap-image {
    margin: 40px 0 20px 0;
    text-align: center;
}

.floormap-image img {
    display: block;
    margin: 0 0 20px 0;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.floormap-image img:last-child {
    margin-bottom: 0;
}

/* フロアマップモーダル */
.floormap-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000E6;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floormap-modal.active {
    display: flex;
    opacity: 1;
}

.floormap-modal img {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.floormap-modal.image-pair-active img {
    width: min(90vw, 960px);
    aspect-ratio: 1.618 / 1;
    max-height: 90vh;
    object-fit: cover;
}

.floormap-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}


/* ========================================
   レスポンシブデザイン
======================================== */

/* タブレット時の調整 */
@media (min-width: 769px) and (max-width: 1024px) {
    body.restaurant .lead-section {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    .lead-header {
        padding-left: 1em;
        padding-right: 1em;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) {
    .lead-header {
        margin: 0 auto;
    }
}

/* スマホ時の調整 */
@media (max-width: 768px) {
    body.restaurant .lead-section .container {
        padding: 40px 1em 40px 1em;
    }

    .lead-header p {
        text-align: left;
    }
    
    .lead-header p.restaurant-logo-container {
        text-align: center;
    }
    
    .restaurant-logo-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1em;
        text-align: center;
    }
    
    .title-image {
        width: 60%;
        margin: 0 auto 1em;
    }
    
    .image-pair {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .image-pair img {
        height: 100%;
    }
    
    .restaurant-info-left-grid {
        grid-template-columns: 1fr;
    }
    
    .restaurant-info-right .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-info-text .btn-more {
        width: 100%;
        display: block;
    }
    
    .restaurant-grid {
        display: flex;
        justify-content: center;
    }
    
    .restaurant-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 15px;
        padding: 0;
        max-width: 100%;
    }
    
    .restaurant-card {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }
    
    .restaurant-image {
        height: 100%;
    }
    
    .restaurant-image .restaurant-logo-overlay {
        width: 95%;
    }
    
.restaurant-card h3 {
    font-size: 0.8em;
    padding: 6px;
}

    .floormap-image img {
        cursor: grab;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    }
    
    .floormap-image img:active {
        cursor: grabbing;
    }
    .note-container {
        flex-direction: column;
        gap: 1.5em;
        width: 100%;
        padding: 0 1em;
    }
}

/* セクション見出しのスマホ調整 */
@media (max-width: 768px) {
    #tancha-heading,
    #shichifuku-heading,
    #other-menu-heading {
        text-align: center;
        font-size: 0.75em;
    }
    
    #tancha-heading .english-text,
    #shichifuku-heading .english-text,
    #other-menu-heading .english-text {
        font-size: 3.25em;
    }
}
