@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");
.entry {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 100px;
  color: #005798;
  margin-top: 100px;
}

.entry-header {
  margin: 0 auto;
  margin-bottom: 70px;
  position: relative;
  text-align: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.entry-header h1 {
  letter-spacing: 0.3em;
  font-size: 50px;
  font-family: "ab-tombo-bold", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
}

.entry-header .icon {
  width: 70px;
  position: absolute;
  top: -10px;
  right: -90px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 20px;
}

.required {
  background: #ffd800;
  color: #000;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #f4f7fa;
  font-size: 14px;
}
input::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: #005798;
  opacity: 0.5;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
  color: #005798;
  opacity: 0.5;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

small {
  display: block;
  margin: 8px 0;
  font-size: 12px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.radio-group input {
  display: inline;
  width: auto;
}

.radio-group input {
  margin-right: 6px;
}

.zipcode {
  display: flex;
  gap: 10px;
}
.zipcode input {
  width: 100px;
}

.zipcode button {
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: #e6eef6;
  color: #004a8f;
  font-weight: bold;
  cursor: pointer;
}

.submit {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 0px auto;
  margin-top: 60px;
  padding: 16px;
  border-radius: 40px;
  border: none;
  background: #005ea8;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  padding: 20px;
}

.submit:hover {
  opacity: 0.9;
}

/* ===== エラー表示 ===== */
.entry-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
}

.entry-error-summary {
  background: #ffebee;
  color: #c62828;
  border-left: 4px solid #c62828;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 4px;
  font-size: 14px;
}
.entry-error-summary p {
  margin: 4px 0;
}

/* ===== 確認画面 ===== */
.entry-confirm-lead {
  text-align: center;
  margin-bottom: 40px;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.entry-confirm-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 2px solid #005798;
  margin: 0 0 40px;
}
.entry-confirm-list dt {
  padding: 16px;
  background: #f4f7fa;
  font-weight: bold;
  color: #005798;
  border-bottom: 1px solid #e0e8f0;
  font-size: 15px;
}
.entry-confirm-list dd {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #e0e8f0;
  word-break: break-all;
  font-size: 15px;
  color: #333;
}

.entry-confirm-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 60px;
}
.entry-confirm-buttons .submit {
  margin-top: 0;
  margin-bottom: 0;
  width: auto;
  flex: 1;
  max-width: 220px;
  font-size: 20px;
  padding: 16px;
}
.entry-confirm-buttons .submit-back {
  background: #95a0aa;
}
.entry-confirm-buttons .submit-back:hover {
  background: #7a8590;
}

/* ===== 送信完了画面 ===== */
.entry-complete {
  text-align: center;
  padding: 80px 20px;
  font-size: 18px;
  line-height: 2;
  color: #005798;
  font-weight: bold;
}

@media (max-width: 700px) {
  .entry-header h1 {
    font-size: 40px;
  }
  .entry-header .icon {
    width: 60px;
    right: -70px;
  }
  .entry-confirm-list {
    grid-template-columns: 1fr;
  }
  .entry-confirm-list dt {
    padding: 12px 12px 6px;
    font-size: 14px;
    border-bottom: none;
  }
  .entry-confirm-list dd {
    padding: 6px 12px 12px;
    font-size: 14px;
  }
  .entry-confirm-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .entry-confirm-buttons .submit {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
  }
  .entry-complete {
    padding: 40px 20px;
    font-size: 15px;
  }
}
/* Cloudflare Turnstile（確認画面）を中央寄せ */
.entry-turnstile {
  display: flex;
  justify-content: center;
  margin: 24px 0 8px;
}

/* 個人情報の取り扱い 同意チェック */
.entry-agree {
  text-align: center;
}

.entry-agree label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.entry-agree input[type=checkbox] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.entry-agree a {
  color: #0e369f;
  text-decoration: underline;
}
