body {
    font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", serif;
    margin: 0;
    background-color: #f4f4f4;
}

#wrapper {
    display: flex; /* Flexboxを使って2カラムレイアウト */
    min-height: 100vh;
}

#sidebar {
    width: 25%;
    flex-shrink: 0;
    background-color: #022c44;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#sidebar .sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

#sidebar .sidebar-header h1 {
    margin: 0;
    font-size: 2em;
}

#sidebar .sidebar-header a {
    color: white;
    text-decoration: none;
}

#sidebar .sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar .sidebar-nav li {
    margin-bottom: 10px;
}

#sidebar .sidebar-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sidebar .sidebar-nav li {
    width: fit-content;
}

#sidebar .sidebar-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#sidebar .sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#sidebar .sidebar-nav .menu-item-icon {
    font-size: 1em;
    width: 1.2em;
    text-align: center;
    flex-shrink: 0;
}

#sidebar .sidebar-nav .menu-item-text {
    font-size: 0.85em;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

#content {
    flex-grow: 1;
    min-width: 0;
    padding: 40px;
    background-color: #fafafa;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ヒーロー画像 */
.hero {
    margin: -40px -40px 30px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* 空ヘッダー行を非表示 */
.content-body thead:has(th:empty),
.section-content thead:has(th:empty) {
    display: none;
}

/* テーブルのスタイル（シンプルに） */
.content-body table, .section-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f8f8f8;
}

/* 店舗情報のリスト形式 */
.shop-info {
    margin: 20px 0;
}

.shop-info dt {
    font-weight: bold;
    color: #022c44;
    border-left: 4px solid #022c44;
    padding-left: 10px;
    margin-top: 15px;
}

.shop-info dd {
    margin-left: 0;
    padding: 5px 0 10px 14px;
    border-bottom: 1px solid #eee;
}

@media (min-width: 769px) {
    .shop-info {
        display: grid;
        grid-template-columns: 150px 1fr;
        gap: 0 20px;
    }
    .shop-info dt {
        border-left: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
        margin-top: 0;
    }
    .shop-info dd {
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }
}

/* メニュー写真グリッド */
.menu-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.menu-photo-grid figure {
    margin: 0;
}

.menu-photo-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 1px solid #d0ccc8;
    filter: brightness(0.97);
    transition: filter 0.3s ease;
}

.menu-photo-grid img:hover {
    filter: brightness(1.03);
}

.menu-photo-grid figcaption {
    text-align: left;
    font-size: 0.8em;
    color: #999;
    margin-top: 6px;
    font-style: italic;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .menu-photo-grid {
        grid-template-columns: 1fr;
    }
}

/* 記事一覧 */
.articles-list {
    margin-top: 30px;
}

.list-item {
    border-top: 1px solid #d0ccc8;
    padding: 24px 0;
}

.list-item:last-child {
    border-bottom: 1px solid #d0ccc8;
}

.list-item-date {
    font-size: 0.8em;
    color: #999;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

.list-item h2 {
    margin: 0 0 10px;
    font-size: 1.1em;
}

.list-item h2 a {
    color: #022c44;
    text-decoration: none;
}

.list-item h2 a:hover {
    text-decoration: underline;
}

.list-item .summary {
    font-size: 0.9em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.read-more {
    font-size: 0.8em;
    color: #999;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.read-more:hover {
    color: #022c44;
}

/* 記事詳細 */
.single-date {
    display: block;
    font-size: 0.8em;
    color: #999;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    border-bottom: 1px solid #d0ccc8;
    padding-bottom: 16px;
}

/* 見出しスタイル（コンテンツエリア共通） */
.content-body h1,
.section-content h1,
.single-page-content h1 {
    font-size: 1.6em;
    letter-spacing: 0.15em;
    font-weight: normal;
    padding: 0 0 0.3em 0.8em;
    margin-bottom: 2em;
    border-left: 2px solid #022c44;
    border-bottom: 1px solid #d0ccc8;
}

.content-body h2,
.section-content h2 {
    font-size: 1.1em;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin: 2.5em 0 1em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid #d0ccc8;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.content-body h2::before,
.section-content h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #022c44;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.content-body h3,
.section-content h3 {
    font-size: 1em;
    font-weight: normal;
    letter-spacing: 0.08em;
    margin: 2em 0 0.8em;
    padding-left: 0.8em;
    border-left: 2px solid #022c44;
    color: #022c44;
}

/* 記事詳細レイアウト */
.single-page-content {
    max-width: 680px;
}

.single-page-content .content-body {
    line-height: 2;
    color: #333;
}

.single-page-content .content-body p {
    margin-bottom: 1.4em;
}

/* 前後記事ナビ */
.pagination {
    margin-top: 3em;
    padding-top: 1.5em;
    border-top: 1px solid #d0ccc8;
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
}

.pagination a {
    color: #022c44;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.pagination a:hover {
    text-decoration: underline;
}

/* パンくずリスト */
.breadcrumb {
    margin-bottom: 2em;
    font-size: 0.8em;
    color: #999;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #022c44;
}

@media (max-width: 768px) {
    #wrapper {
        flex-direction: column;
    }

    #sidebar {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    #sidebar .sidebar-header {
        margin-bottom: 15px;
    }

    #sidebar .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-bottom: 15px;
    }

    #sidebar .sidebar-nav li {
        margin: 0;
        flex: 1 1 45%; /* メニューは2列並び */
    }
    
    #sidebar .sidebar-nav .menu-item-link {
        display: flex;
        flex-direction: row; 
        align-items: center;
        justify-content: center;
        padding: 10px;
        font-size: 0.85em;
        background-color: rgba(255, 255, 255, 0.08);
        border-radius: 6px;
    }

    #sidebar .sidebar-nav .menu-item-icon {
        margin-right: 8px;
        margin-bottom: 0;
    }

    #content {
        padding: 20px;
    }
}