/* ========================================
   Thanks Page Styles
   ======================================== */

/* 背景画像の重なり防止 */
.thanks-page .mainvidual__block.index_mainvidual__block::before {
  display: none !important;
}
.thanks-page .mainvidual__block.index_mainvidual__block {
  background-image: none !important;
  min-height: auto !important;
}

.thanks-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #fcfcfc;
}
.thanks-sec h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 150%;
}
@media screen and (max-width: 768px) {
  .thanks-sec h1 {
    font-size: 22px;
  }
}
.thanks-sec p {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 180%;
}
@media screen and (max-width: 768px) {
  .thanks-sec p {
    font-size: 14px;
  }
}

/* ========================================
   WEB Consultation Section
   ======================================== */

.thanks-consultation {
  padding: 80px 20px;
  background-color: #fcfcfc;
}
@media screen and (max-width: 768px) {
  .thanks-consultation {
    padding: 40px 16px;
  }
}
.thanks-consultation .thanks-consultation__card {
  max-width: 1080px;
  margin: 0 auto;
  background-color: #f6f8fb;
  border: 1px solid #e0e0e0;
  border-radius: 32px;
  padding: 56px 40px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__card {
    padding: 32px 20px;
    border-radius: 24px;
  }
}
.thanks-consultation .thanks-consultation__card > h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__card > h2 {
    font-size: 24px;
  }
}
.thanks-consultation .thanks-consultation__card > h2 .red {
  color: #d61111;
}
.thanks-consultation .thanks-consultation__card hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 40px 0;
}
.thanks-consultation .thanks-consultation__section {
  margin-top: 32px;
}
.thanks-consultation .thanks-consultation__section > p {
  font-size: 16px;
  line-height: 180%;
  margin-top: 16px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__section > p {
    font-size: 14px;
  }
}
.thanks-consultation .thanks-consultation__heading {
  border-left: 6px solid #d61111;
  padding-left: 16px;
}
.thanks-consultation .thanks-consultation__heading h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__heading h3 {
    font-size: 18px;
  }
}
.thanks-consultation .thanks-consultation__images {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__images {
    flex-direction: column;
  }
}
.thanks-consultation .thanks-consultation__images > div {
  flex: 1;
  text-align: center;
  padding: 16px;
  background-color: #fcfcfc;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}
.thanks-consultation .thanks-consultation__images > div h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__images > div h4 {
    font-size: 18px;
  }
}
.thanks-consultation .thanks-consultation__images > div img {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.thanks-consultation .thanks-consultation__cta {
  display: block;
  max-width: 400px;
  margin: 32px auto 0;
  padding: 16px 32px;
  background-color: #d61111;
  color: #fcfcfc;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__cta {
    font-size: 12px;
  }
}
.thanks-consultation .thanks-consultation__cta:hover {
  background-color: #b30e0e;
}

/* Members */

.thanks-consultation .thanks-consultation__members {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.thanks-consultation .thanks-consultation__member {
  display: flex;
  gap: 24px;
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  padding: 24px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__member {
    flex-direction: column;
    padding: 20px;
  }
}
.thanks-consultation .thanks-consultation__member-photo {
  width: 320px;
  min-width: 320px;
  height: 320px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fde8e8 0%, #f6f8fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__member-photo {
    width: 240px;
    min-width: 240px;
    height: 240px;
  }
}
.thanks-consultation .thanks-consultation__member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.thanks-consultation .thanks-consultation__member-info {
  flex: 1;
}
.thanks-consultation .thanks-consultation__member-info .role {
  display: inline-block;
  color: #d61111;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.thanks-consultation .thanks-consultation__member-info h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 12px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__member-info h4 {
    font-size: 16px;
  }
}
.thanks-consultation .thanks-consultation__member-info p {
  font-size: 16px;
  line-height: 180%;
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__member-info p {
    font-size: 14px;
  }
}

/* Calendar */

.thanks-consultation .thanks-consultation__calendar {
  scroll-margin-top: 150px;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__calendar {
    scroll-margin-top: 100px;
  }
}
.thanks-consultation .thanks-consultation__calendar h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__calendar h2 {
    font-size: 24px;
  }
}
.thanks-consultation .thanks-consultation__calendar > p {
  text-align: center;
}
.thanks-consultation .thanks-consultation__calendar > p #show-privacy-modal {
  text-decoration: underline;
  color: #d61111;
  cursor: pointer;
}
.thanks-consultation .thanks-consultation__calendar .timerex_calendar,
.thanks-consultation .thanks-consultation__calendar #timerex_calendar {
  margin-top: 40px;
  border-radius: 14px;
  overflow: hidden;
}

/* Back Button */

.thanks-consultation .thanks-consultation__back {
  display: block;
  max-width: 200px;
  margin: 40px auto 0;
  padding: 12px 24px;
  background-color: #d61111;
  color: #fcfcfc;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
}
@media screen and (max-width: 768px) {
  .thanks-consultation .thanks-consultation__back {
    font-size: 12px;
  }
}
.thanks-consultation .thanks-consultation__back:hover {
  background-color: #b30e0e;
}
