@charset "utf-8";
/* CSS Document */

/* ========================================
   CONTACT
======================================== */

.contact {
  padding: 0 40px 100px;
}

.contact__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}


/* -------------------------
   リード
------------------------- */

.contact__intro {
  margin-bottom: 50px;
}

.contact__lead {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #333;
}

.contact__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.contact__requiredMark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  padding: 0 7px;
  background: #be0011;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}


/* ========================================
   FORM
======================================== */

.contactForm {
  width: 100%;
}

.contactForm__list {
  border-top: 1px solid #ddd;
}


/* -------------------------
   行
------------------------- */

.contactForm__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border-bottom: 1px solid #ddd;
}

.contactForm__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 28px 30px 28px 0;
}

.contactForm__heading label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #333;
}

.contactForm__headingNote {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

.contactForm__required {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  padding: 0 7px;
  background: #be0011;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.contactForm__field {
  display: flex;
  align-items: center;
  padding: 20px 0 20px 30px;
}


/* -------------------------
   input / textarea / select
------------------------- */

.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"],
.contactForm textarea,
.contactForm select {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"],
.contactForm select {
  min-height: 54px;
}

.contactForm textarea {
  min-height: 220px;
  resize: vertical;
}

.contactForm input::placeholder,
.contactForm textarea::placeholder {
  color: #aaa;
}

.contactForm input:focus,
.contactForm textarea:focus,
.contactForm select:focus {
  border-color: #be0011;
  outline: none;
  box-shadow: 0 0 0 1px #be0011;
}


/* -------------------------
   select
------------------------- */

.contactForm__select {
  position: relative;
  width: 100%;
}

.contactForm__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.contactForm select {
  padding-right: 50px;
  cursor: pointer;
}


/* -------------------------
   textarea行
------------------------- */

.contactForm__row--textarea .contactForm__heading {
  align-items: flex-start;
}

.contactForm__row--textarea .contactForm__field {
  align-items: flex-start;
}


/* ========================================
   ATTENTION
======================================== */

.contactForm__attention {
  margin-top: 40px;
  padding: 24px 30px;
  background: #f7f7f7;
  text-align: center;
}

.contactForm__attention p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}


/* ========================================
   PRIVACY

======================================== */

.contactForm__privacy {
  margin-top: 35px;
  text-align: center;
}

.contactForm__check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.contactForm__check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contactForm__checkmark {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #bbb;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contactForm__check input:checked + .contactForm__checkmark {
  border-color: #be0011;
  background: #be0011;
}

.contactForm__check input:checked + .contactForm__checkmark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.contactForm__check input:focus-visible + .contactForm__checkmark {
  outline: 2px solid #be0011;
  outline-offset: 3px;
}

.contactForm__checkText {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}


/* ========================================
   BUTTON
======================================== */

.contactForm__buttonWrap {
  margin-top: 50px;
  text-align: center;
}

.contactForm__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 360px;
  min-height: 64px;
  padding: 16px 60px 16px 30px;

  border: 1px solid #be0011;
  background: #fff;
  color: #be0011;

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}


/* -------------------------
   矢印
------------------------- */

.contactForm__arrow {
  position: absolute;
  top: 50%;
  right: 26px;

  width: 26px;
  height: 8px;

  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* 横線 */
.contactForm__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: #be0011;
  transition: background-color 0.3s ease;
}

/* 右上がり部分 ／ */
.contactForm__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;

  width: 9px;
  height: 1px;

  background: #be0011;
  transform-origin: right center;
  transform: rotate(40deg);

  transition: background-color 0.3s ease;
}


/* -------------------------
   hover
------------------------- */

@media (hover: hover) {

  .contactForm__button:hover {
    background: #be0011;
    border-color: #be0011;
    color: #fff;
  }

  .contactForm__button:hover .contactForm__arrow {
    transform: translate(6px, -50%);
  }

  .contactForm__button:hover .contactForm__arrow::before,
  .contactForm__button:hover .contactForm__arrow::after {
    background: #fff;
  }

}


/* ========================================
   TABLET / SP
======================================== */

