.counselingWindowContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 50px 100px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  z-index: 100000;
}

.counselingWindowContainer .counselingQuestion {
  padding: 0 40px;
}

.counselingWindowContainer .counselingWindowContent {
  max-width: 1100px;
  width: 80%;
  background: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.counselingWindowContainer .counselingWindowContent form {
  padding: 0 0 20px;
  max-height: 80vh;
  overflow-y: scroll;
}

.counselingWindowContainer .counselingWindowContent h3 {
  background-color: #000;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.0;
  padding: 20px;
  text-align: center;
}

.counselingWindowContainer .counselingWindowContent p {
  font-weight: bold;
  font-size: 16px;
}

.counselingWindowContainer .counselingWindowContent .error>p {
  background: #fef2f4;
  color: #e40011;
  text-align: left;
  padding: 10px;
  display: block;
  margin-bottom: 20px;
}

.counselingWindowContainer .counselingWindowContent .error:empty {
  margin-bottom: 0;
}

.counselingWindowContainer .counselingWindowContent .question {
  text-align: left;
  color: #333333;
  font-weight: normal;
  margin-bottom: 10px;
}

.counselingWindowContainer .counselingWindowContent .alert {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: normal;
  padding: 0 40px;
  text-align: center;
}

.counselingWindowContainer .counselingWindowContent .message {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.8;
  font-weight: normal;
  padding: 0 40px;
  text-align: center;
}

.counselingWindowContainer .counselingWindowContent .inputUnit {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.counselingWindowContainer .counselingWindowContent .inputUnit label {
  background-color: #dddddd;
    font-size: 18px;
    margin: 0 10px;
    cursor: pointer;
    /* margin-right: 20px; */
    padding-left: 60px;
    position: relative;
}

.counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio {
  display: none;
}

.counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio_parts {
  font-size: 18px;
  margin: 0 30px 0 18px;
}

.counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio+.el_form_radio_parts::before {
  background: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  content: "";
  display: block;
  height: 15px;
  left: 20px;
  position: absolute;
  top: 8px;
  width: 15px;
  border-radius: 0;
}

.counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio:checked+.el_form_radio_parts::after {
  background: #000;
  border-radius: 50%;
  content: "";
  display: block;
  height: 7px;
  left: 25px;
  position: absolute;
  top: 13px;
  width: 7px;
}

.counselingWindowContainer .counselingWindowContent .btnUnit {
  display: flex;
  justify-content: center;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn button,
.counselingWindowContainer .counselingWindowContent .btnUnit .btn a {
  min-width: 150px;
  min-height: 60px;
  font-size: 18px;
  padding: 10px 20px;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn button:hover {
  text-decoration: none;
  opacity: 0.8;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn.white button,
.counselingWindowContainer .counselingWindowContent .btnUnit .btn.white a {
  margin: 0 auto;
  color: #19191a;
  border: 2px solid #000;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  display: block;
  line-height: 2.1;
  text-align: center;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue button,
.counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue a {
  margin: 0 auto;
  color: #fff;
  background-color: #000;
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  display: block;
  line-height: 2.1;
  text-align: center;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue button:hover,
.counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue a:hover {
  opacity: .7;
}

.counselingWindowContainer .counselingWindowContent .btnUnit .btn.white a:hover {
  opacity: .7;
}

.counselingWindowContainer .counselingWindowContent .btnUnit span {
  display: block;
}

.counselingWindowContainer .counselingWindowContent .btnUnit span:first-child {
  margin-right: 20px;
}

.counselingWindowContainer .counselingWindowContent .btnUnit span:last-of-type {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.counselingWindowContainer .counselingWindowContent .zoom_close {
  position: absolute;
  top: 0;
  right: -70px;
}

.counselingWindowContainer .zoom_close {
  position: absolute;
  top: -70px;
  right: -20px;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background: #000000;
}

.counselingWindowContainer .zoom_close::before,
.counselingWindowContainer .zoom_close::after {
  content: "";
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.counselingWindowContainer .zoom_close::before {
  transform: rotate(45deg);
}

.counselingWindowContainer .zoom_close::after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 960px) {
  .counselingWindowContainer .counselingWindowContent .btnUnitEst {
    display: block;
    padding: 0 50px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnitEst span:first-child {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {

  .counselingWindowContainer .counselingWindowContent h3 {
    font-size: 18px;
    line-height: 1.8em;
    margin-bottom: 10px;
  }

  .counselingWindowContainer .counselingWindowContent .message {
    font-size: 15px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit {
    display: block;
    padding: 0 50px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit span:first-child {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue button,
  .counselingWindowContainer .counselingWindowContent .btnUnit .btn.blue a {
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    width: 100%;
  }


  .counselingWindowContainer .counselingWindowContent .btnUnit .btn.white button,
  .counselingWindowContainer .counselingWindowContent .btnUnit .btn.white a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    padding: 6px;
    width: 100%;
  }

  .counselingWindowContainer .zoom_close {
    width: 30px;
    height: 30px;
  }

  .counselingWindowContainer .counselingWindowContent .zoom_close {
    top: 0;
    right: -35px;
  }

  .counselingWindowContainer .zoom_close::before,
  .counselingWindowContainer .zoom_close::after {
    width: 25px;
  }


  .counselingWindowContainer .counselingWindowContent .question {
    text-indent: -1em;
    padding-left: 1em;
    font-size: 15px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit.question_btnUnit {
    display: flex;
    flex-wrap: wrap-reverse;
    padding: 0 20px;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit.question_btnUnit .btn {
    display: block;
    width: 100%;
  }

  .counselingWindowContainer .counselingWindowContent .btnUnit.question_btnUnit .btn:last-child {
    margin-bottom: 20px;
  }

  .counselingWindowContainer .counselingWindowContent .inputUnit label {
    margin: 0 8px;
    cursor: pointer;
    /* margin-right: 20px; */
    padding-left: 30px;
    position: relative;
    font-size: 15px;
  }

  .counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio_parts {
    font-size: 14px;
  }

  .counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio+.el_form_radio_parts::before {
    top: 5px;
  }

  .counselingWindowContainer .counselingWindowContent .inputUnit .el_form_radio:checked+.el_form_radio_parts::after {
    top: 10px;
  }

  .counselingWindowContainer .counselingWindowContent .alert {
    padding: 0 20px;
    margin-bottom: 10px;
  }

  .counselingWindowContainer .counselingQuestion {
    padding: 0 20px;
}

}

@media screen and (max-width: 480px) {
  .counselingWindowContainer .zoom_close {
    width: 30px;
    height: 30px;
  }

  .counselingWindowContainer .counselingWindowContent .zoom_close {
    top: 0;
    right: -35px;
  }

  .counselingWindowContainer .zoom_close::before,
  .counselingWindowContainer .zoom_close::after {
    width: 25px;
  }
}

#closeCounseling-8 {
  background-color: #fff;
  border:2px solid #000;
  color: #000 !important;
  font-weight: bold !important;
  padding: 10px 82.5px;
  margin-bottom: 5px;
}

#closeCounseling-9 {
  color: #fff;
  background-color: #000;
  padding: 10px 100px;
}

#goCart-1 {
  background-color: #000;
  color: #fff;
  padding: 10px 100px;
  margin-bottom: 10px;
}

#goCart-2 {
  background-color: #000;
  color: #fff;
  padding: 10px 100px;
  margin-bottom: 10px;
}

#goDecorteCounseling-1 {
  background-color: #fff;
  border:2px solid #000;
  color: #000 !important;
  padding: 10px 100px;
  margin-bottom: 40px;
}

#goDecorteCounseling-2 {
  background-color: #fff;
  border:2px solid #000;
  color: #000 !important;
  padding: 10px 100px;
  margin-bottom: 40px;
}

#decorteCounselingWarningDialog .alert {
  font-size: 16px;
}

@media screen and (max-width: 767px) {

  #closeCounseling-8 {
    padding: 10px 50px;
}

#goCart-1 {
  padding: 10px 66.8px;
}

#goCart-2 {
  padding: 10px 30px;
}

  #goDecorteCounseling-1 {
    padding: 10px 20px;
  }

  #goDecorteCounseling-2 {
    padding: 10px 20px;
  }
}

.counselingWindowContainer .pcNone {
  display: none;
}

@media screen and (max-width: 767px) {
  .counselingWindowContainer .pcNone {
    display: block;
  }
}

/* カウンセリングポップデザイン修正 2024 */
#againCounseling-1{
  padding: 0;
  background-color: #000;
  color: #fff;
  line-height: 50px;
  width: 292px;
}
#closeCounseling-9{
  margin-top: 20px;
  padding: 10px;
  line-height: 1;
  background-color: rgb(240, 240, 240);
  color: #000;
  font-size: 1.4rem;
}
#goCart-2{
  padding: 0;
  width: 292px;
  line-height: 50px;
}
#goDecorteCounseling-2{
  padding: 0;
  width: 292px;
  line-height: 50px;
}
.detail-counseling-block{
  padding: 20px 0;
  margin: 20px 20px 0;
  background-color: rgb(240, 240, 240);
}
.detail-counseling-block #goDecorteCounseling-2{
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  #againCounseling-1{
    width: calc(100% - 20px);
    max-width: 292px;
    margin-left: auto;
    margin-right: auto;
  }
  #goCart-2{
    width: calc(100% - 20px);
    max-width: 292px;
    margin-left: auto;
    margin-right: auto;
  }
  .detail-counseling-block{
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .detail-counseling-block #goDecorteCounseling-2{
    width: 100%;
    max-width: 292px;
  }
    

.counselingWindowContainer .counselingWindowContent .alert .sp{
    display: none;
}   
    
}
@media screen and (max-width: 431px) {
  .detail-counseling-block #goDecorteCounseling-2{
    font-size: 1.4rem;
  }
}

#closeCounseling-9,
#closeCounseling-10{
    background-color: #fff;
    color: #000;
}