@charset "utf-8";
/* CSS Document */
/****************************
     お問い合わせ
****************************/
header {
  border-bottom: 3px solid #d80a2d;
  justify-content: center;
}
p {
  margin: 1.5em 0;
}
p.error {
  margin: 0;
  color: #d80a2d;
  font-weight: bold;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/*ラジオボタン*/
label {
  position: relative;
  cursor: pointer;
  padding-left: 4em;
  width: 410px;
  display: inline-block;
  height: 52px;
  line-height: 52px;
  border: 1px solid #d80a2d;
  box-sizing: border-box;
  border-radius: 6px;
  margin: 0.5em 1em 0.5em 0;
}

label::before,
label::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

label::before {
  background-color: #fff;
  border: 1px solid #d80a2d;
  border-radius: 50%;
  max-width: 30px;
  max-height: 30px;
  left: 1em;
  width: 5vw;
  height: 5vw;
}

label::after {
  background-color: #d80a2d;
  border-radius: 50%;
  opacity: 0;
  max-width: 16px;
  max-height: 16px;
  left: 1.5em;
  width: 2vw;
  height: 2vw;
}

input:checked + label::after {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}
.contact_block dl dd .radio_block input {
  width: 1px;
}
.contact_block {
  max-width: 780px;
  width: 100%;
  margin: 2em 0;
}
.contact_block dl {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 1.5em 0;
}
.contact_block dl dt {
  width: 35%;
  font-size: 18px;
  height: 72px;
  line-height: 72px;
}
.contact_block dl dd {
  max-width: 410px;
  width: 67%;
  margin: 0;
}
.contact_block dl dd input {
  width: 100%;
  height: 52px;
  line-height: 52px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #d80a2d;
  padding: 10px;
  font-size: 20px;
  margin: 0.5em 0;
}

/*セレクトボックス*/
.select_block {
  margin: 0.5em 0;
  position: relative;
}
.select_block::before {
  content: "";
  max-width: 15px;
  width: 5vw;
  height: 100%;
  background: url(../img/i_select.svg) no-repeat center;
  position: absolute;
  right: 5%;
}
select {
  outline: none;
  vertical-align: middle;
  font-size: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 52px;
  border-radius: 6px;
  background: #d80a2d;
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
select option {
  background-color: #fff;
  color: #333;
}
select::-ms-expand {
  display: none;
}
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #828c9a;
}

/*ボタン*/
.btn_block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2em 0 3em;
}
.btn_block button {
  background: #d80a2d;
  max-width: 385px;
  width: 90%;
  height: 68px;
  border: none;
  line-height: 68px;
  font-size: 20px;
  color: #fff;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  margin: 0 0.5em;
  transition: 0.3s;
  font-weight: 600;
}
.btn_block button:hover {
  opacity: 0.7;
}
.btn_block button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid;
  border-right: 2px solid;
  position: absolute;
  right: 10%;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
}

.btn_block button.btnback {
  background: #7c7c7c;
}

.btn_block a {
  background: #d80a2d;
  max-width: 385px;
  width: 90%;
  height: 68px;
  border: none;
  line-height: 68px;
  font-size: 20px;
  color: #fff;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  margin: 0 0.5em;
  transition: 0.3s;
  display: block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn_block a.btnback {
  background: #7c7c7c;
}
.btn_block a:hover {
  opacity: 0.7;
}
.btn_block a::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid;
  border-right: 2px solid;
  position: absolute;
  right: 10%;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
}

/*確認画面用*/
#check .contents_block dl dd {
  height: 72px;
  line-height: 72px;
  font-size: 18px;
  font-weight: bold;
}
#check .contents_block .radio_block {
  font-size: 18px;
  font-weight: bold;
}

/*完了画面用*/
#thanks {
  min-height: calc(100vh - 122px);
  position: relative;
}
#thanks footer {
  position: absolute;
  width: 100%;
  bottom: 0;
}

@media screen and (max-width: 768px) {
  .sec {
    padding: 0;
  }
  label {
    width: 100%;
    height: 52px;
    line-height: 52px;
    margin: 0.5em 0;
  }
  .contact_block dl {
    display: block;
  }
  .contact_block dl dt {
    width: 100%;
    font-size: 3.2vw;
    height: auto;
    line-height: initial;
  }
  .contact_block dl dd {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .contact_block dl dd input {
    height: 52px;
    line-height: 52px;
    font-size: 4.2vw;
  }

  /*ボタン*/
  .btn_block {
    display: block;
    margin: 4em 0 4em;
  }
  .btn_block button,
  .btn_block a {
    margin: 1em auto;
    font-size: 4.2vw;
    height: auto;
    line-height: 1;
    padding: 0.85em 0;
    display: block;
  }

  /*確認画面用*/
  .contents_block.contact_check dl dd {
    height: auto;
    line-height: 1.6;
    font-size: 3.8vw;
    padding: 0.5em 0;
  }
  .contents_block.contact_check .radio_block {
    font-size: 3.8vw;
  }
}
@media screen and (max-width: 480px) {
}

.hissu {
  color: #d80a2d;
  font-weight: bold;
  font-size: 90%;
  margin-left: 15px;
}

/*同意*/
.agree {
  padding: 0 30px;
  height: 30vh;
  overflow-y: scroll;
  border: solid 1px #d80a2d;
}
@media screen and (min-width: 769px) {
  .agree * {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .agree * {
    font-size: 14px;
  }  
}
.agree dl {
  margin: 0 0 30px;
}

.agree dt {
  margin: 0 0 5px;
}

.agree dd {
  margin: 0;
}

.agree ul {
  padding: 0;
}

.agree li {
  list-style: none;
}

.agree-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 30px;
}

.agree-button label {
  width: auto;
  margin: 0;
  padding: 0 0 0 10px;
  border: none;
}

.agree-button label::before, .agree-button label::after {
  display: none;
}

.agree-button input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #d80a2d;
  background-color: #fff;
  cursor: pointer;
}

.agree-button input[type="checkbox"]:checked::before {
  content: "";
  width: 6px;
  height: 10px;
  border: solid #d80a2d;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 4px;
}

.radio_block>div {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 769px) {
  .radio_block>div label {
    flex: 1;
  }
}

/* 送信ボタン */
.submit-btn {
  /* buttonタグのリセットCSS */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
  color: #fff;
  background-color: #3abec1;
  cursor: pointer; /* ポインターカーソルを表示 */
}

.submit-btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed; /* クリック不可のカーソルを表示 */
}

/****************************
     サンクスページ
****************************/
.thanks .lead{
  width: 90vw;
  height: 70vh;
  margin: 10vh auto 0;
  text-align: center;
}
.thanks h1 {
  margin: 0 0 50px;
  font-size: 2.0rem;
}
.thanks .lead p {
  margin: 0 0 20px;
  font-size: 1.6rem;
}
.thanks .lead .button {
  margin: 50px 0 0;
}
.thanks .lead  .button a {
  color: #e50012;
}
