@charset "UTF-8";

.contact-container {
  margin: 0 auto;
  padding: 2rem
}
@media screen and (max-width: 810px) {
  .contact-container {
    padding: 1rem
  }
}

.contact-container .note {
  margin: 0 auto 1.5rem;
  font-size: clamp(0.875rem, 0.843rem + 0.13vw, 1rem);
  font-weight: bold;
  text-align: center;
}

.sp-br {
  display: none;
}
@media screen and (max-width: 48rem) {
  .sp-br {
    display: block;
  }
}

/* アクセシビリティ、非表示、スクリーンリーダーは読める */
.sr-only,
.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* form関連 */
label {
  display: block;
  /* margin-top: 0.75rem; */
  font-weight: 600;
  &.checkbox-label {
    display: inline-block;
  }
  .checkbox-text {
    display: inline;
  }
}
@media screen and (max-width: 320px) {
  label {
    &.checkbox-label {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }
    .checkbox-text {
      width: 180px;
      white-space: wrap;
    }
  }
}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
input[type=date],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.5rem;
  box-sizing: border-box;
  margin-top: 0.375rem;
  border: 1px solid #C4C4C4;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1rem;
  font-weight: bold;
  color: #4B4B4B;
  line-height: 1.5;
}


/* 汎用ボタン */
.btn,
.cta {
  display: inline-block;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn {
  background: #0078d4;
  color: #fff
}

.secondary {
  background: #ccc;
  color: #222
}

.cta {
  background: #0078d4;
  color: #fff;
  padding: 0.75rem 1.125rem;
  border-radius: 0.25rem
}

.error {
  background: #ffecec;
  border: 0.0625rem solid #f5c2c2;
  padding: 0.625rem;
  color: #8a1d1d
}


.required-badge {
  display: inline-block;
  background: #ff7b2f;
  color: #fff;
  padding: 0.18rem 0.45rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.75rem;
  margin-left: 0.5rem
}

.input-box {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.7rem;
  border: 0.12rem solid #eee;
  font-size: 1rem;
  box-sizing: border-box;
  background: #fff;
  color: #621014;
}

.input-box::placeholder {
  color: #E0E0E0;
}

.input::placeholder,
.textarea::placeholder {
  font-size: 1rem;
  color: #E0E0E0;
}

.input-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem
}

.input-inline input {
  padding: 0.6rem;
  border-radius: 0.6rem;
  border: 0.12rem solid #eee;
  font-size: 1rem
}

.input-inline input[type=number] {
  text-align: center
}

.radio-group {
  display: flex;
  gap: 1rem;
  align-items: center
}

.radio-label {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 700;
  color: #5a3b22
}

.radio-label input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
}

/*
.radio-label .radio-custom {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.12rem solid #c9eafb;
  background: #fff
} 
.radio-label input:checked+.radio-custom {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-color: transparent;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 160, 220, 0.12)
}
*/

 .radio-label .radio-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px !important;
  height: fit-content !important;
  padding: 4px 0;
  background: #c09e56;
  border-radius: 5px;
  color: #fff;
  text-align: center;
}
.radio-label input:checked+.radio-custom {
  background: #B21A21;
  border-color: transparent;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 160, 220, 0.12)
}

/* button */
.btn-row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 2rem auto 0;
}
@media screen and (max-width: 320px) {
  .btn-row {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-areas: "areaA" "areaB";
    /* display: flex;
    flex-direction: column; */
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 0;
  }
}

