/* 共通: 静的ページ (about/howto/tips/courses/blog/privacy/terms) */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #fdf6e3;
  color: #2b2b2b;
  line-height: 1.7;
}
.page-header {
  background: linear-gradient(135deg, #ff6b6b, #ffa15d);
  color: white;
  padding: 12px 16px;
}
.page-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-logo {
  font-family: "Yusei Magic", "Klee One", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.site-nav a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.92;
}
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.play-cta {
  background: white;
  color: #d04848;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.play-cta:hover { background: #fff5e6; }

main.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  background: white;
  min-height: calc(100vh - 200px);
}

main.page h1 {
  font-family: "Yusei Magic", "Klee One", sans-serif;
  font-size: 28px;
  border-bottom: 3px solid #ff6b6b;
  padding-bottom: 10px;
  margin: 0 0 24px;
}
main.page h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 5px solid #ff6b6b;
  color: #333;
}
main.page h3 {
  font-size: 16px;
  margin-top: 22px;
  margin-bottom: 8px;
  color: #444;
}
main.page p { margin-bottom: 16px; }
main.page ul, main.page ol { margin-bottom: 16px; padding-left: 24px; }
main.page li { margin-bottom: 6px; }
main.page a { color: #d04848; }
main.page strong { color: #c84141; }
main.page code {
  background: #f5f3ee;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
main.page blockquote {
  border-left: 4px solid #ffd166;
  background: #fffaef;
  padding: 10px 16px;
  margin: 16px 0;
  color: #555;
}

main.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
main.page th, main.page td {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
main.page th { background: #f5f3ee; font-weight: 700; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: #ffe2a8;
  color: #8a5a00;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  margin-bottom: 4px;
}

.step-card {
  background: #fffaef;
  border: 2px solid #ffd166;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  position: relative;
}
.step-card .step-num {
  position: absolute;
  top: -14px;
  left: 16px;
  background: #ff6b6b;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: "Yusei Magic", sans-serif;
}
.step-card h3 { margin-top: 10px; }
.step-emoji {
  font-size: 40px;
  text-align: center;
  margin: 10px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.card-grid a.card {
  display: block;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #e0ddd5;
  background: white;
  text-decoration: none;
  color: #2b2b2b;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.card-grid a.card:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-grid a.card .card-emoji {
  font-size: 36px;
  margin-bottom: 6px;
}
.card-grid a.card .card-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.card-grid a.card .card-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.page-footer {
  background: rgba(0,0,0,0.65);
  color: #ccc;
  text-align: center;
  padding: 12px;
  font-size: 11px;
}
.page-footer a { color: #ff9999; text-decoration: none; margin: 0 4px; }
.page-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .site-nav { gap: 8px; }
  .site-nav a { font-size: 11px; }
  .play-cta { font-size: 11px; padding: 5px 10px; }
  main.page h1 { font-size: 22px; }
  main.page h2 { font-size: 17px; }
  .step-emoji { font-size: 32px; }
}
