/* style1.css */

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  max-width: 600px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 30px;
}

h1.titleB2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
}

img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

p {
  font-size: 18px;
  color: #444;
  text-align: center;
  margin-top: 20px;
}

a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  background-color: #0066cc;
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 20px;
  transition: background-color 0.3s;
}

a:hover {
  background-color: #0099ff;
}

/* 追加スタイル：ボックスシャドウ */
.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 追加スタイル：カード内のテキスト左寄せ */
.card p {
  text-align: left;
  margin-top: 10px;
}

/* 追加スタイル：リンクのホバーカラー */
.card a:hover {
  background-color: #0059b3;
  color: #fff;
}

/* 追加スタイル：トップページに戻るリンクのスタイル */
.container a {
  display: block;
  margin: 30px auto 0;
  background-color: #0099ff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.container a:hover {
  background-color: #0080ff;
}
