@charset "UTF-8";
/* CSS Document */

#contact .lower-header {
  background-image: url('../image/contact/contact-bg-pc.jpg');
}

.main-bg {
  background: #f2f2f2;
}
.inner {
  padding: 0 6rem 10rem;
}

h2.noteh2 {
  margin-bottom: 3.5rem;
}

.inquiry {
  background: #fff;
  width: 108rem;
  margin: 5rem auto;
  padding: 9rem;
}

.inquiry-step {
  text-align: center;
  margin-bottom: 8.5rem;
}

.inquiry dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
}
.inquiry dt {
  width: 26rem;
}
.inquiry dt span {
  font-size: 1.3rem;
  padding: 0.2rem 1rem;
  margin-right: 1.8rem;
}
.inquiry dt .optional {
  background: #dcdcdc;
}
.inquiry dt .required {
  background: var(--red);
  color: #fff;
}
.inquiry dd {
  width: 64rem;
}
.inquiry dd input,
.inquiry dd textarea {
  font-size: 1.6rem;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  color: #1c191a;
  line-height: 1.8;
}
.inquiry dd input {
  width: 100%;
  height: 6rem;
  border: 0.1rem #969696 solid;
  border-radius: 0.5rem;
  padding-left: 2rem;
}
.inquiry dd textarea {
  width: 100%;
  font-family: inherit;
  height: 31.5rem;
  word-break: break-all;
  border-radius: 0.5rem;
  padding: 2rem;
  border: 0.1rem #969696 solid;
}
.inquiry dd input[name='postalcode1'] {
  width: 13.5rem;
  margin-right: 2.5rem;
}
.inquiry dd input[name='postalcode2'] {
  width: 17.5rem;
  margin-left: 2.5rem;
}
.inquiry dd + dd {
  margin-top: 1.5rem;
}
::placeholder {
  color: #b3b3b3;
}

.inquiry .policy {
  text-align: center;
  margin: 6rem auto 6.5rem;
}
.inquiry .policy a {
  text-decoration: underline;
}

.inquiry .confirm a {
  display: block;
  width: 27rem;
  height: 7rem;
  line-height: 7rem;
  background: var(--red);
  color: #fff;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
}
.inquiry .confirm a::after {
  content: '';
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  background: url('../image/contact/arrow-wh-pc.png');
  background-size: cover;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

footer {
  border-top: 0.1rem #6d6d6d solid;
}

/* ---------- confirm.html ---------- */

.inquiry.confirm dl {
  margin-bottom: 6.5rem;
}

.fix {
  margin-top: 6.5rem;
  text-align: center;
}
.fix button {
  text-decoration: underline;
  appearance: none;
  border: none;
  font: inherit;
  cursor: pointer;
  background: inherit;
  transition: all 250ms ease 0s;
}
@media (hover: hover) and (pointer: fine) {
  .fix button:hover {
    opacity: 0.8;
  }
}
.fix a {
  text-decoration: underline;
}

/* ---------- thanks.html ---------- */

.inquiry.thanks {
  margin: 0 auto;
}
.inquiry.thanks h3 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 4.5rem;
}
.inquiry.thanks h3 + p {
  text-align: center;
  margin-bottom: 7rem;
}

.inquiry .toTop a {
  display: block;
  width: 27rem;
  height: 7rem;
  line-height: 7rem;
  background: var(--red);
  color: #fff;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
}
.inquiry .toTop a::after {
  content: '';
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  background: url('../image/contact/arrow-wh-pc.png');
  background-size: cover;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

#contact footer > a[href='/contact/'] {
  display: none;
}

.inquiry .confirm button {
  display: block;
  width: 27rem;
  height: 7rem;
  border: none;
  line-height: 7rem;
  background: var(--red);
  text-align: left;
  color: #fff;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  opacity: 1;
  transition: all 0.3s ease;
}
.inquiry .confirm button::after {
  content: '';
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  background: url('../image/contact/arrow-wh-pc.png');
  background-size: cover;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}
