/* ============================================================
   耶馬溪イベント公式サイト 共通CSS
   デザインシステム: shunsaikan-akimatsuri-2026/10_デザイン/デザインシステム.md 準拠
   フォント: システムフォントスタックのみ（外部CSS読み込みなし）
   ============================================================ */

:root {
  /* 秋橙赤 Primary */
  --primary:        #C04A14;
  --primary-dark:   #8A2C0A;
  --primary-light:  #EE8060;
  --primary-tint:   #FAEDE6;

  /* 山緑 Secondary */
  --secondary:      #0F6E56;
  --secondary-dark: #085041;
  --secondary-light:#9FE1CB;
  --secondary-tint: #E1F5EE;

  /* 黄葉 Accent */
  --accent:         #FAC775;
  --accent-deep:    #C89020;
  --accent-tint:    #FAEEDA;

  /* 温灰 Neutral */
  --bg:     #FBF6F2;
  --white:  #FFFFFF;
  --text:   #281A10;
  --muted:  #7A6860;
  --rule:   #E8DCCC;

  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

p {
  margin: 0 0 1em;
}

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

/* ---------------- ヘッダー ---------------- */
.site-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header .brand {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.site-header .brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.site-header .brand small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* ---------------- 免責帯 ---------------- */
.disclaimer-band {
  background: var(--accent-tint);
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
}

/* ---------------- ヒーロー ---------------- */
.hero {
  position: relative;
  color: var(--white);
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  padding: 90px 20px 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 20, 10, 0.55) 0%, rgba(40, 20, 10, 0.75) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(28px, 5.5vw, 48px);
  margin-bottom: 20px;
}

.hero h1 .en {
  display: block;
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
}

.hero .meta {
  font-size: clamp(15px, 2.5vw, 19px);
  margin-bottom: 24px;
}

.hero .meta strong {
  color: var(--accent);
}

.badge-free {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 24px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}

/* ---------------- チラシ（準備中・コメントアウト解除後に使用） ---------------- */
.flyer {
  padding: 40px 20px 0;
  text-align: center;
}

.flyer img {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(40, 20, 10, 0.15);
}

/* ---------------- セクション共通 ---------------- */
.section {
  padding: 60px 20px;
}

.section-alt {
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title .en {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.accent-line {
  width: 48px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 28px;
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------------- 開催概要テーブル ---------------- */
.overview-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--rule);
}

.overview-table th,
.overview-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  vertical-align: top;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  width: 32%;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------- CONTENTS カード ---------------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.content-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.content-card {
  padding: 22px 18px 20px;
}

.content-card h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin: 0 0 8px;
}

.content-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ---------------- アクセス ---------------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.access-info dl {
  margin: 0;
}

.access-info dt {
  font-weight: 700;
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-top: 18px;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  margin: 4px 0 0;
  font-size: 15px;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- お問い合わせ・SNS ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 24px;
}

.contact-box h3 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-box p {
  font-size: 14px;
  margin-bottom: 6px;
}

.sns-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-list li {
  margin-bottom: 10px;
  font-size: 14px;
}

.sns-list .handle {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

/* ---------------- 協賛募集の案内 ---------------- */
.sponsor-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--secondary-tint);
  color: var(--secondary-dark);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}

.sponsor-note strong {
  color: var(--secondary);
  margin-right: 4px;
}

/* ---------------- フッター ---------------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
}

.site-footer .org {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.site-footer nav {
  margin: 10px 0;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 8px;
  font-size: 12px;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .access-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .overview-table th {
    width: 40%;
  }

  .section {
    padding: 44px 16px;
  }
}

@media (max-width: 420px) {
  .content-grid {
    gap: 14px;
  }
}