@media screen and (max-width: 767px) {

  .contact {
    padding: 0 20px 70px;
  }

  .contact__intro {
    margin-bottom: 35px;
  }

  .contact__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .contact__lead br {
    display: none;
  }

  .contact__note {
    margin-top: 20px;
    font-size: 13px;
  }


  /* -------------------------
     フォーム縦積み
  ------------------------- */

  .contactForm__row {
    display: block;
    padding: 24px 0;
  }

  .contactForm__heading {
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
  }

  .contactForm__heading label {
    font-size: 15px;
  }

.contactForm__headingNote {
  margin-top: 3px;
  font-size: 12px;
}
	
  .contactForm__required {
    min-width: 36px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
  }

  .contactForm__field {
    display: block;
    padding: 12px 0 0;
  }

  .contactForm__row--textarea .contactForm__heading,
  .contactForm__row--textarea .contactForm__field {
    display: block;
  }


  /* -------------------------
     入力欄
  ------------------------- */

  .contactForm input[type="text"],
  .contactForm input[type="email"],
  .contactForm input[type="tel"],
  .contactForm textarea,
  .contactForm select {
    padding: 13px 14px;
    font-size: 16px;
  }

  .contactForm input[type="text"],
  .contactForm input[type="email"],
  .contactForm input[type="tel"],
  .contactForm select {
    min-height: 52px;
  }

  .contactForm textarea {
    min-height: 200px;
  }

  .contactForm__select::after {
    right: 18px;
  }


  /* -------------------------
     注意事項
  ------------------------- */

  .contactForm__attention {
    margin-top: 30px;
    padding: 20px;
    text-align: left;
  }

  .contactForm__attention p {
    font-size: 13px;
  }


  /* -------------------------
     同意
  ------------------------- */

  .contactForm__privacy {
    margin-top: 30px;
    text-align: left;
  }

  .contactForm__check {
    align-items: flex-start;
  }

  .contactForm__checkText {
    font-size: 14px;
  }


  /* -------------------------
     ボタン
  ------------------------- */

  .contactForm__buttonWrap {
    margin-top: 40px;
  }

  .contactForm__button {
    max-width: none;
    min-height: 60px;
    padding: 15px 55px 15px 25px;
    font-size: 15px;
  }

}


/* ========================================
   SMALL SP
======================================== */

@media screen and (max-width: 430px) {

  .contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact__lead {
    font-size: 14px;
  }

  .contactForm__heading label {
    font-size: 14px;
  }

}



/* 個人情報の取り扱いリンク */
.contactForm__checkText a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .contactForm__checkText a:hover {
    color: #be0011;
  }
}



/* ========================================
   FORM ERROR
======================================== */

.contactForm__fieldInner {
  width: 100%;
}

.contactForm__error {
  margin: 8px 0 0;
  color: #be0011;
  font-size: 13px;
  line-height: 1.6;
}

.contactForm__errorSummary {
  margin-bottom: 35px;
  padding: 18px 22px;
  background: #fdf0f1;
  color: #be0011;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.contactForm input.is-error,
.contactForm textarea.is-error,
.contactForm select.is-error {
  border-color: #be0011;
  background: #fffafa;
}


/* -------------------------
   プライバシーのエラー
------------------------- */

.contactForm__privacyInner {
  display: inline-block;
  text-align: left;
}

.contactForm__error--privacy {
  margin-top: 8px;
}


@media screen and (max-width: 767px) {

  .contactForm__errorSummary {
    margin-bottom: 30px;
    padding: 16px 18px;
    font-size: 13px;
  }

  .contactForm__error {
    font-size: 12px;
  }

}




/* ========================================
   CONFIRM
======================================== */

.contactConfirm {
  width: 100%;
}

.contactConfirm__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd;
}

.contactConfirm__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.contactConfirm__heading {
  margin: 0;
  padding: 28px 30px 28px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #333;
}

.contactConfirm__value {
  min-width: 0;
  margin: 0;
  padding: 28px 0 28px 30px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  overflow-wrap: anywhere;
}

.contactConfirm__empty {
  color: #aaa;
}


/* -------------------------
   お問い合わせ内容
------------------------- */

.contactConfirm__row--message .contactConfirm__value {
  min-height: 180px;
}


/* ========================================
   CONFIRM BUTTONS
======================================== */

.contactConfirm__buttons {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}


/* -------------------------
   送信ボタン
------------------------- */

.contactConfirm__sendForm {
  width: 300px;
  max-width: 100%;
  margin: 0;
}

.contactConfirm__sendForm .contactForm__button {
  width: 100%;
  max-width: none;
  height: 64px;
  min-height: 64px;
}


/* -------------------------
   戻るボタン
------------------------- */

.contactConfirm__back {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  width: 240px;
  height: 64px;
  min-height: 64px;

  padding: 16px 30px 16px 60px;

  border: 1px solid #999;
  background: #fff;

  color: #555;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;

  text-decoration: none;

  transition: opacity 0.3s ease;
}


/* 戻る矢印 */

