/**
 * Wine Serenity Journal - Base Styles
 * リセット・タイポグラフィ・基本スタイル
 */

/* ========================================
   リセットCSS
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #2c2c2c;
  background-color: #fafafa;
}

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

a {
  color: #6b2d5c;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8b3d7c;
}

ul, ol {
  list-style: none;
}

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

/* ========================================
   タイポグラフィ
   ======================================== */

/* 見出し用セリフフォント */
h1, h2, h3, h4, h5, h6,
.wsj-serif {
  font-family: Georgia, 'Times New Roman', serif;
}

h1 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 2px;
}

h2 {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 2px;
}

h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
}

h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1px;
}

h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

h6 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

/* 本文サイズバリエーション */
.text-large {
  font-size: 18px;
  font-weight: 300;
  line-height: 2.0;
}

.text-regular {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.text-small {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.text-caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #666666;
}

.text-meta {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #999999;
}

/* カラーユーティリティ */
.text-burgundy { color: #6b2d5c; }
.text-plum { color: #8b3d7c; }
.text-gold { color: #d4af37; }
.text-orange { color: #f59e42; }
.text-charcoal { color: #2c2c2c; }
.text-gray { color: #666666; }
.text-light-gray { color: #999999; }
.text-white { color: #ffffff; }

.bg-burgundy { background-color: #6b2d5c; }
.bg-plum { background-color: #8b3d7c; }
.bg-cream { background-color: #fafafa; }
.bg-white { background-color: #ffffff; }
.bg-charcoal { background-color: #2c2c2c; }

/* ========================================
   レスポンシブ タイポグラフィ
   ======================================== */
@media (max-width: 767px) {
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  h4 {
    font-size: 20px;
  }
  
  h5 {
    font-size: 18px;
  }
}

/* ========================================
   ユーティリティクラス
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

