/* common
=================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700&display=swap");
@font-face {
  font-family: "Alinaregular";
  src: url("/webfonts/38F0A3_0_0.eot");
  src: url("/webfonts/38F0A3_0_0.eot?#iefix") format("embedded-opentype"), url("/webfonts/38F0A3_0_0.woff2") format("woff2"), url("/webfonts/38F0A3_0_0.woff") format("woff"), url("/webfonts/38F0A3_0_0.ttf") format("truetype");
}
/* color
================================================*/
/* top opening animation
================================================*/
/* layout
=================================================================== */
/* animation delay
=================================================================== */
/* font
=================================================================== */
/* font-ag
================================================*/
/* vw font
=================================================================== */
/* vw
================================================*/
/* vh
================================================*/
#contents {
  padding: 10vh 10vw;
}

h1 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 5vh;
}

.contact {
  margin: 50px;
  max-width: 800px;
  margin: 0 auto;
}
.contact .lead {
  margin-bottom: 40px;
}
.contact .wrapper {
  margin: 0 auto 60px;
}
.contact .wrapper .row {
  display: flex;
  align-items: flex-start;
  margin: 0 0 40px;
}
.contact .wrapper .row:last-child {
  margin: 0;
}
.contact .wrapper .left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
  margin: 0 20px 0 0;
}
.contact .wrapper .left .title {
  line-height: 48px;
}
.contact .wrapper .right {
  flex-grow: 1;
}
.contact .wrapper .p-postal-code,
.contact .wrapper .p-tel,
.contact .wrapper .p-mail {
  width: 70%;
}
.contact .wrapper .address .tpl-select {
  margin: 0 0 25px;
}
.contact .error {
  margin: 1em 0 0;
  color: #BE0000;
}
.contact .agree {
  margin: 0 0 60px;
  text-align: center;
}
.contact .agree .text {
  margin: 0 0 30px;
  font-size: 1.6rem;
}
.contact .agree .text a {
  text-decoration: underline;
}
.contact .agree .text a:hover {
  text-decoration: none;
}
.contact .btn-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 346px;
  height: 80px;
  margin: 0 auto;
  padding: 0;
  border-radius: 40px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid #707070;
  color: #000;
  font-size: 1.8rem;
  font-family: sans-serif;
  letter-spacing: 0.4em;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 300ms 0s ease;
}
.contact.thanks, .contact.error {
  margin-top: 150px;
}
.contact.thanks .lead, .contact.error .lead {
  text-align: left;
}

.tpl-input-text {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 25px;
  border: solid 1px #A1A1A1;
  border-radius: 24px;
  box-sizing: border-box;
  color: inherit;
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-family: sans-serif;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 300ms 0s ease;
}
.tpl-input-text:focus {
  outline: none;
  background: #ececec;
}

.tpl-select {
  position: relative;
}

.tpl-select__select {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 55px 0 25px;
  border: solid 1px #A1A1A1;
  border-radius: 24px;
  box-sizing: border-box;
  color: inherit;
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-family: sans-serif;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 300ms 0s ease;
}
.tpl-select__select:focus {
  outline: none;
  background: #ececec;
}

.tpl-select::after {
  display: block;
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  border-bottom: 1px solid #707070;
  border-right: 1px solid #707070;
  box-sizing: border-box;
  pointer-events: none;
  content: "";
  transform: rotate(45deg);
}
.tpl-select:focus-within::after {
  transform: rotate(-135deg);
}

.tpl-checkbox__input {
  display: none;
}
.tpl-checkbox__input:checked + .tpl-checkbox__label::before {
  border: none;
  background-color: #000;
  background-image: url(/assets/images/common/icon_check.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px auto;
  content: "";
}

.tpl-checkbox__label {
  position: relative;
  padding: 0 0 0 50px;
  font-size: 1.8rem;
}
.tpl-checkbox__label::before {
  display: block;
  position: absolute;
  top: -2px;
  left: 0;
  width: 30px;
  height: 30px;
  border: solid 1px #A1A1A1;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #fff;
  content: "";
}

.tpl-textarea {
  display: block;
  width: 100%;
  height: 180px;
  margin: 0;
  padding: 25px;
  border: solid 1px #A1A1A1;
  border-radius: 24px;
  box-sizing: border-box;
  color: inherit;
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-family: sans-serif;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 300ms 0s ease;
}
.tpl-textarea:focus {
  outline: none;
  background: #ececec;
}

::-webkit-input-placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder,
::placeholder {
  color: #C9C9C9;
}

@media (min-width: 767px) {
  .contact .btn-submit:hover, .contact .btn-submit:focus {
    background: rgba(255, 255, 255, 0.9);
  }
}
@media (max-width: 767px) {
  .contact {
    margin-bottom: 100px;
  }
  .contact .lead {
    font-size: 1.4rem;
  }
  .contact .lead span {
    display: block;
  }
  .contact .wrapper {
    padding: 0 10px;
    font-size: 1.6rem;
  }
  .contact .wrapper .row {
    display: block;
  }
  .contact .wrapper .p-tel,
.contact .wrapper .p-mail {
    width: 100%;
  }
  .contact .agree .text span {
    display: block;
  }
  .contact .btn-submit {
    width: 280px;
  }
}