/* ========================================
   あこがれホテル風 カスタムスタイル
======================================== */

/* リセット & ベース */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  margin: 0;
}

/* 英語テキスト用の汎用クラス */
.english-text {
  font-family: 'Work Sans', 'brandon-grotesque', sans-serif !important;
  letter-spacing: 0.1em;
}

/* 特定要素の英語テキスト調整 */
.hero-link.english-text {
  letter-spacing: 0.15em;
  font-weight: 600;
}

.section-title.english-text {
  letter-spacing: 0.15em;
  font-weight: 400;
}

.see-all-link.english-text {
  letter-spacing: 0.12em;
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home .l-container {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0 !important;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero-section {
  position: relative;
  background: white;
  border-bottom: 2px solid #333;
}

.hero-container {
  display: flex;
}

.hero-image-section {
  position: relative;
  flex: 3;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  display: flex;
}

.hero-thumbnail {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.hero-label {
  position: absolute;
  top: 40px;
  right: 40px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  font-family: 'Work Sans', 'brandon-grotesque', sans-serif;
}

.hero-number {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #333;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hero-content-section {
  flex: 2;
  display: flex;
  align-items: end;
  /* padding: 80px 60px; */
  background: white;
  position: relative;
}

.hero-content-inner {
  width: 100%;
  padding: 36px;
}

.hero-categories {
  margin-bottom: 20px;
}

.hero-category {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0 0 20px 0;
  line-height: 1.3;
  color: #333;
}

.hero-title-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bold;
}

.hero-title-link:hover {
  color: #666;
}

.hero-location {
  font-size: 1rem;
  color: #999;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
}

.hero-button {
  margin-top: 40px;
}

.hero-link {
  display: inline-block;
  background: #333;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.15em;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.hero-link:hover {
  background: transparent;
  color: #333;
}



/* ========================================
   セクション共通スタイル
======================================== */
.section-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-align: center;
  margin: 0 0 60px 0;
  color: #333;
}



/* ========================================
   フィーチャードタグセクション
======================================== */
/* 共通のトップページセクションスタイル */
.top-page-section {
  position: relative;
  background: white;
  border-bottom: 2px solid #333;
  padding: 80px 0 40px 0;
}

.featured-tags-section {
  padding: 80px 0 40px 0;
}

.tags-grid {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 10px 16px 10px 32px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

/* 横スクロールバーを非表示 */
.tags-grid::-webkit-scrollbar {
  display: none;
}

.tag-item {
  text-align: center;
  flex-shrink: 0;

}

.tag-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.tag-link:hover {
  transform: translateY(-5px);
}

.tag-link:hover .tag-circle {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tag-link:hover .tag-title {
  color: #c39665;
}

.tag-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3e3e3, #f5f5f5);
}

.tag-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
}

.tag-count {
  color: #999;
  font-size: 14px;
}

.see-all-tags, .see-all-pickup {
  text-align: center;
}

.see-all-link {
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 12px 30px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-block;
}

.see-all-link:hover {
  border-color: #333;
  background: #333;
  color: white;
}

/* ========================================
   ピックアップセクション
======================================== */
.pickup-section {
  padding: 100px 0;
  background: #fafafa;
}

.pickup-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 60px 0;
  color: #666;
  letter-spacing: 0.1em;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.pickup-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pickup-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pickup-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pickup-content {
  padding: 25px;
}

.pickup-title a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.4;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.pickup-title a:hover {
  color: #667eea;
}

.pickup-location {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

.pickup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pickup-tag {
  color: #999;
  font-size: 12px;
  background: #f8f8f8;
  padding: 3px 8px;
  border-radius: 12px;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 20px;
  }

  .hero-link {
    padding: 8px 24px;
  }
}
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-content-inner {
    padding: 0;
  }
  
  .hero-image-section {
      flex: none;
  }
  
  .hero-content-section {
      flex: none;
      padding: 40px 30px;
  }
  
  .hero-title {
      font-size: 22px;
  }
  
  .hero-category {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .hero-excerpt {
    font-size: 14px;
  }
  
  .hero-label {
    top: 20px;
    right: 20px;
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .hero-number {
    top: 20px;
    right: 20px;
    font-size: 1rem;
  }
  
  /* カテゴリタグセクションのモバイル対応 */
  .tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 0 20px;
    -webkit-overflow-scrolling: auto;
  }
  
  .tag-item {
    width: 90px;
    flex-shrink: 0;
  }
  
  .tag-circle {
    width: 80px;
    height: 80px;
  }
  
  .tag-title {
    font-size: 0.85rem;
  }
  
  .pickup-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 40px;
  }
  
  .top-page-section {
    padding: 60px 0;
  }
  
  .featured-tags-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-content-section {
    padding: 30px 20px;
  }
  
  .hero-title {
    font-size: 20px;
  }
  
  .hero-label {
    top: 15px;
    right: 15px;
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .hero-number {
    top: 15px;
    right: 15px;
    font-size: 0.9rem;
  }
  
  .hero-excerpt {
    font-size: 13px;
  }
  
  .hero-link {
    padding: 12px 24px;
    font-size: 13px;
  }
  
  /* カテゴリタグセクションの小画面対応 */
  .tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 0 16px;
    -webkit-overflow-scrolling: auto;
  }
  
  .tag-item {
    width: 75px;
    flex-shrink: 0;
  }
  
  .tag-circle {
    width: 65px;
    height: 65px;
    margin-bottom: 8px;
  }
  
  .tag-title {
    font-size: 0.8rem;
  }
}

