/* CSS Document */
.contact {
  padding: 60px 30px 140px;
}
@media screen and (max-width: 980px) {
  .contact {
    padding: 40px max(2%, 15px) 60px;
  }
}
.contact_wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.txt_confirm.confirm_form{
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}
.entry_form{
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}
@media screen and (max-width: 980px) {
  .entry_form {
    display: block;
    width: 100%;
  }
}
dl {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 980px) {
  dl {
    display: block;
  }
}
dt {
  font-size: 1.6rem;
}
@media screen and (max-width: 980px) {
  dl {
    width: 100%;
  }
}
dt, dd {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-lightgray);
}
dt {
  font-size: 1.6rem;
  width: 40%;
  font-weight: 700;
  padding-left: 70px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 980px) {
  dt {
    width: 100%;
    padding: 20px 50px 10px 15px;
  }
}
@media screen and (max-width: 480px) {
  dt {
    padding: 20px 0 5px;
  }
}
@media screen and (max-width: 980px) {
  dt:first-child {
    padding-top: 0;
  }
}
dt span {
  background: #d70c18;
  color: var(--color-white);
  font-size: 1.2rem;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 400;
}

dd {
  width: 60%;
  padding-right: 100px;
}
@media screen and (max-width: 980px) {
  dd {
    width: 100%;
    padding: 0 50px 20px 15px;
    border-bottom: 1px solid var(--color-lightgray);
  }
}
@media screen and (max-width: 480px) {
  dd {
    padding: 0 0 20px;
  }
}
@media screen and (max-width: 980px) {
  dt, dd {
    border: none;
  }
}
input , select , textarea {
  font-size: 1.5rem;
  padding: 12px 20px;
  background: var(--color-lightgray);
  border-radius: 3px;
}
@media screen and (max-width: 980px) {
  input, select, textarea {
    padding: 12px;
  }
}
input , textarea {
  width: 100%;
}
.wpcf7-form-control-wrap.select-type{
  position: relative;
}
.wpcf7-form-control-wrap.select-type::before{
  content: "";
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top: 10px solid #4e4e4e;
  position: absolute;
  top: calc(50% + 6px);
  left: 270px;
  transform: translateY(-50%);
}
@media screen and (max-width: 480px) {
  .wpcf7-form-control-wrap.select-type::before {
    left: 240px;
  }
}
select {
  width: 300px;
}
@media screen and (max-width: 480px) {
  select {
    width: 270px;
  }
}
.agree_button{
  display: block;
  width: 50%;
  margin: 30px auto 0;
  font-weight: 400;
  padding: 0;
  border: none;
}
@media screen and (max-width: 980px) {
  .agree_button {
    width: 90%;
  }
}
.agree_button img{
  width: 180px;
}
.consent_button{
  width: 50%;
  margin: 20px 25% 0;
  padding: 0 0 0 10px;
  font-size: 1.8rem;
  line-height: 1;
  border: none;
}
@media screen and (max-width: 980px) {
  .consent_button {
    width: 90%;
    margin: 15px 5% 0;
  }
}
@media screen and (max-width: 480px) {
  .consent_button {
    margin: 10px 5% 0;
  }
}
label{
  display: flex;
  align-items: center;
}
.consent_button input{
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.errmsg {
  color: #f00;
  font-size: 1.4rem;
}

.entry_btn, .confirm_btn {
  display: flex;
  justify-content: center;
}
.confirm_btn {
  margin-top: 40px;
}
.entry_btn .confirm_wrap, .entry_btn .reset_wrap,
.confirm_btn .rewrite_wrap, .confirm_btn .submit_wrap {
  max-width: 280px;
  width: 100%;
  min-height: 70px;
  position: relative;
  border: 2px solid var(--color-black);
  padding: 15px 55px 15px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  transition: all .15s linear;
  overflow: hidden;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .entry_btn .confirm_wrap, .entry_btn .reset_wrap,
  .confirm_btn .rewrite_wrap, .confirm_btn .submit_wrap {
    padding: 12px 24px;
  }
}
.entry_btn .reset_wrap, .confirm_btn .rewrite_wrap {
  margin-right: 30px;
}
@media screen and (max-width: 480px) {
  .entry_btn .reset_wrap, .confirm_btn .rewrite_wrap {
    margin-right: 15px;
  }
}
.entry_btn .confirm_wrap::before, .confirm_btn .submit_wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-black);
  border-right: 2px solid var(--color-black);
  transform: translateY(-50%)rotate(45deg);
  display: inline-block;
  z-index: 1;
  transition: boder .3s;
}
.entry_btn .reset_wrap::before, .confirm_btn .rewrite_wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-black);
  border-right: 2px solid var(--color-black);
  transform: translateY(-50%)rotate(225deg);
  display: inline-block;
  z-index: 1;
  transition: boder .3s;
}
.entry_btn .confirm_wrap::after, .entry_btn .reset_wrap::after,
.confirm_btn .rewrite_wrap::after, .confirm_btn .submit_wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-blue);
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .75s cubic-bezier(.23, 1, .32, 1);
  display: block;
}
.entry_btn .confirm_wrap:hover, .entry_btn .reset_wrap:hover,
.confirm_btn .rewrite_wrap:hover, .confirm_btn .submit_wrap:hover {
  border-color: var(--color-blue);
  color: var(--color-white);
}
.entry_btn .confirm_wrap:hover::before, .entry_btn .reset_wrap:hover::before,
.confirm_btn .rewrite_wrap:hover::before, .confirm_btn .submit_wrap:hover::before {
  border-color: var(--color-white);
}
.entry_btn .confirm_wrap:hover::after, .entry_btn .reset_wrap:hover::after,
.confirm_btn .rewrite_wrap:hover::after, .confirm_btn .submit_wrap:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
.entry_btn .confirm_wrap p, .entry_btn .reset_wrap p,
.confirm_btn .rewrite_wrap p, .confirm_btn .submit_wrap p {
  position: relative;
  z-index: 1;
}
.entry_btn .button-confirm, .entry_btn .button-reset,
.confirm_btn .button-rewrite, .confirm_btn .wpcf7-submit {
  font-size: 1.6rem;
  background: none;
}

