@charset "UTF-8";

/* ==========================================
   CSS変数（デザインシステム・配色）の定義
   ========================================== */
:root {
  /* 背景色と基本色 */
  --bg-cream: #FFF8E7;      /* メインのクリーム色背景 */
  --bg-pink: #F5DCE0;       /* サブ背景・セクションの切り替え用ピンクベージュ */
  --bg-white: #FFFFFF;      /* カードやコンテンツボックス用の白 */
  
  /* テキスト色 */
  --text-dark: #5D4B47;     /* コーヒーを連想させる優しい焦げ茶色（真っ黒を避ける） */
  --text-light: #8A7571;    /* 補足説明や薄い文字用の明るいブラウン */
  
  /* アクセントカラー */
  --accent-rose: #E4A5A5;   /* ロゴやボタン、ホバー時などに使用するくすみピンク */
  --accent-rose-hover: #D38E8E;
  --accent-yellow: #F7E1B5; /* バッジなどに使用するパステルイエロー */
  
  /* フォントファミリー */
  --font-rounded: 'M PLUS Rounded 1c', sans-serif; /* 丸みを帯びた親しみやすい日本語フォント */
  --font-serif: 'Klee One', sans-serif;             /* 手書き風で上品な日本語・英語フォント */

  /* 角丸（ボーダーラジアス）の設定：柔らかい雰囲気を出すために大きめの丸みに設定 */
  --radius-lg: 32px;        /* 大きめのボックスやセクション用 */
  --radius-md: 20px;        /* カードやテーブル用 */
  --radius-sm: 12px;        /* ボタンや小さなパーツ用 */
  
  /* 影（シャドウ）の設定：ピンクを少し混ぜたソフトなシャドウ */
  --shadow-soft: 0 10px 30px rgba(228, 165, 165, 0.15);
  --shadow-hover: 0 15px 35px rgba(228, 165, 165, 0.25);
  
  /* トランジション（変化時間）の共通設定 */
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth; /* スムーズスクロールを有効化（クリック時に滑らかに移動） */
}

body {
  font-family: var(--font-rounded);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden; /* 横スクロール（はみ出し）を防止 */
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

/* 共通コンテナ（幅の制御） */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 共通セクションの上下余白（多めに取って空気感を演出） */
.section-padding {
  padding: 80px 0;
  position: relative;
}

/* ==========================================
   見出し・セクションヘッダー
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-serif);
  color: var(--accent-rose);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

/* タイトルの下の可愛い下線 */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-rose);
  border-radius: var(--radius-sm);
}

/* 共通ボタン */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background-color: var(--accent-rose);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-rose-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   ヘッダーセクション（レスポンシブ）
   ========================================== */
.header {
  position: fixed; /* 画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 248, 231, 0.85); /* 半透明のクリーム色 */
  backdrop-filter: blur(10px); /* 後ろをぼかすモダンなエフェクト */
  border-bottom: 1px solid rgba(245, 220, 224, 0.5);
  transition: var(--transition-normal);
}

/* スクロール時にヘッダーを少し小さく、白っぽくするクラス（JSで使用） */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(93, 75, 71, 0.05);
  padding: 10px 0;
}

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

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

.logo-icon {
  width: 28px;
  height: 28px;
  animation: float-slow 4s ease-in-out infinite alternate; /* ふわふわと浮くアニメーション */
}

/* ナビゲーションメニュー（モバイル時は非表示、PC時に横並び） */
.nav-menu {
  position: fixed;
  top: 70px;
  left: 100%; /* 初期状態は画面外（右側）に隠す */
  width: 100%;
  height: calc(100vh - 70px);
  background-color: var(--bg-cream);
  transition: var(--transition-normal);
  padding: 40px;
  z-index: 999;
}

/* JSでメニューを開いたときのクラス */
.nav-menu.active {
  left: 0;
}

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

.nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 8px;
}

/* リンクホバー時の下線アニメーション */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background-color: var(--accent-rose);
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ハンバーガーメニューボタン */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

/* メニューが開いているとき（アクティブ）の三本線のアニメーション */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  /* Unsplashのおしゃれなカフェ画像を設定 */
  background-image: url('https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  padding-top: 70px; /* 固定ヘッダー分の余白 */
}

/* ヒーローの暗さ・柔らかさを調整するオーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 少しだけピンクと白を重ねて優しい雰囲気に */
  background: linear-gradient(
    135deg,
    rgba(255, 248, 231, 0.7) 0%,
    rgba(245, 220, 224, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-rose);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* セクション間を柔らかく繋ぐ波形SVG */
.hero-wave {
  position: absolute;
  bottom: -2px; /* わずかに下げることで隙間を防止 */
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 3;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}

/* ==========================================
   コンセプト紹介セクション
   ========================================== */
.concept {
  background-color: var(--bg-cream);
}

.concept-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.concept-image-wrapper {
  width: 100%;
  max-width: 480px;
  position: relative;
}

/* 画像に重なる可愛い枠線の装飾 */
.concept-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px dashed var(--accent-rose);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

.concept-image {
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.concept-text-box {
  background-color: var(--bg-white);
  padding: 35px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 550px;
  border: 1px solid rgba(245, 220, 224, 0.3);
}

.concept-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-rose);
  margin-bottom: 20px;
  line-height: 1.5;
}

