.pc-open{display: block;}
.sp-open{display: none;}
.empty {
  visibility: hidden; /* 空の要素を見えなくするが、スペースは保持 */
}
.l-simulation{
  padding: 190px 0 80px 0;
  animation-name: fadedInColor;
  animation-delay: 2s;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  background-color: #eeeeee;


}
.shutter{
  margin: -53px -40px;
  animation-name: fadedOut;
  animation-delay: 2s;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 1;
}
@keyframes fadedOut {
  0% {
  }
  100% {
      transform: translateX(0);
      opacity: 0;
      display: none;
  }
}
@keyframes fadedInColor {
  0% {
    background-color: #eeeeee;
  }
  100% {
    background-color: #fff;
  }
}

@keyframes fadedIn {
  0% {
  }
  100% {
      opacity: 1;
  }
}

#page1{
  opacity: 0;
  animation-delay: 2s;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-name: fadedIn;
}
form.wpcf7-form label.checkbox {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 350px;
  height: 80px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 3px;
  background: #f6efd7;
  box-shadow: 0 .5rem 0 #a5976e;
  color: #000;
  font-size: 2rem;
  font-weight: 600;
  margin: 25px 0.5% 15px;
  transition: background .2s, box-shadow .2s, transform .2s, color .2s;
}

form.wpcf7-form input[type="checkbox"] {
  display: none; 
}

form.wpcf7-form label.checkbox.active {
  background: #c4b894;
  box-shadow: 0 .5rem 0 #a5976e;
  transform: translateY(0.15rem);
}

.button-container p,
.checkbox-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.checkbox-container p{
  width: 32%;
}
#prefectures-container label.checkbox{
  width: 45%;
  margin-top: 10px;
}

.button-container button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  height: 80px;
  width: 32%;
  outline: none;
  border: none;
  border-radius: 3px;
  background: #f6efd7;
  box-shadow: 0 .5rem 0 #a5976e;
  color: #000;
  font-size: 2rem;
  font-weight: 600;
  margin: 25px 0.5% 15px;
  transition: background .2s, box-shadow .2s, transform .2s, color .2s;
  cursor: pointer;
}
.button-container br{
  display: none;
}
.button-container button img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.button-container button.selected {
  background: #c4b894;
  box-shadow: 0 .5rem 0 #a5976e;
  transform: translateY(0.15rem);
}
.number-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.machine-input {

  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
  max-width: 350px;
  height: 80px;
  width: 32%;
  outline: none;
  border: none;
  border-radius: 3px;
  background: #f6efd7;
  box-shadow: 0 .5rem 0 #a5976e;
  color: #000;
  font-size: 2rem;
  font-weight: 600;
  margin: 25px 0.5% 15px;
  transition: background .2s, box-shadow .2s, transform .2s, color .2s;
  cursor: pointer;
}
.wpcf7-textarea{
  width: 100%;
  height: 150px;
  padding: 0 16px;
  color: #000;
  border-radius: 2px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
legend{
  font-size: 2rem;
  font-weight: 600;
  color: #000;
  text-align: center;

}
.machine-input label {
  flex: 1;
}
.machine-input br{
  display: none;
}

.machine-input button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
}

.machine-input input {
  width: 36px;
  text-align: center;
  margin-left: 12px;
  font-size: 16px;
  border: none;
  background: none;
  pointer-events: none;
}

.prev-button {
  color: #0000EE;
}

.next-button{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8rem;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 10px;
  background: #ffe501;
  box-shadow: 0 .5rem 0 #000000;
  color: #876e45;
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0;
  transition: background .2s, box-shadow .2s, transform .2s, color .2s;
  color: #000;
}
.wpcf7-submit{
  background: #ffe501;
  transition: .3s background-color;
  color: #000;
  padding: 10px 40px;
  font-size: 1.4rem;
  font-weight: 700;
  width: 300px;
  margin: auto;
}
.machine-input label{
  font-size: 18px;
  margin-right: 10px;
}
.number-input > p{
  display: flex;
  align-items: baseline;
  justify-content: center;
}
#total-price-container{
  background: #000;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.5rem;
  color: #fff;
  position: fixed;
  text-align: center;
  bottom: 0;
  width: 100%;
  margin: 0 -10%;
  z-index: 100;
}
#total-price-container p{
  display: inline-block;
  border-bottom: solid #83764d 1px;
  font-weight: bold;
}
#total-price-container p #total-price{
  color: #83764d;
  font-size: 26px;
  font-weight: bold;
}
#total-price-container p .price-en{
  color: #83764d;
}
.button-container button img.img-open{
  width: 70px;
}
.button-container button img.img-kiki{
  width: 60px;
  margin-right: 10px;
}
.button-container button img.img-card{
  width: 90px;
}
.button-container button img.img-service{
  width: 50px;
  margin-right: 10px;
}
.button-container button img.img-house{
  width: 50px;
  margin-right: 10px;
}
.button-container button img.img-other{
  width: 70px;
}
.button-container button img.img-zim{
  width: 65px;
  margin-right: 10px;
}
.button-container button img.img-hour{
  width: 50px;
  margin-right: 10px;
}
.button-container button img.img-fitness{
  width: 50px;
  margin-right: 10px;
}
.form-header{
  text-align: center;
  margin-bottom: 50px;
}

