/* ====== Base ====== */
:root {
  
  --brand: #4CAF93;
  --brand-dark: #3a8c75;
  --accent: #00a0c0;
  --text: #333;
  --heading: #2c3e50;
  --bg: #fff;
  --bg-soft: #f9fdfd;
  --news-bg: #f0fafa;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  
}



body {
  margin: 0;
  font-family: 'Geist', sans-serif;
  color: var(--text);
  line-height: 1.9; 
  background: var(--bg);
  padding-top: 70px;
}
#contact p { line-height: 2.5; } 


h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 1rem;
  color: var(--heading);
}

.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: auto;
}

/* ====== Header ====== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo a { display: inline-flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0; margin: 0;
}
.nav-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}
.nav-list a:hover { color: var(--accent); }

.lang-switch { font-size: 0.9rem; }
.lang-switch a {
  color: var(--brand);
  text-decoration: none;
  margin: 0 0.3rem;
}
.lang-switch a:hover { text-decoration: underline; }


.nav-list a:focus,
.lang-switch a:focus,
.qr-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ====== Hero ====== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 580px; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/hero-soba-full.jpg') center/cover no-repeat;
  z-index: -2;
}
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 54, 65, 0.28);   /* ← 0.45 → 0.28 に薄く変更 */
  z-index: -1;
}

#hero .hero-content { 
  padding: 0 1rem; 
  z-index: 2;
}

/* ヒーロータイトル */
.prism-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8.5vw, 5.2rem);   /* 調整済み */
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
  animation: fadeInUp 1.8s ease forwards;
  opacity: 0;
  margin: 0;
  padding: 0 1rem;
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.28em;
  font-weight: 400;
  margin-top: 0.6rem;
  opacity: 0;
  animation: fadeInUp 2s ease 0.7s forwards;
  text-transform: uppercase;
}




.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;              
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 380px;          
  min-width: 300px;
}

.about-image {
  flex: 0 0 460px;          
  max-width: 500px;
  min-width: 420px;
}


.about-image img {
  width: 100%;
  height: 320px;           
  object-fit: cover;       
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


.about-image img:hover {
  transform: scale(1.03);
}


@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    gap: 2rem;
  }
  .about-text,
  .about-image {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
/* ====== Menu ====== */
#menu { background: var(--bg-soft); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

.menu-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.menu-card:nth-child(1) { animation-delay: 0.15s; }
.menu-card:nth-child(2) { animation-delay: 0.3s; }
.menu-card:nth-child(3) { animation-delay: 0.45s; }

.menu-card:hover { 
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.menu-card img {
  width: 100%;
  height: 222px;           
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.menu-card h3 {
  margin: 0;
  padding: 1rem;
  font-family: 'Playfair Display', serif;
  color: var(--heading);
}
.menu-card p {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #666;
}

/* ボタン */
.qr-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.06s ease;
}
.qr-btn:hover { 
  background: var(--brand-dark);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.qr-btn:active { transform: translateY(1px); }

/* ====== News ====== */
#news { background: #fff; }
#news ul { list-style: none; padding: 0; margin: 0; }
#news li {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid var(--accent);
  background: var(--news-bg);
}

/* ====================== News Teaser  ====================== */
.news-teaser {
  padding: 70px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #f0f9f7, #f8fbfa);
}

.news-teaser h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5vw, 2.6rem);
  color: #2c5f5a;
  margin-bottom: 2rem;
  position: relative;
}

.news-teaser h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #8dd3c3;
}

.index-news-container {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.index-news-item {
  background: rgba(255,255,255,0.85);
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  text-align: left;
  border-left: 5px solid #8dd3c3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.index-news-item:hover {
  transform: translateY(-3px);
}

.index-news-date {
  font-size: 0.9rem;
  color: #5a8a7f;
  margin-bottom: 0.4rem;
}

.index-news-title {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
}

.news-btn {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  background: #5ab8a1;
  color: white;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(90, 184, 161, 0.3);
  transition: all 0.3s ease;
}

.news-btn:hover {
  background: #4a9e8a;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(90, 184, 161, 0.4);
}

/* ====== Contact ====== */
#contact {
  scroll-margin-top: 50px;   /* 小さめにしておく */
}
#contact a { color: var(--accent); }
#contact .map {
  margin-top: 1.5rem;
  border: 2px solid var(--brand);
  border-radius: 6px;
  overflow: hidden;
}
#contact .qr-btn { background: var(--brand); color: #fff; }
#contact .qr-btn:hover { background: var(--brand-dark); color: #fff; }



