/* Reset and Base */
body {
  margin: 0;
  
  background-color: #fff;
  color: #333;
}
html, body {
  overflow-x: hidden;
}
    body {
      font-family: 'Zen Old Mincho', serif;
      font-size: 1.2rem;
      line-height: 1.8;
      
      background: #fdfcf8;
    }
    h1 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}
@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
    width: 100%;
    height: auto;
  }
}




/* ====== HEADER ====== */
.mobile-nav-toggle{
  display: none;
}
.site-header{
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1em;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 100px;
  width: auto;
}

.logo p {
  font-size: 13px;
  margin: 0;
  color: #888;
}

/* Navigation links */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #a00;
}
.nav-and-sns {
  display: flex;
  flex-direction: row;
  align-items: center; /* or flex-start */
  gap: 2rem;
  margin-top: 1%;
}

/* Social icons */
.sns-icons {
  display: flex;
  justify-content: flex-end;

  gap: 15px;

}

.sns-icons a {
  font-size: 16px;
  color: #555;
  text-decoration: none;
}

.sns-icons a:hover {
  color: #000;
}

/* ===== お知らせ BOX CONTAINER ===== */
.oshirase-box {
  position: absolute;
  bottom: 5rem;
  right: 2rem;
  max-width: 360px;
  padding: 1.5rem;
  background-color: rgba(30, 25, 20, 0.682); /* rich dark-brown overlay */
  color: #f5f0e8; /* warm off-white text */
  border-radius: 16px;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  font-family: 'Zen Old Mincho', serif;
  z-index: 10;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.oshirase-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.oshirase-header h2 {
  font-size: 1.2rem;
  margin: 0;
  color: #fdf8ed;
  border-bottom: none;
}

/* Button */
.oshirase-link {
  font-size: 0.9rem;
  color: #e3b36b;
  text-decoration: none;
  transition: color 0.3s;
}

.oshirase-link:hover {
  color: #f1d39a;
}

/* List */
.oshirase-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oshirase-box ul li {
  margin-bottom: 0.75rem;
}

.oshirase-box ul li a {
  color: #f5f0e8;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  transition: color 0.3s;
}

.oshirase-box ul li a:hover {
  color: #e3b36b;
  text-decoration: underline;
}

/* Mobile: stack naturally under video */
@media (max-width: 767px) {
  .oshirase-box {
    position: static;
    margin: 0;
    max-width: 100%;
    transform: none;
    
    background: rgba(30, 30, 30, 0.9); /* slightly brighter for mobile readability */
     border-radius: 2px;
  }
}

/* Optional Responsive: stack nav on small screens */
@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    margin: 10px 0;
  }

  .sns-icons {
    justify-content: center;
    margin-top: 0;
  }
}
.nav-links a {
  position: relative;
  display: inline-block;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a::after {
  content: attr(data-hover);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #a00;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}
.animated-line {
  width: 0%;
  height: 4px;
  background-color: #a00; /* Or any color you like */
  margin-top: 1em;
  animation: lineExpand 1s ease-out forwards;
}

@keyframes lineExpand {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
/*top*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #111;
  color: #c09f67;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.back-to-top:hover {
  background-color: #222;
  box-shadow: 0 0 8px #c09f67, 0 0 16px #c09f67;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
/* Fade animation overlay */
#page-transition {
  position: fixed;
  inset: 0;
  background: #f8f1e9; /* match your brand */
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#page-transition.active {
  opacity: 1;
  pointer-events: all;
}
html {
  scroll-behavior: smooth;
}
.language-switcher {
  position: absolute;
  top: 12px;
  right: 70px; /* enough space from the hamburger */
  font-size: 0.9rem;
  z-index: 999;
  display: flex;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.8); /* subtle bg */
  padding: 2px 8px;
  border-radius: 4px;
}

.language-switcher .lang-btn {
  color: #33333395;
  text-decoration: none;
  font-weight: bold;
}

.language-switcher .lang-btn:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .language-switcher {
    top: 8px;
    right: 55px;
    font-size: 0.75rem;
    padding: 2px 6px;
    background-color: rgba(255, 255, 255, 0.9);
  }

  .language-switcher .lang-btn {
    font-weight: 400;
  }
}
.delivery-banners {
  position: absolute;
  top: 12px;
  left: 20px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  z-index: 1000;
}

.banner-dropdown {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.banner-dropdown:hover {
  transform: scale(1.03);
}

.banner-toggle {
  height: 60px;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  display: block;
 
  transition: all 0.3s ease;
}

/* Animate dropdown appearance */
.dropdown-links {
  position: absolute;
  top: 70px;
  left: 0;
  background: rgba(255, 255, 255, 0.873);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.banner-dropdown.open .dropdown-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-links a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.dropdown-links a:hover {
  color: #d33;
  border-bottom: 1px solid #d33;
}

/* Optional hover arrow effect */
.dropdown-links a::after {
  content: ' →';
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
}

.dropdown-links a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .delivery-banners {
    bottom: auto;
   top: 150px;
    right: auto;
    left: 12px;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
    position: absolute;
  }

  .banner-toggle {
    height: 44px;
  }

  .dropdown-links {
    top: 50px;
    right: auto;
    left: 0;
    min-width: 120px;
  }
}

