@charset "UTF-8";

/* --- 基本設定 --- */
body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  width: 100%;
  overflow-x: hidden; /* 横揺れ防止 */
}

h1, h2, h3 {
  text-align: center;
  margin-bottom: 0.5em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* --- レイアウト共通 --- */
.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section.light {
  background-color: #f7f7f7;
}

footer {
  text-align: center;
  background: #222;
  color: white;
  padding: 20px 0;
  font-size: 0.9em;
}

/* --- 共通パーツ：ボタン --- */
.btn {
  display: inline-block;
  background-color: #e85d04;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  margin-top: 16px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #e85d04;
  color: #e85d04;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  background: white;
}

.btn-outline:hover {
  background-color: #e85d04;
  color: white;
}

/* --- レスポンシブ共通（スマホ用） --- */
@media (max-width: 768px) {
  body { font-size: 0.95rem; }
  .section { padding: 40px 15px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
}