/*
Theme Name: BRUTUS Magazine
Description: A magazine-style WordPress theme inspired by BRUTUS magazine layout - デザインカンプ完全準拠版
Version: 2.0.0
Author: BRUTUS Team
*/

/* ───────────────────────────────────────────
   Reset and Base Styles
──────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ───────────────────────────────────────────
   Ticker Bar
──────────────────────────────────────────── */
.ticker {
  width: 100%;
  background: #333;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 2rem;
  position: relative;
  z-index: 20;
}

.ticker-wrap {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  margin-right: 4rem;
}

.ticker:hover .ticker-wrap {
  animation-play-state: paused;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ───────────────────────────────────────────
   Header - デザインカンプ準拠
──────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 15;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2rem;
}

.logo {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.btn-search,
.btn-menu {
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 8px;
  transition: color 0.2s ease;
  font-size: 1.2rem;
}

.btn-search:hover,
.btn-menu:hover {
  color: #f4a261;
}

/* Navigation Menu */
.main-navigation {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: none;
  z-index: 10;
}

.main-navigation.active {
  display: block;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #f4a261;
}

/* Mobile Search Form */
.mobile-search-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.search-input-group {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.search-submit {
  background: #f4a261;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-submit:hover {
  background: #e09142;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-overlay.active {
  display: flex;
}

.search-overlay-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.search-input-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.search-input-overlay {
  flex: 1;
  padding: 1rem;
  border: 2px solid #f4a261;
  border-radius: 0.5rem;
  font-size: 1.125rem;
}

.search-submit-overlay {
  background: #f4a261;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.125rem;
}

.search-suggestions h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.125rem;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keyword-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.keyword-tag:hover {
  background: #e5e7eb;
}

/* ───────────────────────────────────────────
   Hero Section (First View)
──────────────────────────────────────────── */
.hero-firstview {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
  color: #fff;
  max-width: 480px;
  line-height: 1.4;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.hero-content .eyelash {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  opacity: 0.9;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.meta {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.pagination {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: monospace;
}

.scroll-hint {
  position: absolute;
  bottom: 50px;
  right: 60px;
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 1px;
  z-index: 5;
}

/* Trip Cards */
.trip-stack {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.trip-card {
  position: absolute;
  width: 140px;
  height: 400px;
  padding: 20px;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  opacity: 0.8;
  cursor: pointer;
}

.trip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
}

.trip-card .trip-time,
.trip-card p {
  position: relative;
  z-index: 2;
}

.trip-card .trip-time {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.trip-card--1 {
  right: 0;
  z-index: 6;
  background-image: url('https://images.pexels.com/photos/1903702/pexels-photo-1903702.jpeg?auto=compress&cs=tinysrgb&w=300&h=600&fit=crop');
}

.trip-card--2 {
  right: 80px;
  z-index: 5;
  background-image: url('https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=300&h=600&fit=crop');
  transform: scale(0.95);
}

.trip-card--3 {
  right: 160px;
  z-index: 4;
  background-image: url('https://images.pexels.com/photos/995765/pexels-photo-995765.jpeg?auto=compress&cs=tinysrgb&w=300&h=600&fit=crop');
  transform: scale(0.9);
}

.trip-card:hover {
  opacity: 1;
  transform: scale(1.02);
}

.trip-card--2:hover {
  transform: scale(0.97);
}

.trip-card--3:hover {
  transform: scale(0.92);
}

/* ───────────────────────────────────────────
   Section Base Styles
──────────────────────────────────────────── */
section {
  padding: 4rem 0;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ───────────────────────────────────────────
   NEW ARTICLES Section - 4列×2行レイアウト（画像上、テキスト下）
──────────────────────────────────────────── */
.new-articles-section {
  background: #fff;
  padding: 4rem 0;
}

.new-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1200px) {
  .new-articles-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .new-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .new-articles-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 1fr);
  }
}

.new-article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.new-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.new-article-card .article-image-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.new-article-card .article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.new-article-card:hover .article-image {
  transform: scale(1.05);
}

.new-article-card .article-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.new-article-card .article-meta-top {
  margin-bottom: 0.75rem;
}

.new-article-card .read-time {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.new-article-card .read-time svg {
  width: 1rem;
  height: 1rem;
}

.new-article-card .article-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.new-article-card:hover .article-title {
  color: #ea580c;
}

.new-article-card .article-meta-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #666;
  margin-top: auto;
}

.new-article-card .article-category {
  background-color: #333;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Load More Button */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  background-color: transparent;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.load-more-btn:hover {
  color: white;
  background-color: #111827;
  border-color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ───────────────────────────────────────────
   WHERE TO GO Section - 正円画像完全修正
──────────────────────────────────────────── */
.where-to-go-section {
  background: #fff;
  padding: 4rem 0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f3f4f6;
  color: #374151;
}

.filter-btn:hover {
  background-color: #e5e7eb;
}

.filter-btn.active {
  background-color: #dc2626 !important;
  color: white !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .places-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .places-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .places-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.place-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.place-item:hover {
  transform: translateY(-4px);
}

.place-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 正円画像の完全修正 */
.place-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正円を保証 */
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  display: block; /* ブロック要素として表示 */
}

.place-item:hover .place-image {
  transform: scale(1.05);
}

.place-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.place-item:hover .place-name {
  color: #ea580c;
}

/* ───────────────────────────────────────────
   FEATURES Section - Carousel
──────────────────────────────────────────── */
.features-section {
  background: #fff;
  padding: 4rem 0;
}

.features-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.features-carousel .carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.features-carousel .carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.features-carousel .carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.features-carousel .slide-content {
  width: 50%;
  padding: 3rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-carousel .slide-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.features-carousel .slide-content .subtitle-main {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.features-carousel .slide-content .subtitle-sub {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 400;
}

.features-carousel .slide-image {
  width: 50%;
  height: 500px;
  overflow: hidden;
}

.features-carousel .slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-carousel .carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  color: #6b7280;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-carousel .carousel-control:hover {
  background: white;
  color: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.features-carousel .carousel-control.prev {
  left: -24px;
}

.features-carousel .carousel-control.next {
  right: -24px;
}

.features-carousel .carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.features-carousel .indicator {
  width: 40px;
  height: 2px;
  background-color: #e5e7eb;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.features-carousel .indicator.active {
  background-color: #374151;
}

/* ───────────────────────────────────────────
   KEYWORDS Section
──────────────────────────────────────────── */
.keywords-section {
  background: #fff;
  padding: 4rem 0;
}

.keywords-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .keywords-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .keywords-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .keywords-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.keyword-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.keyword-item:hover {
  transform: translateY(-4px);
}

.keyword-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.keyword-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.keyword-item:hover .keyword-image {
  transform: scale(1.05);
}

.keyword-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  transition: color 0.2s ease;
}

.keyword-item:hover .keyword-name {
  color: #ea580c;
}

/* ───────────────────────────────────────────
   TRENDING Section - 2x3 Grid Layout（画像左、テキスト右）
──────────────────────────────────────────── */
.trending-section {
  background: #f9fafb;
  padding: 4rem 0;
}

.trending-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.trending-intro p {
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .trending-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
}

.trending-card {
  background: white !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  min-height: 280px;
  position: relative;
}

.trending-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trending-card .trending-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.trending-card .trending-badge span {
  width: 2rem;
  height: 2rem;
  background: #fbbf24;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.trending-card .trending-image-section {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

.trending-card .trending-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trending-card:hover .trending-image {
  transform: scale(1.05);
}

.trending-card .trending-text-section {
  width: 50%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.trending-card .trending-read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.trending-card .trending-read-time svg {
  width: 1rem;
  height: 1rem;
}

.trending-card .trending-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-card:hover .trending-title {
  color: #ea580c;
}

.trending-card .trending-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.trending-card .trending-country .country-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #ef4444;
  border-radius: 50%;
}

.trending-card .trending-country .country-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
}

.trending-card .trending-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.trending-load-more {
  text-align: center;
  margin-top: 3rem;
}

.trending-load-more button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trending-load-more button:hover {
  background: #111827;
  color: white;
  border-color: #111827;
}

.trending-load-more .load-more-icon {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ───────────────────────────────────────────
   ON THIS DAY Section
──────────────────────────────────────────── */
.on-this-day-section {
  background: #fff;
  padding: 4rem 0;
}

.on-this-day-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .on-this-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.day-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 400px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.day-item:hover {
  transform: scale(1.02);
}

.day-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.day-item:hover .day-image {
  transform: scale(1.05);
}

.day-item.historical .day-image {
  filter: grayscale(100%);
}

.day-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  transition: background 0.3s ease;
}

.day-item:hover .day-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.day-date {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: monospace;
}

.day-content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: white;
}

.day-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.day-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ───────────────────────────────────────────
   MAGAZINES Section
──────────────────────────────────────────── */
.magazines-section {
  background: #fff;
  padding: 4rem 0;
}

.magazines-carousel {
  position: relative;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.9);
  color: #374151;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-nav:hover {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.magazine-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.magazine-track::-webkit-scrollbar {
  display: none;
}

.magazine-item {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.magazine-item:hover {
  transform: translateY(-4px);
}

.magazine-cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.magazine-item:hover .magazine-cover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.magazine-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.magazine-item:hover .magazine-image {
  transform: scale(1.05);
}

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

.magazine-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.magazine-item:hover .magazine-title {
  color: #ea580c;
}

.magazine-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ───────────────────────────────────────────
   Article Detail Page Styles
──────────────────────────────────────────── */
.article-detail-page {
  min-height: 100vh;
  background: #fff;
}

.article-detail {
  background: #fff;
}

.article-title {
  font-weight: 400;
  color: #333;
  line-height: 1.3;
}

.article-meta {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1rem;
}

.article-meta .read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.article-meta .read-time svg {
  width: 1rem;
  height: 1rem;
}

.article-content {
  color: #333;
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2 {
  color: #333;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figcaption {
  font-style: italic;
  color: #666;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.article-content section {
  margin-bottom: 3rem;
}

.gallery-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.comment-form {
  border: 1px solid #e0e0e0;
  background: #f9fafb;
}

.comment-input {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-input .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-input textarea {
  flex: 1;
  min-height: 6rem;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.comment-input textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: #ea580c;
  border-color: transparent;
}

.btn-submit {
  background: #111827;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background: #374151;
}

.btn-submit svg {
  width: 1rem;
  height: 1rem;
}

.share-bar {
  background: #fbbf24;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}

.share-bar p {
  color: #111827;
  font-weight: 500;
  margin: 0;
}

.share-icons {
  display: flex;
  gap: 0.75rem;
}

.share-icons a {
  color: #111827;
  transition: all 0.2s ease;
}

.share-icons a:hover {
  transform: scale(1.1);
}

.share-icons svg {
  width: 1.25rem;
  height: 1.25rem;
}

.article-tags {
  margin: 2rem 0;
}

.article-tags h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.article-tags .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tags a {
  background: #f3f4f6;
  color: #374151;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.article-tags a:hover {
  background: #e5e7eb;
}

.author-info {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.author-info .flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

.author-info h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin: 0;
}

.author-info p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

.recommend {
  background: #f9fafb;
  padding: 4rem 0;
}

.recommend h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111827;
}

.rec-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rec-track::-webkit-scrollbar {
  display: none;
}

.rec-card {
  flex-shrink: 0;
  width: 12rem;
  scroll-snap-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rec-card:hover {
  transform: translateY(-4px);
}

.rec-card .relative {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.rec-card img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rec-card:hover img {
  transform: scale(1.05);
}

.rec-card p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-card:hover p {
  color: #ea580c;
}

.related-posts {
  background: #fff;
  padding: 4rem 0;
}

.related-posts h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111827;
}

.related-posts .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-post {
  cursor: pointer;
  transition: all 0.3s ease;
}

.related-post:hover {
  transform: translateY(-4px);
}

.related-post .relative {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.related-post img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post:hover img {
  transform: scale(1.05);
}

.related-post h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.related-post:hover h3 {
  color: #ea580c;
}

.related-post .text-sm {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* ───────────────────────────────────────────
   Archive Page Styles
──────────────────────────────────────────── */
.archive-page {
  min-height: 100vh;
  background: #fff;
}

.icon-nav {
  border-bottom: 1px solid #e0e0e0;
}

.page-header {
  padding-top: 2rem;
}

.filter-info {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-top: 1rem;
}

.filter-info p {
  color: #92400e;
  font-size: 0.875rem;
  margin: 0;
}

.filter-info a {
  color: #d97706;
  text-decoration: underline;
}

.collection-card {
  transition: all 0.3s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-card {
  transition: all 0.2s ease;
}

.post-card:hover {
  background-color: #fafafa;
}

.sidebar-search,
.sidebar-categories {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.sidebar-search h3,
.sidebar-categories h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.search-form {
  margin: 0;
}

.search-form .flex {
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.search-form button {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-form button:hover {
  background: #d97706;
}

.sidebar-categories .space-y-2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-categories a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.no-results {
  text-align: center;
  padding: 3rem 0;
}

.no-results h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

.no-results p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.no-results a {
  background: #f59e0b;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.no-results a:hover {
  background: #d97706;
}

/* ───────────────────────────────────────────
   Footer Styles - デザインカンプ準拠
──────────────────────────────────────────── */
.site-footer {
  background: #f9fafb;
  color: #374151;
  margin-top: 4rem;
}

.footer-widgets {
  background: #f9fafb;
  padding: 3rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-widget-area {
  /* Widget area styles */
}

.footer-widget-title {
  color: #111827;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

.footer-menu a:hover {
  color: #111827;
}

/* Decorative Text */
.footer-decorative {
  background: #f3f4f6;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

.decorative-text {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: 0.1em;
  user-select: none;
}

@media (max-width: 768px) {
  .decorative-text {
    font-size: 2.5rem;
  }
}

/* Bottom Footer */
.footer-bottom {
  background: #fff;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

.copyright {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #6b7280;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  color: #111827;
  transform: scale(1.1);
}

/* ───────────────────────────────────────────
   Utility Classes
──────────────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ───────────────────────────────────────────
   Focus and Accessibility
──────────────────────────────────────────── */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

/* ───────────────────────────────────────────
   Loading States
──────────────────────────────────────────── */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ───────────────────────────────────────────
   Responsive Design
──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content {
    left: 1.5rem;
    bottom: 3.75rem;
    max-width: calc(100% - 3rem);
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .trip-stack {
    display: none;
  }
  
  .scroll-hint {
    right: 1.5rem;
    bottom: 1.875rem;
  }
  
  .header-container {
    padding: 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .day-item {
    height: 250px;
  }

  .load-more-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Features Carousel Mobile */
  .features-carousel {
    padding: 0 1rem;
  }
  
  .features-carousel .carousel-slide {
    flex-direction: column;
    text-align: center;
  }
  
  .features-carousel .slide-content,
  .features-carousel .slide-image {
    width: 100%;
  }
  
  .features-carousel .slide-content {
    padding: 2rem 1rem;
  }
  
  .features-carousel .slide-image {
    height: 300px;
  }
  
  .features-carousel .carousel-control {
    display: none;
  }

  /* Trending Cards Mobile */
  .trending-card {
    flex-direction: column !important;
    min-height: 200px !important;
  }
  
  .trending-card .trending-image-section,
  .trending-card .trending-text-section {
    width: 100% !important;
  }
  
  .trending-card .trending-image {
    height: 150px !important;
  }

  /* Article Detail Mobile */
  .article-detail .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .hero-images {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .comment-input {
    flex-direction: column;
    gap: 1rem;
  }

  .share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .related-posts .grid {
    grid-template-columns: 1fr;
  }

  /* Navigation Mobile */
  .nav-menu {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }

  .features-carousel .slide-content h3 {
    font-size: 2rem;
  }
  
  .features-carousel .slide-content {
    padding: 1.5rem 0.75rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.25rem;
  }

  .decorative-text {
    font-size: 2rem;
  }
}