.form-header p{
  display: inline;
  font-size: 20px;
  font-weight: bold;
  color: #ff0000;
  text-decoration: underline wavy #ff0000;
}
.form-navegater{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}
.form-navegater__img img{
  height: auto;
  width: 80%;
}
.form-navegater__text{
  color: #000;
  font-weight: bold;
  font-size: 22px;
}
.form-navegater__text span{
  color: #ff0000;
}
.form-attention{
  text-align: center;
  background-color: #f7efd6;
  max-width: 700px;
  padding: 20px;
  margin: auto auto 50px;
}
.form-attention p{
  color: #000;
  font-weight: bold;
  font-size: 22px;
}
.form-content__title{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 12px;
  width: 200px;
}
.form-content__title legend{
  margin: 0;
}
.form-content__title span {
  background: #f30d15;
  border-radius: 4px;
  padding: 2px 5px;
  color: #fff;
  font-size: 13px;
}
.wpcf7-form-control-wrap input{
  width: 100%;
  height: 50px;
  padding: 0 16px;
  color: #000;
  border-radius: 2px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form-section fieldset{
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.form-content__link{
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}
.form-content__link a:link {
  color: #0000EE;
  text-decoration: underline;
 }
 
 .form-content__link a:visited {
  color: #551A8B;
  text-decoration: underline;
 }
 
 .form-content__link a:hover {}
 
 .form-content__link a:active {
  color: #FF0000;
  text-decoration: underline;
 }
.submit{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* 都道府県のプルダウンここから */
.dropdown-container{
  display: flex;
  justify-content: center;
  margin: 20px auto 200px;
}
.dropdown {
  position: relative;
  display: inline-block;
  width: 300px;
}
.dropdown-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  line-height: 3.5;
  border-radius: 5px;
  border: 3px solid #c5b388;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-select p{
  display: contents;
}
.dropdown-arrow {
  background-color: #d0c3a1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  border-left: 2px solid #c5b388; /* 左側ボーダーを指定 */
  height: 100%; /* ドロップダウンと同じ高さに */
}

.dropdown-arrow::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  transform: rotate(45deg); /* 矢印の角度を45度に回転 */
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  color: #000;
  border: 1px solid #c5b388;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
}
.dropdown-content label {
  display: block;
  padding: 10px;
  cursor: pointer;
  display: flex;
}
.dropdown-content label:hover {
  background-color: #f1f1f1;
}
.dropdown.active .dropdown-content {
  display: block;
}
form.wpcf7-form .dropdown-content input[type="checkbox"]{
  display: block;
  margin-right: 10px;
}
/* 都道府県のプルダウンここまで */
.wpcf7 form.sent .wpcf7-response-output{
  color: #000;
}
@media screen and (max-width: 1200px) {
  #total-price-container{
    margin: 0 -5%;
  }
  
}

@media screen and (max-width: 1000px) {
  .pc-open{display: none;}
  .sp-open{display: block;}
  .empty {display: none!important;}
  .shutter{
    animation-delay: 1s;
    animation-duration: 0.75s;
  }
  #page1{
    animation-delay: 1s;
    animation-duration: 0.75s;
  }
  legend {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
  .l-simulation {
    padding: 65px 0 80px 0;
  }
  .button-container p, .checkbox-container {
    flex-direction: column;
  }
  .button-container button{
    width: 100%;
    height: 5.5rem;
    max-width: unset;
    justify-content: flex-start;
    padding: 0 60px 0 20px;
    margin: 5px 0;
  }
  form.wpcf7-form label.checkbox{
    margin: 0 0 5px;  
    height: 5.5rem;
    max-width: unset;

  }
  #total-price-container p .price-en{
    color: #83764d;
  }
  .button-container button img.img-open{
    width: 70px;
  }
  .button-container{
    margin-bottom: 5px;
  }
  .button-container button img.img-kiki{
  }
  .button-container button img.img-card{
    width: 70px;
  }
  .button-container button img.img-service{
  }
  .button-container button img.img-house{
  }
  .button-container button img.img-other{
  }
  .button-container button img.img-zim{
    width: 65px;
    margin-right: 10px;
  }
  .button-container button img.img-hour{
    width: 50px;
    margin-right: 10px;
  }
  .button-container button img.img-fitness{
    width: 50px;
    margin-right: 10px;
  }
  .l-topContact__btnWrap{
    display: none;
  }
  .checkbox-container p{
    width:100%;
    margin-bottom: 5px;
  }
  .machine-input{
    width:100%;
    max-width: unset;
    height: 5.5rem;
    margin: 0 0 10px;
  }
  .checkbox-container br,
  .button-container br{
    display: none;
  }
  .next-button{
    position: fixed;
    z-index: 100;
    border-radius: 0;
    width: 102vw;
    margin: 0 -21px 0;
    bottom: 75px;
    height: 60px;
  }
  .form-navegater{
    margin-bottom: 20px;
  }
  .form-header {
    margin-bottom: 20px;
}
  .form-navegater__text{
    font-size: 15px;
  }
  .form-attention p {
    font-size: 15px;
  }
  .form-section fieldset {
    margin-bottom: 15px;
    flex-direction: column;
  }
  .form-content__title{
    flex-direction:unset;
    align-items: baseline;
    width: unset;
  }
  .form-content__title legend{
    font-size: 16px;
    margin-right: 10px;
  }
  .machine-input input{
    margin-left: unset;
  }
}

@media screen and (max-width: 870px) {
  #total-price-container{
    margin: 0 -5%;
  }
}
