@charset "utf-8";

/* ======================================================
　　お問い合わせ
====================================================== */
.page-contact {
  padding-bottom: 120px;
}
.page-contact .inner {
  margin-top: -5%;
}
.contact {
  position: relative;
  z-index: 10;
}
.contact_top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  font-size: clamp(2rem, calc(100vw * 32 / 1200), 3.2rem);
  font-weight: 600;
}
.contact_top span {
  display: block;
  margin-top: 20px;
}
.contact_top .img {
  width: 19.333%;
}
form {
  font-size: 1.8rem;
  font-weight: 600;
}
input,
textarea {
  width: 100%;
  height: 60px;
  background-color: #fcfad7;
  padding: 20px 40px;
  border-radius: 20px;
  border: 1px solid #1f65b7;
}
textarea {
  height: 300px;
}
.form_head {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.form_head span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  background-color: #1f65b7;
  color: #fff;
  border-radius: 15px;
  font-size: 1.4rem;
}
.form_body {
  margin-top: 8px;
}
.form_item:nth-of-type(n + 2) {
  margin-top: 42px;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border: 2px solid #1f65b7;
}

/* プライバシーポリシー */
.page-contact .privacy-poricy {
  margin-top: 80px;
}
.page-contact .privacy-poricy_text {
  height: 230px;
  overflow-y: scroll;
  background-color: #f9f9f9;
  border: 1px solid #1f65b7;
  padding: 20px;
  font-size: 1.6rem;
  font-weight: normal;
}
.page-contact .privacy-poricy_text p {
  margin-top: 1em;
}
.page-contact .privacy-poricy_text span {
  font-weight: bold;
  font-size: 1.6rem;
}
.page-contact .privacy-poricy_confirm {
  margin-top: 75px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}
/* フォームボタン */
.form_btn input {
  padding: 0;
  display: block;
  margin: 70px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 60px;
  background-color: #1f65b7;
  border-radius: 30px;
  color: #fff;
  transition: all 0.3s;
}
.form_btn input:hover {
  opacity: 0.7;
}
/* コンタクトフォーム7の出力タグ調整 */
.page-contact .wpcf7-spinner {
  display: none;
}
.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none; /* Safari用 */
  -moz-appearance: none;    /* Firefox用 */
  width: 20px;
  height: 20px;
  border: 2px solid #1f65b7;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
input[type="checkbox"]:checked::after {
  /* content: "✔";
  color: #1f65b7;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
    content: "";
  position: absolute;
  width: 6px;   /* ✔ の幅 */
  height: 12px; /* ✔ の高さ */
  border-right: 2px solid #1f65b7;  /* ← 色をここで指定 */
  border-bottom: 2px solid #1f65b7; /* ← 色をここで指定 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
}
/* ======================================================
   page-contact-confirm.php
====================================================== */
.form_btn {
  display: flex;
  gap: 20px;
}