.confirm_btn .wpcf7-spinner{
  display: none;
}

dl.confirm_form dd span {
  font-size: 1.6rem;
}
/*
main dl.confirm_form dt:nth-last-of-type(1),
main dl.confirm_form dd:nth-last-of-type(1) {
    display: none;
}
*/

/* ============================
thanks
============================ */
.thanks {
  text-align: center;
}
.thanks p {
  font-size: 1.6rem;
}
.thanks_txt {
  color: var(--color-blue);
  font-size: 2rem !important;
  font-weight: 500;
}
@media screen and (max-width: 480px) {
  .thanks_txt {
    font-size: 1.8rem !important;
  }
}
.thanks p:nth-child(2) {
  margin: 20px 0;
}
.top_btn {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.top_btn span {
  width: 280px;
  max-width: 100%;
  min-height: 70px;
  position: relative;
  border: 2px solid var(--color-black);
  padding: 15px 55px 15px 28px;
  display: flex;
  /*flex-direction: column;
  justify-content: center;*/
  align-items: center;
  font-weight: 700;
  transition: all .15s linear;
  overflow: hidden;
  color: var(--color-black);
}
.top_btn span::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-black);
  border-right: 2px solid var(--color-black);
  transform: translateY(-50%)rotate(45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  content: "";
  display: inline-block;
  z-index: 1;
  transition: boder .3s;
}
.top_btn span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-blue);
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .75s cubic-bezier(.23, 1, .32, 1);
  display: block;
}
.top_btn span p {
  position: relative;
  z-index: 1
}
.top_btn span:hover {
  border-color: var(--color-blue);
  color: var(--color-white);
}
.top_btn span:hover::before {
  border-color: var(--color-white);
}
.top_btn span:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}