.p-archive-ryokan {
    background-color: var(--color-background-light);
}

/* ===== BEGIN HERO ===== */
.hero {
    
    /* セクションの高さ */
    min-height: 400px;
    height: 50vh;
    
    /* フレックスボックスで中央配置 */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 暗いオーバーレイ効果 */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* 黒の半透明オーバーレイ */
    z-index: 1;
}

.hero__title {
    /* タイトルのスタイル */
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
    
    /* オーバーレイより前面に配置 */
    position: relative;
    z-index: 2;
    
    /* テキストの配置 */
    text-align: center;
}

@media screen and (max-width: 769px) {
    .hero {
        min-height: 200px;
        max-height: 30vh;
    }
    
    .hero__title {
        font-size: 1.5rem;
    }
}

/* ===== END HERO ===== */

/* ===== BEGEN CONTENTS ===== */

.archive .body .wrapper {
    padding: 10px 20px;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

.archive .body .col {
    display: flex;
    gap: 60px;
    align-items: start;
}

@media screen and (max-width: 769px) {
    .archive .body .col {
       flex-direction:column;
    }
}


.contents {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 480px;
    flex-shrink: 0;
}

@media screen and (max-width: 769px) {
    .sidebar {
        width: 90vw;
    }
}

/* ==================== 
   旅館カード
==================== */
.ryokan-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-top-right-radius: 48px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 32px;
}

.ryokan-card:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); */
}

.ryokan-card__thumbnail {
    margin: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-sizing: border-box;
}

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

.ryokan-card__titleset {
    padding: 24px 20px;
}

.ryokan-card__title-wrapper {
    margin-bottom: 16px;
}

.ryokan-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.ryokan-card__area-info {
    font-size: 0.875rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.ryokan-card__area-info::before {
    content: '｜';
    margin-right: 8px;
}

.ryokan-card__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ryokan-card__tag-item {
    font-size: 0.875rem;
    color: #555555;
    position: relative;
}

@media screen and (max-width: 769px) {

    .ryokan-card__title-wrapper {
        margin-bottom: 7px;
    }

    .ryokan-card__title {
        font-size: 1.0rem;
    }

    .ryokan-card__area-info {
        font-size: 0.7rem;
    }

    .ryokan-card__area-info::before {
        content: '｜';
        margin-right: 3px;
    }

    .ryokan-card__tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ryokan-card__tag-item {
        font-size: 0.875rem;
        color: #555555;
        position: relative;
    }
}

.ryokan-card__tag-item::before {
    content: '#';
    margin-right: 2px;
}

/* ==================== 
   サイドバー - ウィジェット
==================== */
.widget {
    /* background-color: #ffffff; */
    border-radius: 8px;
    overflow: hidden;
}

.widget__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: transparent;
}

.widget__container {
    background-color: #ffffff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget__item {
    /* display: flex;
    align-items: center;
    justify-content: space-between; */
    padding: 20px 20px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.widget__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget__item:last-child {
    border-bottom: none;
}

.widget__item:hover {
    background-color: #f8f9fa;
}

.widget__item-title {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #333333;
    margin: 0;
}

.right-arrow-icon {
    display: inline-flex;
    align-items: center;
    color: #666666;
    flex-shrink: 0;
    margin-left: 12px;
}

.right-arrow-icon::before {
    content: '→';
    font-size: 1.125rem;
}

/* ===== END CONTENTS ===== */