/***************************************
 * common
 ***************************************/

#breadcrumb {
  display: none;
}

/* #content {
  margin: 0;
  padding: 0;
} */

.contact-article {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: calc(100vh - 56px);
  background: linear-gradient(
    to right,
    rgba(16, 82, 44, 0.31),
    rgba(142, 195, 31, 0.2)
  );
}

.contact-container {
  display: flex;
  flex-direction: column;
  width: 80vw;
  max-width: 1470px;
  height: calc(80vh);
  padding: 70px 10%;
  background-color: #fff;
}

.contact-container form {
  flex-grow: 1;
  overflow: auto;
}

.contact-header h2 {
  font-weight: bold;
  font-size: 24px;
  color: #10522c;
  text-align: center;
}

/****** question ******/
.q__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 40px);
  margin-top: 40px;
  animation: fadeIn 0.2s ease 0.3s 1 normal;
}

.q__title {
  font-size: 16px;
  font-weight: bold;
}

.q__content {
  margin-top: 8px;
}

.q__content input[type="text"],
.q__content input[type="email"],
.q__content input[type="number"],
.q__content input[type="tel"] {
  width: 90%;
  border-radius: 10px;
  border: 1px solid #333333;
  padding: 8px 16px;
  background-color: #fff;
}
::placeholder {
  color: #dddddd;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.q1,
.q2,
.q3,
.q4,
.q5,
.q6,
.confirm {
  display: none;
  opacity: 0;

}

.q__active {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.7s ease-in 0s forwards;
}

/****** question button ******/
.q__button-wrap {
  padding-top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

@media screen and (max-width: 959px) {
  .article {
    height: calc(100vh - 64px);
  }
}

/***************************************
 * parts
 ***************************************/

/****** tags ******/
.contact-tags {
  padding: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  border-radius: 6px;
}

.contact-tags--red {
  background-color: #ef2e2e;
}

.contact-tags--orange {
  background-color: #ef7d2e;
}

.contact-tags--gray {
  background-color: #adadad;
}

/****** button-back ******/
.contact-button-back {
  width: 160px;
  padding: 8px 0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background-color: #adadad;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(201, 201, 201, 0.16);
  position: relative;
}

.contact-button-back span {
  position: absolute;
  left: 8px;
}

/****** button-next / button-confirm ******/
.contact-button-next,
.contact-button-confirm {
  width: 240px;
  padding: 8px 0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background-color: #ef7d2e;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(201, 201, 201, 0.16);
  position: relative;
}

.contact-button-next span,
.contact-button-confirm span {
  position: absolute;
  right: 8px;
}

.contact-button--disabled {
  opacity: 0.3;
  cursor: default;
}

/****** progress ******/
.contact-progress p {
  font-size: 18px;
  font-weight: bold;
}

.contact-progress p span {
  color: #07913a;
}

.contact-progress progress {
  width: 100%;
  height: 5px;
}

.contact-progress progress {
  -webkit-appearance: none;
  border-radius: 20px;
}
::-webkit-progress-bar {
  background-color: #dddddd;
  border-radius: 20px;
}
::-webkit-progress-value {
  background-color: #07913a;
  border-radius: 20px;
}
.contact-progress progress {
  -moz-appearance: none;
  background-color: #dddddd;
  border-radius: 20px;
}
::-moz-progress-bar {
  background-color: #07913a;
  border-radius: 20px;
}

/***************************************
 * form
 ***************************************/
/****** q1 ******/
.q1__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/****** q2 ******/
.q2__content p {
  font-size: 16px;
}

.q2__content p span {
  color: #ef2e2e;
  font-weight: bold;
}

.q2__content ul {
  margin-top: 16px;
}

.q2__content ul li {
  padding-left: 16px;
  position: relative;
}

.q2__content ul li:before {
  color: #000000;
  content: "・";
  font-size: 16px;
  position: absolute;
  left: 0;
}

.q2__agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

/****** q3 ******/
.q3 .q__inner {
  display: flex;
}

.q3__item {
  width: 50%;
}

.q3__content label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/****** q4 ******/
.q4 .q__inner {
  width: 50%;
}

.q4 dt:not(:first-child) {
  margin-top: 40px;
}

/****** q5 ******/
.q5__item-wrap {
  display: flex;
}

.q5__item {
  width: 50%;
}

.q5__item--phone {
  margin-top: 40px;
}

/****** q6 ******/
.q6__content:last-child {
  margin-top: 24px;
}

.q6__payment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.q6__content-inner {
  margin-left: 20px;
}

.q6__content-inner label {
  margin-top: 8px;
  display: block;
}

.q6__content-label-wrap {
  display: flex;
}

.q6__content-label-wrap label {
  width: 45%;
}

.q6__input-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
  border-radius: 10px;
  border: 1px solid #333333;
}

.q6__input-wrap input {
  width: 45% !important;
  border: none !important;
  outline: none;
}

.q6__content input[name="cc-csc"] {
  display: block;
  width: 50%;
}

/****** confirm ******/
.confirm__title {
  text-align: center;
  font-weight: bold;
}

.confirm__title-text {
  font-size: 16px;
}

.confirm__title-note {
  font-size: 14px;
  color: #ef2e2e;
}

.confirm__table {
  width: 70%;
  margin: 0 auto;
}

.confirm__table tr {
  border-top: 1px solid #889b8f;
}

.confirm__table tr:last-child {
  border-bottom: 1px solid #889b8f;
}

.confirm__table th,
.confirm__table td {
  padding: 8px 16px;
  font-size: 14px;
}

.confirm__table th {
  background-color: #cdedd9;
}


.triangle1-3 {
  border-right: 70px solid transparent;
  border-top: 70px solid #18904D; 
  height: 70px;
  width: 70px;
}
.title-label{
  border:2px;
  border: 2px solid rgb(239 125 46) !important;
  text-align: center;
}

.divide-area{
  padding: 26px 0;
}
.divide-area hr{
  border: 2px solid rgb(76 162 112);
}

.contact-container-thanks{
  display: flex;
  flex-direction: column;
  width: 80vw;
  max-width: 1470px;
  height: calc(80vh);
  /* padding: 80px 10%; */
  background-color: #fff;
}

.thanks-message{
  width: 70%;
  margin:0 auto;
}

.thanks-warn{
  width:70%;
  margin: 0 auto;
}

@media all and (max-width:735px){
  .contact-article {
    height: auto;
  }
  
  .contact-container form {
    flex-grow: 1;
    overflow: visible;
  }
  .thanks-warn{
    width:100%;
  }
  .divide-area{
    display: none;
  }
  .title-label{
    border:none !important;
    text-align: left;
  }
  .thanks-content {
    padding: 26px;
  }
  .contact-container {
    width: 100%;
    height: auto;
  }
  .contact-container-thanks{
    width: 100%;
    height: calc(90vh);
  }
  .thanks-day1 .contact-container{
    padding: 0;
  }
  .thanks-message{
    background-color: rgba(239, 239, 46, 0.09);
    width:100%;
  }
  .thanks-message p{
    padding: 13px 26px;
  }
  .sp_q__button-wrap #next_btn{
    width: 100%;
  }
  .q__button-wrap {
    flex-flow: column;
    gap: 16px;
  }

  .contact-button-next {
    order: 1;
  }
  .contact-button-back{
    order: 2;
  }
  .q4__content input[type="text"]{
    width: 80vw;
  }
  .q5__item-wrap{
    flex-flow: column;
  }
  .q5__item-wrap .q__title{
    width: 100vw;
    margin-top: 16px;
  }
  .q5__item--phone .q__title{
    width: 100vw;
  }
  .q5__item-wrap .q__content input[type="text"], .q__content input[type="email"], .q__content input[type="number"], .q__content input[type="tel"]{
    width: 80vw;
   }
   .confirm__table{
    width: 100%;
   }

   .w-100-2{
    width:70%;
    height:70%;
    margin-right: 5%;
  }

  .bf{
    display: flex;
    margin-top: 3%;
    margin-left: 10%;
    margin-right: 10%;
  }

 .triangle1-4 {
   border-right: 40px solid transparent;
   border-top: 40px solid #18904D;
   height: 40px;
   width: 40px;
 }
 .inset-4 {
   top: 0.4rem !important;
   right: 0.4rem !important;
   bottom: 0.4rem !important;
   left: 0.4rem !important;
 }

 .my-4-2 {
   margin-bottom: 1rem !important;
 }

 .thanks__item__text{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 }

 .text-lg2 {
   font-size: 0.75rem !important;
   line-height: 1rem !important;
 }
}