.contactConfirm__backArrow {
  position: absolute;
  top: 50%;
  left: 26px;

  width: 26px;
  height: 8px;

  transform: translateY(-50%);
}


/* 横線 */

.contactConfirm__backArrow::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: #555;
}


/* 左上がり */

.contactConfirm__backArrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 9px;
  height: 1px;

  background: #555;

  transform-origin: left center;
  transform: rotate(-40deg);
}


/* -------------------------
   戻るボタン hover
------------------------- */

@media (hover: hover) {

  .contactConfirm__back:hover {
    opacity: 0.6;
  }

}


/* ========================================
   CONFIRM SP
======================================== */

@media screen and (max-width: 767px) {

  .contactConfirm__row {
    display: block;
    padding: 24px 0;
  }

  .contactConfirm__heading {
    padding: 0;
    font-size: 15px;
  }

  .contactConfirm__value {
    padding: 10px 0 0;
    font-size: 15px;
  }

  .contactConfirm__row--message .contactConfirm__value {
    min-height: 0;
  }


  /* ボタン */

  .contactConfirm__buttons {
    flex-direction: column-reverse;
    gap: 15px;
    margin-top: 40px;
  }

  .contactConfirm__sendForm,
  .contactConfirm__back {
    width: 100%;
    max-width: none;
  }

  .contactConfirm__sendForm .contactForm__button,
  .contactConfirm__back {
    height: 60px;
    min-height: 60px;
  }

  .contactConfirm__back {
    font-size: 15px;
  }

  .contactConfirm__sendForm,
  .contactConfirm__back {
    max-width: none;
  }

  .contactConfirm__back {
    min-height: 60px;
    font-size: 15px;
  }

}





/* ========================================
   THANKS
======================================== */

.contactThanks {
  width: 100%;
  text-align: center;
}


/* -------------------------
   見出し
------------------------- */

.contactThanks__heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #333;
}


/* -------------------------
   本文
------------------------- */

.contactThanks__body {
  margin-top: 35px;
}

.contactThanks__body p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #333;
}

.contactThanks__body p + p {
  margin-top: 18px;
}


/* -------------------------
   注意書き
------------------------- */

.contactThanks__note {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 22px 25px;
  background: #f7f7f7;
  text-align: left;
}

.contactThanks__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}


/* -------------------------
   TOPへ戻る
------------------------- */

.contactThanks__buttonWrap {
  margin-top: 50px;
}

.contactThanks__button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 360px;
  min-height: 64px;

  padding: 16px 60px 16px 30px;

  border: 1px solid #be0011;
  background: #fff;

  color: #be0011;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}


/* -------------------------
   矢印
------------------------- */

.contactThanks__arrow {
  position: absolute;
  top: 50%;
  right: 26px;

  width: 26px;
  height: 8px;

  transform: translateY(-50%);

  transition: transform 0.3s ease;
}

.contactThanks__arrow::before {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: #be0011;

  transition: background-color 0.3s ease;
}

.contactThanks__arrow::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;

  width: 9px;
  height: 1px;

  background: #be0011;

  transform-origin: right center;
  transform: rotate(40deg);

  transition: background-color 0.3s ease;
}


/* -------------------------
   hover
------------------------- */

@media (hover: hover) {

  .contactThanks__button:hover {
    background: #be0011;
    border-color: #be0011;
    color: #fff;
  }

  .contactThanks__button:hover .contactThanks__arrow {
    transform: translate(6px, -50%);
  }

  .contactThanks__button:hover .contactThanks__arrow::before,
  .contactThanks__button:hover .contactThanks__arrow::after {
    background: #fff;
  }

}


/* ========================================
   SP
======================================== */

@media screen and (max-width: 767px) {

  .contactThanks__heading h2 {
    font-size: 22px;
  }

  .contactThanks__body {
    margin-top: 30px;
  }

  .contactThanks__body p {
    font-size: 15px;
    line-height: 1.9;
  }

  .contactThanks__body br {
    display: none;
  }

  .contactThanks__note {
    margin-top: 30px;
    padding: 20px;
  }

  .contactThanks__note p {
    font-size: 13px;
  }

  .contactThanks__buttonWrap {
    margin-top: 40px;
  }

  .contactThanks__button {
    max-width: none;
    min-height: 60px;

    padding:
      15px 55px
      15px 25px;

    font-size: 15px;
  }

}


/* ========================================
   430px
======================================== */

@media screen and (max-width: 430px) {

  .contactThanks__heading h2 {
    font-size: 20px;
  }

  .contactThanks__body p {
    font-size: 14px;
  }

}


















