@charset "UTF-8";

/**
 * contact.css
 *
 * お問い合わせページ
 *
 *  #Global
 *  #Header override
 *  #FV (First View)
 *  #Form
 *  #Responsive
 */


/* ==========================================================================
   Global (contact page)
   ========================================================================== */
body.contact {
  overflow-x: hidden;
  background-color: #f2f1ec;;
}


/* ==========================================================================
   Header override (light background)
   ========================================================================== */
.l-header .header-nav-link {
  color: #081a00;
}

.l-header .header-menu-btn span {
  background-color: #081a00;
}


/* ==========================================================================
   FV (First View)
   ========================================================================== */
.l-contact-fv {
  position: relative;
  width: 100%;
  height: 736px;
  overflow: hidden;
  background-color: #d9dcdc;
}

.contact-fv-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 300px 160px 0;
  z-index: 2;
}

.contact-fv-sub {
  margin-top: 0;
  font-family: "Plus Jakarta Sans", "PlusJakartaSans", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #31c47d;
}

.contact-fv-ttl {
  margin-top: 10px;
  font-family: "ZenKakuGothicNew";
  font-weight: 800;
  font-size: 56px;
  line-height: 1.34;
  letter-spacing: -0.04em;
  background: linear-gradient(-76.21deg, #135837 0.41%, #22a164 96.81%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.contact-fv-en {
  position: absolute;
  z-index: 0;
  top: 292px;
  left: calc(758px + max(0px, (100vw - 1440px) / 2));
  font-family: "Plus Jakarta Sans", "PlusJakartaSans", sans-serif;
  font-weight: 600;
  font-size: 160px;
  line-height: 1.12;
  white-space: nowrap;
  /* background ショートは clip をリセットするため image のみ指定 */
  background-color: transparent;
  background-image: linear-gradient(96.63deg, #e3e3e3 3.80%, #dedfdf 84.92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  pointer-events: none;
  user-select: none;
}

.l-contact-fv::before,
.l-contact-fv::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.l-contact-fv::before {
  top: 0;
  right: 0;
  width: 520px;
  height: 507px;
  background: transparent url("../../images/parts/pattern/logo_right_top.svg") no-repeat 0 0 / contain;
}

.l-contact-fv::after {
  bottom: 0;
  left: 0;
  width: 520px;
  height: 507px;
  background: transparent url("../../images/parts/pattern/logo_left_bottom.svg") no-repeat 0 0 / contain;
}


/* ==========================================================================
   Form (ported from public_html/common/css/layer.css #お問い合わせ)
   ========================================================================== */

 .contact-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 70px 20px 160px;
}

.contact-txt {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 2.25;
  text-align: justify;
}

.form-wrap {
  margin: 60px -40px 0;
}

/* #テーブル
   ----------------------------------------------------------------- */
.form-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 40px 60px;
}

.form-item {
  width: 50%;
  margin: 0;
  padding: 0;
  vertical-align: top;
}


.form-item-head {
  position: relative;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3333333333;
}

.form-item-head .hissu {
  margin-left: 10px;
  color: #cb4141;
}

.form-item-txt {
  font-size: 16px;
  line-height: 2;
}


/* #各スタイル
   ----------------------------------------------------------------- */
.form-wrap *:focus { outline: none; }

