
/* 全体の基本スタイル */
body {
  font-family: Arial, Helvetica, "メイリオ", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  background: url(img/back.png) no-repeat fixed;
  background-size: cover; /* 画像が画面全体を覆うように調整 */
}

#container {
  max-width: 960px;
  margin: 0 auto;
  padding: 5px;
}

h1 {
  display: flex; /* Flexboxを有効化 */
  align-items: center; /* 垂直方向の中央寄せ */
  color: #1B294F;
  border-bottom: solid 3px #1B294F;
  position: relative;
  margin-top: 20px;
  font-size: 1.6em;

}

h2 {
  color: #1B294F;
  font-size: 1.4em;
}

h3 {
  margin: 30px 0 -10px 0;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  margin-bottom: 0px;
}

/* フッターのスタイル */
address {
  font-size: 1.0em;
  color: #666;
  text-align: center;
  margin-top: 40px;
 font-style:normal;
  margin-bottom: 30px;
}


/* ボタン */
.rounded-button,
.rounded-button2 {
  display: inline-flex;          /* 中央揃えしやすい */
  align-items: center;
  justify-content: center;
  width: 460px;                  /* ←同じ幅にする */
  margin: 5px 0 20px 0;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,.2);
  white-space: nowrap;           /* ←改行させない */
  box-sizing: border-box;        /* 幅計算を安定させる */
}

/* 色だけ個別指定 */
.rounded-button {
  background-color: #1B294F;
}

.rounded-button2 {
  background-color: #ed6d35;
}

/* 共通：ホバー時 */
.rounded-button:hover,
.rounded-button2:hover {
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px); /* 少し浮かせる */
}

@media screen and (max-width: 480px) {
  .rounded-button,
  .rounded-button2 {
    width: 90%;          /* 画面に収める */
    font-size: 16px;     /* 文字を少し小さく */
  }
}

/* メディアクエリでレスポンシブ対応 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5em;
    padding-top: 30px;
  }

  #container {
    padding: 10px;
  }

.rounded-button {
  padding: 10px 60px; /* 内側の余白を調整 */
  font-size: 14px; /* フォントサイズ */
  }

.rounded-button2 {
  padding: 10px 60px; /* 内側の余白を調整 */
  font-size: 14px; /* フォントサイズ */
  }

  .logo-img {
    max-width: 20%;
  }

  .point-img {
    max-width: 100%;
  }
}