/* ========================================
   特集記事・季節特集エリア
======================================== */

/* カスタムメタボックスのスタイル調整 */
#display_area_meta_box .inside {
  margin: 0;
  padding: 12px;
}

/* 特集記事・季節特集エリアのスタイル */


/* 共通のセクションタイトルラベルスタイル */
.section-title-label {
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  color: #333;
  padding: 8px 16px;
  font-size: 16px;
  letter-spacing: 0.15em;
  font-weight: bold;
  z-index: 10;
  border-bottom: 2px solid #333;
  border-right: 2px solid #333;
}

.featured-posts-grid, .seasonal-posts-grid {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}

/* 横スクロールバーを非表示 */
.featured-posts-grid::-webkit-scrollbar,
.seasonal-posts-grid::-webkit-scrollbar {
  display: none;
}

.featured-post-card, .seasonal-post-card {
  background: transparent;
  border: none;
  transition: opacity 0.3s ease;
  flex: none;
  width: 480px;
  flex-shrink: 0;
}

.featured-post-card:hover, .seasonal-post-card:hover {
  opacity: 0.8;
}

.featured-post-card .post-thumbnail, 
.seasonal-post-card .post-thumbnail {
  margin-bottom: 1rem;
  overflow: hidden;
}

.featured-post-card .post-thumbnail img, 
.seasonal-post-card .post-thumbnail img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-post-card:hover .post-thumbnail img,
.seasonal-post-card:hover .post-thumbnail img {
  transform: scale(1.02);
}

.featured-post-card .post-content, 
.seasonal-post-card .post-content {
  padding: 0;
}

.featured-post-card .post-title, 
.seasonal-post-card .post-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.featured-post-card:hover .post-title,
.seasonal-post-card:hover .post-title {
  color: #666;
}

.featured-post-card .post-location, 
.seasonal-post-card .post-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  font-weight: 300;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-post-card .post-tags, 
.seasonal-post-card .post-tags {
  color: #999;
  line-height: 1.6;
  font-size: 0.85rem;
  font-weight: 300;
}

/* シンプルなカードデザイン（アクセントラインなし） */

/* 記事がない場合のメッセージ */
.no-posts-message {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 2rem 0;
}

.no-posts-message p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 300;
}

/* 特集記事・季節特集専用のレスポンシブ対応 */
@media (max-width: 1024px) {
  .featured-posts-grid, .seasonal-posts-grid {
    gap: 2rem;
    padding: 0 1.5rem;
  }
  
  .featured-post-card, .seasonal-post-card {
    width: 400px;
  }
}

