/* ============================================
   浜名湖うなぎ紹介サイト - スタイルシート
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #5D4037;
  --color-primary-dark: #3E2723;
  --color-primary-light: #8D6E63;
  --color-accent: #C9A227;
  --color-accent-light: #E8D48B;
  --color-bg: #F5F0E8;
  --color-bg-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #D7CCC8;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-top: -2rem;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

section.alt-bg {
  background-color: var(--color-bg-white);
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo span {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1533050487297-09b450131914?w=1920&q=80') center/cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-content .lead {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
  line-height: 2;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid var(--color-accent);
}

.btn:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

/* --- Feature Cards --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card .card-img {
  height: 200px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}

.feature-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .card-body {
  padding: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Content Sections --- */
.content-section {
  padding-top: 120px;
  min-height: 100vh;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.column-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.column-text h2 {
  margin-bottom: 1.5rem;
}

.column-text p {
  color: var(--color-text-light);
}

.highlight-box {
  background: var(--color-bg-white);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

/* --- Shop Cards --- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.shop-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.shop-card .shop-img {
  height: 220px;
  background: var(--color-border);
  position: relative;
}

.shop-card .shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-card .shop-body {
  padding: 1.5rem;
}

.shop-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.shop-meta {
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.shop-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Access Section --- */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.access-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.access-box {
  background: var(--color-bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.access-box h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.access-box h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.access-box ul {
  list-style: none;
}

.access-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.access-box li:last-child {
  border-bottom: none;
}

/* --- Timeline (History) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 700;
}

.timeline-content {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links h4 {
  color: var(--color-accent-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content .subtitle {
    font-size: 1rem;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  .nav.open {
    transform: translateY(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .two-column.reverse {
    direction: ltr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    text-align: left !important;
  }
  
  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }
  
  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .content-section {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .features,
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
