/**
 * 周辺観光ページ専用スタイル
 * Nozomi Theme
 */

/* 全体のレイアウト */
.dining-section {
  background-color: var(--bg-gray);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* ページヘッダー */
body.page-template-sightseeing .dining-section .entry-header,
.page .dining-section .entry-header,
.dining-section .entry-header {
  background-color: var(--bg-gray) !important;
  padding: 10px 0 !important;
  text-align: center !important;
  margin-bottom: 0 !important;
  min-height: 40px !important;
  max-height: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

body.page-template-sightseeing .dining-section .entry-title,
.page .dining-section .entry-title,
.dining-section .entry-title {
  font-size: 2.2rem !important;
  color: var(--primary-dark) !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-serif) !important;
  line-height: 1.2 !important;
}

/* ヒーローセクション */
.info-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 300px;
  overflow: hidden;
  background-color: var(--bg-gray);
  margin: 0;
  padding: 0;
}

.info-hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.info-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.info-hero-title {
  font-size: 3rem;
  font-weight: normal;
  margin: 0;
  font-family: var(--font-serif);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-hero-subtitle {
  font-size: 1.2rem;
  font-weight: normal;
  margin-top: 0.5rem;
  letter-spacing: 0.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 紹介セクション */
.dining-intro {
  background-color: white;
  padding: 60px 20px;
  margin: 0;
  text-align: center;
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background-color: transparent;
  box-shadow: none;
}

.intro-title {
  font-size: 2rem;
  color: var(--primary-dark);
  margin: 0 0 30px;
  font-family: var(--font-serif);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.intro-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 1.5px;
}

.intro-description {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-dark);
  margin: 0;
}

/* メインセクション */
.meal-sections {
  padding: 0;
  margin: 0;
}

.meal-category {
  padding: 80px 0;
  position: relative;
  margin: 0;
}

/* 観光スポットセクション共通 */
.meal-category.body {
  background-color: var(--bg-gray);
}

.meal-category.facial {
  background-color: white;
}

.meal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.meal-text {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* 画像コンテナ */
.meal-images-container {
  flex: 0 0 65%;
  position: relative;
}

.meal-images {
  width: 100%;
  position: relative;
}

.meal-image {
  width: 100%;
  height: 0;
  padding-bottom: 66.67%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.meal-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* 酒列磯前神社の画像位置調整 */
.meal-image img[src*="torii.jpg"] {
  object-position: center 70%;
}

.meal-image:hover img {
  transform: scale(1.05);
}

/* テキストコンテナ */
.meal-description {
  flex: 0 0 35%;
}

.meal-title {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin: 0 0 10px;
  font-family: var(--font-serif);
  line-height: 1.4;
  font-weight: normal;
}

.meal-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  margin: 0 0 25px;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-family: var(--font-en);
}

.meal-description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.distance-info {
  margin-top: 20px;
  padding: 10px 15px;
  background: rgba(230, 180, 34, 0.1);
  color: #9B6E1F;
  display: inline-block;
  border-radius: 4px;
  font-size: 1rem;
}

/* 観光スポット情報 */
.menu-highlights {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.menu-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-highlights li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1.2em;
  padding: 12px 15px;
  position: relative;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-highlights li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.menu-highlights li strong {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-right: 1em;
  font-weight: normal;
  font-family: var(--font-serif);
  min-width: 120px;
}

.menu-highlights li .distance {
  font-weight: 500;
  color: #9B6E1F;
  margin-right: 1em;
  min-width: 90px;
  background: rgba(230, 180, 34, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.menu-highlights li .description {
  flex: 1;
  font-size: 1rem;
  color: var(--text-gray);
  margin-top: 0.3em;
  line-height: 1.5;
  width: 100%;
}

/* 観光案内セクション */
.location-section {
  background-color: white;
  padding: 40px 0;
}

.location-info {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.location-details {
  padding: 35px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.location-hours,
.location-extra,
.location-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.location-note {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon {
  flex: 0 0 40px;
  height: 40px;
  background: rgba(155, 110, 31, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon .material-icons {
  color: var(--primary-dark);
  font-size: 24px;
}

.hours-content,
.extra-content,
.note-content {
  flex: 1;
  text-align: left;
}

.hours-content h3,
.extra-content h3,
.note-content h3 {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin: 0 0 8px;
  font-weight: normal;
}

.note-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .meal-text {
    gap: 40px;
  }

  .meal-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* スマホでのフォントサイズ調整 */
  .info-hero-title {
    font-size: 2rem;
  }
  
  .sightseeing-title {
    font-size: 1.5rem;
  }
  
  .sightseeing-content h3 {
    font-size: 1.1rem;
  }
  
  .sightseeing-content p {
    font-size: 0.85rem;
  }
  
  .info-hero {
    height: 30vh;
  }

  .meal-category {
    padding: 60px 0;
  }

  .meal-content {
    padding: 0 20px;
  }

  .meal-text {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .meal-images-container,
  .meal-description {
    flex: none;
    width: 100%;
  }

  .meal-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .meal-subtitle {
    text-align: center;
  }

  .distance-info {
    display: block;
    text-align: center;
  }

  .menu-highlights {
    padding: 20px;
  }

  .menu-highlights li {
    padding: 10px;
    margin-bottom: 1em;
    font-size: 1rem;
  }

  .menu-highlights li strong {
    font-size: 1.1rem;
    min-width: 100px;
  }

  .menu-highlights li .distance {
    min-width: 80px;
    padding: 2px 6px;
  }

  .menu-highlights li .description {
    font-size: 0.95rem;
    margin-top: 0.2em;
  }

  .location-section {
    padding: 30px 0;
  }

  .location-details {
    padding: 25px;
  }

  .info-icon {
    flex: 0 0 35px;
    height: 35px;
  }

  .info-icon .material-icons {
    font-size: 20px;
  }

  .note-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .info-hero {
    height: 25vh;
  }
  
  .info-hero-title {
    font-size: 2rem;
  }
  
  .info-hero-subtitle {
    font-size: 1rem;
  }

  .meal-category {
    padding: 40px 0;
  }

  .meal-content {
    padding: 0 15px;
  }

  .meal-text {
    gap: 20px;
  }

  .meal-title {
    font-size: 1.6rem;
  }

  .meal-description-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .menu-highlights {
    padding: 15px;
  }

  .menu-highlights li {
    padding: 8px;
    margin-bottom: 0.8em;
    font-size: 0.95rem;
  }

  .menu-highlights li strong {
    font-size: 1rem;
    min-width: 90px;
  }

  .menu-highlights li .distance {
    min-width: 70px;
    padding: 1px 4px;
  }

  .menu-highlights li .description {
    font-size: 0.9rem;
    margin-top: 0.2em;
  }

  .location-section {
    padding: 20px 0;
  }

  .location-details {
    padding: 20px;
  }

  .info-icon {
    flex: 0 0 30px;
    height: 30px;
  }

  .info-icon .material-icons {
    font-size: 18px;
  }

  .note-text {
    font-size: 0.95rem;
  }
} 