@media (max-width: 768px) {
  .top-page-section {
    padding: 60px 0;
  }
  
  .featured-tags-section {
    padding: 80px 0;
  }
  
  .section-title-label {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .featured-posts-grid, .seasonal-posts-grid {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .featured-post-card, .seasonal-post-card {
    width: 260px;
  }

  .featured-post-card .post-thumbnail, .seasonal-post-card .post-thumbnail {
    margin-bottom: 12px;
  }
  
  .featured-post-card .post-thumbnail img, 
  .seasonal-post-card .post-thumbnail img {
    aspect-ratio: 3 / 2;
  }
  
  .featured-post-card .post-title, 
  .seasonal-post-card .post-title {
    font-size: 16px;
  }

  .featured-post-card .post-location, 
  .seasonal-post-card .post-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 300;
    line-height: 1.4;
  }

  .featured-post-card .post-tags, .seasonal-post-card .post-tags {
    line-height: 1.6;
    font-size: 12px;
  }
}

@media (max-width: 480px) {  
  .featured-tags-section {
    padding: 60px 0;
  }
  
  .section-title-label {
    font-size: 12px;
    padding: 4px 8px;
    letter-spacing: 0.1em;
  }
  
  .featured-posts-grid, .seasonal-posts-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .featured-post-card, .seasonal-post-card {
    width: 240px;
  }
  
  .featured-post-card .post-thumbnail img, 
  .seasonal-post-card .post-thumbnail img {
    aspect-ratio: 3 / 2;
  }
  
  .featured-post-card .post-title, 
  .seasonal-post-card .post-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .featured-post-card .post-location, 
  .seasonal-post-card .post-location {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  .featured-post-card .post-tags, 
  .seasonal-post-card .post-tags {
    font-size: 0.8rem;
  }
}

/* ========================================
   サービスセクション
======================================== */
.services-section .header-wrapper .services-label{
  padding: 24px 0 24px 36px;
  text-align: left;
  font-size: 28px;
  border-bottom: 2px solid #333;
  font-weight: bold;
}
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.service-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-card {
  background: white;
  overflow: hidden;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  padding: 24px;
}

.service-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 2/3 = 0.6667 = 66.67% (横:縦=3:2のアスペクト比) */
  aspect-ratio: 3 / 2; /* モダンブラウザ用 */
  overflow: hidden;
}

/* aspect-ratioサポート時はpaddingを無効化 */
@supports (aspect-ratio: 3 / 2) {
  .service-image {
    height: auto;
    padding-bottom: 0;
  }
}

.service-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-content {
  margin-top: 16px;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.3;
}

.service-description {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

.service-detail-btn {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #333;
  border-radius: 2px;
  width: 100%;
  text-align: center;
}

.service-detail-btn:hover {
  background: transparent;
  color: #333;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .services-container {
      grid-template-columns: repeat(2, 1fr);
  }
  
  /* タブレットでは縦線を非表示 */
  .services-container::before,
  .services-container::after {
      display: none;
  }
  
  /* 2列表示の時、右側（偶数番目）のアイテムの右線を削除 */
  .service-card:nth-child(even) {
      border-right: none;
  }
  
  .service-card:nth-child(3) {
      grid-column: 1;
      max-width: none;
      margin: 0;
  }
}

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

  .services-section .header-wrapper .services-label{
    font-size: 16px;
    padding: 12px 0 12px 36px;
    font-weight: 600;
  }
  
  /* モバイルでは縦線を非表示 */
  .services-container::before,
  .services-container::after {
    display: none;
  }
  
  .service-card {
    border-right: none;
  }
  
  .service-card:nth-child(3) {
    grid-column: 1;
    max-width: 100%;
  }
  
  
  .service-title {
    font-size: 1rem;
  }
  
  .services-section .section-title-label {
      font-size: 1.6rem;
      margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .services-section {
      padding: 0;
  }
  
  .service-card {
      border-right: none;
  }
  
  .service-title {
      font-size: 1.1rem;
  }
  
  .service-description {
      font-size: 0.8rem;
  }
  
  .service-detail-btn {
      padding: 10px 20px;
      font-size: 0.8rem;
  }
}

/* サービスが登録されていない場合のメッセージ */
.no-services-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.no-services-message p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
}

