/* ******************************
 *
 * RESPONSIVE MIXIN
 *
 * ****************************** */
/* ******************************
 *
 * FONT SETTINGS
 *
 * ****************************** */
/* ******************************
 *
 * FONT SETTINGS
 *
 * ****************************** */
.contactMain {
  --contact-ink: #171729;
  --contact-muted: #6e7082;
  --contact-line: #dde0ec;
  --contact-soft: #f5f6fb;
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 5vw);
  max-width: 144rem;
  margin-right: auto;
  margin-left: auto;
  background: var(--contact-soft);
}
@media screen and (min-width: 320px) {
  .contactMain {
    margin-top: 7rem;
    margin-bottom: 10rem;
    padding: 4rem 2.5vw;
    border-radius: 2rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactMain {
    margin-top: 10rem;
    margin-bottom: 15rem;
    padding: 7rem 8rem 8rem;
    border-radius: 3rem;
  }
}
.contactMain .commonBtn {
  flex: 0 0 auto;
  border: 1px solid #3b39d2;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
@media screen and (min-width: 320px) {
  .contactMain .commonBtn {
    margin-top: 4rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactMain .commonBtn {
    margin-top: 5rem;
  }
  .contactMain .commonBtn:hover {
    color: #3b39d2;
    background: #FFFFFF;
    transform: translateY(-0.3rem);
  }
  .contactMain .commonBtn:hover .icon {
    background: #3b39d2;
  }
  .contactMain .commonBtn:hover .arrow {
    stroke: #FFFFFF;
  }
}
.contactMain .commonBtn:focus-visible {
  outline: 3px solid rgba(59, 57, 210, 0.25);
  outline-offset: 4px;
}

.contactIntro {
  border-top: 1px solid rgba(59, 57, 210, 0.22);
}
@media screen and (min-width: 320px) {
  .contactIntro {
    padding-top: 2.5rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactIntro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(30rem, 0.85fr);
    grid-template-rows: auto auto;
    column-gap: 8rem;
    align-items: end;
    padding-top: 3.5rem;
  }
}

.contactIntro__label {
  color: #3b39d2;
  font-family: "montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
}
@media screen and (min-width: 320px) {
  .contactIntro__label {
    font-size: 1.1rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactIntro__label {
    grid-column: 1;
    font-size: 1.4rem;
  }
}

.contactIntro__title {
  color: var(--contact-ink);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.07em;
}
@media screen and (min-width: 320px) {
  .contactIntro__title {
    font-size: 2.3rem;
    margin-top: 1.8rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactIntro__title {
    grid-column: 1;
    font-size: 3.8rem;
    margin-top: 1.8rem;
  }
}

.contactIntro__text {
  color: var(--contact-muted);
  line-height: 2;
  letter-spacing: 0.07em;
}
@media screen and (min-width: 320px) {
  .contactIntro__text {
    font-size: 1.3rem;
    margin-top: 1.8rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactIntro__text {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 1.55rem;
    margin: 0 0 0.5rem;
  }
}

.contactForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(59, 57, 210, 0.1);
}
@media screen and (min-width: 320px) {
  .contactForm {
    margin-top: 3.5rem;
    padding: 1rem 2rem 3rem;
    border-radius: 1.6rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactForm {
    margin-top: 5rem;
    padding: 2rem 6rem 6rem;
    border-radius: 2.4rem;
  }
}

.contactDefList {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.inputWrapper {
  display: grid;
  width: 100%;
  border-bottom: 1px solid var(--contact-line);
}
@media screen and (min-width: 320px) {
  .inputWrapper {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2.5rem 0;
  }
}
@media screen and (min-width: 1025px) {
  .inputWrapper {
    grid-template-columns: minmax(22rem, 30%) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    padding: 3.2rem 0;
  }
}
.inputWrapper.textArea {
  align-items: start;
}

.contactDefTitle {
  display: flex;
  align-items: center;
  color: var(--contact-ink);
  font-weight: 700;
  letter-spacing: 0.07em;
}
@media screen and (min-width: 320px) {
  .contactDefTitle {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactDefTitle {
    font-size: 1.7rem;
  }
}
.contactDefTitle .required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #db090b;
  background: rgba(219, 9, 11, 0.08);
  border: 1px solid rgba(219, 9, 11, 0.2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
@media screen and (min-width: 320px) {
  .contactDefTitle .required {
    min-width: 3.8rem;
    margin-right: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 5rem;
    font-size: 0.9rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactDefTitle .required {
    min-width: 4.8rem;
    margin-right: 1.5rem;
    padding: 0.65rem 1rem;
    border-radius: 5rem;
    font-size: 1rem;
  }
}

.contactDefItem {
  display: flex;
  align-items: center;
  width: 100%;
}
@media screen and (min-width: 320px) {
  .contactDefItem {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactDefItem {
    flex-wrap: nowrap;
    gap: 1.2rem;
  }
}

.contactTypeWrapper {
  position: relative;
}
@media screen and (min-width: 320px) {
  .contactTypeWrapper {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 8rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactTypeWrapper {
    flex: 0 1 18rem;
  }
}

.radioBtn {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  clip: rect(0 0 0 0);
}
.radioBtn:checked + .radioLabel {
  color: #FFFFFF;
  border-color: #3b39d2;
  background: #3b39d2;
}
.radioBtn:checked + .radioLabel .checkboxElem {
  border-color: #FFFFFF;
}
.radioBtn:checked + .radioLabel .checkboxElem::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.radioBtn:focus-visible + .radioLabel {
  outline: 3px solid rgba(59, 57, 210, 0.25);
  outline-offset: 3px;
}
.radioBtn.readonly + .radioLabel {
  pointer-events: none;
}

.radioLabel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--contact-ink);
  background: #FFFFFF;
  border: 1px solid var(--contact-line);
  border-radius: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
@media screen and (min-width: 320px) {
  .radioLabel {
    min-height: 5rem;
    gap: 0.8rem;
    padding: 1rem;
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 1025px) {
  .radioLabel {
    min-height: 5.6rem;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    font-size: 1.5rem;
  }
  .radioLabel:hover {
    border-color: #3b39d2;
  }
}

.checkboxElem {
  position: relative;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 1.5px solid rgba(59, 57, 210, 0.55);
  border-radius: 50%;
}
.checkboxElem::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  background: #FFFFFF;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.inputItem {
  width: 100%;
  color: var(--contact-ink);
  background: #f8f9fc;
  border: 1px solid var(--contact-line);
  outline: none;
  line-height: 1.6;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
@media screen and (min-width: 320px) {
  .inputItem {
    min-height: 5rem;
    padding: 1.3rem 1.5rem;
    border-radius: 1rem;
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 1025px) {
  .inputItem {
    min-height: 5.8rem;
    padding: 1.5rem 2rem;
    border-radius: 1.2rem;
    font-size: 1.6rem;
  }
}
.inputItem::placeholder {
  color: #9a9cab;
}
.inputItem:focus {
  background: #FFFFFF;
  border-color: #3b39d2;
  box-shadow: 0 0 0 4px rgba(59, 57, 210, 0.08);
}
.inputItem[readonly] {
  color: #4e5060;
  background: #f1f2f6;
  border-color: transparent;
}

textarea.inputItem {
  resize: vertical;
}
@media screen and (min-width: 320px) {
  textarea.inputItem {
    min-height: 15rem;
  }
}
@media screen and (min-width: 1025px) {
  textarea.inputItem {
    min-height: 18rem;
  }
}

.contactForm__note {
  width: 100%;
  color: var(--contact-muted);
  line-height: 1.8;
  text-align: right;
  letter-spacing: 0.04em;
}
@media screen and (min-width: 320px) {
  .contactForm__note {
    margin-top: 1.8rem;
    font-size: 1rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactForm__note {
    margin-top: 2.2rem;
    font-size: 1.25rem;
  }
}
.contactForm__note span {
  color: #db090b;
}

@media screen and (min-width: 1025px) {
  .contactMain--confirm .contactIntro {
    align-items: center;
  }
}
.contactMain--confirm .contactIntro__title br {
  display: none;
}

.contactMain--thanks {
  align-items: center;
  text-align: center;
}
@media screen and (min-width: 320px) {
  .contactMain--thanks {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactMain--thanks {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}
.contactMain--thanks .contactIntro__label {
  margin-top: 2rem;
}
@media screen and (min-width: 320px) {
  .contactMain--thanks .commonBtn {
    margin-top: 3.5rem;
  }
}
@media screen and (min-width: 1025px) {
  .contactMain--thanks .commonBtn {
    margin-top: 4.5rem;
  }
}

.thanksIcon {
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: #3b39d2;
  border-radius: 50%;
}
@media screen and (min-width: 320px) {
  .thanksIcon {
    width: 6rem;
    height: 6rem;
  }
}
@media screen and (min-width: 1025px) {
  .thanksIcon {
    width: 8rem;
    height: 8rem;
  }
}
.thanksIcon svg {
  width: 45%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanksTitle {
  color: var(--contact-ink);
  font-weight: 700;
  letter-spacing: 0.07em;
}
@media screen and (min-width: 320px) {
  .thanksTitle {
    margin-top: 1.5rem;
    font-size: 2.2rem;
  }
}
@media screen and (min-width: 1025px) {
  .thanksTitle {
    margin-top: 2rem;
    font-size: 3.6rem;
  }
}

.thanksMessage {
  color: var(--contact-muted);
  line-height: 2;
  letter-spacing: 0.06em;
}
@media screen and (min-width: 320px) {
  .thanksMessage {
    margin-top: 2rem;
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 1025px) {
  .thanksMessage {
    margin-top: 2.8rem;
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 320px) {
  .thanksMessage .pc {
    display: none;
  }
}
@media screen and (min-width: 1025px) {
  .thanksMessage .pc {
    display: block;
  }
}

.is-contact-flow .footerContact {
  display: none;
}

/*# sourceMappingURL=contact.css.map */
