@charset "utf-8";

/* MV
----------------------------------------------------------------------------------------------------*/
.upper-contents {
  max-width: 192rem;
  width: 100%;
  margin: 17rem auto 0;
}

.mv-contact {
  width: 100%;
  margin-bottom: 5rem;
  padding: 0 3rem;
}

.mv-contact-img {
  display: flex;
  align-items: center;
  height: 55rem;
  background: url(../contact/img/mv-contact_pc.jpg) no-repeat;
  background-size: cover;
}

.mv-contact-title {
  display: flex;
  align-items: center;
  height: 16rem;
  width: 65rem;
  background-color: #FFF;
}

.mv-contact-title img {
  width: 43.6rem;
  margin-left: 1.8rem;
}

@media screen and (max-width: 1510px) {
  .upper-contents {
    margin-bottom: 13rem;
  }
}

@media screen and (max-width: 1400px) {
  .upper-contents {
    margin: 8.8rem auto 4.5rem;
  }
}

@media screen and (max-width: 768px) {
  .mv-contact {
    margin-bottom: 3rem;
    padding: 0;
  }

  .mv-contact-img {
	  display: inherit;
	  height: 33rem;
	  background: url(../contact/img/mv-contact_sp.jpg) no-repeat;
	  background-size: cover;
	  position: relative;
  }

  .mv-contact-title {
    position: absolute;
    height: 6rem;
    width: 33rem;
    top: auto;
    bottom: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    /* 上の余白は削除（画像を下に寄せるため） */
    display: flex;
    /* flex を使って簡潔に下寄せ */
    align-items: flex-end;
    /* 子要素をコンテナの下端に揃える */
    justify-content: center;
    /* 横方向は中央 */
    box-sizing: border-box;
    background-color: #FFF;
  }

  .mv-contact-title img {
    margin: 0 auto;
    width: 18.4rem;
    padding-bottom: 0;
    /* 念のため */
    align-self: flex-end;
    /* 明示的に下揃え（保険） */
  }
}
/* Form
----------------------------------------------------------------------------------------------------*/
form,
input,
textarea,
select {
  color-scheme: light;
}
fieldset {
  border: none;
}
/* Section - Contact
----------------------------------------------------------------------------------------------------*/
.sec-form-header {
  margin-bottom: 8.5rem;
  text-align: center;
}

.sec-form-header__head {
  margin-bottom: 3rem;
  font-size: 4rem;
}

.sec-form-header__box {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 2rem;
  font-size: 2.4rem;
}

.sec-form-header__box span {
  font-family: "Noto Sans JP", sans-serif;
}

.sec-form-header__box small {
  font-size: 2rem;
}

.sec-form-footer {
  padding: 0;
  margin: 0 auto 3rem;
  background-color: #FFF;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.sec-form-footer p {
  padding: 0;
  margin: 0 auto;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
}

.sec-form-footer a,
.form-item__text a {
  color: #FF3200;
  font-weight: 500;
  transition: all 0.4s;
  text-decoration: none;
}

.sec-form-footer a:hover,
.form-item__text a:hover {
  opacity: 0.5;
}

.alert-box {
  margin-bottom: 4rem;
  color: #FF3200;
  font-size: 1.8rem;
}

.contact-body {
  width: min(100%, 89rem);
  padding: 0;
  margin: 0 auto;
  font-size: 2rem;
}

.sec-form .label.warning {
  background-color: #FF3200;
  padding: 0 0.8rem;
  margin-left: 0.5rem;
  border-radius: 0.5rem;
  color: #FFF;
  font-size: 1.4rem;
}

.sec-contact {
  width: 100%;
  margin: 0 auto;
}

.sec-contact a {
  text-decoration: none;
}

.sec-contact input {
  width: 100%;
  border-radius: 1rem;
  padding: 2rem 1rem;
  background-color: #F0F0F0;
  border: none;
  outline: none;
  font-size: 1.6rem;
}

.sec-contact input::placeholder {
  color: #BABABA;
  font-size: 1.8rem;
}

.sec-contact input[type='checkbox'] {
  width: auto;
}