.btn--gradient {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(90deg, #be8817 0%, #ccb481 100%);
  color: #fff;
  padding: 0.9rem 3.25rem 0.9rem 2rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  box-shadow: 0 3px 0px #49494915;
  &.endsubmit {
    background: linear-gradient(90deg, #ffc141 0%, #ff8734 100%);
  }
}
@media screen and (max-width: 767px) {
  .btn--gradient {
    font-size: clamp(0.938rem, 0.922rem + 0.07vw, 1rem);
  }
}

.btn--gradient .btn-arrow,
.btn--gradient.endsubmit .btn-arrow {
  position: absolute;
  right: 0.98rem;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  z-index: 1;
}

.btn--secondary {
  background: #9b9b9b;
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 3px 0px #49494915;
  text-decoration: none;
  white-space: nowrap;
}

.question-card {
background: #fff;
border-radius: 0;
padding: 1.5rem 1.1rem;
box-shadow: none;
border: none;
width: min(100%, 21.875rem);
max-width: 21.875rem;
min-height: 28.875rem;
margin-left: auto;
margin-right: auto;
box-sizing: border-box;
}


.form-row {
  margin-bottom: 2.5rem;
  margin-bottom: 1rem;
}

.form-card {
  width: min(100%, 37.5rem);
  margin: 0 auto 3rem;
  padding: 0 2rem 4rem;
  background: #fff;
  box-sizing: border-box;
  border-radius: 8px;
}
.form-card img {
    margin: 0 auto 24px;
}

@media screen and (max-width: 48rem) {
  .form-card {
    width: min(100%, 21.875rem);
    padding: 0.85rem 1.1rem 2rem;
  }
}

.form-card .label {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.form-card .required-badge,
.form-card .badge--required,
.form-card .badge--optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  min-width: 2.625rem;
  height: 1.25rem;
  padding: 0;
  margin-left: 0.5rem;
  border-radius: 0.375rem;
  background: #FF6B0A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.form-card .badge--optional {
  background: #9B9B9B;
}

/* 時間選択 */
.form-card .radio-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 0 24px 0;
    margin: 0 auto 40px;
    overflow-x: scroll;
}

.form-card .radio-label {
    padding-left: 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

/* 元のradioを非表示 */
.form-card .radio-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ボタン本体 */
.form-card .radio-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 80px;
    height: 44px;
    padding: 0 16px;

    background: #fff;
    border: 1px solid #C8C8C8;
    border-radius: 8px;

    color: #4B4B4B;
    line-height: 1;

    box-sizing: border-box;
    transition: 0.2s;
}

/* 選択時 */
.form-card .radio-label input:checked + .radio-button {
    background: #59B9E9;
    border-color: #59B9E9;
    color: #fff;
}

/* hover */
.form-card .radio-label:hover .radio-button {
    border-color: #59B9E9;
}

/* キーボード操作時 */
.form-card .radio-label input:focus-visible + .radio-button {
    outline: 2px solid #59B9E9;
    outline-offset: 2px;
}
/*
.form-card .radio-group {
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  line-height: 0.75;
  margin: 0 auto 40px;
}

.form-card .radio-label {
  padding-left: 1.7rem;
  font-size: 1rem;
  font-weight: 700;
}

.form-card .radio-label input,
.form-card .radio-label .radio-custom {
  width: 1.125rem;
  height: 1.125rem;
}

.form-card .radio-label .radio-custom {
  border: 0.0625rem solid #C8C8C8;
  background: #FFFFFF;
  box-sizing: border-box;
}

.form-card .radio-label input:checked + .radio-custom {
  background: #FFFFFF;
  border-color: #C8C8C8;
  box-shadow: none;
}

.form-card .radio-label input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #59B9E9;
  transform: translate(-50%, -50%);
}
*/

.form-card .input-box {
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  &.meeting-date-input {
    margin: 0 auto 1rem;
  }
}

.contact-step4 .remarks-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-card select.input-box {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23621014' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem auto;
}

.form-card select.input-box::-ms-expand {
  display: none;
}

.form-card .field-error {
  margin: 0.3rem 0 0;
  color: #F24848;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-card .field-error[hidden] {
  display: none;
}

.form-card .btn--gradient {
  width: 16.5rem;
  max-width: 16.5rem;
  min-height: 3.4375rem;
  height: 3.4375rem;
}
@media screen and (max-width: 320px) {
  .form-card .btn--gradient {
    grid-area: areaA;
    width: 14rem;
    max-width: 14rem;
    min-height: 3.4375rem;
    height: 3.4375rem;
  }
}

.contact-step1 .form-card .footer-note {
  text-align: center;
  margin: 0 0 0.8rem;
  line-height: 1.6;
}

.contact-step1 .form-card .btn-row {
  justify-content: center;
}

.contact-step2 .footer-note,
.contact-step3 .footer-note {
  text-align: center;
  margin: 0 auto 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
}

.contact-step2 .footer-note .footer-note-accent,
.contact-step3 .footer-note .footer-note-accent {
  color: #F24848;
}

.contact-step2 .form-card .field-error {
  margin: 0.3rem 0 0;
  color: #F24848;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-step2 .form-card .field-error[hidden] {
  display: none;
}

.contact-step2 .form-card .btn--gradient {
  min-height: 55px;
}

.contact-step3 .form-card .field-error {
  margin: 0.3rem 0 0;
  color: #F24848;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-step3 .form-card select.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23621014' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem auto;
  color: #621014;
}

.contact-step3 .form-card select.select::-ms-expand {
  display: none;
}

.contact-step3 .form-card .field-error[hidden] {
  display: none;
}

.contact-step3 .form-card .btn--gradient::after {
  right: 0.9rem;
  width: 1.125rem;
  height: 1.125rem;
}

.contact-step3 .form-card .btn--gradient:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}
@media screen and (max-width: 320px) {
  .contact-step3 .form-card .btn--gradient:disabled {
    grid-area: areaB;
  }
}

