@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&display=swap');

:root {
  /* 慶事カラーパレット */
  --color-white: #FEFEFE;
  --color-gold: #C5A14E;
  --color-gold-light: #E8D48B;
  --color-gold-dark: #8B7331;
  --color-red: #B22222;
  --color-red-light: #DC4444;
  --color-cream: #FFF8EF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #DDD;

  /* フォント */
  --font-serif: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;

  /* レイアウト */
  --max-width: 600px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  color: var(--color-text);
  background-color: var(--color-cream);
  min-height: 100vh;
  line-height: 1.8;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg);
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.4;
}

button {
  font-family: var(--font-serif);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

input, textarea, select {
  font-family: var(--font-serif);
  font-size: 1rem;
}

/* ユーティリティ */
.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* フェードイン */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