.contact-images {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 0 0 480px;
  max-width: 520px;
}

.contact-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.contact-image:hover img {
  transform: scale(1.04);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .contact-images {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .contact-image {
    height: 240px;   
  }
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--heading);
  color: #eee;
}

/* ====== ハンバーガーメニュー ====== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  gap: 5.5px;
  padding: 8px;
  border-radius: 12px;
  transition: background-color 0.4s ease;
}

.hamburger:hover {
  background-color: rgba(76, 175, 147, 0.08);
}

.hamburger span {
  width: 24px;
  height: 2.8px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1); 
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  width: 27px;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0.6);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 27px;
}

/* ====== 開いた時のメニュー ====== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 75px;
    right: 15px;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    min-width: 200px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    
    
    border: 2px solid var(--brand);           
    /* border: 2px solid #4CAF93; */         
    
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 999;
  }

  nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .nav-list li a {
    display: block;
    padding: 0.6rem 0.4rem;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a:hover {
    color: var(--brand);
    padding-left: 0.8rem;
  }
}

/* ====== Animations ====== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


.petal {
  position: absolute;
  width: 12px;
  height: 18px;
  background: #ff7eb9; /* 桜色 */
  border-radius: 50% 50% 50% 50%;
  opacity: 0.8;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.about-image {
  flex: 1;
  max-width: 520px;           
}


.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}



.subcopy {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #6a6a6a;
  margin-top: -0.3rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
}

/* ==================== ロゴサイズ統一 ==================== */
.logo img {
  height: 36px;           
  width: auto;
  display: block;
  max-width: 100%;
}


.logo {
  display: flex;
  align-items: center;
}
 


/* 共通ボタンスタイル */
.qr-btn, .news-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: #5ab8a1;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px !important;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(90, 184, 161, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.qr-btn:hover, .news-btn:hover {
  background: #4a9e8a;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(90, 184, 161, 0.4);
}


.section {
  padding: 5.5rem 2rem;
  max-width: 1100px;
  margin: auto;
}


#about, #contact { background: #f8fbfa; }
#menu, #news { background: #fff; }


#menu h2, #contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5vw, 2.6rem);
  color: #2c5f5a;
  margin-bottom: 2.2rem;
  position: relative;
  text-align: center;
}

#menu h2::after, #contact h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #8dd3c3;
}

.reservation-btn-wrapper {
  text-align: center;
  margin: 1.8rem 0 2rem;
}

@media (max-width: 768px) {
  .reservation-btn-wrapper {
    margin: 2rem 0;
  }
  
  .reservation-btn-wrapper .qr-btn {
    display: block;
    max-width: 280px;
    margin: 0 auto;
  }
}

.section h2 {
  margin-top: 0.4rem;      
  margin-bottom: 3.8rem;   
}


.news-teaser h2 {
  margin-top: 0.2rem;
  margin-bottom: 2.6rem;
}



.reservation-text {
  font-size: 1.12rem;
  color: #2c5f5a;
  margin-bottom: 1.6rem;
}


.reservation-btn-wrapper {
  text-align: left !important;   
  margin: 1.6rem 0 2.2rem;
}

@media (max-width: 768px) {
  .reservation-btn-wrapper {
    text-align: center !important;
  }
  
  .reservation-btn-wrapper {
    text-align: center;
  }
  
  .reservation-btn-wrapper .qr-btn {
    display: block;
    max-width: 280px;
    margin: 0 auto;
  }
}




#about h2 {
  margin-bottom: 3rem;     
}

#menu h2, #contact h2 {
  margin-top: 0.3rem;
  margin-bottom: 5.6rem;   
}

.news-teaser h2 {
  margin-top: 0.2rem;
  margin-bottom: 2.6rem;
}

.reservation-text {
  font-size: 1.12rem;
  color: #2c5f5a;
  margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
  .reservation-text {
    text-align: center;
  }
}


body {
  padding-top: 78px;   
}


header {
  padding: 0.75rem 2rem;   
}


header {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}