.contact-step3 .form-card .btn--secondary {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.contact-step1 .form-card .hero-steps-image {
  width: 17.5rem;
  max-width: 17.5rem;
  height: auto;
  margin: 2rem auto;
}

.contact-step2 .form-card .hero-steps-image,
.contact-step3 .form-card .hero-steps-image,
.contact-step4 .form-card .hero-steps-image {
    width: 17.5rem;
    max-width: 17.5rem;
    height: auto;
    margin: 0 auto 2rem;
}

.contact-step4 .form-card .meeting-time-group {
  margin-bottom: 2rem;
}

.contact-step4 .form-card .meeting-time-group:last-of-type {
  margin-bottom: 1rem;
}

.contact-step4 .form-card .date-input-wrap {
  position: relative;
}

.contact-step4 .form-card .date-input-wrap::before {
  content: attr(data-placeholder);
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  color: #E0E0E0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  pointer-events: none;
  transform: translateY(0.125rem);
}

.contact-step4 .form-card .date-input-wrap.is-filled::before,
.contact-step4 .form-card .date-input-wrap:focus-within::before {
  display: none;
}

.contact-step4 .form-card .meeting-date-input {
  cursor: pointer;
  caret-color: transparent;
}

@media screen and (max-width: 430px) {
  .contact-step1 .form-card .hero-steps-image,
  .contact-step2 .form-card .hero-steps-image,
  .contact-step3 .form-card .hero-steps-image {
    width: 15rem;
    max-width: 15rem;
    height: auto;
    margin: 0 auto 2rem;
  }

  .contact-step4 .form-card .meeting-time-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.2;
  }

  .contact-step4 .form-card .meeting-time-group .radio-label {
    font-size: 1.125rem;
  }
}

.radio-label input,
.radio-label .radio-custom {
  width: 1rem;
  height: 1rem;
}

.input-inline--date {
  align-items: center;
  gap: 0.35rem;
}

.input-inline--date .input-box {
  flex: 1 1 0;
  min-width: 0;
}

.input-inline--date .date-unit {
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* error page
============================*/
.contact-error {
  font-weight: normal;
  .form-card {
    padding: 2rem 1rem;
    text-align: center;
  }
  h1 {
    margin: 0 auto 1.5rem;
    font-size: clamp(1.25rem, 1.186rem + 0.26vw, 1.5rem);
    font-weight: bold;
  }
  .btn-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .btn--secondary {
      text-decoration: none;
    }
  }
}

@media screen and (max-width: 767px) {
  .contact-error {
    p {
      text-align: left;
    }
  }
}


/* サンクスページ:#thanks
================================== */
#thanks {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}
#thanks .thanksInner {
    padding: 40px 24px;
    h1 {
        margin: 0 auto 24px;
        font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
        font-weight: bold;
    }
}

.ly_thanksLead {
    margin: 0 auto 24px;
    p {
        margin: 0 auto 16px;
    }
    .bl_cautionLeadBox {
        padding: 16px;
        background: #fff;
        border: 1px dashed #4B4B4B;
    }
    .bl_cautionLeadBox p {
        margin: 0 auto 16px;
        font-size: .875rem;
        &:nth-child(2) {
            margin: 0 auto;
        }
    }
}

.ly_btnTop {
    margin: 0 auto;
    text-align: center;
    a.el_btn.topbk_btn {
        display: inline-block;
        padding: 16px 56px;
        margin: 0 auto;
        border-radius: 100px;
        background: #4B4B4B;
        color: #fff;
        text-align: center;
        filter: drop-shadow(0px 4px 0px #ccc);
    }
}