.q__container2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 40px);
}


.q__btn2{
  margin-top: 50px;
}

.pc\:h-70 {
  height: 15rem !important;
}

.q__box{
  margin-top: 40px;
}

.q__box2{
  margin-top: 20px;
}

.form-input2.js-form-check {
  width: 90%;
  border-radius: 10px;
  border: 1px solid #333333;
  padding: 8px 16px;
  background-color: #fff;
}

.payjs-outer.form-input2{
  width: 90%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #333333;
  padding: 8px 16px;
  background-color: #fff;
}

.thanks__item{
  position: relative; 
}

.centering_item{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-input2.js-form-check {
  width: 90%;
  border-radius: 10px;
  border: 1px solid #333333;
  padding: 8px 16px;
  background-color: #fff;
}

.payjs-outer.form-input2{
  width: 90%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #333333;
  padding: 8px 16px;
  background-color: #fff;
}

.w-100-2{
  width:70%;
  height:70%;
  margin-right: 5%;
}

.bf{
  display: flex;
  margin-top: 3%;
  margin-left: 10%;
  margin-right: 10%;
}

.triangle1-4 {
 border-right: 40px solid transparent;
 border-top: 40px solid #18904D;
 height: 40px;
 width: 40px;
}
.inset-4 {
 top: 0.4rem !important;
 right: 0.4rem !important;
 bottom: 0.4rem !important;
 left: 0.4rem !important;
}

.my-4-2 {
 margin-bottom: 1rem !important;
}

.thanks__item__text{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.text-lg2 {
 font-size: 0.75rem !important;
 line-height: 1rem !important;
}


@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}