/* =============================================
   カフェ シマエナガ — 共通スタイル
   参考: https://es-cinnamon.cafe/
   ============================================= */

/* --- CSS 変数 --- */
:root {
  --color-brown-deep:  #3d2e22;
  --color-brown-warm:  #5c4a3a;
  --color-gold:        #c8a882;
  --color-cream:       #faf7f2;
  --color-cream-dark:  #f0e8de;
  --color-cream-alpha: rgba(250, 247, 242, 0.95);
  --color-text-sub:    #9e8a7a;
  --color-white:       #ffffff;
  --color-header-border: rgba(200, 168, 130, 0.2);
  --color-logo-shadow: rgba(61, 46, 34, 0.25);
  --font-main: 'Noto Sans JP', sans-serif;
  --radius-pill: 24px;
  --radius-card: 16px;
  --shadow-card: 0 4px 16px rgba(61, 46, 34, 0.1);
  --section-padding: 90px 24px;
  --section-padding-sp: 60px 20px;
  --max-width: 960px;
}

/* --- リセット --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--color-cream);
  color: var(--color-brown-warm);
  line-height: 1.85;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- レイアウト --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- セクション見出し（CAFE CINNAMON スタイル） --- */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading__sub {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-heading__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  color: var(--color-brown-deep);
  letter-spacing: 0.1em;
  line-height: 1;
}
.section-heading__main::before,
.section-heading__main::after {
  content: '';
  flex: 0 0 36px;
  height: 1.5px;
  background: var(--color-brown-deep);
}
.section-heading__script {
  display: block;
  font-size: 18px;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-top: -6px;
  margin-bottom: 8px;
}
.section-heading__desc {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.15em;
}

/* --- ボタン --- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1.5px solid var(--color-brown-deep);
  border-radius: var(--radius-pill);
  padding: 11px 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-brown-deep);
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--color-brown-deep);
  color: var(--color-white);
}
.btn-outline:focus-visible,
.btn-fill:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  padding: 11px 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-white);
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-fill:hover { opacity: 0.85; }

/* --- 共通セクション --- */
.section { padding: var(--section-padding); }
.section--dark { background: var(--color-cream-dark); }

/* --- カード --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-3px); }

/* --- スクロールフェードイン --- */
.fade-in {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* =============================================
   ヘッダー
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: var(--color-cream-alpha);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-header-border);
}

/* ロゴ（実画像） */
.logo {
  display: block;
  flex-shrink: 0;
}
.logo__img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  display: block;
}

/* ナビゲーション */
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-brown-deep);
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--color-gold); }

/* ハンバーガー（スマホ） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-brown-deep);
  transition: transform 0.25s;
}

/* スマホメニュー（open時） */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-brown-deep);
  text-transform: uppercase;
}
.mobile-menu__close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-brown-deep);
}

/* --- ページコンテンツ上マージン（fixed header分） --- */
.page-body { padding-top: 64px; }

/* =============================================
   左端縦書きバー
   ============================================= */
.side-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: var(--color-gold);
  padding: 20px 8px;
  border-radius: 0 8px 8px 0;
  writing-mode: vertical-rl;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-white);
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
}

/* =============================================
   フッター
   ============================================= */
.site-footer {
  background: var(--color-brown-deep);
  color: var(--color-cream-dark);
  padding: 40px 24px;
  text-align: center;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.site-footer__nav a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.site-footer__nav a:hover { opacity: 0.7; }
.site-footer__copy {
  font-size: 10px;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

/* フッター SNSリンク */
.site-footer__sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 168, 130, 0.6);
  background: rgba(200, 168, 130, 0.08);
  transition: border-color 0.2s, background 0.2s;
}
.sns-link:hover {
  border-color: var(--color-gold);
  background: rgba(200, 168, 130, 0.2);
}

/* LINE フローティングボタン */
.line-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  font-family: var(--font-main);
  border-radius: 28px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.2s;
}
.line-float:hover { opacity: 0.9; transform: translateY(-2px); }
.line-float__icon { display: block; flex-shrink: 0; }

/* --- スクリーンリーダー専用（視覚的に非表示） --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 767px) {
  .site-nav { display: none; }
  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .side-bar { display: none; }
  .section { padding: var(--section-padding-sp); }
  .section-heading { margin-bottom: 36px; }

  /* セクション見出し — モバイル向け字間調整 */
  .section-heading__sub {
    letter-spacing: 0.18em;
    font-size: 8px;
  }
  .section-heading__main {
    letter-spacing: 0.06em;
    gap: 10px;
  }
  .section-heading__main::before,
  .section-heading__main::after { flex: 0 0 24px; }
  .section-heading__script { font-size: 15px; }
  .section-heading__desc {
    letter-spacing: 0.08em;
    font-size: 11px;
  }

  /* ロゴ — モバイルサイズ調整 */
  .logo__img { height: 44px; width: 44px; }

  /* フッターナビ */
  .site-footer__nav { gap: 16px; }
}
