@media only screen and (max-width: 899px) {
  .l-main {
    background: url(/_assets/top/img/bg-mv_sp.png) 50% 0/100% no-repeat;
  }
}
@media print, screen and (min-width: 900px) {
  .l-main {
    background: url(/_assets/top/img/bg-mv_pc.png) 50% 0/100% no-repeat;
  }
}

input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  padding: 0;
  line-height: 1.4;
}

input[type=text],
select,
textarea {
  width: 100%;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 0.5em 1em 0.6em;
  color: #777;
  font-size: 16px;
  font-size: 1.6rem;
}

textarea {
  height: 12em;
  resize: vertical;
}

input[type=checkbox] {
  display: none;
}
input[type=checkbox] + label {
  padding-left: 1.2em;
  position: relative;
  cursor: pointer;
}
input[type=checkbox] + label:before {
  content: "";
  display: block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 4px;
  border: 1px solid #333;
  background: #eee;
  position: absolute;
  top: 0.9em;
  left: 0;
  translate: 0 -55%;
  transition: background 0.4s;
}
input[type=checkbox] + label:after {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.3em;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  top: 0.75em;
  left: 0.4em;
  translate: -50% -50%;
  rotate: -45deg;
  opacity: 0;
  transition: opacity 0.4s;
}
input[type=checkbox]:checked + label:before {
  border: 1px solid #0069bf;
  background: #0069bf;
}
input[type=checkbox]:checked + label:after {
  opacity: 1;
}