.sec-contact select {
  padding: 2.5rem 10rem 2.5rem 1.2rem;
  background-color: #f2f2f2;
  border: none;
  border-radius: 1rem;
  font-size: 1.8rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-select {
  position: relative;
  display: inline-block;
}

.form-select::after {
  content: "";
  position: absolute;
  bottom: 45%;
  right: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  border-right: 0.2rem solid #999999;
  border-bottom: 0.2rem solid #999999;
  transform: rotate(45deg);
  pointer-events: none;
}

.sec-contact textarea {
  width: 100%;
  border-radius: 1rem;
  padding: 2.5rem 1.2rem;
  background-color: #f2f2f2;
  border: none;
  outline: none;
  font-size: 1.6rem;
}

.sec-contact textarea::placeholder {
  color: #B3B3B3;
  font-size: 1.8rem;
}

.form-item__type input[type="checkbox"] {
  accent-color: #FF3200;
}

@media screen and (max-width: 767px) {
  .sec-form-header {
    margin-bottom: 4rem;
  }

  .sec-form-header__head {
    margin-bottom: 3rem;
    font-size: 2.8rem;
  }

  .sec-form-header__box small {
    font-size: 1.6rem;
  }

  .sec-contact {
    margin: 0 auto 9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }

  .sec-form-footer {
    font-size: 1.6rem;
  }

  .sec-form .label.warning {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  .sec-form-footer p {
    width: 100%;
    margin: 2rem auto;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
  }

  .contact__txt {
    border-top: 0;
    text-align: left;
  }

  .sec-contact input {
    padding: 1.2rem;
  }

  .sec-contact input::placeholder {
    font-size: 1.6rem;
  }

  .sec-contact select {
    font-size: 1.6rem;
  }

  .sec-contact textarea {
    padding: 1.2rem;
  }

  .sec-contact textarea::placeholder {
    font-size: 1.6rem;
  }
}

/* Section - Table
----------------------------------------------------------------------------------------------------*/
table.sec-contact {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

table.sec-contact2 {
  margin-top: 5rem;
}

.sec-contact tr {
  display: flex;
  justify-content: space-between;
}

.sec-contact th {
  width: calc(220 / 890 * 100%);
  padding: 1rem 0;
  text-align: left;
  font-weight: 500;
  vertical-align: top;
}

.sec-contact2 th {
  padding: 1rem 0 0;
  border-top: 1px solid #CCC;
}

.sec-contact td {
  width: calc(620 / 890 * 100%);
  margin-bottom: 4rem;
}

.sec-contact2 td {
  padding: 1rem 0 0;
  border-top: 1px solid #CCC;
}

.sec-contact th label {
  padding-right: 0;
}

.sec-contact th label.label-off {
  padding-right: 0;
}

.sec-contact th span {
  font-family: "Noto Sans JP", serif;
  font-weight: 400;
  text-align: center;
}

.sec-contact th .label {
  padding: 0.2rem 0.5rem;
  font-size: 1.6rem;
}

.sec-contact tr:last-child th,
.sec-contact tr:last-child td {
  padding: 20px 0;
}

.form-item__type {
  display: flex;
  flex-wrap: wrap;
  width: 62rem;
}

.form-item__type .cell {
  display: block;
  width: 20rem;
}

.contact__txt p {
  line-height: 1;
}

.contact__txt span {
  font-size: 1.4rem;
}

@media screen and (max-width: 1023px) {
  .sec-contact tr {
    display: flex;
    flex-direction: column;
  }

  .sec-contact th {
    width: 100%;
    padding: 2rem 0 1rem;
    margin: 0;
    text-align: left;
    font-size: 1.8rem;
  }

  .sec-contact th label {
    padding-left: 0;
  }

  .sec-contact td {
    width: 100%;
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    border-top: none;
    font-size: 1.8rem;
  }

  .form-item__type {
    flex-direction: column;
    width: 100%;
  }
}

/* Section - Button
----------------------------------------------------------------------------------------------------*/
.form-item__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.sec-link__btn button {
  width: 18.8rem;
  height: 6rem;
  border: 1px solid #000;
  border-radius: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.sec-link__btn a {
  width: 25rem;
  height: 6rem;
  margin-top: 5rem;
  border: 1px solid #000;
  border-radius: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

/* 左の「取り消す」ボタン */
.form-item__button-reset {
  background-color: #C8C8C8;
}

.form-item__button-reset:hover {
  background-color: #bfbfbf;
  transform: translateY(-2px);
}

/* 右の「確認画面へ」ボタン */
.form-item__button-submit {
  background-color: #C4E7AB;
  flex-direction: row-reverse;
  /* ← 矢印を右側にする */
}

.form-item__button-submit:hover {
  background-color: #b7db97;
  transform: translateY(-2px);
}

/* アイコン（≪・≫の表現） */
.form-item__button-reset .icon.arrow::before {
  content: url("../contact/img/arrow_before.svg");
}

.form-item__button-submit .icon.arrow::before {
  content: url("../contact/img/arrow_after.svg");
}

/* テキスト */
.button-text {
  color: #000;
  font-size: 1.8rem;
}

@media screen and (max-width: 767px) {
  .form-item__button {
    gap: 1rem;
  }

  .sec-link__btn button {
    width: 15rem;
    height: 6rem;
    border: 1px solid #000;
    border-radius: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }

  .sec-link__btn a {
    width: 20rem;
    height: 6rem;
    border: 1px solid #000;
    border-radius: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }

  /* テキスト */
  .button-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 767px) {
  .sec-form {
    margin: 5rem auto 0;
  }
}


























