@use "vars" as *;
html {
  box-sizing: border-box; }

/* ====================================================
Contact
==================================================== */
/* input */
#contact .error {
  font-size: 1.6rem;
  display: block;
  width: 100%;
  margin: 1rem 0;
  display: flex;
  align-items: center; }

.contact-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; }

.sec-style-contact {
  padding: 3rem 0 12rem; }
  @media screen and (max-width: 1200px) {
    .sec-style-contact {
      padding: 2rem 0 6rem; } }
  @media screen and (max-width: 834px) {
    .sec-style-contact {
      padding: 1rem 0 4rem; } }

.contact-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; }
.contact__heading {
  text-align: center; }
  .contact__heading-list ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    max-width: 300px;
    height: 125px;
    margin: 0 auto;
    position: relative;
    font-size: clamp(1.6rem, calc(1vw + 1rem), 1.8rem); }
    .contact__heading-list ul::after {
      content: "";
      width: 43%;
      height: 1px;
      background-color: #fff;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); }
    .contact__heading-list ul li {
      padding-top: calc(80px + 4rem);
      width: 80px; }
      @media screen and (max-width: 640px) {
        .contact__heading-list ul li {
          width: 50px; } }
  .contact__heading-ttl {
    font-size: clamp(2rem, calc(2vw + 0.75rem), 4.2rem);
    font-weight: 500;
    margin: 0 0 4rem; }
    @media screen and (max-width: 1200px) {
      .contact__heading-ttl {
        margin: 0 0 3rem; } }
  .contact__heading p {
    font-size: clamp(1.5rem, calc(1vw + 0.75rem), 1.8rem); }
    @media screen and (max-width: 834px) {
      .contact__heading p {
        text-align: left;
        line-height: 1.5; } }
.contact-form {
  padding: 8rem 0 0; }
  @media screen and (max-width: 1200px) {
    .contact-form {
      padding: 6rem 0 0; } }
  @media screen and (max-width: 834px) {
    .contact-form {
      padding: 5rem 0 0; } }
  .contact-form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 5rem 0; }
    @media screen and (max-width: 834px) {
      .contact-form__wrapper {
        gap: 4rem 0; } }
  .contact-form__item {
    display: flex;
    flex-direction: column;
    gap: 2rem; }
    @media screen and (max-width: 834px) {
      .contact-form__item {
        gap: 1rem 0; } }
  .contact-form__lavel {
    width: 100%;
    font-size: clamp(1.6rem, calc(1vw + 1rem), 1.8rem);
    font-weight: 500;
    display: flex;
    align-items: center; }
    @media screen and (max-width: 834px) {
      .contact-form__lavel {
        flex-wrap: wrap; } }
.contact input,
.contact select,
.contact textarea {
  all: unset;
  appearance: none;
  outline: none;
  padding: 0 3rem; }
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact input[type="number"],
.contact select {
  border-radius: 3px;
  background-color: #fff;
  width: 100%;
  height: 85px;
  box-sizing: content-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box; }
  @media screen and (max-width: 640px) {
    .contact input[type="text"],
    .contact input[type="email"],
    .contact input[type="tel"],
    .contact input[type="number"],
    .contact select {
      height: 65px; } }
.contact input[type="number"],
.contact select {
  width: 100%;
  max-width: 400px; }
.contact [name="zip"] {
  width: 100%;
  max-width: 200px;
  margin-left: 10px; }
.contact select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  width: 400px; }
  @media screen and (max-width: 640px) {
    .contact select {
      width: 100%; } }
