/*
Theme Name: 八仙大通
Theme URI: https://8000-odori.com
Description: 塩ジンギスカン八仙大通 オリジナルテーマ
Version: 1.0
Author: 八仙大通
*/

/* Reset */
html, body {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

a {
  color: #772222;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 3px solid #772222;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.site-title a {
  color: #333;
  text-decoration: none;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: #772222;
  text-decoration: none;
}

/* Main Content */
.site-content {
  width: 100%;
  min-height: 60vh;
}

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

/* Full Width Section */
.full-width {
  width: 100%;
}

/* Button */
.btn {
  display: inline-block;
  background: #772222;
  color: #fff !important;
  padding: 15px 50px;
  border-radius: 5px;
  font-size: 18px;
  text-decoration: none !important;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #5a1919;
  text-decoration: none !important;
}

/* Footer */
.site-footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.site-footer a {
  color: #fff;
}

/* Grid - 商品紹介用 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

/* Card */
.card {
  text-align: center;
  padding: 15px;
}

.card h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.card img {
  margin-bottom: 15px;
}

.card p {
  font-size: 14px;
  margin: 0;
}

/* Hero Video */
.hero-video {
  width: 100%;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  display: block;
}

/* Section */
.section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-dark {
  background: #000;
  color: #fff;
}

.section-bg {
  background-size: cover;
  background-position: center;
  color: #fff;
}

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

/* Blog */
.blog-list {
  margin-top: 20px;
}

.blog-list article {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.blog-list article:last-child {
  border-bottom: none;
}

.blog-list article h2 {
  font-size: 22px;
  margin: 0 0 10px 0;
}

.blog-list article h2 a {
  color: #772222;
}

.blog-list article h2 a:hover {
  color: #5a1919;
}

.blog-list .post-date {
  color: #888;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-list .post-thumbnail {
  margin-bottom: 15px;
}

.blog-list .post-excerpt {
  margin-bottom: 15px;
}

/* Entry Content - Single Post */
.entry-content {
  line-height: 2;
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content img {
  margin: 20px 0;
}

/* Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-decoration: none;
}

.nav-links a:hover {
  background: #f5f5f5;
}

.nav-links .current {
  background: #772222;
  color: #fff;
  border-color: #772222;
}

/* Page Title */
.page-title {
  font-size: 28px;
  border-bottom: 3px solid #772222;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 15px;
  }
  
  .site-title {
    font-size: 18px;
  }
  
  .main-nav ul {
    gap: 10px;
    font-size: 12px;
    justify-content: center;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 10px;
  }
  
  .card h2 {
    font-size: 16px;
  }
  
  .card p {
    font-size: 12px;
  }
  
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }
  
  .blog-list article h2 {
    font-size: 18px;
  }
  
  .page-title {
    font-size: 22px;
  }
}

/* ===== Menu Page Styles ===== */
.menu-section {
  margin-bottom: 50px;
}

.menu-heading {
  font-size: 28px;
  color: #772222;
  border-bottom: 3px solid #772222;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.menu-category {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.menu-category.full-width {
  grid-column: 1 / -1;
}

.category-title {
  font-size: 20px;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #772222;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #772222;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

.category-note {
  font-size: 14px;
  color: #772222;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-left: 5px;
  border-left: 3px solid #772222;
}

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

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dotted #ddd;
}

.menu-list li:last-child {
  border-bottom: none;
}

.item-name {
  flex: 1;
  padding-right: 15px;
}

.item-price {
  font-weight: bold;
  color: #772222;
  white-space: nowrap;
}

.menu-note {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
}

/* Course Section */
.course-section {
  background: #1a1a1a;
  color: #fff;
  padding: 50px 30px;
  margin: 40px 0;
  border-radius: 8px;
}

.course-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.course-image img {
  width: 100%;
  border-radius: 8px;
}

.course-content h2 {
  font-size: 28px;
  margin: 0 0 20px 0;
  color: #fff;
}

.course-price {
  font-size: 18px;
  margin-bottom: 20px;
}

.course-price strong {
  font-size: 24px;
  color: #ff9999;
}

.course-content ul {
  padding-left: 20px;
  margin: 0;
}

.course-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Menu Responsive */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .menu-category {
    padding: 15px;
  }
  
  .category-title {
    font-size: 18px;
  }
  
  .course-section {
    padding: 30px 20px;
  }
  
  .course-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-content h2 {
    font-size: 22px;
  }
  
  .menu-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .item-price {
    align-self: flex-end;
  }
}

/* ===== Access Page Styles ===== */
.access-note {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.map-container {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  display: block;
}

.shop-info-box {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 40px;
}

.shop-info-box h2 {
  font-size: 28px;
  color: #772222;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #772222;
  display: inline-block;
}

.shop-details {
  max-width: 500px;
  margin: 0 auto;
}

.shop-details .address {
  font-size: 18px;
  margin-bottom: 25px;
}

.shop-details .hours {
  margin-bottom: 25px;
}

.shop-details .hours h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #772222;
}

.shop-details .hours p {
  margin: 5px 0;
}

.shop-details .closed {
  color: #c00;
  font-weight: bold;
}

.shop-details .phone {
  font-size: 24px;
  font-weight: bold;
  margin: 25px 0;
}

.shop-details .phone a {
  color: #772222;
}

.shop-details .notes {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 14px;
  color: #666;
}

.shop-details .notes li {
  padding: 5px 0 5px 20px;
  position: relative;
}

.shop-details .notes li:before {
  content: ※;
  position: absolute;
  left: 0;
}

.shop-details .warning {
  background: #fff3cd;
  color: #856404;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
}

.access-info {
  background: #333;
  color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  text-align: center;
}

.access-info h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
}

.transport-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.transport-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.transport-icon {
  font-size: 24px;
}

.transport-text {
  flex: 1;
}

.transport-text strong {
  color: #ffcc00;
}

@media (max-width: 768px) {
  .shop-info-box {
    padding: 25px 20px;
  }
  
  .shop-info-box h2 {
    font-size: 22px;
  }
  
  .shop-details .phone {
    font-size: 20px;
  }
  
  .access-info {
    padding: 25px 20px;
  }
}


/* ===== Hero Video Pattern Overlay ===== */
.hero-video {
  position: relative;
}

.hero-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  /* Diagonal line pattern - darker */
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.3) 2px,
    rgba(0,0,0,0.3) 4px
  );
  transition: opacity 0.8s ease;
}

.hero-video.no-overlay::after {
  opacity: 0;
}
