@charset "UTF-8";
/* ========================
   RESET
======================== */
body, h1, h2, h3, p, ul, li, input, textarea, label {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: rgba(234, 243, 250, 0.5019607843);
  color: #333;
  line-height: 1.7;
}

/* ========================
   LAYOUT
======================== */
.contact-page {
  padding: 0 18px 80px; /* ←上部余白はここではなく contact-label で調整 */
  max-width: 800px;
  margin: 0 auto;
}

/* ========================
   TITLES
======================== */
.contact-label {
  text-align: center;
  color: #333;
  font-size: 20.8px;
  letter-spacing: 2px;
  font-weight: 600;
  /* ★ヘッダーの固定表示と重ならないように余白を追加 */
  margin-top: 140px;
  margin-bottom: 6px;
}

.page-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #305EBE;
  margin-bottom: 40px;
}

/* ========================
   LABELS
======================== */
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 16px;
}

.required {
  display: inline-block;
  padding: 2px 7px;
  background: #aa0400;
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
  margin-left: 6px;
}

.optional {
  padding: 2px 7px;
  background: #E0E0E0;
  color: #555;
  font-size: 11px;
  border-radius: 6px;
  margin-left: 6px;
}

/* ========================
   INPUTS
======================== */
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  margin-bottom: 24px;
  background: #EDEDED;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

/* ========================
   CHECKBOX LIST
======================== */
.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
}

.checkbox-list label {
  width: calc(50% - 10px);
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
}

.checkbox-list input[type=checkbox] {
  margin-right: 8px;
  transform: scale(1.3);
}

/* ========================
   POLICY
======================== */
.policy-label {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
}
.policy-label input[type=checkbox] {
  margin-right: 12px;
  transform: scale(1.4);
}
.policy-label a {
  color: #0000ee !important;
  text-decoration: underline;
}

/* ========================
   BUTTON
======================== */
.button-wrapper {
  text-align: center;
}

.contact-form input[type=submit] {
  width: 70%;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  background: #ff7b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  opacity: 0.8;
}

/* ========================
   NOTE
======================== */
.note {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #666;
}