/* input */
.form-input {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  line-height: normal;
  background-color: #fff;
  box-shadow: 0 0 0 1000px #fff inset;
  border: 1px solid #666666;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: #bbb; }

/* textarea */
.form-textarea {
  display: block;
  width: 100%;
  height: 300px;
  padding: 18px 20px;
  font-size: 16px;
  line-height: 2;
  background-color: #fff;
  box-shadow: 0 0 0 1000px #fff inset;
  border: 1px solid #666666;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}
.form-textarea::placeholder { color: #999999; }

/* addres */
.form-add { overflow: hidden; }

.form-add-box {
  float: left;
  width: 120px;
}

.form-add-box + .form-add-box {
  position: relative;
  width: 200px;
  margin-left: 20px;
}
.form-add-box + .form-add-box:before {
  content: "ー";
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 60px;
  padding: 23px 0;
  color: #666666;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.form-add-btn {
  float: left;
  display: block;
  width: 240px;
  height: 60px;
  margin-left: 20px;
  padding: 0;
  font-size: 14px;
  line-height: normal;
  text-align: center;
  background-color: #e3e7eb;
  outline: none;
  border: none;
  border-radius: 30px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.form-add-btn:hover {
  background-color: #EDF1F4;
}


/* ボタン
   ----------------------------------------------------------------- */
.form-submit {
  display: block;
  width: 280px;
  margin: 0 auto 30px;
  padding: 27px 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  background-color: #C5C5C5;
  border: none;
  border-radius: 35px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: 0.3s;
  pointer-events: none;
}
.form-submit.confirm-enable {
  background-color: #00a455;
  box-shadow: 0px 0 20px rgba(68, 68, 68, 0.1);
  pointer-events: all;
}
.form-submit.confirm-enable:hover {
  color: #00a455;
  background-color: #fff;
  box-shadow: 0px 0 20px rgba(68, 68, 68, 0.3);
}

.form-submit-back {
  display: block;
  width: 180px;
  margin: 0 auto 30px;
  padding: 0;
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  line-height: 1;
  text-align: center;
  background-color: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* プルダウン
   ----------------------------------------------------------------- */
.form-select-wrap {
  overflow: hidden;
  margin-bottom: 20px;
}

.form-select-inner {
  position: relative;
}

.form-select-inner:after {
  content: "";
  position: absolute;
  top: 30px;
  right: 22px;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
  -webkit-transform: translateY(50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.form-select {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  line-height: normal;
  background-color: #fff;
  box-shadow: 0 0 0 1000px #fff inset;
  border: 1px solid #666666;
  border-radius: 4px;
}

.form-wrap select {
  color: #222;
}

/* 個人情報保護方針
   ----------------------------------------------------------------- */
/* チェックボックス */
.privacy-check {
  display: block;
  margin: -20px 0 40px;
  font-size: 0;
  text-align: center;
}

.privacy-check-input { display: none; }

.privacy-check-lable {
  position: relative;
  display: inline-block;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.privacy-check-lable:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: #E0E5EA;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

.privacy-check-lable:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform-origin: bottom left;
  transform: rotate(-45deg);
  opacity: 0;
}

.privacy-check-input[type=checkbox]:checked + .privacy-check-lable:before { background-color: #00a455; }
.privacy-check-input[type=checkbox]:checked + .privacy-check-lable:after { opacity: 1; }

.privacy-check-lable a { transition: color 0.6s; }

/* ポップアップ */
.form-privacy-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.form-privacy-popup.is-show {
  opacity: 1;
  visibility: visible;
}

.form-privacy-popup-wrap {
  overflow: scroll;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 820px;
  height: 60%;
  background-color: #fff;
  z-index: 2;
}

.form-privacy-popup-inner { padding: 60px; }

.form-privacy-popup-inner p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.75;
}

.form-privacy-popup-ttl {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* 同意する */
.form-privacy-popup-inner p.form-privacy-popup-consent {
  display: block;
  width: 240px;
  margin: 30px auto 0;
  padding: 20px 0;
  color: #00a455;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border: 1px solid #00a455;
  border-radius: 29px;
  transition: color 0.3s, background-color 0.3s;
}
.form-privacy-popup-inner p.form-privacy-popup-consent:hover {
  color: #fff;
  background-color: #00a455;
}

/* 背景 */
.form-privacy-popup-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  z-index: 1;
  cursor: pointer;
}

/* 必須チェック */
.form-privacy-checkbox-error {
  margin-top: 10px;
  color: #cb4141;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

/* バリデーション(exvalidation) */
.errMsg {
  display: block;
  margin-top: 10px;
  color: #cb4141;
  font-size: 12px;
  line-height: 1;
}

/* バリデーション(TransmitMail) */
.error {
  margin-top: 10px;
  color: #cb4141;
  font-size: 12px;
  line-height: 1;
}

/* 注意書き (finish ページ等) */
.contact-txt-attention {
  position: relative;
  padding-left: 1.3em;
  line-height: 1.78;
}

.contact-txt-attention::before {
  position: absolute;
  content: "※";
  left: 0;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 1200px) {
  /* FV（privacy .privacy-fv-inner タブレットと同様） */
  .l-contact-fv {
    height: 560px;
    min-height: unset;
  }

  .contact-fv-inner {
    padding: 200px 40px 200px;
    box-sizing: border-box;
  }

  .contact-fv-sub {
    font-size: 20px;
  }

  .contact-fv-ttl {
    font-size: 44px;
  }

  .contact-fv-en {
    top: 210px;
    left: auto;
    right: -80px;
    bottom: auto;
    margin: 0;
    font-size: 110px;
    background-color: transparent;
    background-image: linear-gradient(99.73deg, #e3e3e3 3.8%, #dedfdf 84.92%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
  }

  .l-contact-fv::before,
  .l-contact-fv::after {
    width: 400px;
    height: 390px;
  }
}

@media screen and (max-width: 768px) {
  /* FV */
  .l-contact-fv {
    height: auto;
    min-height: calc(500 / 414 * 100vw);
    display: flex;
    align-items: center;
  }

  .contact-fv-inner {
    padding: 29.167vw 5vw 41.667vw;
    min-height: unset;
  }

  .contact-fv-sub {
    font-size: 3.75vw;
    margin-top: 0;
  }

  .contact-fv-ttl {
    margin-top: 12px;
    font-size: 7.5vw;
    line-height: 1.5;
  }

  .contact-fv-en {
    display: none;
  }

  .l-contact-fv::before,
  .l-contact-fv::after {
    width: 280px;
    height: 273px;
  }

  /* Form */
  .form-ttl {
    font-size: 24px;
  }

  .form-wrap {
    margin: 60px 0 0;
  }
  .form-table {
    display: block;
    width: 100%;
    border-spacing: 0;
  }
  .form-table tbody,
  .form-table tr {
    display: block;
    width: 100%;
  }
  .form-item {
    display: block;
    width: 100%;
    padding-bottom: 30px;
  }
  .form-item-head {
    margin-bottom: 15px;
  }
  .form-add-box { width: 48%; }
  .form-add-box + .form-add-box {
    float: right;
    width: 48%;
    margin-left: 4%;
  }
  .form-add-box + .form-add-box:before {
    width: 8.3333333333%;
    left: -8.3333333333%;
  }
  .form-add-btn {
    clear: both;
    width: 100%;
    margin: 20px 0 0;
  }

  .privacy-check { margin: 0 0 30px; }

  .form-txt-wrap { padding: 0; }
}

@media screen and (max-width: 500px) {
  /* Form */
  .contact-txt {
    margin-bottom: 36px;
    font-size: 15px;
    line-height: 1.85;
  }

  .form-input,
  .form-textarea { font-size: 16px; }

  .form-add-box + .form-add-box:before {
    font-size: 10px;
  }

  .form-privacy-popup-wrap {
    width: 90%;
    height: 90%;
  }
  .form-privacy-popup-inner {
    padding: 7.2463768116vw;
  }
  .form-privacy-popup-inner p {
    margin-bottom: 3.6231884058vw;
    font-size: 3.1400966184vw;
  }
  .form-privacy-popup-inner p.form-privacy-popup-consent {
    width: 100%;
    font-size: 3.1400966184vw;
  }

  .form-submit {
    width: 240px;
  }
}

/* ==========================================================================
   Wide screen (1440px and up)
   ========================================================================== */
@media screen and (min-width: 1440px) {
  .l-contact-fv::before,
  .l-contact-fv::after {
    width: calc(520 / 1440 * 100vw);
    height: calc(507 / 1440 * 100vw);
  }
}
