/* ––––––––––––––––––––––––––––––––––––––––––––––––––
counseling start
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.counseling .md {
  display: none;
}

.title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.title-container .title {
  margin-bottom: 0;
}

.back-button {
  display: block;
  color: #000;
  font-weight: 500;
  text-decoration: underline;
  text-align: right;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (max-width: 960px) {
  .back-button {
    font-size: 12px;
  }
}

@media (max-width: 567px) {
  .back-button {
    margin-top: 25%;
    font-size: 18px;
  }

  .title-container .title {
    margin-bottom: 10px;
  }
}

@media (max-width: 1440px) {
  .counseling .md {
    display: block;
  }
}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
counseling end
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
counseling-form start
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.counseling-form .form__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  width: 380px;
  height: 60px;
  border-radius: 30px;
  background: rgb(20, 187, 187);
  background: linear-gradient(90deg, #ffce00, #ffac00);
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
  font-size: 20px;
}

.counseling-form .form__btn:hover {
  opacity: 0.6;
  cursor: pointer;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__btn {
    height: 3em;
    font-size: 20em;
  }
}

.counseling-form .md {
  display: none;
}

@media (max-width: 1440px) {
  .counseling-form .md {
    display: block;
  }
}

.counseling-form .form .explanation {
  margin-left: 0;
}

@media screen and (max-width: 960px) {
  .counseling-form .form .explanation__title p {
    font-size: 24px;
  }
}

@media screen and (max-width: 960px) {
  .counseling-form .form .explanation__txt p {
    font-size: 18px;
  }
}

.counseling-form .form__table {
  margin-bottom: 110px;
  width: 100%;
  font-weight: 500;
  font-size: 17px;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table {
    margin-bottom: 30px;
  }
}

.counseling-form .form__table .text-test {
  border-radius: 5px;
  background-color: #f5f5f5;
}

.counseling-form .form__table .textarea-text {
  height: 197px;
  border-radius: 5px;
  background-color: #f5f5f5;
}

.counseling-form .form__table .textarea-text::placeholder {
  color: #a4a4a4;
  font-size: 14px;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table .textarea-text::placeholder {
    font-size: 12px;
  }
}

.counseling-form .form__table > dl {
  display: flex;
  margin-bottom: 45px;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl {
    margin-bottom: 32px;
  }
}

.counseling-form .form__table > dl > dt {
  position: relative;
  margin-top: 0.6em;
  width: 260px;
  white-space: nowrap;
  font-weight: 700;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl > dt {
    margin-top: 1em;
    width: 150px;
    font-size: 14px;
  }
}

.counseling-form .form__table > dl > dt > span {
  position: absolute;
  top: 0;
  right: 30px;
  display: block;
  color: #ea4459;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl > dt > span {
    top: 1.4em;
    right: auto;
    left: 0;
  }
}

.counseling-form .form__table > dl > dt > .gray {
  color: #6c6c6c;
}

.counseling-form .form__table > dl > dd {
  position: relative;
  width: calc(100% - 200px);
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl > dd {
    width: calc(100% - 105px);
  }
}

.counseling-form .form__table > dl > dd span {
  color: #a4a4a4;
  font-weight: 500;
  font-size: 0.82em;
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl > dd span {
    font-size: 0.7em;
  }
}

.counseling-form .form__table > dl > dd > ul {
  display: flex;
}

.counseling-form .form__table > dl > dd > ul li {
  position: relative;
  margin-right: 25px;
  width: calc(100% / 2 - 25px / 2);
}

@media screen and (max-width: 960px) {
  .counseling-form .form__table > dl > dd > ul li {
    margin-right: 15px;
    width: calc(100% / 2 - 15px / 2);
  }
}

.counseling-form .form__table > dl > dd > ul li:last-of-type {
  margin-right: 0;
}

.counseling-form .form__table > dl > dd .datetime-display {
  margin-top: 0.5em;
  font-weight: 500;
}

.counseling-form .form__table > dl > dd .datetime-display span {
  color: #000;
}

.counseling-form .form .check__terms {
  overflow-y: scroll;
  margin-bottom: 20px;
  padding: 10px 75px;
  width: 100%;
  height: 140px;
  border-radius: 8px;
  background-color: #f5f5f5;
}

@media screen and (max-width: 960px) {
  .counseling-form .form .check__terms {
    padding: 10px 15px;
  }
}

.counseling-form .form .check__terms p {
  color: #646464;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
}

.counseling-form .form .message {
  margin-bottom: 55px;
  padding-left: 75px;
  color: #646464;
  font-size: 14px;
  line-height: 1.5;
}

@media screen and (max-width: 960px) {
  .counseling-form .form .message {
    padding-left: 15px;
  }
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––
counseling-form end
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Loading */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 999;
  background-color: #fff;
  text-align: center;
}

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

.loading__text {
  margin-top: 1em;
  font-weight: 300;
  font-size: 16px;
}

.loading__svg {
  width: 100px;
  animation: loading 3s linear infinite;
}
.loading__svg-circle {
  animation: loading-circle 2s linear infinite;
  stroke-width: 10;
  stroke-dashoffset: 0;
  stroke-dasharray: 300;
  stroke-miterlimit: 10;
  stroke-linecap: round;
  stroke: #54bbbb;
  fill: transparent;
}

@keyframes loading {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loading-circle {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -600;
  }
}
