@charset "UTF-8";

/* =========================================================================
   Variables (CRITICAL REQUIREMENTS: 厳密なHEX値カラーパレット)
   ========================================================================= */
:root {
  /* メインカラー（基調色）: アイボリー。温もりと開放感を持たせるベースカラー */
  --color-main: #F4EEDC;
  /* サブカラー（補助色）: ダークブラウン。焙煎コーヒー豆や木製家具の落ち着きを表現 */
  --color-sub: #5C4033;
  /* アクセントカラー（強調色）: セージグリーン。地元野菜や自然の恵み、安らぎを強調 */
  --color-accent: #8F9779;
  /* テキストカラー: チャコールグレー。可読性を維持しつつ目に優しいコントラストを確保 */
  --color-text: #2C2C2C;
  /* 背景色: オフホワイト。メインカラーを際立たせる、清潔感のある無彩色の基盤 */
  --color-bg: #FAFAFA;

  /* Fonts */
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-title: "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================================
   Reset & Base Settings
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px; /* モバイルフレンドリー: 最低16px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-sub);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ol, ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================================
   Layout & Container
   ========================================================================= */
.l-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.l-section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .l-section {
    padding: 60px 0;
  }
}

/* =========================================================================
   Typography & Utilities
   ========================================================================= */
.u-text-center { text-align: center; }
.u-text-bold { font-weight: bold; }
.u-mt-20 { margin-top: 20px !important; }
.u-mt-40 { margin-top: 40px !important; }
.u-mt-60 { margin-top: 60px !important; }

/* Section Title */
.c-sec-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-sub);
  position: relative;
  padding-bottom: 15px;
}
.c-sec-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}
@media (max-width: 768px) {
  .c-sec-title {
    font-size: 1.5rem;
  }
}

/* =========================================================================
   Buttons (CVR / CTA)
   ========================================================================= */
/* CTA Button Base (モバイルフレンドリー: 最小44x44px) */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  min-width: 280px;
  max-width: 100%;
}
@media (max-width: 768px) {
  .c-btn {
    font-size: 1rem;
    padding: 14px 24px;
    width: 100%;
  }
}

/* Primary Button (Google Map / 来店用) */
.c-btn--primary {
  background-color: var(--color-sub);
  color: #FFFFFF;
  box-shadow: 0 4px 6px rgba(92, 64, 51, 0.3);
}
.c-btn--primary:hover {
  background-color: #4a3328; /* hover用 */
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(92, 64, 51, 0.4);
}

/* Secondary Button (Tel / 予約) */
.c-btn--secondary {
  background-color: var(--color-accent);
  color: #FFFFFF;
}
.c-btn--secondary:hover {
  background-color: #7b8368; /* hover用 */
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Outline Button (詳細・その他) */
.c-btn--outline {
  background-color: transparent;
  color: var(--color-sub);
  border: 2px solid var(--color-sub);
}
.c-btn--outline:hover {
  background-color: var(--color-sub);
  color: #FFFFFF;
}

/* =========================================================================
   Instagram Hover Button (CRITICAL REQUIREMENTS 3)
   ========================================================================= */
.c-insta-hover {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 16px 8px 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.c-insta-hover.is-hidden {
  transform: translateX(150%);
  opacity: 0;
  pointer-events: none;
}

/* インスタグラムのブランドカラーは例外的に維持するか、テーマに合わせるか。今回は視認性のため独自テーマ寄りだが少し目立たせる */
.c-insta-hover__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E1306C; /* Instagram Brand Color */
  font-weight: bold;
  font-size: 0.9rem;
}
.c-insta-hover__link:hover {
  opacity: 0.8;
  color: #E1306C;
}

.c-insta-hover__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.c-insta-hover__close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 12px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.c-insta-hover__close:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* 再表示ボタン */
.c-insta-reopen {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  transform: translateX(150%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.c-insta-reopen.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================================
   Header
   ========================================================================= */
.l-header {
  background-color: var(--color-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.l-header__logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-header__logo img {
  height: 40px;
  width: auto;
}
.l-header__nav ul {
  display: flex;
  gap: 30px;
}
.l-header__nav a {
  color: var(--color-text);
  font-weight: bold;
}
.l-header__nav a:hover,
.l-header__nav a.is-active {
  color: var(--color-sub);
}

/* ハンバーガーメニュー (モバイル用) */
.l-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}
.l-header__toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-sub);
  margin: 6px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .l-header__inner {
    height: 60px;
  }
  .l-header__logo a {
    font-size: 1.2rem;
  }
  .l-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-main);
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding-top: 80px;
  }
  .l-header__nav.is-open {
    right: 0;
  }
  .l-header__nav ul {
    flex-direction: column;
    gap: 0;
  }
  .l-header__nav a {
    display: block;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .l-header__toggle {
    display: block;
  }
  /* Toggle Active State */
  .l-header__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .l-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .l-header__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* =========================================================================
   Footer
   ========================================================================= */
.l-footer {
  background-color: var(--color-sub);
  color: var(--color-main);
  padding: 60px 0 20px;
  text-align: center;
}
.l-footer__info {
  margin-bottom: 40px;
}
.l-footer__logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-main); /* 上書き */
}
.l-footer__address {
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 20px;
  color: #e0d5c1;
}
.l-footer__nav {
  margin-bottom: 30px;
}
.l-footer__nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.l-footer__nav a {
  color: var(--color-main);
}
.l-footer__nav a:hover {
  color: var(--color-accent);
}
.l-footer__copyright {
  font-size: 0.8rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
