/*
Theme Name: hyottoko
Theme URI: 
Author: 
Author URI: 
Description: モバイルファースト対応のWordPressテーマ。両側背景固定、中央コンテンツ表示のレイアウト。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hyottoko
Tags: mobile-first, responsive, custom-background
*/

/* ============================================
   リセット & ベーススタイル
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* ============================================
   レイアウト構造（モバイルファースト）
   ============================================ */

/* 外側のコンテナ（両側背景固定用） */
.site-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* 左側背景 */
.left-background {
  position: fixed;
  left: 0;
  top: 0;
  width: calc((100% - 430px - 200px - 200px) / 2 + 200px);
  height: 100vh;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

/* 中央コンテンツエリア */
.site-container {
  max-width: 430px;
  width: 100%;
  margin-left: calc((100% - 430px - 200px - 200px) / 2 + 200px);
  margin-right: calc((100% - 430px - 200px - 200px) / 2 + 200px);
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* 右側背景 */
.right-background {
  position: fixed;
  right: 0;
  top: 0;
  width: calc((100% - 430px - 200px - 200px) / 2 + 200px);
  height: 100vh;
  min-height: 660px;
  z-index: 0;
  /* 背景画像はfunctions.phpで動的に設定 */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ヘッダー */
.site-header {
  width: 100%;
  background-color: #ffffff;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.site-title a {
  text-decoration: none;
  color: #333;
}

.site-description {
  font-size: 0.875rem;
  color: #666;
}

/* ナビゲーション（ヘッダー内 - 非表示、右側メニューを使用） */
.main-navigation {
  display: none;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-navigation a {
  text-decoration: none;
  color: #333;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

/* .main-navigation a:hover,
.main-navigation a:focus {
  background-color: #f0f0f0;
} */

/* 左側背景のスタイル */
.left-background-top {
  width: 100%;
  height: auto;
}

.left-poster-image {
  width: 90%;
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}

.left-background-bottom {
  width: 50%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.left-bottom-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* サイドメニュー（右側背景内） */
.side-menu {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 10rem 1rem 3rem;
  max-width: 360px;
  margin: 0 auto;
}

.side-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.side-menu-list li {
  margin: 0;
}

.side-menu-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  transition: all 0.3s;
}

.side-menu-list a::after {
  content: '';
  display: none;
  position: absolute;
  right: 1rem;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* アクティブなメニュー項目の画像を表示（そのページにいるとき） */
.side-menu-list a.active::after {
  display: block;
}

/* アクティブなメニュー項目のホバー時も画像を表示 */
.side-menu-list a.active:hover::after,
.side-menu-list a.active:focus::after {
  display: block;
}

/* TOPメニュー項目（最初の項目）で、アクティブでない場合はホバーしても画像を表示しない */
.side-menu-list li:first-child a:not(.active):hover::after,
.side-menu-list li:first-child a:not(.active):focus::after {
  display: none;
}

/* その他のメニュー項目（お知らせ、歴史、お問い合わせ）はホバー時に画像を表示 */
.side-menu-list li:not(:first-child) a:hover::after,
.side-menu-list li:not(:first-child) a:focus::after {
  display: block;
}

/* SNSアイコン */
.side-sns {
  width: 100%;
  padding: 2rem 1rem;
  max-width: 360px;
  margin: 0 auto;
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.sns-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.sns-list li {
  margin: 0;
}

.sns-icon {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

.sns-list a:hover .sns-icon,
.sns-list a:focus .sns-icon {
  transform: scale(1.1);
  opacity: 0.8;
}

/* .side-menu-list a:hover,
.side-menu-list a:focus {
  background-color: rgba(255, 255, 255, 1);
  transform: translateX(-5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
} */

/* メインコンテンツエリア */
.site-main {
  width: 100%;
  padding: 1rem 0;
}

/* ヘッダーコンテンツ（全ページ共通） */
.header-content {
  width: 100%;
  text-align: center;
}

.header-logo {
  width: 100%;
}

.logo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
}

.header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ファーストビューセクション（トップページのみ） */
.first-view {
  width: 100%;
  text-align: center;
}

/* 先頭固定お知らせ（FV画像の上・1件） */
.fv-pinned-news {
  width: 100%;
  max-width: 100%;
  margin: 2rem auto 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

.fv-pinned-news__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  border: 2px solid #E50012;
  text-decoration: none;
  color: #333333;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.fv-pinned-news__link:hover {
  opacity: 0.9;
}

.fv-pinned-news__badge {
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  background-color: #E50012;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
}

.fv-pinned-news__title {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}

.fv-pinned-news + .fv-image {
  margin-top: 1rem;
}

.fv-logo {
  width: 100%;
}

.fv-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.fv-image {
  width: 100%;
  margin-top: 2rem;
}

.fv-main-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.fv-schedule {
  width: 100%;
  max-width: fit-content;
  margin: 2rem auto 0;
  text-align: left;
}

.schedule-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E50012;
  text-shadow:
    -1px -1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
  margin-bottom: 1rem;
}

.schedule-item {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

.schedule-label {
  font-size: 1.25rem;
  font-weight: bold;
  color: #E50012;
  text-shadow:
    -1px -1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
  min-width: 4em;
  text-align: left;
}

.schedule-date {
  font-size: 1.25rem;
  font-weight: bold;
  color: #E50012;
  text-shadow:
    -1px -1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
}

/* 最新情報セクション */
.latest-info {
  width: 100%;
  margin-top: 3rem;
}

.info-header {
  background-color: #E50012;
  padding: 1rem 1.5rem;
}

.info-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.info-content {
  background-color: #ffffff;
  border-top: none;
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  position: relative;
}

.info-content::-webkit-scrollbar {
  width: 8px;
}

.info-content::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.info-content::-webkit-scrollbar-thumb {
  background: #87CEEB;
  border-radius: 4px;
}

.info-content::-webkit-scrollbar-thumb:hover {
  background: #6BB6D6;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-link {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.info-link:hover {
  opacity: 0.7;
}

.info-date {
  font-size: 0.875rem;
  color: #666;
  min-width: 100px;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.875rem;
  color: #333;
  flex: 1;
}

.info-more-link {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.info-more-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
}

.info-more-button:hover,
.info-more-button:focus {
  background-color: #f5f5f5;
  color: #333;
}

/* 歴史ページのスタイル */
.history-section {
  width: 100%;
  margin-top: 2rem;
}

.history-title {
  background-color: #E50012;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 1.5rem;
  margin: 0 0 2rem 0;
  text-align: center;
}

.history-subsection {
  margin-bottom: 2.5rem;
}

.history-subtitle {
  background-color: #E50012;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  margin: 0 0 1rem 0;
}

.history-content {
  background-color: #ffffff;
  padding: .5rem 1.5rem;
  line-height: 1.8;
}

.history-content p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 0.875rem;
}

.history-content p:last-child {
  margin-bottom: 0;
}

.history-item {
  margin-bottom: 2rem;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-item-title {
  font-size: 1.125rem;
  font-weight: bold;
  padding: 0 1.5rem;
}

/* オリジナルグッズセクション */
.original-goods-section {
  width: 100%;
  margin-top: 2rem;
}

.goods-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.goods-item {
  width: 100%;
}

.goods-image-wrapper {
  width: 100%;
  border: 2px solid #FFD700;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.goods-image {
  width: 100%;
  height: auto;
  display: block;
}

.goods-item-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin: 0.75rem 0 0.25rem;
}

.goods-price {
  font-size: 1rem;
  font-weight: bold;
  color: #E50012;
  text-align: center;
  margin: 0 0 0.5rem;
}

.goods-description {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.65;
  padding: 0 0.25rem;
}

.goods-description p {
  margin: 0 0 0.5rem;
}

.goods-description p:last-child {
  margin-bottom: 0;
}

.goods-empty {
  font-size: 1rem;
  color: #666666;
  text-align: center;
  margin: 1rem 0;
}

/* お知らせセクション */
.news-section {
  width: 100%;
  margin-top: 2rem;
}

.news-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  width: 90%;
  margin: 0 auto;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s;
}

.news-item:hover {
  background-color: #f9f9f9;
  border-color: #E50012;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 先頭固定表示（sticky）: 一覧で目立たせる */
.news-item.sticky {
  border: 2px solid #E50012;
  border-left-width: 6px;
  background-color: #fff8f8;
  box-shadow: 0 2px 10px rgba(229, 0, 18, 0.12);
}

.news-item.sticky:hover {
  background-color: #fff0f0;
  border-color: #C4000F;
  box-shadow: 0 4px 14px rgba(229, 0, 18, 0.18);
}

.news-item.sticky .news-title {
  font-weight: bold;
}

.news-item.sticky .news-title a {
  color: #1a1a1a;
}

.news-item-pinned {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(229, 0, 18, 0.25);
}

.news-item-pinned__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background-color: #E50012;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  border-radius: 3px;
  line-height: 1.3;
}

.news-date {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.5;
}

.news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.news-title a:hover,
.news-title a:focus {
  color: #E50012;
  text-decoration: underline;
}

.news-pagination {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-prev-link,
.news-next-link {
  display: inline-block;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.news-prev-link:hover,
.news-prev-link:focus,
.news-next-link:hover,
.news-next-link:focus {
  color: #E50012;
  text-decoration: underline;
}

/* 日向関連画像セクション */
.hyuga-images {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hyuga-image-item {
  width: 100%;
}

.hyuga-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* お問い合わせ・コピーライトセクション */
.contact-copyright {
  width: 100%;
  margin-top: 3rem;
  padding: 2rem 0 0 0;
}

.contact-info {
  width: 80%;
  margin: 0 auto 2rem auto;
}

.contact-organization {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-postal {
  font-size: 0.875rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.contact-address {
  font-size: 0.875rem;
  color: #333;
  margin-bottom: 0.75rem;
}

.contact-link {
  font-size: 0.875rem;
  color: #333;
}

.contact-link-text {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.3s;
}

.contact-link-text:hover,
.contact-link-text:focus {
  color: #0052a3;
}

/* フッターバナー広告カルーセル */
.footer-banner-carousel {
  width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* 1枚: スライドなし・トラックを中央に */
.footer-banner-carousel--single .banner-carousel-wrapper {
  overflow: visible;
}

.footer-banner-carousel--single .banner-carousel-track {
  display: flex;
  justify-content: center;
  transform: none !important;
  transition: none !important;
}

.footer-banner-carousel--single .banner-carousel-slide {
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}

.banner-carousel-wrapper {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.banner-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.banner-carousel-slide {
  flex-shrink: 0;
  width: 250px;
  margin: 0 10px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.banner-carousel-slide.active {
  opacity: 1;
}

.banner-carousel-slide a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.banner-image {
  width: 250px;
  height: 120px;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}

.banner-caption {
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #333;
  text-align: center;
  background-color: #fff;
}

.banner-carousel-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 1rem;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #d0d0d0;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

.banner-dot:hover,
.banner-dot:focus {
  background-color: #999;
  outline: none;
}

.banner-dot.active {
  background-color: #FFD700;
}

/* お問い合わせ: よくある質問モーダル */
.contact-faq-link-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
  text-align: center;
}

.contact-faq-trigger {
  display: inline-block;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  color: #E50012;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.contact-faq-trigger:hover,
.contact-faq-trigger:focus {
  color: #C4000F;
  outline: none;
}

.contact-faq-trigger:focus-visible {
  outline: 2px solid #E50012;
  outline-offset: 2px;
}

.contact-faq-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: min(92vw, 40rem);
  max-height: 85vh;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.contact-faq-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.contact-faq-modal__panel {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.contact-faq-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #E50012;
}

.contact-faq-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
  flex: 1;
  text-align: left;
}

.contact-faq-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-faq-modal__close:hover,
.contact-faq-modal__close:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.contact-faq-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
}

.contact-faq-modal__content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333333;
}

.contact-faq-modal__content p {
  margin: 0 0 0.75rem;
}

.contact-faq-modal__content p:last-child {
  margin-bottom: 0;
}

.contact-faq-modal__content a {
  color: #E50012;
  text-decoration: underline;
}

.contact-faq-item {
  margin: 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid #e8e8e8;
}

.contact-faq-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.5;
}

.contact-faq-item__q-text {
  flex: 1;
  min-width: 0;
}

.contact-faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444444;
}

.contact-faq-item__a-inner {
  flex: 1;
  min-width: 0;
}

.contact-faq-item__mark {
  flex-shrink: 0;
  width: 1.25rem;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.5;
  color: #E50012;
  text-align: center;
}

.contact-faq-item__a .contact-faq-item__mark {
  line-height: 1.65;
}

.contact-faq-item__a-inner p {
  margin: 0 0 0.5rem;
}

.contact-faq-item__a-inner p:last-child {
  margin-bottom: 0;
}

body.contact-faq-modal-open {
  overflow: hidden;
}

/* お問い合わせ: プライバシーポリシーモーダル（FAQ モーダルと同系のレイアウト） */
.contact-privacy-modal .contact-privacy-modal__content {
  text-align: left;
}

.contact-privacy-modal .contact-privacy-modal__content h2,
.contact-privacy-modal .contact-privacy-modal__content h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-privacy-modal .contact-privacy-modal__content p {
  margin-bottom: 0.75rem;
}

.contact-privacy-modal .contact-privacy-modal__content p:last-child {
  margin-bottom: 0;
}

/* お問い合わせフォーム */
.contact-form-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.contact-form-field {
  margin-bottom: 1.5rem;
}

.contact-form-field label {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
  color: #333;
}

/* お問い合わせフォームの入力フィールド（通常時はピンク背景、フォーカス時は赤い枠線） */
.contact-input-name,
.contact-input-email,
.contact-input-phone,
.contact-input-message,
input.wpcf7-form-control.wpcf7-text[name="your-name"],
input.wpcf7-form-control.wpcf7-email[name="your-email"],
input.wpcf7-form-control.wpcf7-tel[name="your-phone"],
textarea.wpcf7-form-control.wpcf7-textarea[name="your-message"] {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #FFE5E5;
  box-sizing: border-box;
}

/* フォーカス時（クリックして入力するとき）は赤い枠線と白背景 */
.contact-input-name:focus,
.contact-input-email:focus,
.contact-input-phone:focus,
.contact-input-message:focus,
input.wpcf7-form-control.wpcf7-text[name="your-name"]:focus,
input.wpcf7-form-control.wpcf7-email[name="your-email"]:focus,
input.wpcf7-form-control.wpcf7-tel[name="your-phone"]:focus,
textarea.wpcf7-form-control.wpcf7-textarea[name="your-message"]:focus {
  background-color: #fff;
  border: 2px solid #E50012;
  outline: none;
}

textarea.contact-input-message,
textarea.wpcf7-form-control.wpcf7-textarea[name="your-message"] {
  min-height: 120px;
  resize: vertical;
}

/* チェックボックス */
.contact-form-checkbox {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
  cursor: pointer;
}

.contact-form-checkbox label {
  display: inline;
  font-size: 0.9rem;
  cursor: pointer;
}

/* 送信ボタン */
.contact-submit-button,
input.wpcf7-submit {
  width: 100%;
  max-width: 300px;
  padding: 1rem 2rem;
  background-color: #E50012;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  position: relative;
  transition: background-color 0.3s;
}

.contact-submit-button:hover,
input.wpcf7-submit:hover {
  background-color: #C4000F;
}

input.wpcf7-submit:disabled,
input.wpcf7-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #999999;
  pointer-events: none;
}

input.wpcf7-submit:disabled:hover,
input.wpcf7-submit[disabled]:hover {
  background-color: #999999;
}

/* Contact Form 7のエラーメッセージ */
.wpcf7-not-valid-tip {
  color: #E50012;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ok {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  text-align: center;
}

.wpcf7-validation-errors {
  background-color: #FFE5E5;
  color: #E50012;
  border: 1px solid #E50012;
}

.wpcf7-mail-sent-ok {
  background-color: #E5F5E5;
  color: #006600;
  border: 1px solid #006600;
}

.copyright-info {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.fv-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s;
}

.fv-button:hover,
.fv-button:focus {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fv-button.parking-button {
  border-color: #E50012;
  color: #E50012;
}

.fv-button.parking-button:hover,
.fv-button.parking-button:focus {
  background-color: #E50012;
  color: #ffffff;
}

.fv-button.parking-button:hover .button-icon,
.fv-button.parking-button:focus .button-icon {
  filter: brightness(0) invert(1);
}

.fv-button.recruit-button {
  border-color: #003893;
  color: #003893;
  flex-direction: row-reverse;
}

.fv-button.recruit-button:hover,
.fv-button.recruit-button:focus {
  background-color: #003893;
  color: #ffffff;
}

.fv-button.recruit-button:hover .button-icon,
.fv-button.recruit-button:focus .button-icon {
  filter: brightness(0) invert(1);
}

.button-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

/* 踊り手募集アイコンは少し大きいので調整 */
.recruit-button .button-icon {
  width: 47px;
  height: 47px;
}

.button-text {
  white-space: nowrap;
}

/* 記事・ページコンテンツ */
.entry-content {
  width: 100%;
  max-width: 100%;
}

/* 記事内容ページ（single.php）のエントリコンテンツ */
article.post .entry-content {
  padding: 0 2rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  /* margin-top: 1.5rem; */
  line-height: 1.4;
}

.entry-content h1 {
  font-size: 1.75rem;
}

.entry-content h2 {
  font-size: 1.2rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content a:hover {
  color: #0052a3;
}

/* エントリーヘッダー */
.entry-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* 記事内容ページ（single.php）のエントリーヘッダー */
article.post .entry-header {
  text-align: left;
  padding: 2rem;
}

.entry-date {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.entry-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
}

/* ページタイトル（ボタン下） */
.page-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E50012;
  text-align: center;
  margin: 2rem 0;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
}

.page-title::before,
.page-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #FFD700;
}

.page-title::before {
  top: 0;
}

.page-title::after {
  bottom: 0;
}

.entry-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.entry-title a:hover {
  color: #0066cc;
}

/* エントリーメタ */
.entry-meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.entry-meta span {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.entry-meta a {
  color: #666;
  text-decoration: none;
}

.entry-meta a:hover {
  color: #0066cc;
  text-decoration: underline;
}

/* 投稿サムネイル */
.post-thumbnail {
  margin-bottom: 1.5rem;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* エントリーフッター */
.entry-footer {
  margin: 2rem;
  font-size: 0.875rem;
  color: #666;
}

.entry-footer .tags-links,
.entry-footer .cat-links {
  margin-bottom: 0.5rem;
}

.entry-footer a {
  color: #666;
  text-decoration: none;
}

.entry-footer a:hover {
  color: #0066cc;
  text-decoration: underline;
}

/* 記事一覧へ戻るボタン */
.back-to-news {
  margin-top: 2rem;
  text-align: center;
}

.back-to-news-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
}

.back-to-news-button:hover,
.back-to-news-button:focus {
  background-color: #f5f5f5;
  color: #333;
}

/* ページネーション */
.posts-navigation,
.post-navigation {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-previous,
.nav-next {
  flex: 1;
  min-width: 200px;
}

.nav-previous a,
.nav-next a {
  display: block;
  padding: 0.75rem 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
  background-color: #e0e0e0;
}

.nav-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.nav-title {
  display: block;
  font-weight: bold;
}

/* ページネーション（番号付き） */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #333;
  background-color: #f5f5f5;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  background-color: #e0e0e0;
}

.pagination .page-numbers.current {
  background-color: #0066cc;
  color: #ffffff;
}

.pagination .page-numbers.dots {
  background-color: transparent;
}

/* ページリンク（複数ページの投稿） */
.page-links {
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.page-links a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  text-decoration: none;
  color: #0066cc;
  border: 1px solid #0066cc;
  border-radius: 4px;
}

.page-links a:hover {
  background-color: #0066cc;
  color: #ffffff;
}

/* アーカイブページヘッダー */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

.page-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.archive-description {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
}

/* カスタムロゴ */
.site-logo {
  margin-bottom: 1rem;
}

.site-logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

/* ============================================
   レスポンシブ対応は一旦無効化
   ============================================ */