@charset "UTF-8";
/* CSS Document */
.subtitle {
  text-align: center; }
  .subtitle h2 {
    font-size: 25px;
    font-size: 2.5rem;
    border-bottom: 1px solid;
    display: inline-block;
    line-height: 1.5em; }

#header-img {
  background: url("../img/05-header.jpg") center/cover no-repeat; }

#introduction {
  padding: auto;
  padding-top: 3rem;
  margin-top: 10rem; }
  #introduction p {
    text-align: center; }
    @media screen and (max-width: 575px) {
      #introduction p {
        text-align: justify; } }
    #introduction p span {
      background-color: #003685;
      color: #fff;
      border-radius: 0.5rem;
      padding: 0.5rem 1rem; }
  #introduction div.tel-area {
    padding: 3rem 8rem 2rem;
    text-align: center;
    margin-top: 5rem; }
    @media screen and (max-width: 991px) {
      #introduction div.tel-area {
        padding: 3rem 2rem 2rem; } }
    @media screen and (max-width: 767px) {
      #introduction div.tel-area {
        padding: 3rem 1rem 2rem; } }
    @media screen and (max-width: 575px) {
      #introduction div.tel-area {
        padding: 3rem !important;
        margin-top: 3rem; } }
    #introduction div.tel-area div.d-flex {
      justify-content: space-around; }
      @media screen and (max-width: 575px) {
        #introduction div.tel-area div.d-flex {
          flex-wrap: wrap; } }
      #introduction div.tel-area div.d-flex dl.tel-box {
        text-align: center;
        width: 100%; }
        @media screen and (max-width: 575px) {
          #introduction div.tel-area div.d-flex dl.tel-box {
            width: 100%;
            margin-bottom: 1.5rem; } }
        #introduction div.tel-area div.d-flex dl.tel-box dt {
          font-size: 20px;
          font-size: 2rem;
          color: #1a1a1a;
          padding: 0.5rem;
          font-weight: 600; }
        #introduction div.tel-area div.d-flex dl.tel-box dd {
          display: ruby; }
          #introduction div.tel-area div.d-flex dl.tel-box dd a {
            display: block;
            margin: 1rem 0 0.3rem;
            color: #003685;
            font-size: 44px;
            font-size: 4.4rem;
            font-family: "Montserrat", sans-serif;
            font-weight: 500; }
            @media screen and (max-width: 575px) {
              #introduction div.tel-area div.d-flex dl.tel-box dd a {
                font-size: 3.5rem; } }
          #introduction div.tel-area div.d-flex dl.tel-box dd p {
            font-weight: 600;
            text-align: center;
            font-size: 16px;
            font-size: 1.6rem;
            color: revert;
            line-height: 1em; }
            #introduction div.tel-area div.d-flex dl.tel-box dd p span {
              font-side: 13px;
              font-size: 1.3rem;
              background-color: revert;
              color: revert; }

#privacypolicy {
  border: 1px solid #c3c3c3;
  padding: 3rem;
  margin-bottom: 2rem; }
  #privacypolicy h4 {
    font-size: 20px;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem; }
  #privacypolicy p {
    text-align: justify; }

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

/* ---------------------- for JavaScript ここから ---------------------- */
form#mail_form dl dt span.required {
  display: inline-block;
  color: #fff;
  line-height: 1;
  margin-right: 1em;
  padding: 0.5rem 1rem;
  background-color: #003685;
  font-size: 80%;
  border-radius: 3px;
  font-weight: normal; }

form#mail_form dl dt span.optional {
  display: none; }

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; }

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); } }
/* ---------------------- for JavaScript ここから ---------------------- */
form#mail_form dt {
  font-size: 18px;
  font-size: 1.8rem;
  margin-top: 2rem;
  padding-top: 2rem;
  font-weight: 600;
  color: #3e3c37;
  margin-bottom: 0.8rem; }

form#mail_form dt:first-child {
  border-top: none; }

form#mail_form dd:nth-child(2) {
  margin-bottom: 0;
  margin-top: 0.5rem; }

form#mail_form dd:last-child {
  padding-bottom: 2rem; }

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: none;
  border-radius: 3px;
  background: #efefef;
  -webkit-appearance: none;
  font-size: 18px;
  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: none;
  outline: none; }

form#mail_form input[type="radio"],
form#mail_form input[type="checkbox"] {
  margin-right: 5px;
  margin-left: 3em;
  accent-color: #000; }
  @media screen and (max-width: 575px) {
    form#mail_form input[type="radio"],
    form#mail_form input[type="checkbox"] {
      margin-left: 2em; } }

form#mail_form input:first-child[type="radio"],
form#mail_form input:first-child[type="checkbox"] {
  margin-right: 5px;
  margin-left: 0; }

form#mail_form select {
  font-size: 100%;
  margin-top: 5px; }

form#mail_form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 200px;
  padding: 1rem;
  resize: vertical;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #efefef;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit; }

form#mail_form ul {
  list-style-type: none; }

form#mail_form ul li label:hover {
  cursor: pointer; }

form#mail_form input#postal {
  width: 30%; }

form#mail_form input#postal + a {
  display: inline-block;
  padding: 5px 15px;
  margin-left: 0.5rem;
  background: #fdeff5;
  border: 1px solid #c7000b;
  border-radius: 3px;
  color: #c7000b;
  font-family: inherit;
  text-decoration: none;
  transition: 0.3s; }

form#mail_form input#postal + a:hover {
  cursor: pointer;
  background: #c7000b;
  color: #fff; }

form#mail_form ul.kind-list li {
  display: inline-block;
  min-width: 40%; }

form#mail_form p#form_submit {
  width: 90%;
  margin: 0 auto;
  padding: 3rem 0 10rem 0; }

form#mail_form input[type="button"] {
  font-weight: 500;
  padding: 1.5rem 5rem 1.8rem;
  font-size: 20px;
  font-size: 2rem;
  vertical-align: middle;
  line-height: 1;
  border: 1px solid #003685;
  background: #003685;
  color: #fff;
  -webkit-appearance: none;
  transition: 0.3s; }

form#mail_form input[type="button"]:hover {
  cursor: pointer;
  background: #fff;
  color: #003685; }

@media (max-width: 767px) {
  #mainarea section p:nth-child(1) {
    text-align: justify !important; }

  #mainarea section p:nth-child(1) br {
    display: none; }

  h3 br {
    display: inline-block; } }
