@charset "utf-8";

.title_container {
  background: url(../../contact/img/bg_pagetitle.jpg) no-repeat center center;
}

@media screen and (max-width: 767px) {
  .title_container {
    background-size: cover;
  }
}

@media screen and (min-width: 768px) {
  .title_container {
    background-size: 100% auto;
  }
}

/* ---------- CONTAINER ----------*/
#page_contact {
  padding-block: 50px 120px;
  line-height: 1.7;
}

#page_contact p:not(:first-child) {
  margin-top: 10px;
}

/* ---------- CONTAINER ----------*/
.l-container {
  width: 100%;
  max-width: 1020px;
  margin-inline: auto;
  padding-inline: 10px;
  box-sizing: border-box;
}

/* ---------- FORM ----------*/
.c-form__dl {
  margin-bottom: 25px;
}

.c-form__dl:last-child {
  margin-bottom: 0;
}

.c-form__dl--1col .c-form__dt {
  margin-bottom: 7px;
}

.c-form__dl--1col {
  margin-bottom: 35px;
}

.c-form__title {
  cursor: pointer;
  color: #0b308e;
  font-size: 16px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .c-form__dl--2col .c-form__dt {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 768px) {
  .c-form__dl--2col {
    display: grid;
    grid-template-columns: 300px 1fr;
  }

  .c-form__dl--2col .c-form__dt {
    padding-block: 5px;
  }
}

input,
select,
option,
optgroup,
textarea {
  font-family: noto-sans, sans-serif, 'Open Sans', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, "HGPｺﾞｼｯｸE";
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #181818;
}

/*---------- COMMON INPUT ----------*/
.c-input input {
  width: 100%;
  height: 50px;
  padding-inline: 15px;
  box-sizing: border-box;
}

/*---------- COMMON SELECT ----------*/
.c-select {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
}

.c-select:after {
  position: absolute;
  content: "▼";
  inset-block-start: 50%;
  inset-inline-end: 15px;
  transform: translateY(-50%);
  color: #000000;
  font-size: 19px;
  pointer-events: none;
}

.c-select select {
  width: 100%;
  height: 50px;
  padding-inline: 15px 35px;
  cursor: pointer;
  appearance: none;
  background-image: none;
}

/*---------- COMMON TEXTAREA ----------*/
.c-textarea {
  height: 250px;
  box-sizing: border-box;
}

.c-textarea textarea {
  resize: none;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
}

/* ---------- ITEM CHECK ----------*/
.c-item-check label,
.c-item-check input {
  cursor: pointer;
}

/* ---------- LIST CHECK ----------*/
.c-list-check {
  display: flex;
  flex-wrap: wrap;
}

.c-list-check--v3 .c-item-check:last-child {
  grid-column: 1/-1;
}

@media screen and (max-width: 767px) {
  .c-list-check {
    gap: 5px 25px;
  }
}

@media screen and (min-width: 768px) {
  .c-list-check {
    gap: 8px 45px;
  }
}

/* ---------- BUTTON ----------*/
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  max-width: 480px;
  min-height: 40px;
  padding: 5px;
  border: 0;
  box-sizing: border-box;
  background-color: #0c1353;
}

.c-btn__text {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: uppercase;
}

.c-btn__text::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 63px;
  height: 7px;
  margin-top: -5px;
  transition: transform 0.3s ease-in-out;
}

/* ---------- BUTTON PREV ----------*/
.c-btn--prev:hover .c-btn__text::before {
  transform: translateX(-15px);
}

.c-btn--prev .c-btn__text {
  padding-left: 75px;
}

.c-btn--prev .c-btn__text::before {
  left: 0;
  background: url("../../img/common/c_arrow_prev_white.png")no-repeat center center/100% auto;
}

/* ---------- BUTTON NEXT ----------*/
.c-btn--next:hover .c-btn__text::before {
  transform: translateX(15px);
}

.c-btn--next .c-btn__text {
  padding-right: 75px;
}

.c-btn--next .c-btn__text::before {
  right: 0;
  background: url("../../img/common/c_arrow_next_white.png")no-repeat center center/100% auto;
}

/* ---------- FORM SUBMIT ----------*/
@media screen and (max-width: 767px) {
  .c-form-submit__btn:not(:first-child) {
    margin-top: 20px;
  }
}

@media screen and (min-width: 768px) {
  .c-form-submit {
    display: flex;
    justify-content: space-around;
    gap: 35px;
  }

  .c-form-submit__btn {
    width: calc(50% - 20px);
  }
}