/* ラ・ボンヌ・サブール ============================================ */
:root {
    --accent: #8a5a2b;        /* 小麦色のブラウン */
    --accent-light: #c89b6c;
    --closed: #fc4b77;        /* 休業日(元サイトと同じ色) */
    --text: #333;
    --bg: #fffdf8;
    --border: #e8dfd2;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }

/* ---- ヘッダー ---- */
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding: 1rem 5%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand .logo { width: 56px; height: 56px; border-radius: 50%; }
.brand h1 { font-size: 1.25rem; margin: 0; }
.tagline { margin: 0; font-size: .78rem; color: #888; }
.site-header nav { display: flex; gap: 1.2rem; }
.site-header nav a {
    text-decoration: none;
    font-weight: 600;
    padding: .3rem 0;
}
.site-header nav a:hover { border-bottom: 2px solid var(--accent); }

/* ---- スライダー ---- */
.slider { position: relative; max-height: 65vh; overflow: hidden; background: #000; }
.slides { position: relative; aspect-ratio: 16 / 7; min-height: 260px; max-height: 65vh; }
.slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.slides img.active { opacity: 1; }

/* ---- 共通セクション ---- */
main { max-width: 1080px; margin: 0 auto; padding: 0 4%; }
.section { margin: 3.5rem 0; }
.section h2 {
    font-size: 1.5rem;
    border-bottom: 3px solid var(--accent-light);
    padding-bottom: .3rem;
    margin-bottom: 1.2rem;
}
hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

.intro { margin: 2.5rem 0; }
.line-banner { text-align: center; margin-top: 2rem; }
.line-banner a { text-decoration: none; font-weight: 600; }

.insta-link a { font-weight: 600; }

/* ---- 商品ギャラリー ---- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.gallery figure { margin: 0; cursor: zoom-in; }
.gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.gallery figcaption {
    font-size: .82rem;
    text-align: center;
    padding-top: .25rem;
    color: #555;
}

/* ---- ライトボックス ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
    cursor: zoom-out;
    padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 4px; }
.lightbox p { color: #fff; margin: .8rem 0 0; }

/* ---- カレンダー ---- */
.cal-wrap { max-width: 480px; }
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .4rem;
}
.cal-caption { font-weight: 700; font-size: 1.1rem; }
.cal-nav {
    text-decoration: none;
    font-size: 1.2rem;
    padding: .1rem .7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
}
.cal-nav:hover { background: var(--accent-light); color: #fff; }
table.cal {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
}
table.cal th, table.cal td {
    border: 1px solid var(--border);
    text-align: center;
    padding: .45rem 0;
    width: 14.28%;
}
table.cal th { background: #f6efe4; font-weight: 600; }
table.cal th.sun { color: #d33; }
table.cal th.sat { color: #36c; }
table.cal td.other { color: #ccc; }
table.cal td span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
}
table.cal td.closed span { background: var(--closed); color: #fff; }
table.cal td.today span { outline: 2px solid var(--accent); }
.cal-legend { font-size: .85rem; }
.legend-closed {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--closed);
    vertical-align: -.15em;
}

/* ---- 地図 ---- */
.map { position: relative; aspect-ratio: 4 / 3; max-height: 450px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---- フッター ---- */
.info h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.site-footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    background: #fff;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    color: #888;
}

@media (max-width: 600px) {
    .site-header { justify-content: center; text-align: center; }
    .slides { aspect-ratio: 4 / 3; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
    .gallery figcaption { font-size: .72rem; }
}
