@charset "UTF-8";

/* =========================================
   Variables & Reset
========================================= */
:root {
    /* カラーパレット */
    --color-primary: #0F382A; /* バールバロの癒しを示すディープグリーン */
    --color-primary-light: #2A5A4A;
    --color-accent: #B89955; /* 高級感を出すゴールド系アクセント */
    --color-bg: #FCFDFB; /* わずかに温かみのある白（MTG風の洗練された余白用） */
    --color-bg-light: #F4F6F3;
    --color-text: #2C332F; /* 真っ黒ではない上品なダークグレー */
    --color-text-light: #6A7570;
    --color-white: #FFFFFF;

    /* タイポグラフィ */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    
    /* トランジション */
    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-size: 15px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* =========================================
   Typography & Typography Utilities
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.text-center { text-align: center; }

/* =========================================
   Components & Layouts
========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.section-ruby {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-primary);
    border-radius: 2px;
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-base);
    background-color: transparent;
    padding: 24px 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo a {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: auto; 
    width: 100%;
    max-width: 140px; /* 初期のようなスッキリしたサイズ */
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo-img {
    height: auto;
    width: 100%;
    max-width: 380px; /* バナーとして最大限大きく */
    object-fit: contain;
    vertical-align: middle;
    margin-bottom: 8px;
}

.header.scrolled .logo a {
    color: var(--color-primary);
}

.global-nav ul {
    display: flex;
    gap: 40px;
}

.global-nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    font-weight: 500;
}

.header.scrolled .global-nav a {
    color: var(--color-text);
}

.global-nav a:hover {
    opacity: 0.6;
}

.btn-reserve {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: var(--transition-base);
}

.header.scrolled .btn-reserve {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-reserve:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

.header.scrolled .btn-reserve:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* =========================================
   Hero Section & Slider
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.05); /* うっすら明るく */
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    color: var(--color-white);
}

.hero-title {
    font-size: 48px;
    line-height: 1.5;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* =========================================
   Layout: 2 Column (Text and Image)
========================================= */
.layout-2col {
    display: flex;
    align-items: center;
    gap: 80px;
}

.layout-2col.reverse {
    flex-direction: row-reverse;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 1;
}

.image-box {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
}

/* =========================================
   Manual Slider (CSS Scroll Snap)
========================================= */
.manual-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}
.manual-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    /* スクロールバー非表示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.manual-slider::-webkit-scrollbar {
    display: none;
}
.slide-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}
.slide-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* 個別の画像比率に合わせて可変にするため、aspect-ratio固定を削除しました */

/* 特定の大きすぎる画像を縮小表示 */
.slide-item img.img-shrink {
    max-height: 320px;
    max-width: 60%;
    width: auto;
    margin: 0 auto;
    display: block;
}

.slide-caption {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 12px;
    text-align: center;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: calc(50% - 30px); /* Adjust for caption */
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-base);
    color: var(--color-primary);
}
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.slider-btn-prev { left: -20px; }
.slider-btn-next { right: -20px; }
@media (max-width: 900px) {
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .slider-btn-prev { left: -4px; }
    .slider-btn-next { right: -4px; }
}

/* Placeholder Colors */
.default-bg-green { background-color: var(--color-primary-light); }
.default-bg-dark { background-color: #1A1A1A; }

/* =========================================
   Dark Section (Baruno)
========================================= */
.dark-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.dark-section .section-title {
    color: var(--color-white);
}

.dark-section .btn-primary {
    background-color: transparent;
    border-color: var(--color-white);
}

.dark-section .btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* =========================================
   Menu Grid
========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.menu-item {
    background-color: var(--color-white);
    padding: 60px 40px;
    text-align: center;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-base);
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-name {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.menu-desc {
    font-size: 14px;
    color: var(--color-text-light);
}

/* =========================================
   Price Box Formatting
========================================= */
.price-box {
    display: flex;
    justify-content: space-between;
    width: 90px; /* 金額表示の幅を固定して桁数を揃える */
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
}

.price-box.wide {
    width: 110px; /* ダブルカラーなど金額が多い場合や「～」含む場合 */
}

.price-amount {
    text-align: right;
    flex-grow: 1;
}

/* =========================================
   News / Blog List
========================================= */
.news-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.news-item {
    display: flex;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.news-date {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--color-accent);
    width: 120px;
    flex-shrink: 0;
}
.news-title {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
.news-title a:hover {
    color: var(--color-accent);
}
@media (max-width: 900px) {
    .news-item {
        flex-direction: column;
        gap: 8px;
    }
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 32px;
    margin-bottom: 24px;
}

.footer-info p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.footer-info .tel {
    font-size: 20px;
    font-family: var(--font-serif);
    color: var(--color-primary);
    margin-top: 16px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 24px;
    font-size: 12px;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

/* =========================================
   Auto Calendar
========================================= */
.calendar-wrapper {
    display: flex;
    gap: 20px;
    font-family: var(--font-sans);
    align-items: flex-start;
}
.calendar-month {
    flex: 1;
    background: var(--color-white);
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.calendar-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text);
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
}
.calendar-table th, .calendar-table td {
    padding: 8px 4px;
    width: 14.28%; /* 7等分 */
    vertical-align: middle;
}
.calendar-table th {
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid var(--color-primary-light);
    color: var(--color-text);
}
.calendar-table th.sun {
    color: #e74c3c;
}
.calendar-table th.sat {
    color: #3498db;
}
.calendar-table td {
    color: var(--color-text-light);
}
.calendar-table td.sun {
    color: #e74c3c;
}
.calendar-table td.sat {
    color: #3498db;
}
.calendar-table td span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border-radius: 50%;
}
.calendar-table td.closed span {
    background-color: #e74c3c;
    color: var(--color-white);
    font-weight: 600;
}
.calendar-note {
    font-size: 13px;
    margin-top: 12px;
    color: var(--color-text);
}

/* =========================================
   Animations
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   Responsive
========================================= */
@media (max-width: 900px) {
    .layout-2col, .layout-2col.reverse { 
        display: flex;
        flex-direction: column; 
        gap: 40px; 
    }
    .col-text { order: 2; }
    .col-image { order: 1; }
    /* baruno-storyページのみ、スマホで文章→画像の順にする */
    .page-story .col-text { order: 1; }
    .page-story .col-image { order: 2; }
    
    .menu-grid { grid-template-columns: 1fr; }
    
    .global-nav { display: none; } /* SPはナビ非表示 */
    .header-inner { padding: 0 20px; }
    .container { padding: 0 20px; }
    
    .hero-title { font-size: 26px; line-height: 1.5; letter-spacing: 0.1em; }
    .hero-subtitle { font-size: 11px; margin-top: 12px; }
    .section-title { font-size: 28px; margin-bottom: 24px; }
    .section-text { font-size: 14px; }
    .section { padding: 80px 0; }
    
    /* 画像をスマホで確実に見せる（高さ0に潰れないように固定値） */
    .image-box { aspect-ratio: auto; height: 350px; width: 100%; }
    .menu-item { padding: 40px 20px; }
    
    /* スマホでロゴが大きすぎないように初期サイズ化 */
    .logo-img { height: 44px; margin-top: 0; margin-bottom: 0; }
    .footer-logo-img { height: 60px; margin-bottom: 16px; }
}
