@charset "UTF-8";
/* CSS Document */
header {
  background: url("../img/header-wave.svg"), linear-gradient(180deg, white 50%, rgba(255, 255, 255, 0) 50%);
  background-repeat: no-repeat;
  background-size: cover,100%;
  background-position: bottom center; }
  @media screen and (max-width: 991px) {
    header {
      background-size: auto,100%; } }
  @media screen and (max-width: 575px) {
    header {
      background: url("../img/header-wave-xs.svg"), linear-gradient(180deg, white 50%, rgba(255, 255, 255, 0) 50%);
      background-repeat: no-repeat;
      background-size: cover,100%;
      background-position: bottom center; } }

.ul-header {
  padding-top: 125px; }
  @media screen and (max-width: 1199px) {
    .ul-header {
      padding-top: 100px; } }
  @media screen and (max-width: 767px) {
    .ul-header {
      padding-top: 100px; } }
  @media screen and (max-width: 575px) {
    .ul-header {
      padding-top: 60px; } }
  .ul-header .ul-header-img {
    position: relative;
    margin-left: 10rem; }
    @media screen and (max-width: 767px) {
      .ul-header .ul-header-img {
        margin-left: 5rem; } }
    @media screen and (max-width: 575px) {
      .ul-header .ul-header-img {
        margin-left: 3rem; } }
  .ul-header h2 {
    font-family: "Kiwi Maru", serif;
    font-size: 40px;
    font-size: 4rem;
    color: #1E2D6C;
    position: absolute;
    z-index: 2;
    top: 14%;
    left: 0%; }
    @media screen and (max-width: 1199px) {
      .ul-header h2 {
        font-size: 35px;
        font-size: 3.5rem; } }
    @media screen and (max-width: 767px) {
      .ul-header h2 {
        top: 60%;
        font-size: 25px;
        font-size: 2.5rem; } }
    @media screen and (max-width: 575px) {
      .ul-header h2 {
        font-size: 17px;
        font-size: 1.7rem; } }
    .ul-header h2 span {
      display: inline-block;
      background-color: #fff;
      padding: 2rem 3rem 2rem 20rem; }
      @media screen and (max-width: 1399px) {
        .ul-header h2 span {
          padding: 2rem 3rem 2rem 8rem; } }
      @media screen and (max-width: 1199px) {
        .ul-header h2 span {
          padding: 2rem 3rem 2rem 5rem; } }
      @media screen and (max-width: 991px) {
        .ul-header h2 span {
          padding: 2rem; } }
      @media screen and (max-width: 767px) {
        .ul-header h2 span {
          padding: 1rem 2rem; } }

#contact-form {
  padding-top: 5rem;
  padding-bottom: 250px; }
  @media screen and (max-width: 575px) {
    #contact-form {
      padding-top: 4rem; } }
  #contact-form .inner {
    width: 55%; }
    @media screen and (max-width: 1399px) {
      #contact-form .inner {
        width: 65%; } }
    @media screen and (max-width: 1199px) {
      #contact-form .inner {
        width: 75%; } }
    @media screen and (max-width: 991px) {
      #contact-form .inner {
        width: 85%; } }
    @media screen and (max-width: 767px) {
      #contact-form .inner {
        width: 100%; } }
    @media screen and (max-width: 575px) {
      #contact-form .inner {
        width: 90%; } }
    @media screen and (max-width: 767px) {
      #contact-form .inner .main-midashi {
        letter-spacing: normal; } }
  #contact-form p.mb-0 {
    text-align: center; }
    @media screen and (max-width: 991px) {
      #contact-form p.mb-0 {
        text-align: justify; } }
    #contact-form p.mb-0 span {
      display: inline-block;
      color: #fff;
      border: 1px solid #D9383A;
      line-height: 1;
      margin-right: 0.5rem;
      padding: 0.4rem 0.5rem;
      background-color: #D9383A;
      font-size: 90%;
      border-radius: 3px;
      font-weight: normal; }

#privacypolicy-mini {
  border: 1px solid #c3c3c3;
  padding: 3rem;
  margin-top: 1rem;
  background-color: #fff; }
  @media screen and (max-width: 575px) {
    #privacypolicy-mini {
      padding: 2rem; } }
  #privacypolicy-mini h4 {
    font-size: 23px;
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 2rem; }
    @media screen and (max-width: 575px) {
      #privacypolicy-mini h4 {
        font-size: 20px;
        font-size: 2rem; } }
  #privacypolicy-mini p {
    text-align: justify !important; }

