/* Ellie 公式テーマ構成に準拠したテンプレ用追記 */
/* ── Cafeと雑貨 g.fortune：ブランド上書き（テーマレイアウトは維持） ── */
:root {
  --primary-color: #2f4a3c;
  --secondary-color: #c9b8a8;
  --tertiary-color: #f3ebe1;
  --main-ttl-color: #1e1d1c;
  --font-accent: "Noto Serif JP", serif;
  --font-deco: "Caveat", cursive;
}

/* テキストロゴ */
.site-logo {
  display: block;
  text-decoration: none;
  color: var(--primary-color);
  line-height: 1.15;
}

.site-logo.site-logo--footer {
  color: inherit;
}

.site-logo.site-logo--footer .logo-script,
.site-logo.site-logo--footer .logo-tagline {
  color: #fff;
}

.logo-script {
  font-family: var(--font-deco), cursive;
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: block;
}

.logo-tagline {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.55rem, 1.8vw, 0.7rem);
  letter-spacing: 0.42em;
  font-weight: 500;
  display: block;
  margin-top: 0.25rem;
}

.loading-logo-text {
  width: auto;
  height: auto;
  max-width: 200px;
  margin: 0 auto;
}

.loading-logo-text .logo-script {
  font-size: 2.5rem;
  animation: logoappear 2s ease forwards;
  color: var(--primary-color);
}

#loading_logo img {
  display: none;
}

/* ロード後の緑い全画面トランジション（.loadingbg / PageAnime）を出さない */
body.appear .loadingbg {
  display: none !important;
  animation: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* アクセス・地図下リンク */
.access-map-link-wrap {
  text-align: center;
  padding-top: 1rem;
  margin: 0;
}

.access-map-link {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: underline;
}

.access-map-link:hover {
  opacity: 0.82;
}

#top,
#about,
#features,
#news,
#access {
  scroll-margin-top: 6rem;
}

@media (min-width: 1024px) {
  #top,
  #about,
  #features,
  #news,
  #access {
    scroll-margin-top: 8rem;
  }
}

/* ナビ末尾のシャイン（光沢スイープ）を無効（旧テーマの li:last-child 用 shine） */
#pc-g-nav .menu li:last-child a::after,
#g-nav .menu li:last-child a::after {
  content: none !important;
  animation: none !important;
}

/* ONLINE SHOP 廃止：末尾（ACCESS）は他項目と同じリンク見た目 */
#pc-g-nav.pc-flex ul.menu > li:last-child > a {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.2rem !important;
  overflow: visible !important;
  line-height: inherit !important;
}

#g-nav.panelactive ul.menu > li:last-child > a {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  padding: 0.75rem !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.2rem !important;
  margin-top: 0 !important;
  line-height: inherit !important;
}

/* ロゴ右：Instagram（テキストロゴ幅に合わせる） */
#header #header-logo {
  max-width: min(340px, 68vw);
}

@media (min-width: 1024px) {
  #header #header-logo {
    max-width: 400px;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  flex-wrap: nowrap;
}

#header .custom-logo-link {
  flex: 1 1 auto;
  min-width: 0;
}

#header .header-instagram {
  flex-shrink: 0;
}

#header .header-instagram .instagram-icon svg {
  display: block;
  width: clamp(34px, 5vw, 44px);
  height: clamp(34px, 5vw, 44px);
}

/* ヘッダーでは淡色背景に乗せるため、円はセカンダリー・記号は白 */
#header .header-instagram .svg-background {
  fill: var(--secondary-color);
}

#header .header-instagram .svg-shape,
#header .header-instagram .svg-shape path {
  fill: #fff;
}

#header .header-instagram:hover .svg-background {
  opacity: 0.88;
}

/* トップページ：FEATURES / NEWS / ACCESS のセクション見出しを中央揃え */
#features h2.top-ttl,
#news h2.top-ttl,
#access h2.top-ttl {
  text-align: center;
}

#features h2.top-ttl span,
#news h2.top-ttl span,
#access h2.top-ttl span {
  display: block;
}
