/* =========================================================
   梵 Coffee & Pub — Stylesheet
   カラーパレット: ウォームブラウン系
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --coffee-dark:    #2c1a0e;
  --coffee-deep:    #3d2314;
  --coffee-medium:  #6b3f2a;
  --coffee-warm:    #8b5e3c;
  --coffee-light:   #c49a6c;
  --coffee-cream:   #f5ede0;
  --coffee-latte:   #e8d5bb;
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;
  --text-dark:      #1e0f05;
  --text-body:      #3a2518;
  --text-light:     #f5ede0;
  --text-muted:     #7a5c45;
  --white:          #ffffff;

  --font-serif:  'Noto Serif JP', 'Playfair Display', Georgia, serif;
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-display:'Playfair Display', var(--font-serif);

  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(44,26,14,0.15);
  --shadow-md:  0 8px 30px rgba(44,26,14,0.25);
  --shadow-lg:  0 20px 60px rgba(44,26,14,0.35);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: clamp(60px, 10vw, 120px);
}

/* ---------- 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(--text-body);
  background-color: var(--coffee-cream);
  line-height: 1.8;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Fixed Coffee Background ---------- */
.bg-fixed-coffee {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('見本.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  filter: brightness(0.32) sepia(0.3);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 26, 14, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(30, 15, 5, 0.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}
.logo-ja {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-en {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  color: var(--coffee-light);
  letter-spacing: 0.1em;
  font-style: italic;
}

/* Desktop Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}
.main-nav a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--coffee-latte);
  letter-spacing: 0.08em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }
.main-nav .nav-cta {
  background: var(--gold);
  color: var(--coffee-dark);
  padding: 7px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85rem;
}
.main-nav .nav-cta:hover { background: var(--gold-light); }
.main-nav .nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coffee-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: rgba(30, 15, 5, 0.98);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.open {
  max-height: 400px;
}
.mobile-nav ul {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  color: var(--coffee-latte);
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--gold); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 15, 5, 0.55) 0%,
    rgba(30, 15, 5, 0.30) 50%,
    rgba(30, 15, 5, 0.70) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: var(--gold-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}
.hero-title-ja {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title-en {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.8rem);
  color: var(--gold-light);
  letter-spacing: 0.3em;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: var(--coffee-latte);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
  line-height: 1.9;
}

.hero-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 40px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-btn:hover {
  background: var(--gold);
  color: var(--coffee-dark);
  transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll-indicator span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--coffee-light);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* =========================================================
   CONTENT WRAPPER (overlays the fixed background)
   ========================================================= */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* =========================================================
   SECTIONS — Common
   ========================================================= */
.section {
  padding: var(--section-pad) clamp(16px, 5vw, 40px);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-style: italic;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: clamp(32px, 6vw, 64px);
  position: relative;
  padding-bottom: 20px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--coffee-light));
  border-radius: 2px;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
  background: rgba(245, 237, 224, 0.96);
  backdrop-filter: blur(6px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about-text p {
  margin-bottom: 18px;
  line-height: 2;
  color: var(--text-body);
}

.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  color: var(--coffee-medium);
  font-weight: 700;
  margin-bottom: 24px !important;
  line-height: 1.6 !important;
}

/* Info Card */
.about-info-card {
  background: var(--coffee-dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.about-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  letter-spacing: 0.1em;
}
.about-info-card dl dt {
  font-size: 0.75rem;
  color: var(--coffee-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 4px;
}
.about-info-card dl dt:first-child { margin-top: 0; }
.about-info-card dl dd {
  color: var(--coffee-cream);
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-info-card dl dd a {
  color: var(--gold-light);
  transition: color var(--transition);
}
.about-info-card dl dd a:hover { color: var(--white); }

.tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  background: var(--gold);
  color: var(--coffee-dark);
  padding: 14px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.tel-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.5);
}
.tel-icon { font-size: 1.1rem; }

/* =========================================================
   MESSAGE SECTION
   ========================================================= */
.message-section {
  background: rgba(61, 35, 20, 0.92);
  backdrop-filter: blur(8px);
}

.message-section .section-title {
  color: var(--coffee-cream);
}
.message-section .section-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.message-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: clamp(40px, 7vw, 80px);
}

.message-card {
  background: rgba(245, 237, 224, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.message-card:hover {
  background: rgba(245, 237, 224, 0.13);
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.5);
}
.message-card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1;
}
.message-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.message-card p {
  color: var(--coffee-latte);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* CTA Box */
.message-cta-box {
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(245, 237, 224, 0.06);
}
.message-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--coffee-cream);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.cta-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--coffee-dark);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}
.cta-tel-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.55);
}
.cta-tel-btn .tel-icon { font-size: 1.3rem; }
.message-hours {
  margin-top: 16px;
  color: var(--coffee-light);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* =========================================================
   STORE SECTION
   ========================================================= */
.store-section {
  background: rgba(245, 237, 224, 0.96);
  backdrop-filter: blur(6px);
}

.store-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.store-photo {
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(201, 168, 76, 0.3);
  object-fit: cover;
  transition: transform var(--transition), box-shadow var(--transition);
}
.store-photo:hover {
  transform: scale(1.015);
  box-shadow: 0 24px 70px rgba(44, 26, 14, 0.4);
}

.store-photo-caption {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* =========================================================
   ACCESS SECTION
   ========================================================= */
.access-section {
  background: rgba(44, 26, 14, 0.92);
  backdrop-filter: blur(8px);
}

.access-section .section-title {
  color: var(--coffee-cream);
}
.access-section .section-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.access-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.access-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.access-detail p {
  color: var(--coffee-latte);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 14px;
}
.access-hours, .access-tel {
  color: var(--coffee-latte) !important;
}
.access-tel a {
  color: var(--gold-light);
  transition: color var(--transition);
}
.access-tel a:hover { color: var(--white); }

.access-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--gold);
  color: var(--coffee-dark);
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.access-tel-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(201, 168, 76, 0.25);
  min-height: 400px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  background: rgba(245, 237, 224, 0.97);
  backdrop-filter: blur(8px);
}

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

