@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Sans", "Noto Sans JP", "Microsoft YaHei", sans-serif;
  background-color: #9f2327;
  color: #333;
  min-height: 100vh;
}

/* ===== Header ===== */
.header {
  text-align: center;
  padding: 28px 16px 10px;
  background: linear-gradient(180deg, #8a1e21 0%, #9f2327 100%);
}

.logo-link {
  display: inline-block;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0 16px 24px;
  background-color: #9f2327;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  border: none;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: #fff;
  background: none;
  transform: none;
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a.active {
  color: #fff;
  background: none;
  font-weight: 500;
}

.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===== Banner ===== */
.banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ===== Section Title Decoration ===== */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title-deco {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9f2327);
}

.section-title-deco:last-child {
  background: linear-gradient(90deg, #9f2327, transparent);
}

.section-title-deco--light {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5)) !important;
}

.section-title-deco--light:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent) !important;
}

/* ===== Sections Common ===== */
.section-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 400;
  color: #9f2327;
  margin-bottom: 0;
  position: relative;
  padding-bottom: 0;
  letter-spacing: 4px;
}

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

.section-title-wrap + .about-content,
.section-title-wrap + .feature-grid,
.section-title-wrap + .info-preview-card,
.section-title-wrap + .sns-preview-links {
  margin-top: 0;
}

/* Fallback for pages without .section-title-wrap */
.section-title:not(.section-title-wrap .section-title) {
  margin-bottom: 28px;
  padding-bottom: 16px;
}

.section-title:not(.section-title-wrap .section-title)::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: #9f2327;
}

/* ===== Greeting Section ===== */
.section-greeting {
  background: #fff;
  padding: 44px 20px;
}

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

.greeting-content p {
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 12px;
}

/* ===== About Section (Top Page) ===== */
.section-about {
  background: #fff;
  padding: 56px 20px;
  position: relative;
}

/* .section-about::before removed */

.about-content {
  max-width: 620px;
  margin: 0 auto;
}

.about-content p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

/* .about-content p:first-child::first-line removed */

.about-quote {
  margin-top: 36px;
  padding: 32px 28px;
  background: linear-gradient(135deg, #faf3f3 0%, #f5eaea 100%);
  border-radius: 6px;
  text-align: center;
  position: relative;
}

/* .about-quote::before quotation mark removed */

.about-quote p {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 500;
  color: #9f2327;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-align: center;
}

.about-quote span {
  font-size: 13.5px;
  color: #888;
  letter-spacing: 0.5px;
}

/* ===== Feature Cards Section ===== */
.section-features {
  background: linear-gradient(180deg, #faf3f3 0%, #f5ecec 100%);
  padding: 56px 20px;
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9f2327, #c9454a);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(159, 35, 39, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.feature-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ===== Popular Items Section ===== */
.section-popular {
  background: #fff;
  padding: 44px 20px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.popular-item {
  text-align: center;
  transition: transform 0.25s;
}

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

.popular-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.popular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.popular-item:hover .popular-img img {
  transform: scale(1.05);
}

.popular-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.popular-price {
  font-size: 15px;
  font-weight: bold;
  color: #9f2327;
}

.btn-more {
  display: inline-block;
  padding: 12px 40px;
  background: transparent;
  color: #9f2327;
  text-decoration: none;
  border: 1px solid #9f2327;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 1.5px;
  transition: all 0.35s ease;
}

.btn-more:hover {
  background: #9f2327;
  color: #fff;
  box-shadow: 0 4px 16px rgba(159, 35, 39, 0.25);
}

/* ===== Info Preview Section ===== */
.section-info-preview {
  background: #fff;
  padding: 56px 20px;
  position: relative;
}

.section-info-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0d4d4, transparent);
}

.info-preview-card {
  background: linear-gradient(135deg, #faf8f6 0%, #faf3f3 100%);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(159, 35, 39, 0.06);
}

.info-preview-row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid rgba(159, 35, 39, 0.08);
  gap: 12px;
  transition: background 0.2s;
}

.info-preview-row:hover {
  background: rgba(159, 35, 39, 0.02);
  border-radius: 4px;
}

.info-preview-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 14px;
  font-weight: 600;
  color: #9f2327;
  white-space: nowrap;
  min-width: 100px;
}

.info-value {
  font-size: 14px;
  color: #555;
}

/* ===== SNS Preview Section ===== */
.section-sns-preview {
  background: linear-gradient(135deg, #9f2327 0%, #7a1a1d 100%);
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}

.section-sns-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.section-sns-preview .section-title {
  color: #fff;
}

.section-sns-preview .section-title::after {
  background: rgba(255, 255, 255, 0.6);
}

.sns-preview-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sns-preview-btn {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.5px;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
}

.sns-preview-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Rich Footer ===== */
.footer-rich {
  background: linear-gradient(180deg, #1a0e0e 0%, #120909 100%);
  padding: 48px 20px 0;
  position: relative;
}

.footer-rich::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: rgba(159, 35, 39, 0.5);
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col h3 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  color: #c9454a;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.footer-col h4 {
  font-size: 13px;
  color: #c9454a;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

/* Old simple footer (for sub pages) */
.footer {
  text-align: center;
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* ===== Hero Image (sub pages) ===== */
.hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Content Area (old, kept for compat) ===== */
.content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-card h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #9f2327;
}

.intro-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* ===== Page Content (sub pages) ===== */
main.page-content,
.page-content {
  background: #fff;
  min-height: 60vh;
  padding: 36px 20px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: block;
}

.page-content h1 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 400;
  color: #9f2327;
  margin-bottom: 32px;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(159, 35, 39, 0.3);
  letter-spacing: 4px;
}

.page-content h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 500;
  color: #9f2327;
  margin: 28px 0 14px;
  letter-spacing: 1px;
}

.page-content p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 18px;
}

