@charset "UTF-8";
/* フォームリセット
   text,email,tel,submitのリセット
--------------------------- */
input[type=text],
input[type=email],
input[type=tel],
input[type=submit] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* 枠線を付けておく */
  border: 1px solid rgb(1, 1, 1);
}

input[type=file] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* text,email,tel
--------------------------- */
input[type=text],
input[type=email],
input[type=tel] {
  width: 100%;
  padding: 0.5em;
  border: 2px solid rgb(0, 0, 0);
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus {
  outline: 2px solid #1971AC;
}

/* Radio Button
--------------------------- */
input[type=radio] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.radio {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  margin-bottom: 5px;
  cursor: pointer;
}

.radio::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  position: absolute;
  inset: 0 auto 0 0;
}

input[type=radio]:checked + .radio::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  inset: 4.5px auto auto 4px;
  margin: auto;
}

input[type=radio]:focus + .radio::before {
  outline: 2px solid #1971AC;
}

/* Checkbox
   input[type="checkbox"]+*の*は必要であればクラス名に変更すること
--------------------------- */
input[type=checkbox] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* input[type="checkbox"]+* はチェックの次の要素 */
input[type=checkbox] + * {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  margin-bottom: 5px;
  cursor: pointer;
}

input[type=checkbox] + *::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  position: absolute;
  inset: 0 auto 0 0;
}

input[type=checkbox]:checked + *::after {
  content: "";
  display: block;
  width: 7px;
  height: 18px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  position: absolute;
  inset: 0 auto auto 7px;
  margin: auto;
  transform: rotate(45deg);
}

input[type=checkbox]:focus + *::before {
  outline: 2px solid #1971AC;
}

/* input[type="file"]は保留
--------------------------- */
/* select
   optionのcssは変更できない。JSで書き換えることになる。
--------------------------- */
.select-wrap {
  position: relative;
  top: -1px;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 10px;
}
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
  transform: translateY(-50%);
  pointer-events: none;
}
.select-wrap select {
  width: 60px;
  padding: 5px 10px;
  border: 2px solid #000;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  color: #000;
}
.select-wrap select:focus {
  border-color: #1971AC;
}

/* Textarea
--------------------------- */
textarea {
  width: 100%;
  padding: 0.5em;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 16px;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 20px;
}

textarea:focus {
  border-color: #1971AC;
}

/* Submit
--------------------------- */
input[type=submit] {
  display: inline-block;
  width: 100%;
  max-width: 350px;
  margin: auto;
  padding: 1.2em;
  border: none;
  background-color: #1971AC;
  color: #fff;
  text-align: center;
  line-height: 1;
  cursor: pointer;
  letter-spacing: 0.1em;
}

input[type=submit]:hover {
  opacity: 0.7;
}

input[type=submit]:active {
  background-color: #1c598a;
}

input[type=submit]:focus {
  background-color: #1c598a;
  border: 2px solid #1971AC;
}

/* Contact form 7
--------------------------- */
.entry-form {
  width: 100%;
  margin-bottom: 30px;
}
.entry-form th {
  padding: 30px 0 20px 0;
  font-weight: 500;
  width: 250px;
}
.entry-form td {
  padding: 20px;
}

[data-name=text-yubin] input {
  width: 300px;
}

.wpcf7-spinner {
  margin: 0 -50px 0 24px;
}

/* ページ全体
--------------------------- */
.page-entry {
  padding: 50px 0 200px;
}
@media screen and (max-width: 767px) {
  .page-entry {
    padding: 50px 0 100px;
  }
}
.page-entry__page-title {
  margin-bottom: 65px;
  text-align: center;
  font-size: 60px;
  line-height: 1.43;
  font-family: "Zen Maru Gothic", serif;
}
@media screen and (max-width: 767px) {
  .page-entry__page-title {
    margin-bottom: 40px;
    font-size: 30px;
  }
}
.page-entry__page-title > span {
  position: relative;
  bottom: 2px;
  padding-left: 20px;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .page-entry__page-title > span {
    padding-left: 15px;
    font-size: 14px;
  }
}