/* ============================================
   Café Lumière — ランディングページ スタイルシート
   配色: ブラウン(#6B4423) × アイボリー(#F5EFE6)
   フォント: Noto Serif JP（明朝体）
   ============================================ */

/* --- リセット・基本設定 --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  color: #333333;
  background-color: #F5EFE6;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- 共通ユーティリティ --- */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション共通のフェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* セクションタイトル共通スタイル */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6B4423;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-title-en {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #A68B6B;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-divider {
  width: 40px;
  height: 1px;
  background-color: #6B4423;
  margin: 0 auto 48px;
}

/* ============================================
   ヘッダー / ナビゲーション
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.is-scrolled {
  background-color: rgba(245, 239, 230, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(107, 68, 35, 0.08);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6B4423;
  letter-spacing: 0.08em;
}

.logo span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: #A68B6B;
  letter-spacing: 0.2em;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 0.8rem;
  color: #6B4423;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #6B4423;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー（モバイル用） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #6B4423;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   1. ヒーローセクション
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ヒーロー画像の上にオーバーレイを敷いてテキストを読みやすくする */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(245, 239, 230, 0.25) 0%,
    rgba(107, 68, 35, 0.45) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  padding: 0 24px;
}

.hero-catchcopy {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.2s ease 0.5s forwards;
}

.hero-sub {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 20px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: heroFadeIn 1.2s ease 1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: heroFadeIn 1.2s ease 1.5s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}

/* hero-scroll用に translateX を維持するための専用 */
.hero-scroll {
  animation-name: heroFadeInScroll;
}

@keyframes heroFadeInScroll {
  to {
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================
   2. コンセプト紹介セクション
   ============================================ */
.concept {
  padding: 100px 0;
  text-align: center;
  background-color: #F5EFE6;
}

.concept-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 2.2;
  color: #555555;
  letter-spacing: 0.05em;
}

.concept-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 24px;
  opacity: 0.5;
}

.concept-icon svg {
  width: 100%;
  height: 100%;
  fill: #6B4423;
}

/* ============================================
   3. 人気メニュー紹介セクション
   ============================================ */
.menu {
  padding: 100px 0;
  background-color: #EDE6D8;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.menu-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(107, 68, 35, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(107, 68, 35, 0.12);
}

.menu-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #6B4423;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.menu-card-price {
  font-size: 0.85rem;
  color: #A68B6B;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.menu-card-desc {
  font-size: 0.8rem;
  color: #777777;
  line-height: 1.8;
}

/* ============================================
   4. 店舗情報セクション
   ============================================ */
.info {
  padding: 100px 0;
  background-color: #F5EFE6;
}

.info-content {
  max-width: 560px;
  margin: 0 auto;
}

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

.info-table tr {
  border-bottom: 1px solid #E0D5C5;
}

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

.info-table th,
.info-table td {
  padding: 18px 0;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
  letter-spacing: 0.05em;
}

.info-table th {
  width: 120px;
  color: #6B4423;
  font-weight: 600;
}

.info-table td {
  color: #555555;
}

/* Google Mapsへのリンクボタン */
.info-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6B4423;
  border-bottom: 1px solid #6B4423;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.info-map-link:hover {
  opacity: 0.7;
}

.info-map-link svg {
  width: 14px;
  height: 14px;
  fill: #6B4423;
}

/* ============================================
   5. SNSリンクセクション
   ============================================ */
.sns {
  padding: 80px 0;
  background-color: #EDE6D8;
  text-align: center;
}

.sns-text {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.sns-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background-color: #6B4423;
  color: #FFFFFF;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sns-button:hover {
  background-color: #553618;
  transform: translateY(-2px);
}

.sns-button svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* ============================================
   6. お問い合わせフォームセクション
   ============================================ */
.contact {
  padding: 100px 0;
  background-color: #F5EFE6;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: #6B4423;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.form-label .required {
  font-size: 0.7rem;
  color: #C0835A;
  margin-left: 8px;
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: "Noto Serif JP", serif;
  font-size: 0.9rem;
  color: #333333;
  background-color: #FFFFFF;
  border: 1px solid #D8CFC0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #6B4423;
  box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #BFBAB3;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background-color: #6B4423;
  color: #FFFFFF;
  font-family: "Noto Serif JP", serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.form-submit:hover {
  background-color: #553618;
}

.form-submit:active {
  transform: scale(0.98);
}

/* 送信完了メッセージ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success.is-visible {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: #6B4423;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

.form-success-text {
  font-size: 0.95rem;
  color: #6B4423;
  margin-bottom: 8px;
}

.form-success-sub {
  font-size: 0.8rem;
  color: #999999;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   フッター
   ============================================ */
.footer {
  padding: 40px 0;
  background-color: #6B4423;
  text-align: center;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 600;
  color: #F5EFE6;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(245, 239, 230, 0.5);
  letter-spacing: 0.1em;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

/* タブレット */
@media (max-width: 768px) {
  /* ナビゲーション：モバイルメニュー化 */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(245, 239, 230, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 99;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

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

  .hamburger {
    display: flex;
    z-index: 101;
  }

  /* モバイルメニュー背景オーバーレイ */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* メニューグリッド：2列に変更 */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* 店舗情報テーブル */
  .info-table th {
    width: 100px;
  }
}

/* スマートフォン */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  /* ヒーロー */
  .hero {
    min-height: 500px;
  }

  .hero-catchcopy {
    letter-spacing: 0.06em;
  }

  .hero-sub {
    font-size: 0.75rem;
  }

  /* コンセプト */
  .concept {
    padding: 72px 0;
  }

  .concept-text {
    font-size: 0.85rem;
    line-height: 2;
  }

  /* メニューグリッド：1列に変更 */
  .menu {
    padding: 72px 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .menu-card-body {
    padding: 20px;
  }

  /* 店舗情報：テーブルを縦並びに */
  .info {
    padding: 72px 0;
  }

  .info-table th,
  .info-table td {
    display: block;
    padding: 0;
  }

  .info-table th {
    padding-top: 16px;
    padding-bottom: 4px;
    width: 100%;
  }

  .info-table td {
    padding-bottom: 16px;
  }

  /* SNS */
  .sns {
    padding: 60px 0;
  }

  /* コンタクト */
  .contact {
    padding: 72px 0;
  }
}