/* ===== Menu Page ===== */

/* Menu Hero Card */
.menu-hero-card {
  background: linear-gradient(135deg, #faf3f3 0%, #f5ecec 100%);
  border: 1px solid rgba(159, 35, 39, 0.1);
  border-radius: 8px;
  padding: 32px 24px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.menu-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9f2327, #c9454a, #9f2327);
}

.menu-hero-price {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.menu-hero-price strong {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  color: #9f2327;
  font-weight: 600;
}

.menu-hero-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.menu-hero-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.menu-hero-icon {
  font-size: 18px;
}

/* Menu Notice */
.menu-notice {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px 20px;
  background: #fff;
  border: 1px dashed rgba(159, 35, 39, 0.25);
  border-radius: 6px;
}

.menu-notice p {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
  line-height: 1.8;
}

.menu-notice p:last-child {
  margin-bottom: 0;
}

.menu-notice strong {
  color: #9f2327;
}

.menu-notice a {
  color: #9f2327;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(159, 35, 39, 0.3);
  transition: border-color 0.2s;
}

.menu-notice a:hover {
  border-color: #9f2327;
}

/* Menu Category */
.menu-category {
  margin-bottom: 32px;
}

.menu-category h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 500;
  color: #9f2327;
  border-left: 3px solid #9f2327;
  padding-left: 14px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

/* Menu Dish Grid */
.menu-dish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.menu-dish-item {
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0ebe8;
  transition: all 0.25s;
  position: relative;
}

.menu-dish-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: #9f2327;
  transition: width 0.25s;
  border-radius: 0 2px 2px 0;
}

.menu-dish-item:hover {
  background: #faf5f3;
  padding-left: 20px;
}

.menu-dish-item:hover::before {
  width: 3px;
}

/* Old menu item styles (kept for compat) */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}

.menu-item-name {
  font-size: 15px;
  color: #333;
}

.menu-item-desc {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.menu-item-price {
  font-size: 16px;
  font-weight: bold;
  color: #9f2327;
  white-space: nowrap;
  margin-left: 16px;
}

/* ===== Store Info ===== */
.store-info-block {
  margin-bottom: 28px;
}

.store-info-block h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid #f0ebe8;
}

.info-table th {
  text-align: left;
  padding: 14px 10px;
  font-size: 14px;
  color: #9f2327;
  width: 100px;
  vertical-align: top;
  font-weight: 600;
}

.info-table td {
  padding: 14px 10px;
  font-size: 14px;
  color: #555;
}

/* ===== Store Map ===== */
.store-map {
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.store-map iframe {
  border-radius: 6px;
}

/* ===== SNS Page ===== */
.sns-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.sns-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #faf5f3 0%, #faf3f3 100%);
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  border: 1px solid rgba(159, 35, 39, 0.06);
  transition: all 0.35s ease;
}

.sns-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(159, 35, 39, 0.15);
}

.sns-icon {
  font-size: 36px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sns-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 500;
}

.sns-info p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* ===== Smooth Scroll & Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-about .about-content,
.section-features .feature-grid,
.section-info-preview .info-preview-card,
.section-sns-preview .sns-preview-links {
  animation: fadeInUp 0.6s ease both;
}

/* ===== Responsive ===== */
@media (max-width: 520px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .popular-name {
    font-size: 12px;
  }

  .popular-price {
    font-size: 13px;
  }

  .feature-grid {
    gap: 10px;
  }

  .feature-card {
    padding: 22px 14px;
  }

  .feature-icon {
    font-size: 28px;
  }

  .feature-card h3 {
    font-size: 13px;
  }

  .feature-card p {
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-preview-row {
    flex-direction: column;
    gap: 4px;
  }

  .menu-dish-grid {
    grid-template-columns: 1fr;
  }

  .menu-hero-price strong {
    font-size: 22px;
  }

  .menu-hero-card {
    padding: 22px 16px;
  }

  .section-title-deco {
    width: 24px;
  }
}

@media (min-width: 768px) {
  .logo-img {
    height: 150px;
  }

  .nav a {
    font-size: 14px;
    padding: 12px 24px;
    letter-spacing: 2.5px;
  }

  .section-title {
    font-size: 24px;
  }

  .page-content {
    padding: 44px;
  }

  .content {
    padding: 50px 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .greeting-content p {
    font-size: 16px;
  }

  .section-title-deco {
    width: 50px;
  }

  .about-content p {
    font-size: 15px;
  }

  .feature-card {
    padding: 36px 20px;
  }
}