.thanks-box {
  padding-top: 5rem;
  padding-bottom: 250px; }
  @media screen and (max-width: 575px) {
    .thanks-box {
      padding-top: 4rem; } }
  .thanks-box h3 {
    font-family: "Kiwi Maru", serif;
    font-size: 35px;
    font-size: 3.5rem;
    font-weight: 600;
    color: #1E2D6C;
    margin-bottom: 2rem;
    padding: 0;
    border: none; }
    @media screen and (max-width: 991px) {
      .thanks-box h3 {
        font-size: 30px;
        font-size: 3rem; } }
    @media screen and (max-width: 767px) {
      .thanks-box h3 {
        font-size: 25px;
        font-size: 2.5rem; } }
    @media screen and (max-width: 575px) {
      .thanks-box h3 {
        font-size: 18px;
        font-size: 1.8rem; } }
  .thanks-box p {
    margin-bottom: 3rem; }
    @media screen and (max-width: 575px) {
      .thanks-box p {
        text-align: justify; } }
  .thanks-box a {
    display: flex;
    font-size: 18px;
    font-size: 1.8rem;
    padding: 1.5rem 2rem;
    color: #fff;
    border-radius: 5rem;
    margin: auto;
    background: #0059FF;
    border: 1px solid #0059FF;
    transition: 0.3s;
    width: 40%;
    justify-content: center;
    margin-top: 5rem;
    -webkit-appearance: none; }
    @media screen and (max-width: 1199px) {
      .thanks-box a {
        margin-top: 3rem; } }
    @media screen and (max-width: 767px) {
      .thanks-box a {
        width: 70%; } }
    @media screen and (max-width: 575px) {
      .thanks-box a {
        width: 100%;
        font-weight: bold; } }
    .thanks-box a:hover {
      color: #0059FF;
      background: #fff; }

/* ---------------------- for JavaScript ここから ---------------------- */
form#mail_form dl dt span.optional {
  display: none; }

@media screen and (max-width: 575px) {
  form#mail_form dl label {
    font-size: 13.5px;
    font-size: 1.35rem; } }

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 {
  margin-top: 2rem;
  padding-top: 2rem;
  font-weight: 600;
  color: #3D3D33; }

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

form#mail_form dd:nth-child(16) {
  margin-bottom: 0;
  margin-top: 1rem; }
form#mail_form dd:last-child {
  padding-bottom: 2rem;
  margin-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: 1px solid #EBEBEB;
  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: 1px solid #EBEBEB;
  background-color: #fff;
  outline: none; }

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

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

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 #EBEBEB;
  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%; }
  @media screen and (max-width: 575px) {
    form#mail_form input#postal {
      width: 50%; } }

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

form#mail_form input#postal + a:hover {
  cursor: pointer;
  background: #D9383A;
  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; }
  @media screen and (max-width: 991px) {
    form#mail_form p#form_submit {
      padding-bottom: 6rem; } }
  @media screen and (max-width: 767px) {
    form#mail_form p#form_submit {
      padding-bottom: 5rem; } }

form#mail_form input[type="button"] {
  display: flex;
  font-size: 18px;
  font-size: 1.8rem;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 5rem;
  margin: auto;
  background: #0059FF;
  border: 1px solid #0059FF;
  transition: 0.3s;
  width: 40%;
  justify-content: center;
  margin-top: 2rem;
  -webkit-appearance: none; }
  @media screen and (max-width: 767px) {
    form#mail_form input[type="button"] {
      width: 70%; } }
  @media screen and (max-width: 575px) {
    form#mail_form input[type="button"] {
      width: 100%;
      margin-top: 10rem;
      font-weight: bold; } }
  form#mail_form input[type="button"]:hover {
    color: #0059FF;
    background: #fff; }

form#mail_form dt.optional {
  position: relative; }

form#mail_form dt.optional::before {
  content: "任意";
  display: inline-block;
  color: #808080;
  border: 1px solid #808080;
  line-height: 1;
  margin-right: 1rem;
  padding: 0.5rem;
  background-color: #fff;
  font-size: 90%;
  border-radius: 3px;
  font-weight: normal; }

form#mail_form dt.required::before {
  content: "必須";
  display: inline-block;
  color: #fff;
  border: 1px solid #D9383A;
  line-height: 1;
  margin-right: 1rem;
  padding: 0.4rem 0.5rem;
  background-color: #D9383A;
  font-size: 90%;
  border-radius: 3px;
  font-weight: normal; }

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #efefef inset; }

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