@charset "UTF-8";
@keyframes heart {
  0% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.2);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.2);
  }
  48% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(9deg);
  }
  60% {
    transform: rotate(-6deg);
  }
  70% {
    transform: rotate(3deg);
  }
  80% {
    transform: rotate(-3deg);
  }
  90% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes wave_loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
body#contact .main {
  width: 56.25rem;
  margin: 0 auto 6.25rem;
}
@media (max-width: 768px) {
  body#contact .main {
    width: 100%;
    margin-bottom: 20.8333333333vw;
    padding: 0 4.1666666667vw;
  }
}
body#contact .main .notice {
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  body#contact .main .notice {
    margin-bottom: 8.3333333333vw;
  }
}
body#contact .main p .required {
  color: #900;
}
body#contact .main .attention {
  color: #900;
}
body#contact .main .attention a {
  text-decoration: none;
  pointer-events: none;
}
@media (max-width: 768px) {
  body#contact .main .attention a {
    text-decoration: underline;
    pointer-events: all;
  }
}
body#contact .main form {
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  body#contact .main form {
    margin-bottom: 12.5vw;
  }
}
body#contact .main input[type=submit], body#contact .main input[type=button], body#contact .main button {
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
body#contact .main .table tbody tr th {
  width: 30%;
  padding-right: 1.25rem;
  vertical-align: middle;
}
@media (max-width: 768px) {
  body#contact .main .table tbody tr th {
    width: 100%;
    padding-right: 0;
  }
}
body#contact .main .table tbody tr th label {
  position: relative;
  display: block;
}
body#contact .main .table tbody tr th label.required::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: "必須";
  padding: 0.25em 1em;
  color: #ffffff;
  font-size: 0.625rem;
  line-height: 1.5;
  vertical-align: middle;
  background-color: #c00;
  border-radius: 1em;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  body#contact .main .table tbody tr th label.required::after {
    font-size: 2.0833333333vw;
  }
}
body#contact .main .table tbody tr td dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  body#contact .main .table tbody tr td dl {
    display: block;
  }
}
body#contact .main .table tbody tr td dl + dl {
  margin-top: 0.625rem;
}
@media (max-width: 768px) {
  body#contact .main .table tbody tr td dl + dl {
    margin-top: 2.0833333333vw;
  }
}
body#contact .main .table tbody tr td dl dt {
  flex-basis: 6em;
}
body#contact .main .table tbody tr td dl dd {
  flex-grow: 1;
}
body#contact .main input[type=text], body#contact .main select, body#contact .main textarea {
  width: 100%;
  padding: 0.625rem;
  border: solid 1px rgba(0, 0, 0, 0.1);
  outline: none;
  color: #000000;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 0.1875rem;
}
@media (max-width: 768px) {
  body#contact .main input[type=text], body#contact .main select, body#contact .main textarea {
    padding: 2.0833333333vw;
    font-size: 3.3333333333vw;
    border-radius: 1.0416666667vw;
  }
}
body#contact .main input[type=text]:hover, body#contact .main input[type=text]:focus, body#contact .main select:hover, body#contact .main select:focus, body#contact .main textarea:hover, body#contact .main textarea:focus {
  background-color: rgba(255, 255, 255, 0.4);
}
body#contact .main input[type=text].short, body#contact .main select.short, body#contact .main textarea.short {
  width: 30%;
}
@media (max-width: 768px) {
  body#contact .main input[type=text].short, body#contact .main select.short, body#contact .main textarea.short {
    width: 60%;
  }
}
body#contact .main input[type=radio] {
  display: none;
}
body#contact .main input[type=radio] + label {
  display: inline-block;
  position: relative;
  margin-right: 1.25em;
  padding-left: 1.25em;
}
body#contact .main input[type=radio] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.9375em;
  height: 0.9375em;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transform: translateY(-50%);
}
body#contact .main input[type=radio] + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0.125em;
  width: 0.6875em;
  height: 0.6875em;
  opacity: 0;
  background-image: linear-gradient(to left, #009541 0%, #00cc58 100%);
  transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 50%;
  transform: translateY(-50%);
}
body#contact .main input[type=radio]:checked + label::after {
  opacity: 1;
}
body#contact .main input[type=checkbox] {
  display: none;
}
body#contact .main input[type=checkbox] + label {
  display: inline-block;
  position: relative;
  margin-right: 1.25em;
  padding-left: 1.25em;
}
body#contact .main input[type=checkbox] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1em;
  height: 1em;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 0.25em;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(-50%);
}
body#contact .main input[type=checkbox] + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0.2em;
  width: 0.4em;
  height: 0.625em;
  border-right: solid 2px #ffffff;
  border-bottom: solid 2px #ffffff;
  opacity: 0;
  transition: opacity 0.5s ease;
  transform: rotate(45deg) translate(-50%, -55%);
}
body#contact .main input[type=checkbox]:checked + label::before {
  border: solid 1px rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(to left, #009541 0%, #00cc58 100%);
}
body#contact .main input[type=checkbox]:checked + label::after {
  opacity: 1;
}
body#contact .main .formfile {
  display: flex;
  align-items: center;
}
body#contact .main .formfile label {
  position: relative;
  display: inline-block;
  margin-right: 0.625rem;
  padding: 0.625rem 0.9375rem;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  background-color: #009541;
  border-radius: 0.1875rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  body#contact .main .formfile label {
    margin-right: 4.1666666667vw;
    padding: 3.125vw;
    border-radius: 1.0416666667vw;
  }
}
body#contact .main .formfile label input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
body#contact .main .formfile .filename {
  width: 32em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  line-height: 1.5;
}
@media (max-width: 768px) {
  body#contact .main .formfile .filename {
    width: 14em;
  }
}
body#contact .main .checkbox_confirm {
  display: inline-block;
  padding: 0.3125em 1.25em;
  font-size: 0.875em;
  line-height: 1.25;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.9375em;
}
body#contact .main .checkbox_confirm + .checkbox_confirm {
  margin-left: 0.3125em;
}
body#contact .main .nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  body#contact .main .nav {
    flex-direction: column-reverse;
    width: 70%;
    margin: 8.3333333333vw auto 0;
  }
}
body#contact .main .nav .btn {
  min-width: 20rem;
  position: relative;
  padding: 0.9375rem 2.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.65;
  text-align: center;
  background: linear-gradient(to bottom, #a00 0%, #711 100%);
  border-radius: 0.3125rem;
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}
@media (max-width: 768px) {
  body#contact .main .nav .btn {
    width: 100%;
    padding: 3.125vw 8.3333333333vw;
    font-size: 3.75vw;
    border-radius: 1.0416666667vw;
  }
}
body#contact .main .nav .btn:hover {
  transform: scale(1.1);
}
body#contact .main .nav .btn + .btn {
  margin-left: 2.5rem;
}
@media (max-width: 768px) {
  body#contact .main .nav .btn + .btn {
    margin-left: 0;
    margin-bottom: 8.3333333333vw;
  }
}
body#contact .main .nav .btn.back {
  color: rgba(0, 0, 0, 0.3);
  background: linear-gradient(to bottom, #ccc 0%, #aaa 100%);
}
body#contact .main .formError {
  top: auto !important;
  right: 0 !important;
  bottom: 100% !important;
  left: auto !important;
  z-index: 7;
  margin-top: 0 !important;
  margin-bottom: -0.3125em;
  cursor: pointer;
}
@media (max-width: 768px) {
  body#contact .main .formError {
    max-width: 10em;
  }
}
body#contact .main .formError .formErrorContent {
  position: relative;
  z-index: 8;
  padding: 0.3125em 0.625em;
  color: #fff;
  font-size: 0.875em;
  line-height: 1.5;
  background-color: #900;
  border-radius: 0.3125em;
}
@media (max-width: 768px) {
  body#contact .main .formError .formErrorContent {
    font-size: 0.75em;
  }
}
body#contact .main .formError .formErrorContent::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.3125em 0.3125em 0 0.3125em;
  border-color: #900 transparent transparent transparent;
}
body#contact .main .formError .formErrorArrow {
  z-index: 9;
}
body#contact .main .ui-dialog .formError {
  z-index: 7;
}
body#contact .main .ui-dialog .formError .formErrorContent {
  z-index: 8;
}
body#contact .main .ui-dialog .formError .formErrorArrow {
  z-index: 9;
}