:root {
  /* Color Palette */
  --color-bg: #f9f8f6; /* 淡い温かみのあるベージュ */
  --color-text: #333333; /* 墨色に近い黒 */
  --color-accent: #6b8e23; /* 落ち着いたオリーブグリーン */
  --color-secondary: #8c8c8c;
  --color-white: #ffffff;
  
  /* Typography */
  --font-base: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', serif;
  --font-en: 'Cinzel', 'Trajan Pro', 'Didot', serif;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

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

/* Layout */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

/* Typography Classes */
.sec-title {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.sec-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 60px;
  color: var(--color-secondary);
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(249, 248, 246, 0.9);
  backdrop-filter: blur(5px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.header-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: var(--color-white);
  padding: 60px 0 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-info {
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-bottom: 40px;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.8);
}

.hero-content {
  text-align: center;
  color: var(--color-white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Button */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 30px;
}

.btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  opacity: 1;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

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

.card-content {
  padding: 30px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--color-accent);
}

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

/* No Image Placeholder */
.no-image {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-color: #eaeaea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  text-align: center;
  padding: 20px;
}

.no-image::before {
  content: 'NO IMAGE';
  font-size: 1.2rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.no-image-caption {
  font-size: 0.8rem;
  color: #666;
  font-family: var(--font-base);
}

/* Page Header for subpages */
.page-header {
  padding: 150px 0 80px;
  text-align: center;
  background-color: var(--color-white);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilities */
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { 
    font-size: 1.8rem; 
    line-height: 1.5;
  }
  .hero-subtitle { font-size: 0.9rem; }
  
  header { 
    padding: 15px 20px; 
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-links { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .section { 
    padding: 80px 0; 
  }

  .sec-title {
    font-size: 2rem;
  }

  .container {
    width: 92%;
  }
}

/* Logo Page Specific Styles */
.logo-image-wrapper {
  max-width: 280px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

/* Coming Soon Styles */
.badge-comingsoon {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #b38b4d;
  color: #b38b4d;
  font-size: 0.8rem;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  border-radius: 2px;
  margin-bottom: 25px;
  font-weight: 600;
}

/* ===== Cafe104 Detail Page Styles ===== */
.cafe-detail-hero {
  padding: 150px 0 80px;
  background-color: var(--color-white);
}

.cafe-detail-layout {
  display: flex;
  gap: 50px;
  align-items: center;
}

.cafe-detail-info {
  flex: 1.2;
}

.cafe-detail-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.cafe-detail-image img {
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  height: auto;
}

/* Tabs for Menu */
.menu-tabs-wrapper {
  margin-bottom: 40px;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

.menu-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-secondary);
  padding: 15px 30px;
  font-family: var(--font-base);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
  margin-bottom: -1px;
}

.menu-tab-btn:hover {
  color: var(--color-accent);
}

.menu-tab-btn.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

/* Menu Display */
.menu-panels {
  position: relative;
  min-height: 400px;
}

.menu-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-item-card {
  padding-bottom: 20px;
  border-bottom: 1px dashed #e2e2e2;
}

.menu-item-card:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.menu-item-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--color-secondary);
  line-height: 1.7;
}

.menu-item-image-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-item-image-preview img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Badge Marks */
.badge-container {
  display: inline-flex;
  gap: 5px;
}

.badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

.badge-asahi {
  background-color: #d4a373;
}

.badge-shio {
  background-color: #4a7c59;
}

.badge-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: flex-start;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

.badge-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* Access Section */
.access-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.access-details {
  background: var(--color-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

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

.access-table tr {
  border-bottom: 1px solid #eaeaea;
}

.access-table tr:last-child {
  border-bottom: none;
}

.access-table th {
  text-align: left;
  padding: 18px 0;
  width: 120px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  vertical-align: top;
}

.access-table td {
  padding: 18px 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.access-map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 380px;
}

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

/* Responsive for Cafe Detail */
@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .menu-item-image-preview {
    order: -1;
  }
  
  .menu-item-image-preview img {
    max-width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .access-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .access-map-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .cafe-detail-layout {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  .menu-tab-btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  
  .access-details {
    padding: 25px;
  }
  
  .access-table th,
  .access-table td {
    padding: 14px 0;
    font-size: 0.9rem;
  }
  
  .access-table th {
    width: 90px;
  }
}

/* ===== Simple Hero Section (index.html) ===== */
.hero-simple {
  height: 80vh;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* ヘッダー分 */
}

.hero-simple-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero-simple-logo-wrapper {
  width: 100%;
  max-width: 280px;
}

.hero-simple-logo-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-simple-title {
  font-family: var(--font-base);
  font-size: 2.2rem;
  font-weight: 600;
  color: #4a3e3d;
  letter-spacing: 0.15em;
  line-height: 1.4;
  margin-bottom: 5px;
}

.hero-simple-subtitle {
  font-family: var(--font-base);
  font-size: 1rem;
  color: #6b5c5b;
  letter-spacing: 0.2em;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero-simple {
    height: 70vh;
  }
  .hero-simple-logo-wrapper {
    max-width: 200px;
  }
  .hero-simple-title {
    font-size: 1.6rem;
  }
  .hero-simple-subtitle {
    font-size: 0.85rem;
  }
}

/* ===== Maru Work Page Styles ===== */
/* Step / Flow Section */
.flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.flow-step-card {
  background: var(--color-white);
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  text-align: center;
  position: relative;
  border-top: 3px solid var(--color-accent);
}

.flow-step-num {
  font-family: var(--font-en);
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
}

.flow-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.flow-step-text {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* Job Cards Grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.job-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.job-card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.job-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.job-card-title {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  font-weight: 600;
}

.job-card-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0;
}

.job-card-more {
  grid-column: span 2;
  background: #f1ede6;
  border: 1px dashed var(--color-accent);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
}

.job-card-more-title {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.job-card-more-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* Voice / Quote Section */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.voice-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
}

.voice-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: #f1ede6;
  font-family: serif;
  line-height: 1;
}

.voice-content {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 20px;
}

.voice-author {
  font-size: 0.85rem;
  color: var(--color-secondary);
  text-align: right;
  font-weight: 600;
}

/* Responsive for Maru Work */
@media (max-width: 992px) {
  .flow-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .job-grid {
    grid-template-columns: 1fr;
  }
  
  .job-card-more {
    grid-column: span 1;
  }
  
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .flow-container {
    grid-template-columns: 1fr;
  }
}