.contact input[type="text"]:autofill,
.contact input[type="email"]:autofill,
.contact input[type="tel"]:autofill,
.contact input[type="number"]:autofill {
  box-shadow: 0 0 0px 100px #fff inset;
  -webkit-text-fill-color: #000 !important; }
.contact input[type="text"]::placeholder,
.contact input[type="email"]::placeholder,
.contact input[type="tel"]::placeholder,
.contact textarea::placeholder {
  color: #8c8c8c; }
.contact input[type="radio"] {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px; }
.contact .inquiry-item__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; }
  @media screen and (max-width: 834px) {
    .contact .inquiry-item__list {
      gap: 1rem; } }
.contact .item-label {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  background-color: #f7f7f7;
  padding: 3rem 2rem;
  border-radius: 3px;
  width: calc(100% / 4 - 1.5rem); }
  @media screen and (max-width: 834px) {
    .contact .item-label {
      width: calc(100% / 2 - 1rem);
      padding: 2rem 1rem; } }
.contact .item-label__span {
  position: relative;
  cursor: pointer;
  padding-left: 30px; }
  .contact .item-label__span::before, .contact .item-label__span::after {
    content: "";
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    width: 20px;
    height: 20px;
    margin-right: 10px; }
  .contact .item-label__span::before {
    left: 5px; }
  .contact .item-label__span::after {
    background-color: #0076ff;
    opacity: 0;
    left: 8.4px;
    width: 13px;
    height: 13px; }
.contact input:checked + span::after {
  opacity: 1; }
.contact textarea {
  resize: vertical;
  width: 100%;
  height: 300px;
  display: inline-block;
  border-radius: 3px;
  background-color: #fff;
  box-sizing: content-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  width: -webkit-fill-available;
  padding: 3rem; }
  @media screen and (max-width: 834px) {
    .contact textarea {
      height: 200px;
      padding: 2rem; } }
.contact__link {
  text-align: center;
  font-size: clamp(2.1rem, calc(2vw + 1rem), 2.4rem);
  width: 248px;
  height: 60px;
  margin: 13rem auto 16rem;
  text-align: center;
  color: #fff; }
  @media screen and (max-width: 1200px) {
    .contact__link {
      margin: 6rem auto 8rem; } }
  @media screen and (max-width: 834px) {
    .contact__link {
      margin: 4rem auto 5rem; } }
.contact .mb-50 {
  margin-bottom: 5rem; }
  @media screen and (max-width: 834px) {
    .contact .mb-50 {
      margin-bottom: 3rem; } }
.contact .pt-100 {
  padding-top: 10rem; }
  @media screen and (max-width: 1200px) {
    .contact .pt-100 {
      padding-top: 0; } }
.contact .form-post-btn {
  background-color: #000;
  color: #fff;
  width: 90%;
  max-width: 230px;
  height: 60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  text-align: center;
  margin-left: 1rem; }
  @media screen and (max-width: 834px) {
    .contact .form-post-btn {
      margin-top: 1rem;
      max-width: 130px;
      height: 45px; } }
  @media (max-width: 449px) {
    .contact .form-post-btn {
      margin: 1rem auto auto;
      display: block; } }

.select-item {
  position: relative;
  display: inline-block; }
  @media (max-width: 449px) {
    .select-item {
      display: block; } }
  .select-item i {
    position: absolute;
    top: 50px;
    right: 5%;
    pointer-events: none;
    color: #006a83;
    transform: translateY(-50%); }

@media screen and (max-width: 834px) {
  .zip input {
    display: block; } }

.require-txt {
  background-color: #2b5e98;
  color: #fff;
  padding: 0.3rem 1rem 0.2rem;
  margin-left: 1rem;
  font-size: 1.2rem;
  border-radius: 3px; }

.option-txt {
  background-color: #fff;
  color: #2b5e98;
  padding: 0.3rem 1rem 0.2rem;
  margin-left: 1rem;
  font-size: 1.2rem;
  border-radius: 3px; }

.notice-txt {
  margin-left: 1rem;
  font-size: 1.2rem; }
  @media screen and (max-width: 834px) {
    .notice-txt {
      width: 100%;
      margin-left: 0;
      margin-top: 1rem; } }

/* privacy-policy */
.privacypolicy__wrapper {
  background-color: #e0e8f2;
  font-size: clamp(1.6rem, calc(1vw + 1rem), 1.8rem);
  padding: 3rem 3rem;
  line-height: 1.5;
  overflow-y: scroll;
  height: 380px;
  margin-top: 10rem;
  border-radius: 3px; }
  @supports (scrollbar-color: #b2bfc7 transparent) {
    .privacypolicy__wrapper__wrapper {
      scrollbar-color: #b2bfc7 transparent; } }
  .privacypolicy__wrapper::-webkit-scrollbar {
    width: 8px;
    background-color: transparent; }
  .privacypolicy__wrapper::-webkit-scrollbar-thumb {
    background: #b2bfc7;
    width: 15px;
    border-radius: 5px;
    padding-right: 0.5rem; }
  @media screen and (max-width: 1200px) {
    .privacypolicy__wrapper {
      padding: 2rem 2rem 1rem 3rem;
      margin-top: 5rem;
      height: 190px; } }
  @media screen and (max-width: 640px) {
    .privacypolicy__wrapper {
      margin-top: 3rem; } }
.privacypolicy__ttl {
  font-size: clamp(1.7rem, calc(2vw + 1rem), 2.1rem);
  margin-bottom: 1rem;
  line-height: 3;
  text-align: center; }
  @media screen and (max-width: 834px) {
    .privacypolicy__ttl {
      margin-bottom: 0; } }
.privacypolicy__list {
  margin-top: clamp(3rem, calc(4vw + 1rem), 4rem); }
  .privacypolicy__list-item {
    margin-bottom: clamp(3rem, calc(5vw + 1rem), 5.5rem); }
  .privacypolicy__list-ttl {
    font-size: clamp(1.6rem, calc(2vw + 1rem), 1.8rem);
    margin-bottom: clamp(2rem, calc(2vw + 1rem), 2.5rem);
    line-height: 1.5;
    position: relative;
    font-weight: 500; }
    @media screen and (max-width: 640px) {
      .privacypolicy__list-ttl {
        line-height: 1.5;
        padding-left: 1.5rem; } }
    .privacypolicy__list-ttl::after {
      content: "";
      display: block;
      width: 50px;
      height: 50px;
      position: absolute;
      bottom: 0;
      left: 0; }
.privacypolicy__caution {
  margin-top: 2rem; }
.privacypolicy__controller {
  padding: clamp(3rem, calc(5vw + 1rem), 7rem) 0 0;
  text-align: center; }
  .privacypolicy__controller-checkbox {
    font-size: clamp(1.2rem, calc(1vw + 1rem), 2rem);
    display: flex;
    justify-content: center;
    align-items: center; }
    .privacypolicy__controller-checkbox input {
      appearance: auto;
      position: relative;
      appearance: none;
      position: relative;
      width: 2rem;
      height: 2rem;
      padding: 0 5px 0 0;
      transform: translateY(5px); }
      .privacypolicy__controller-checkbox input::after {
        content: "";
        display: inline-block;
        width: 2rem;
        height: 2rem;
        background-color: transparent;
        background-color: #fff; }
      .privacypolicy__controller-checkbox input:checked::after {
        background-image: url(../img/check-icon.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        fill: #fff; }
    .privacypolicy__controller-checkbox label {
      display: flex;
      align-items: baseline; }
  .privacypolicy__controller-submit input {
    background-color: #2b5e98;
    font-size: clamp(1.8rem, calc(2vw + 1rem), 2.1rem);
    max-width: 360px;
    width: 90%;
    height: 90px;
    margin: 13rem auto 0;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; }
    @media screen and (max-width: 1200px) {
      .privacypolicy__controller-submit input {
        margin: 7rem auto 8rem; } }
    @media screen and (max-width: 834px) {
      .privacypolicy__controller-submit input {
        max-width: 250px;
        height: 60px; } }
    @media screen and (max-width: 640px) {
      .privacypolicy__controller-submit input {
        margin: 4rem auto 4rem; } }
    .privacypolicy__controller-submit input:hover {
      opacity: 0.7; }
    .privacypolicy__controller-submit input:disabled {
      color: #fff;
      background-color: #8c8c8c; }
      .privacypolicy__controller-submit input:disabled:hover {
        opacity: 1; }

/* thanks */
.thanks .contact__heading-sentence {
  margin-bottom: 3rem;
  text-align: center; }
.thanks__link {
  background-color: #2B5E98;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 75px;
  font-size: 1.7rem;
  font-weight: 500;
  border-radius: 50px;
  margin: 12rem auto 2rem; }
  .thanks__link a {
    color: #fff;
    display: block;
    transition: color 0.3s; }
    .thanks__link a:hover {
      opacity: .6; }
  @media screen and (max-width: 1200px) {
    .thanks__link {
      margin: 6rem auto; } }
  @media screen and (max-width: 834px) {
    .thanks__link {
      margin: 3em auto;
      max-width: 250px; } }
