@charset "utf-8";

/*
  File Name   : contact.css
  Description : お問い合わせ
*/


/* common
============================================================ */
.kv {
  background-image: url(../img/contact/bg-kv-01.jpg);
}

@media screen and (max-width: 811px) {
  .kv {
    background-image: url(../img/contact/bg-kv-01-sp.jpg);
  }
}


.sec-inner {
  max-width: 700px;
}

.contact-lead {
  margin-bottom: 36px;
}

.contact-tel-block {
  background: #f3f3f3;
  text-align: center;
  padding: 35px 0 50px;
}

.contact-tel-box__lead {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-tel-box {
  background: #fff;
  padding: 30px 0 36px;
}

.contact-tel {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-tel a {
  display: inline-block;
  padding-left: 45px;
  background: url(../img/contact/icon-tel-01.png) no-repeat 0 50%;
  background-size: 36px auto;
}

.contact-form-wrap {
  padding: 60px 0 0;
}

.contact-nav__list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  max-width: 380px;
  margin: 0 auto 80px;
}

.contact-nav__list li {
  text-align: center;
  font-weight: bold;
  position: relative;
}

.contact-nav__list .number {
  font-size: 20px;
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 41px;
  border: 2px solid #b6b5b5;
  border-radius: 50%;
  box-sizing: border-box;
  color: #b6b5b5;
  vertical-align: middle;
  position: relative;
}

.contact-nav__list li:nth-child(2) .number:before,
.contact-nav__list li:nth-child(2) .number:after {
  content: "";
  width: 110px;
  height: 2px;
  background: #b6b5b5;
  position: absolute;
  top: 50%;
  left: -8px;
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.contact-nav__list li:nth-child(2) .number:after {
  left: auto;
  right: -8px;
  -webkit-transform: translate(100%, -50%);
  transform: translate(100%, -50%);
}

.contact-nav__list .txt {
  display: inline-block;
  min-width: 6em;
  position: absolute;
  bottom: -5px;
  left: 50%;
  -webkit-transform: translate(-50%, 100%);
  transform: translate(-50%, 100%);
}

.contact-nav__list li.reached .number {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media screen and (-ms-high-contrast: none) {
  .contact-tel a {
    background-position: 0 20%;
  }

  .contact-nav__list .number {
    line-height: 48px;
  }

  .input-title {
    padding-top: .3em;
  }
}

@media screen and (max-width: 900px) {
  .contact-lead {
    margin: -20px 0 30px;
  }

  .contact-tel-block {
    padding: 25px 0 35px;
  }

  .contact-tel-box__lead {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .contact-tel-box {
    background: #fff;
    padding: 20px 0 30px;
  }

  .contact-tel {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .contact-tel a {
    padding-left: 35px;
    background-size: 26px auto;
  }

  .contact-tel-note {
    font-size: 11px;
  }

  .contact-form-wrap {
    padding-top: 30px;
  }

  .contact-nav__list {
    max-width: 262px;
    margin-bottom: 60px;
    font-size: 12px;
  }

  .contact-nav__list .number {
    font-size: 18px;
    width: 35px;
    height: 35px;
    line-height: 31px;
  }

  .contact-nav__list li:nth-child(2) .number:before,
  .contact-nav__list li:nth-child(2) .number:after {
    width: 68px;
  }

}

/* form
============================================================ */

input[type="text"] {
  padding: .5em 1em;
  min-width: 12em;
  height: 2.5em;
  line-height: 1.5;
  -webkit-appearance: none;
  border-radius: 0;
  border: 1px solid #b6b5b5;
}
input[type="tel"] {
  padding: .5em 1em;
  min-width: 12em;
  height: 2.5em;
  line-height: 1.5;
  -webkit-appearance: none;
  border-radius: 0;
  border: 1px solid #b6b5b5;
}
input[type="email"] {
  padding: .5em 1em;
  min-width: 12em;
  height: 2.5em;
  line-height: 1.5;
  -webkit-appearance: none;
  border-radius: 0;
  border: 1px solid #b6b5b5;
}
textarea {
  width: 100%;
  padding: .5em 1em;
  height: 20em;
  box-sizing: border-box;
}

/*** placeholder ***/
::-webkit-input-placeholder {
  color: #b6b5b5;
  opacity: 1;
}
:-moz-placeholder {
  color: #b6b5b5;
  opacity: 1;
}
::-moz-placeholder {
  color: #b6b5b5;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #b6b5b5;
  opacity: 1;
}
:placeholder-shown {
  color: #b6b5b5;
  opacity: 1;
}
:focus::-webkit-input-placeholder {
  color: transparent;
}
:focus:-moz-placeholder {
  color: transparent;
}
:focus::-moz-placeholder {
  color: transparent;
}
:focus:-ms-input-placeholder {
  color: transparent;
}
:focus:placeholder-shown {
  color: transparent;
}

:-ms-input-placeholder {
  color: #b6b5b5 !important;
}

.contact-form__ttl {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: .8em;
}

.contact-form__ttl:before {
  content: "";
  width: 50px;
  height: 1px;
  background: #a0a0a0;
  position: absolute;
  left: 0;
  bottom: -1px;
}

.contact-form__ttl-wrap {
  position: relative;
}

.contact-form__note {
  position: absolute;
  right: 0;
  top: .3em;
}

.input-row {
  display: table;
  table-layout: fixed;
  width: 100%;
  border-bottom: 1px solid #d3d3d3;
  padding: 2em 0;
  box-sizing: border-box;
}

.input-row > * {
  display: table-cell;
  vertical-align: top;
  box-sizing: border-box;
}

.input-title {
  width: 23%;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}

.input-title p {
  font-weight: bold;
}

.icon-required:after {
  content: "※";
  display: inline-block;
  color: #fd4444;
  font-style: normal;
  font-weight: normal;
  margin: 0 .5em;
}

.input-content {
  padding-right: 3.3em;
  width: 77%;
}

.input-sm {
  width: 52.2%;
}

.input-md {
  width: 70.6%;
}

.submit-container {
  text-align: center;
  padding: 2.6em 0;
}

.submit-container .submit {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  line-height: 4em;
  text-align: center;
  color: #fff;
  background: #000;
  position: relative;
  cursor: pointer;
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
}

.submit-container .submit:after {
  content: "";
  width: 9px;
  height: 13px;
  background: url(../img/contact/icon-arrow-01.png) no-repeat 50% 50%;
  background-size: 100% auto;
  position: absolute;
  top: 50%;
  right: 1.5em;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (max-width: 900px) {

  input[type="text"] {
    padding: .5em;
    height: 3em;
    line-height: 2;
    width: 90% !important;
    font-size: 13px;
    min-width: auto;
  }
input[type="tel"] {
    padding: .5em;
    height: 3em;
    line-height: 2;
    width: 90% !important;
    font-size: 13px;
    min-width: auto;
  }
	input[type="email"] {
    padding: .5em;
    height: 3em;
    line-height: 2;
    width: 90% !important;
    font-size: 13px;
    min-width: auto;
  }
  .contact-form__ttl {
    font-size: 16px;
    padding-bottom: .4em;
  }

  .contact-form__note {
    font-size: 13px;
  }

  .input-row {
    display: block;
    padding: 20px 0 25px;
  }

  .input-row > * {
    display: block;
  }

  .input-title {
    width: 100%;
    font-size: 14px;
    margin-bottom: .7em;
  }

  .input-content {
    width: auto;
    padding-right: 0;
  }

  .icon-required:after {
    margin: 0 .2em;
  }

  .submit-container {
    padding: 25px 0;
  }

  .submit-container .submit {
    width: 80%;
    line-height: 3.5em;
  }

  .submit-container .submit:after {
    content: "";
    width: 7px;
    height: 11px;
    right: 1em;
  }
}

/* confirm
============================================================ */
.confirm-txt {
  padding-top: .2em;
}

.submit-container .back {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  line-height: 4em;
  text-align: center;
  position: relative;
  cursor: pointer;
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  border: 1px solid #d2d2d2;
  margin-right: 30px;
}

.submit-container .back:before {
  content: "";
  width: 9px;
  height: 13px;
  background: url(../img/contact/icon-arrow-02.png) no-repeat 50% 50%;
  background-size: 100% auto;
  position: absolute;
  top: 50%;
  left: 1.5em;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (max-width: 900px) {
  .submit-container--confirm {
    display: flex;
  }

  .submit-container .back {
    margin-right: 3.5%;
  }

  .submit-container .back {
    width: 80%;
    line-height: 3.5em;
  }

  .submit-container .back:before {
    content: "";
    width: 7px;
    height: 11px;
    left: 1em;
  }
}


/* thanks
============================================================ */
.form-thanks {
  border-bottom: 1px solid #d3d3d3;
  padding: 2.1em 0;
  line-height: 1.8;
}

.form-thanks p:not(:last-child) {
  margin-bottom: 1.7em;
}

/* enページ追加
============================================================ */
#en .sec_contact-flex{
  display: flex;
}
#en .input-content{
  width: 80%;
}
#en .input-content-name{
  width: 30%;
  padding: 0;
}
#en .input-title-right{
  text-align: center;
}
#en .sec-en-contact .input-title{
  width: 20%;
}
#en .back{
  margin: 0;
}
@media screen and (max-width: 900px) {
  #en .sec_contact-flex{
    gap: 5%;
  }  
  #en .input-content{
    width: auto;
  }  
  #en .sec_contact-flex .input-row{
    width: 45%;
  }  
  #en .input-content-name{
    width: auto;
  }
  #en .input-title-right{
    text-align: left;
  }  
  #en .sec-en-contact .input-title{
    width: 100%;
  }  
}