@charset "Shift_JIS";
/* リセット */
body, h1, h2, h3, p, img, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 背景と全体設定 */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

/* メインコンテンツ */
.main-content {
  width: 95%; /* モバイル対応を考慮した幅 */
  max-width: 780px; /* デスクトップ時の最大幅 */
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* 見出し */
h1, h2 {
  margin-bottom: 20px;
  text-align: center;
}

/* ヘッダーセクション */
.header {
  overflow: hidden; /* 画像のはみ出しを防止 */
  border-radius: 10px; /* コンテンツと統一感のあるデザイン */
  margin-bottom: 20px; /* ヘッダーとコンテンツの間隔 */
}
.header img {
  width: 100%; /* 親コンテナの幅に収める */
  max-width: 100%;
  height: auto; /* アスペクト比を保持 */
}

/* サンプル画像（メインコンテンツ内画像） */
.sample-image {
  width: 100%; /* 親コンテナ内に収める */
  max-width: 100%;
  height: auto; /* アスペクト比を保持 */
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 手順画像 */
.step-image {
  width: 100%; /* 手順画像もメインコンテンツ内に収める */
  border-radius: 5px;
  margin-bottom: 15px;
}

/* 概要部分 */
.intro-section {
  margin-bottom: 30px;
}

/* 手順セクション */
.steps {
  margin-top: 20px;
}
.steps .step {
  margin-bottom: 20px;
}

/* 注意書き */
.note {
  font-size: 0.9em;
  color: #d9534f; /* 赤系で注意を強調 */
  margin-top: 10px;
}

/* ボタン画像 */
.banner-image {
  width: 80%; /* メインコンテンツに合わせて中央揃え */
  margin: 0 auto 20px;
  display: block;
  border-radius: 10px;
}

/* リンクのデザイン */
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}

/* メディアクエリでのレスポンシブ対応 */
@media (max-width: 768px) {
  .main-content {
    padding: 15px;
  }
  h1, h2 {
    font-size: 1.4em;
  }
  .sample-image, .step-image, .banner-image {
    width: 100%;
  }
}
