/* ===== 全体の基本スタイル ===== */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ===== ヘッダー ===== */
header {
  background-color: #7394ff;
  color: #fff;
  padding: 15px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

header h1 a {
  color: #fff;
  text-decoration: none;
}

nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav a:hover,
nav a.active {
  background-color: #2c5d99;
}

/* ===== メインエリア ===== */
main {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

/* ===== カードスタイル ===== */
.card,
main section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

main section h2 {
  font-size: 1.5rem;
  margin-top: 0;
  color: #3f72af;
}

main section p,
main section ul,
main section ol {
  margin-bottom: 15px;
}

/* リスト整形 */
ul, ol {
  padding-left: 20px;
}

ul li, ol li {
  margin-bottom: 8px;
}

/* ===== お問い合わせフォーム用（contact.html向け） ===== */
form {
  display: grid;
  gap: 10px;
}

form label {
  font-weight: bold;
}

form input,
form textarea,
form button {
  font-family: inherit;
  font-size: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  background-color: #3f72af;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #2c5d99;
}

/* ===== フッター ===== */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #666;
}

/* ===== LINEボタンや電話ボタン ===== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact-buttons a,
.contact-buttons button {
  display: inline-block;
  padding: 10px 15px;
  background-color: #3f72af;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
  text-align: center;
}

.contact-buttons a:hover,
.contact-buttons button:hover {
  background-color: #2c5d99;
}

/* LINEボタンにQR画像をボタン内表示する用 */
.line-button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}
