/* ===== 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 ===== */

.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;
}


/* スポットカード */
.spot-card {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    border-top-right-radius: 48px;
    gap: 24px;
    /* padding: 20px; */
    margin-bottom: 15px;
}

.spot-card__link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
@media screen and (max-width: 769px) {
    .spot-card__link {
      flex-direction: column;
    }
    .spot-card {
      border-radius: 10px 30px 10px 10px;
    }
}

.spot-card__link:hover {
    transform: translateY(-4px);
}

.spot-card__thumbnail {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.spot-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spot-card__link:hover .spot-card__thumbnail img {
    transform: scale(1.05);
}

.spot-card__content {
    flex: 1;
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spot-card__category {
    display: inline-block;
    background-color: #fff;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
    width: fit-content;
}

/* カテゴリが空の場合は非表示 */
.spot-card__category:empty {
    display: none;
    margin-bottom: 0;
}

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

p.spot-card__description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #e0e0e0;
    font-weight: 300;
}

.spot-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.spot-card__tag-item {
    font-size: 8px;
    color: #999;
}

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

@media screen and (max-width: 769px) {
    .spot-card {
    height: auto;
  }
  
  .spot-card__thumbnail {
    flex: none;
  }
  .spot-card__content {
      flex: none;
      padding: 25px;
  }

  .spot-card__title {
      font-size: 1.15rem;
  }

  p.spot-card__description {
      font-size: 0.75rem;
      margin-bottom: 10px;
  }
}

/* ==================== 
   サイドバー - ウィジェット
==================== */
.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;
}