.no-services-message a {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.no-services-message a:hover {
  background: #555;
  transform: translateY(-2px);
}

/* ========================================
   カテゴリページ
======================================== */
.category-header-section {
  background: white;
  /* border-bottom: 2px solid #f5f5f5; */
  padding-bottom: 16px;
  margin-bottom: 16px;
}

/* PC用：従来の横並びレイアウト */
.category-header-container {
  display: flex;
  gap: 24px;
  align-items: center;
}

.category-header-top {
  display: flex;
  gap: 24px;
  align-items: center;
}

.category-content-section {
  flex: 1.5;
  min-width: 0;
}

.category-title-section {
  display: none;
}

.category-content-section .category-title {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 16px 0;
  color: #333;
  line-height: 1.2;
}

.category-image-section {
  flex: 0 0 150px;
  width: 150px;
}

.category-thumbnail {
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-placeholder {
  width: 150px;
  height: 150px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
  font-size: 4rem;
  color: #ccc;
  font-weight: 300;
}

.category-content-section {
  flex: 1.5;
  min-width: 0;
}

.category-title {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 16px 0;
  color: #333;
  line-height: 1.2;
}

.category-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 16px;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.parent-category,
.child-categories {
  margin-bottom: 8px;
}

.parent-category:last-child,
.child-categories:last-child {
  margin-bottom: 0;
}

.meta-label {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

.parent-category a,
.child-categories a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.parent-category a:hover,
.child-categories a:hover {
  color: #333;
  text-decoration: underline;
}

/* メイン・サイドバーレイアウト */
.category-main-sidebar-container {
  /* padding: 60px 0; */
}

.category-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.category-main-content {
  min-width: 0;
}

.category-sidebar {
  position: sticky;
  top: 20px;
}

.category-popular-section .category-section-title,
.category-recent-section .category-section-title {
  padding-bottom: 8px;
  font-size: 20px;
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝B, "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  line-height: 2;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 0px;
  border-bottom: 1px solid rgb(187, 187, 187);
  overflow: hidden;
  /* margin-top: 24px; */
  /* padding-top: 24px; */
}

.category-recent-section {
  margin-top: 40px;
}

/* カテゴリ記事グリッド */
.category-popular-grid,
.category-recent-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 16px;
}

.category-post-card {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝B, "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

/* .category-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
} */

/* .post-card-link removed - styles moved to .category-post-card */

.category-post-card .post-thumbnail {
  width: 340px;
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  padding-top: 8px;
}

.ranking-label {
  position: absolute;
  top: 0;
  left: 10px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
}

/* 2位：銀色 */
.category-post-card:nth-child(2) .ranking-label {
  background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

/* 3位：銅色 */
.category-post-card:nth-child(3) .ranking-label {
  background: linear-gradient(135deg, #CD7F32 0%, #B8671F 100%);
}

.ranking-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-radius: 0 0 8px 8px;
  z-index: -1;
}

/* 2位：銀色 */
.category-post-card:nth-child(2) .ranking-label::before {
  background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

/* 3位：銅色 */
.category-post-card:nth-child(3) .ranking-label::before {
  background: linear-gradient(135deg, #CD7F32 0%, #B8671F 100%);
}

/* .ranking-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 8px solid #8b7319;
  border-right: 0px solid transparent;
  border-top: 8px solid transparent;
  border-bottom: 0px solid transparent;
} */

/* .ranking-label:nth-child(1)::after removed - no longer needed */

/* 人気記事のみにランキングラベルを表示 */
.category-recent-section .ranking-label {
  display: none;
}

.category-post-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.category-post-card .post-placeholder {
  width: 340px;
  height: 200px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-post-card .post-content {
  padding-left: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-post-card .post-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
  color: #c39665;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-post-card .post-meta {
  margin-bottom: 4px;
}

.category-post-card .post-date {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

.category-post-card .post-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.category-post-card .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.category-post-card .post-tag {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  pointer-events: none;
}

/* .category-post-card .post-tag:hover removed - tags are now non-interactive */

/* ページネーション */
.category-pagination {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f5f5f5;
  text-align: center;
}

.category-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  background: white;
  border: 1px solid #e0e0e0;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.category-pagination .page-numbers:hover,
.category-pagination .page-numbers.current {
  background: #333;
  color: white;
  border-color: #333;
}

.category-pagination .page-numbers.prev,
.category-pagination .page-numbers.next {
  font-weight: 500;
}

.category-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #ccc;
}

.category-pagination .page-numbers.dots:hover {
  background: none;
  color: #ccc;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .category-layout {
      grid-template-columns: 1fr 280px;
      gap: 40px;
  }
  
  .category-popular-grid,
  .category-recent-grid {
      gap: 24px;
  }
  
  .category-post-card .post-thumbnail,
  .category-post-card .post-placeholder {
      width: 280px;
      height: 170px;
  }
  
  .ranking-label {
      width: 28px;
      height: 28px;
      font-size: 11px;
  }
  
  .ranking-label {
      width: 32px;
      height: 32px;
      font-size: 12px;
  }
  
  .category-header-container {
      gap: 40px;
  }
  
  .category-title {
      font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .category-main-sidebar-container {
      /* padding: 40px 0; */
  }
  
  .category-layout {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .category-sidebar {
      position: static;
      order: 2;
  }
  
  .category-header-section {
      /* padding: 40px 0; */
      /* margin-bottom: 60px; */
  }
  
  .category-header-container {
      flex-direction: column;
      gap: 20px;
      text-align: left;
      align-items: flex-start;
  }
  
  .category-header-top {
      display: flex;
      flex-direction: row;
      gap: 20px;
      align-items: center;
      width: 100%;
  }
  
  .category-image-section {
      width: 100px;
      flex: 0 0 100px;
  }
  
  .category-thumbnail,
  .category-placeholder {
      width: 100px;
      height: 100px;
  }

  .category-post-card .post-meta {
    margin-bottom: 0px;
  }
  
  .category-title-section {
      display: block;
  }
  
  .category-content-section .category-title {
      display: none;
  }
  
  .category-title {
      font-size: 24px;
      margin-bottom: 0;
  }
  
  .category-description {
      font-size: 14px;
      margin-top: 0;
  }
  
  .category-meta {
      flex-direction: column;
      gap: 8px;
      align-items: flex-start;
  }
  
  .category-popular-grid,
  .category-recent-grid {
      gap: 20px;
  }
  
  .category-post-card {
      flex-direction: column;
  }
  
  .category-post-card .post-thumbnail,
  .category-post-card .post-placeholder {
      width: 100%;
      height: 200px;
  }
  
  .category-post-card .post-content {
      padding: 20px;
  }
  
  .category-post-card .post-title {
      font-size: 1rem;
  }
  
  .category-pagination {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  
  .category-layout {
      gap: 30px;
  }
  
  
  .category-header-container {
      flex-direction: column;
      gap: 16px;
      text-align: left;
      align-items: flex-start;
  }
  
  .category-header-top {
      display: flex;
      flex-direction: row;
      gap: 16px;
      align-items: center;
      width: 100%;
  }
  
  .category-image-section {
      width: 80px;
      flex: 0 0 80px;
  }
  
  .category-thumbnail,
  .category-placeholder {
      width: 80px;
      height: 80px;
  }
  
  .category-title-section {
      display: block;
  }
  
  .category-content-section .category-title {
      display: none;
  }
  
  .category-title {
      font-size: 18px;
      margin-bottom: 0;
  }
  
  .category-description {
      font-size: 13px;
      margin-top: 0;
  }
  
  .category-meta {
      flex-direction: column;
      gap: 8px;
      align-items: flex-start;
  }
  
  .category-post-card .post-thumbnail,
  .category-post-card .post-placeholder {
      height: 180px;
  }
  
  .category-post-card .post-content {
      padding: 16px 0 0 0;
  }
  
  .category-post-card .post-title {
      font-size: 0.95rem;
  }
  
  .category-post-card .post-excerpt {
      font-size: 0.85rem;
  }
  
  .category-post-card .post-tag {
      font-size: 11px;
      padding: 2px 6px;
  }
  
  .category-pagination .page-numbers {
      padding: 6px 12px;
      font-size: 0.8rem;
  }
}

/* ========================================
   サイドバー
======================================== */
#sidebar {
  @media (max-width: 768px) {
    margin-top: 0;
  }
}

#media_image-2.widget_media_image img{
  width: 100%;
}


/* ========================================
   Swellテーマ - モバイルフローティングメニュー非表示
======================================== */

/* Swellのスマホ用フローティングハンバーガーメニューを非表示 */
#fix_bottom_menu {
  display: none !important;
}

/* ========================================
   ギャラリーセクション（サービスセクションと同じUI）
======================================== */

.top-page-gallery-section {

}
.top-page-gallery-section .header-wrapper {
  padding: 24px 0;
  text-align: center;
  font-size: 28px;
  border-bottom: 2px solid #333;
  font-weight: bold;
}
.gallery-wrapper {
  max-width: 2000px;
  margin: 0 auto;
}
.top-page-gallery-section .gallery-label {
  font-size: 28px;
  font-weight: 900;
  text-align: left;
  padding-left: 36px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.gallery-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.gallery-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.gallery-card {
  background: white;
  overflow: hidden;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  padding: 24px;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 2/3 = 0.6667 = 66.67% (横:縦=3:2のアスペクト比) */
  aspect-ratio: 3 / 2; /* モダンブラウザ用 */
  overflow: hidden;
}

/* aspect-ratioサポート時はpaddingを無効化 */
@supports (aspect-ratio: 3 / 2) {
  .gallery-image {
    height: auto;
    padding-bottom: 0;
  }
}

.gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  /* text-align: center; */
  padding: 20px;
}

.gallery-overlay-title {
  color: white;
  font-size: 1rem;
  /* font-weight: 600; */
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.05em;
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝B, "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .gallery-container {
      grid-template-columns: repeat(2, 1fr);
  }
  
  /* 2列表示の時、右側（偶数番目）のアイテムの右線を削除 */
  .gallery-card:nth-child(even) {
      border-right: none;
  }
}

/* 4列表示の時、4の倍数のアイテムの右線を削除 */
@media (min-width: 1025px) {
  .gallery-card:nth-child(4n) {
      border-right: none;
  }
}

@media (max-width: 768px) {
  .top-page-gallery-section {
    padding: 60px 0;
  }

  .top-page-gallery-section .gallery-label {
    font-size: 16px;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .top-page-gallery-section .header-wrapper {
    font-size: 16px;
    padding: 12px 0;
    font-weight: 600;
  }
  
  .gallery-card {
    border-right: none;
  }
  

  
  .gallery-overlay-title {
      font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .top-page-gallery-section {
      padding: 0;
  }
  
  .gallery-card {
      border-right: none;
  }
  
  .gallery-overlay-title {
      font-size: 1rem;
  }
}

/* 画像が登録されていない場合のメッセージ */
.no-gallery-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-gallery-message p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.no-gallery-message a {
  color: #333;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.no-gallery-message a:hover {
  color: #666;
  text-decoration: none;
}

/* 評価システムのスタイル */
.post-rating {
    margin: 10px 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

.star-rating {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    margin-right: 5px;
}

.star-rating .star {
    display: inline-block;
    margin-right: 2px;
    transition: color 0.2s ease;
}

.star-rating .star.filled {
    color: #B8860B;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.star-rating .star.half {
    color: #B8860B;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

.star-rating .star.empty {
    color: #e0e0e0;
    text-shadow: none;
}

.rating-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-left: 5px;
}

/* 記事詳細ページの評価表示 */
.article-evaluation {
    margin: 30px 0;
    padding: 25px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-evaluation .evaluation-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #B8860B;
    border-left: none;
    padding-bottom: 10px;
}

/* 詳細表示スタイル */
.article-evaluation-detailed .evaluation-overall {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.article-evaluation-detailed .overall-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-evaluation-detailed .overall-rating-display {
    font-size: 24px;
}

.article-evaluation-detailed .evaluation-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.article-evaluation-detailed .evaluation-item {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-evaluation-detailed .item-label {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.article-evaluation-detailed .item-rating {
    font-size: 18px;
    margin-left: 15px;
}

/* シンプル表示スタイル */
.article-evaluation-simple {
    text-align: center;
    padding: 20px;
}

.article-evaluation-simple .evaluation-overall {
    font-size: 24px;
    margin-top: 15px;
}

/* コンパクト表示スタイル */
.article-evaluation-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-evaluation-compact .evaluation-overall {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.article-evaluation-compact .overall-rating-display {
    font-size: 20px;
    margin-top: 10px;
}

.article-evaluation-compact .evaluation-items-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.article-evaluation-compact .evaluation-item-compact {
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.article-evaluation-compact .item-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-align: center;
}

.article-evaluation-compact .item-rating {
    font-size: 16px;
}

/* 評価なしの場合 */
.article-evaluation.no-rating {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    color: #666;
    font-style: italic;
}

/* 投稿詳細ページの評価表示 */
.post-ratings-display {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.post-ratings-display .overall-rating {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #ffb400;
}

.post-ratings-display .overall-rating h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.post-ratings-display .overall-rating .rating-value {
    font-size: 20px;
}

.post-ratings-display .detailed-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.post-ratings-display .rating-item {
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.post-ratings-display .rating-label {
    display: inline-block;
    font-weight: 500;
    color: #333;
    margin-right: 10px;
    min-width: 120px;
}

.post-ratings-display .rating-item .star-rating {
    font-size: 16px;
}

.post-ratings-display .rating-item .rating-text {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
}

.no-rating {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
    background: #f5f5f5;
    border-radius: 6px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .post-ratings-display .detailed-ratings {
        grid-template-columns: 1fr;
    }
    
    .post-ratings-display .rating-label {
        min-width: auto;
        display: block;
        margin-bottom: 5px;
    }
    
    .star-rating {
        font-size: 16px;
    }
    
    .post-ratings-display .overall-rating .rating-value {
        font-size: 18px;
    }
    
    /* ヒーローセクションのモバイル対応 */
    .hero-rating .star-rating {
        font-size: 20px;
    }
    
    .hero-rating .rating-text {
        font-size: 16px;
    }
    
    /* 記事詳細ページの評価表示のモバイル対応 */
    .article-evaluation {
        margin: 20px 0;
        padding: 20px;
    }
    
    .article-evaluation .evaluation-title {
        font-size: 18px;
    }
    
    .article-evaluation-detailed .evaluation-items {
        grid-template-columns: 1fr;
    }
    
    .article-evaluation-detailed .evaluation-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .article-evaluation-detailed .item-label {
        margin-bottom: 10px;
    }

    .article-evaluation-detailed .item-rating {
      margin-left: 0;
      font-size: 16px;
    }
    
    .article-evaluation-detailed .item-label {
      font-size: 16px;
    }
    
    .article-evaluation-detailed .overall-rating-display {
      font-size: 20px;
    }
    
    .article-evaluation-compact .evaluation-items-compact {
        flex-direction: column;
        align-items: center;
    }
    
    .article-evaluation-compact .evaluation-item-compact {
        min-width: 200px;
    }
    
    .article-evaluation-simple .evaluation-overall {
        font-size: 20px;
    }
}

/* ヒーローセクションでの評価表示 */
.hero-rating {
    margin: 15px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.hero-rating .star-rating {
    font-size: 24px;
    margin-right: 8px;
}

.hero-rating .star-rating .star {
    margin-right: 3px;
}

.hero-rating .rating-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* 投稿一覧での評価表示の調整 */
.featured-post-card .post-rating,
.seasonal-post-card .post-rating,
.category-post-card .post-rating {
    margin: 8px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.featured-post-card .post-rating .star-rating,
.seasonal-post-card .post-rating .star-rating,
.category-post-card .post-rating .star-rating {
    font-size: 18px;
}

.featured-post-card .post-rating .rating-text,
.seasonal-post-card .post-rating .rating-text,
.category-post-card .post-rating .rating-text {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* ホバー効果 */
.post-rating:hover .star-rating .star.filled {
    color: #DAA520;
    transform: scale(1.05);
}

.post-rating:hover .star-rating .star.empty {
    color: #d0d0d0;
}