/* =========================================
   ヴィノテラスワインスクール
   二次試験対策講座LP - Design System
   ========================================= */

/* --- Variables --- */
:root {
  /* Colors */
  --burgundy: #6B1F2E;
  --burgundy-dark: #4A1521;
  --burgundy-tint: #F5EBED;
  --gold: #B8924A;
  --gold-light: #D4B373;
  --charcoal: #2C2826;
  --gray: #6B6663;
  --gray-light: #A8A29D;
  --cream: #FAF7F2;
  --border: #E5DDD5;
  --white: #FFFFFF;
  --success: #4A7C3F;

  /* Typography */
  --font-serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;

  /* Spacing */
  --container-max: 1100px;
  --section-py: 80px;
  --section-py-sp: 56px;
}

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

/* --- Typography --- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.section-title .accent {
  color: var(--burgundy);
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 56px;
  line-height: 1.9;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border: 1px solid var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}

.btn-secondary:hover {
  background: var(--burgundy-tint);
}

.btn-accent {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-accent:hover {
  background: #A07F3D;
  border-color: #A07F3D;
}

.btn-lg {
  padding: 20px 56px;
  font-size: 18px;
}

.btn-arrow::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--gray);
}

.badge-burgundy {
  background: var(--burgundy-tint);
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.badge-gold {
  background: #FBF6EC;
  border-color: var(--gold);
  color: #7A5F2E;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--burgundy-tint) 0%, #EDD8DC 100%);
  border: 1px dashed var(--burgundy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

/* --- Responsive Base --- */
@media (max-width: 768px) {
  .section {
    padding: var(--section-py-sp) 0;
  }
  .container {
    padding: 0 20px;
  }
  .section-title {
    font-size: 24px;
  }
  .section-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* Image placeholder file hint */
.img-ph-file {
  display: block;
  font-size: 10px;
  color: var(--burgundy);
  margin-top: 8px;
  font-family: monospace;
  opacity: 0.7;
  padding: 3px 8px;
  background: rgba(107, 31, 46, 0.06);
  border-radius: 3px;
  letter-spacing: 0.02em;
}