input[type=button],
input[type=reset],
input[type=submit] {
  background: #333;
  color: #fff;
  cursor: pointer;
  border: 1px solid #333;
  transition: background 0.4s, color 0.4s;
}
@media only screen and (max-width: 899px) {
  input[type=button],
  input[type=reset],
  input[type=submit] {
    width: 37.3333333333vw;
    height: 10.6666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  input[type=button],
  input[type=reset],
  input[type=submit] {
    width: 180px;
    height: 45px;
  }
  input[type=button]:hover,
  input[type=reset]:hover,
  input[type=submit]:hover {
    background: #fff;
    color: #333;
  }
}

.p-contact {
  position: relative;
}
@media only screen and (max-width: 899px) {
  .p-contact {
    padding-top: 26.6666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-contact {
    padding-top: 160px;
  }
}

.p-contact-inr {
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 899px) {
  .p-contact-inr {
    margin-inline: 5.3333333333vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-contact-inr {
    max-width: 900px;
    padding-inline: 50px;
    margin-inline: auto;
  }
}

.p-contact-ttl {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5em;
}
@media only screen and (max-width: 899px) {
  .p-contact-ttl {
    font-size: 6.4vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-contact-ttl {
    font-size: 36px;
    font-size: 3.6rem;
  }
}

@media print, screen and (min-width: 900px) {
  .p-form-lead {
    font-size: 16px;
    font-size: 1.6rem;
  }
}
.p-form-lead b {
  font-weight: bold;
}

.p-form-require {
  color: #c00;
}

@media only screen and (max-width: 899px) {
  .p-form-body {
    margin-top: 8vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-body {
    margin-top: 50px;
  }
}

.p-form-item {
  border-bottom: 1px solid #ccc;
}
@media only screen and (max-width: 899px) {
  .p-form-item {
    padding: 4vw 0;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-item {
    padding: 20px 15px;
    display: flex;
  }
}
.p-form-item dt {
  font-weight: bold;
}
@media only screen and (max-width: 899px) {
  .p-form-item dt {
    font-size: 4.2666666667vw;
    margin-bottom: 0.5em;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-item dt {
    font-size: 18px;
    font-size: 1.8rem;
    flex: 0 0 220px;
    padding-top: 3px;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-item dd {
    flex: 1 1 auto;
  }
}
.p-form-item .p-form-require {
  vertical-align: top;
}
@media only screen and (max-width: 899px) {
  .p-form-item .p-form-require {
    font-size: 2.6666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-item .p-form-require {
    font-size: 10px;
    font-size: 1rem;
  }
}

.p-form-item-select {
  position: relative;
}
.p-form-item-select:after {
  content: "";
  display: block;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  position: absolute;
  top: 50%;
  right: 1em;
  translate: 0 -50%;
  rotate: 45deg;
  pointer-events: none;
}
@media only screen and (max-width: 899px) {
  .p-form-item-select:after {
    width: 1.6vw;
    height: 1.6vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-item-select:after {
    width: 6px;
    height: 6px;
  }
}

.p-form-txt {
  margin-bottom: 0.5em;
}
@media only screen and (max-width: 899px) {
  .p-form-txt {
    font-size: 3.7333333333vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-txt {
    font-size: 14px;
    font-size: 1.4rem;
  }
}

.p-form-error {
  color: #c00;
}
@media only screen and (max-width: 899px) {
  .p-form-error {
    font-size: 3.2vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-form-error {
    font-size: 12px;
    font-size: 1.2rem;
  }
}
.p-form-error:not(:empty) {
  margin-top: 0.5em;
}

form.-confirm .p-form-item-select:after {
  content: none;
}
form.-confirm .p-form-item dt {
  padding-top: 0;
}
form.-confirm .p-form-item dd {
  padding-top: 0.2em;
}

@media only screen and (max-width: 899px) {
  .p-privacy {
    margin-top: 8vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-privacy {
    margin-top: 30px;
  }
}

.p-privacy-policy {
  overflow: auto;
  border: 1px solid #ccc;
}
@media only screen and (max-width: 899px) {
  .p-privacy-policy {
    height: 66.6666666667vw;
    margin-block: 5.3333333333vw;
    padding: 8vw 5.3333333333vw;
    font-size: 3.7333333333vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-privacy-policy {
    height: 215px;
    margin-block: 30px;
    padding: 40px 30px;
    font-size: 15px;
    font-size: 1.5rem;
  }
}
.p-privacy-policy h3 {
  margin-bottom: 1em;
  font-weight: bold;
}
@media only screen and (max-width: 899px) {
  .p-privacy-policy h3 {
    font-size: 4.8vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-privacy-policy h3 {
    font-size: 20px;
    font-size: 2rem;
  }
}
.p-privacy-policy h3:not(:first-child) {
  margin-top: 2em;
}
.p-privacy-policy h4 {
  margin-bottom: 0.8em;
  font-weight: bold;
}
@media only screen and (max-width: 899px) {
  .p-privacy-policy h4 {
    font-size: 4.2666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-privacy-policy h4 {
    font-size: 18px;
    font-size: 1.8rem;
  }
}
.p-privacy-policy h4:not(:first-child) {
  margin-top: 1.5em;
}
.p-privacy-policy li {
  margin-top: 0.5em;
}
.p-privacy-policy p, .p-privacy-policy ul {
  margin-top: 0.5em;
}

.p-form-privacy {
  text-align: center;
}

.p-form-buttons {
  margin-top: 1em;
  display: flex;
  justify-content: center;
}

.p-complete-hl {
  text-align: center;
  margin-bottom: 1.5em;
}
@media only screen and (max-width: 899px) {
  .p-complete-hl {
    font-size: 4.2666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-complete-hl {
    font-size: 24px;
    font-size: 2.4rem;
  }
}

@media print, screen and (min-width: 900px) {
  .p-complete-body {
    text-align: center;
  }
}

.p-complete-btns {
  margin-top: 4em;
}
.p-complete-btn {
  display: grid;
  place-content: center;
  background: #333;
  color: #fff;
  cursor: pointer;
  border: 1px solid #333;
  transition: background 0.4s, color 0.4s;
  margin-inline: auto;
}
@media only screen and (max-width: 899px) {
  .p-complete-btn {
    width: 48vw;
    height: 10.6666666667vw;
  }
}
@media print, screen and (min-width: 900px) {
  .p-complete-btn {
    width: 220px;
    height: 45px;
  }
  .p-complete-btn:hover {
    background: #fff;
    color: #333;
  }
}