.concept-text {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.concept-text:last-child {
  margin-bottom: 0;
}

/* ==========================================
   おすすめメニューセクション
   ========================================== */
.menu {
  background-color: var(--bg-pink); /* セクション背景を切り替えてメリハリを出す */
  overflow: hidden;
}

/* 装飾用背景の円 */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 248, 231, 0.4);
  z-index: 0;
}

.bg-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.bg-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -100px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr; /* モバイルでは1列 */
  gap: 30px;
  position: relative;
  z-index: 1;
}

.menu-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px); /* ホバー時に上に浮かせる */
  box-shadow: var(--shadow-hover);
}

.menu-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* 正方形にする */
  overflow: hidden;
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

/* ホバー時に画像を少しズーム */
.menu-card:hover .menu-img {
  transform: scale(1.05);
}

/* 「人気」などのバッジ装飾 */
.menu-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-rose);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.menu-card:nth-child(2) .menu-badge {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

.menu-card:nth-child(3) .menu-badge {
  background-color: var(--text-light);
  color: var(--bg-white);
}

.menu-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* 内容が少なくてもカードの高さを揃える */
}

.menu-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.menu-description {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(245, 220, 224, 0.6);
  padding-top: 15px;
}

.menu-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-rose);
  font-family: var(--font-serif);
}

.tax-in {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: normal;
}

/* ==========================================
   店舗情報 ＆ アクセスセクション
   ========================================== */
.shop {
  background-color: var(--bg-cream);
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.shop-info-box {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.shop-logo {
  text-align: center;
  margin-bottom: 30px;
}

.shop-logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-rose);
  border-bottom: 2px dashed var(--bg-pink);
  padding-bottom: 10px;
  display: inline-block;
}

/* 情報テーブルの装飾 */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(245, 220, 224, 0.4);
  font-size: 0.9rem;
}

.info-table th {
  font-weight: 700;
  color: var(--accent-rose);
  width: 30%;
  text-align: left;
  vertical-align: top;
}

.info-table td {
  color: var(--text-dark);
}

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

/* マップエリア */
.shop-map-box {
  width: 100%;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* アスペクト比 4:3 に設定 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--bg-white);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================
   フッターセクション
   ========================================== */
.footer {
  background-color: var(--bg-pink);
  padding: 60px 0 30px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-block;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* SNSリンクアイコンの装飾 */
.footer-sns {
  display: flex;
  gap: 20px;
}

.sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--accent-rose);
  box-shadow: var(--shadow-soft);
}

.sns-link:hover {
  background-color: var(--accent-rose);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.sns-icon {
  width: 20px;
  height: 20px;
}

.footer-copy {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  border-top: 1px dashed rgba(93, 75, 71, 0.1);
  padding-top: 20px;
  width: 100%;
}

/* ==========================================
   アニメーションキーフレームとクラス
   ========================================== */

/* ふわふわ浮遊するアニメーション（ロゴ用） */
@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* 初期状態：見えなくして少し下にずらしておく */
.fade-in-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 表示状態：スクロール時にJSで追加するクラス */
.fade-in-trigger.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ヒーローセクション専用の即時フェードイン */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAnim 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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


/* ==========================================
   レスポンシブ対応 (デスクトップ・PC用スタイル)
   ========================================== */
@media (min-width: 768px) {
  /* セクション余白を拡大 */
  .section-padding {
    padding: 110px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }

  /* ヘッダー */
  .header-container {
    height: 80px;
  }

  /* ハンバーガーボタンを非表示にし、メニューを最初から表示 */
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 35px;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* ヒーローセクション */
  .hero {
    height: 90vh;
  }

  .hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  /* コンセプト */
  .concept-content {
    flex-direction: row; /* 横並びに変更 */
    justify-content: space-between;
    gap: 60px;
  }

  .concept-image-wrapper {
    flex: 1;
    max-width: 45%;
  }

  .concept-text-box {
    flex: 1.2;
    padding: 50px 40px;
    max-width: none;
  }

  /* メニュー */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr); /* PC時は2カラム (4品なので2x2が美しい) */
    gap: 40px;
  }

  /* 店舗情報 & アクセス */
  .shop-grid {
    grid-template-columns: 1.1fr 0.9fr; /* 左右横並び */
    align-items: stretch;
    gap: 45px;
  }

  .shop-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
  }

  .map-wrapper {
    padding-top: 0;
    height: 100%; /* 高さをコンテンツに合わせる */
    min-height: 400px;
  }

  /* フッター */
  .footer {
    padding: 80px 0 40px 0;
  }

  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-sns {
    margin-left: auto;
  }

  .footer-copy {
    margin-top: 30px;
  }
}

/* メニューの並びをPC大画面時に4カラムにしたい場合のための微調整 */
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr); /* 大画面では4品並べてすっきり見せる */
    gap: 25px;
  }
}