.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 40px;
  font-family: var(--font-serif);
}

.contact-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--coffee-dark);
  color: var(--coffee-cream);
  padding: clamp(18px, 3vw, 26px) clamp(32px, 6vw, 64px);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(201, 168, 76, 0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}
.contact-tel-btn:hover {
  background: var(--coffee-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.contact-tel-btn .tel-icon { font-size: 1.8rem; }
.contact-tel-label {
  display: block;
  font-size: 0.78rem;
  color: var(--coffee-light);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.contact-tel-number {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--gold-light);
  letter-spacing: 0.08em;
  font-family: var(--font-serif);
}
.contact-hours {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--coffee-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: clamp(40px, 6vw, 70px) clamp(16px, 5vw, 40px) clamp(28px, 4vw, 50px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.footer-logo-ja {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-logo-en {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--coffee-light);
  font-style: italic;
  letter-spacing: 0.1em;
}

.footer-info p {
  color: var(--coffee-latte);
  font-size: 0.85rem;
  line-height: 2;
}
.footer-info a {
  color: var(--gold-light);
  transition: color var(--transition);
}
.footer-info a:hover { color: var(--white); }

.footer-copy {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%   { transform: scaleY(1); opacity: 1; }
  50%  { transform: scaleY(0.5); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-info-card {
    max-width: 480px;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }
  .map-wrap iframe { height: 340px; }

  .message-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-title-ja { font-size: clamp(4rem, 22vw, 6rem); }

  .about-info-card { max-width: 100%; }

  .store-photo { border-radius: var(--radius); }

  .contact-tel-btn {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .message-cards {
    max-width: 100%;
  }
}
