/*
Theme Name: BAIKAL Café Custom Theme
Author: BAIKAL Café Design Team
Version: 1.0.0
Description: バイカルカフェのブランドデザインをベースにしたカスタムテーマ
*/

/* 1. 基本設定 / リセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #444;
  background-color: #fcfbfa;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

/* 2. ヘッダー (SITE HEADER) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #f0e6dc;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

.site-logo {
  display: flex;
  flex-direction: column;
}

.site-logo-main {
  font-family: 'Sansita Swashed', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #8b6e4b;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.site-logo-sub {
  font-size: 0.68rem;
  color: #888;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav-link {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.header-btn {
  background: #8b6e4b;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.3s ease;
}

.header-btn:hover {
  background: #6e5538;
  opacity: 1;
}

/* 3. コンテナー共通設定 */
.main-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

/* 4. エディター出力要素のデザイン装飾 */
.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-family: 'Noto Serif JP', "Hiragino Mincho ProN", serif;
  font-size: 2rem;
  color: #2b2520;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.page-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #8b6e4b;
}

.page-content h2,
.main-container h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: #8b6e4b;
  margin: 50px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0e6dc;
}

.page-content h3,
.main-container h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  color: #332c27;
  margin: 30px 0 15px;
}

.page-content p {
  margin-bottom: 1.8em;
  color: #555;
  line-height: 1.9;
}

.page-content img {
  border-radius: 8px;
  margin: 20px 0;
}

/* エディター用ボタン */
.wp-block-button__link {
  background-color: #8b6e4b !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.wp-block-button__link:hover {
  opacity: 0.85;
}

/* 5. 新着情報（NEWS）スタイル */
.bvl-label {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  color: #8b6e4b;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 2px solid #8b6e4b;
  margin-bottom: 16px;
  padding-bottom: 4px;
}

.news-list {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid #f0e6dc;
}

.news-item {
  border-bottom: 1px dashed #f0e6dc;
}

.news-link {
  display: flex;
  align-items: center;
  padding: 18px 8px;
  gap: 20px;
}

.news-date {
  font-size: 0.85rem;
  color: #8b6e4b;
  font-weight: 700;
  min-width: 100px;
}

.news-category {
  font-size: 0.75rem;
  background: #f8f3ed;
  color: #6e5538;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.news-title {
  font-size: 0.95rem;
  color: #332c27;
  flex: 1;
}

/* 6. フッター (SITE FOOTER) */
.site-footer {
  background: #2e2824;
  color: #d5c8bb;
  padding: 60px 20px 30px;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #443c36;
}

.footer-brand-title {
  font-family: 'Sansita Swashed', serif;
  font-size: 1.8rem;
  color: #e5d3c0;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: #887d73;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header-nav-link { display: none; }
  .main-container { padding: 30px 16px 60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .news-link { flex-direction: column; align-items: flex-start; gap: 6px; }
}