@charset "UTF-8";
/* CSS Document */
#contact {
  background-color: #000; }

.contact-img {
  background: url("../img/contact-img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 540px;
  width: 100%;
  position: relative; }
  @media screen and (max-width: 1399px) {
    .contact-img {
      height: 440px; } }
  @media screen and (max-width: 1199px) {
    .contact-img {
      height: 400px; } }
  @media screen and (max-width: 991px) {
    .contact-img {
      height: 300px; } }
  @media screen and (max-width: 767px) {
    .contact-img {
      height: 250px; } }
  @media screen and (max-width: 575px) {
    .contact-img {
      height: 200px;
      width: 100%; } }

#introduction {
  color: #fff;
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center; }
  @media screen and (max-width: 767px) {
    #introduction {
      margin-top: 2rem; } }
  @media screen and (max-width: 575px) {
    #introduction {
      margin-bottom: 0rem; } }
  @media screen and (max-width: 575px) {
    #introduction p {
      text-align: justify; } }
  #introduction h4 {
    font-size: 20px;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem; }
  #introduction a {
    font-size: 50px;
    font-size: 5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25; }
    @media screen and (max-width: 991px) {
      #introduction a {
        font-size: 45px;
        font-size: 4.5rem; } }
    @media screen and (max-width: 575px) {
      #introduction a {
        font-size: 35px;
        font-size: 3.5rem; } }

form#mail_form {
  padding-top: 2rem;
  color: #fff; }
  form#mail_form dl dt {
    margin-top: 1rem;
    padding-top: 0;
    font-weight: 600; }
    form#mail_form dl dt:first-child {
      border-top: none; }
    form#mail_form dl dt::before {
      display: inline-block;
      font-size: 90%;
      font-weight: normal;
      line-height: 1;
      margin-right: 1rem;
      padding: 0.4rem 0.5rem;
      border-radius: 3px; }
  form#mail_form dl dt.required::before {
    content: "必須";
    color: #231815;
    background-color: #fff;
    border: 1px solid #fff; }
  form#mail_form dl dt.optional::before {
    content: "任意";
    color: #fff;
    background-color: #000;
    border: 1px solid #fff; }
  form#mail_form dl dd {
    padding-bottom: 2rem;
    border-bottom: 1px solid #fff; }
    form#mail_form dl dd:nth-child(6), form#mail_form dl dd:nth-child(10) {
      border-bottom: 1px dashed #fff; }
    form#mail_form dl dd:last-child {
      padding-bottom: 1rem; }
    form#mail_form dl dd span.error_blank,
    form#mail_form dl dd span.error_format,
    form#mail_form dl dd span.error_match {
      display: block;
      color: #ff0000;
      margin-top: 3px; }
  form#mail_form input[type="text"],
  form#mail_form input[type="email"],
  form#mail_form input[type="tel"],
  form#mail_form textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #b2b2b2;
    border-radius: 3px;
    background: #efefef;
    -webkit-appearance: none;
    font-size: 18px;
    font-size: 1.8rem;
    margin-top: 5px; }
    form#mail_form input[type="text"]:focus,
    form#mail_form input[type="email"]:focus,
    form#mail_form input[type="tel"]:focus,
    form#mail_form textarea:focus {
      border: 1px solid #b2b2b2;
      background-color: #efefef;
      outline: none; }
  form#mail_form input[type="radio"],
  form#mail_form input[type="checkbox"] {
    margin-right: 5px;
    margin-left: 0;
    accent-color: #204980; }
  form#mail_form label {
    margin-right: 2em; }
  form#mail_form select {
    font-size: 100%;
    margin-top: 5px; }
  form#mail_form input#postal {
    width: 30%; }
    form#mail_form input#postal + a {
      display: inline-block;
      padding: 5px 15px;
      margin-left: 1.5rem;
      border: 1px solid #fff;
      border-radius: 3px;
      color: #fff;
      font-family: inherit;
      text-decoration: none;
      transition: 0.3s; }
      form#mail_form input#postal + a:hover {
        cursor: pointer;
        background: #fff;
        color: #000; }
  form#mail_form p#form_submit {
    width: 90%;
    margin: 0 auto;
    padding: 5rem 0 10rem 0; }
  form#mail_form input[type="button"] {
    font-weight: 600;
    font-size: 20px;
    font-size: 2rem;
    letter-spacing: 0.06em;
    padding: 1.4rem 6rem;
    vertical-align: middle;
    line-height: 1;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    -webkit-appearance: none;
    border-radius: 6px;
    transition: 0.3s; }
    @media screen and (max-width: 575px) {
      form#mail_form input[type="button"] {
        letter-spacing: 0;
        padding: 1.4rem 3.5rem; } }
    form#mail_form input[type="button"]:hover {
      cursor: pointer;
      background: #000;
      color: #fff; }
  form#mail_form input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #efefef inset; }
  form#mail_form span.loading {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
    border-right: 5px solid rgba(255, 255, 255, 0.2);
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load-circle 1.0s linear infinite;
    animation: load-circle 1.0s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px; }
@-webkit-keyframes load-circle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
@keyframes load-circle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
#privacy-policy {
  overflow: scroll;
  height: 215px;
  color: #000;
  background-color: #fff;
  border: 1px solid #fff;
  padding: 2.5rem;
  margin-top: 2rem;
  border: solid 0.7px #000;
  padding: 2rem;
  margin-top: 2rem; }
  @media screen and (max-width: 575px) {
    #privacy-policy {
      height: 170px; } }
  #privacy-policy h5 {
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem; }
    @media screen and (max-width: 575px) {
      #privacy-policy h5 {
        font-size: 20px;
        font-size: 2rem; } }
  #privacy-policy p {
    line-height: 1.75; }
    #privacy-policy p span {
      display: block;
      font-weight: 600; }

.thanks-box {
  background-color: #000;
  padding-bottom: 10rem;
  color: #fff; }
  .thanks-box h3 {
    font-size: 2.5rem;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 4rem;
    padding: 0;
    border: none;
    margin-top: 4rem; }
  .thanks-box p {
    margin-bottom: 5rem; }
  .thanks-box a {
    display: inline-block;
    font-weight: bold;
    padding: 1.4rem 6rem;
    vertical-align: middle;
    line-height: 1;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    -webkit-appearance: none;
    transition: 0.3s; }
    .thanks-box a:hover {
      color: #fff;
      background-color: #000; }
