:root{
  --accent: #E9A02A;
  --base: #F6ECDC;
  --text: #5F5434;

  --border: rgba(95, 84, 52, 0.18);
  --card-bg: #ffffff;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  background: #ffffff;
  color: var(--text);
}

/* ヘッダー */
.header {
  background: var(--base);
  border-bottom: 1px solid var(--border);
  padding: 28px 16px;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.site-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
  color: var(--text);
}

.site-subtitle {
  margin: 8px 0 0;
  color: rgba(95, 84, 52, 0.8);
  line-height: 1.6;
}

/* レイアウト */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* カード */
.card {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 160, 42, 0.55);
  box-shadow: 0 10px 24px rgba(95, 84, 52, 0.10);
}

.card-title {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.card-text {
  margin: 8px 0 0;
  color: rgba(95, 84, 52, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}

/* 一覧ページ用 */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.list li {
  border-bottom: 1px solid var(--border);
}

.list li:last-child {
  border-bottom: none;
}

.list a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
}

.list a:hover {
  background: rgba(246, 236, 220, 0.55);
}

/* ナビ */
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-right: 12px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 動画埋め込み */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--base);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* フッター */
.footer {
  background: var(--base);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px;
  color: rgba(95, 84, 52, 0.85);
}
