:root {
  --black: #333;
  --light-gray: #F8F7F4;
  --middle-gray: #F4EEDC;
  --dark-gray: #F4EEDC;
  --red: #d60148;
  --blue: #61C6E4;
  --green: #B3C423;
  --main-color: #F6B74D;
  --deep-orange: #F38200;
  --sub-color: #B3C423;
}

.sub_page.contact_page section .contact_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* background: var(--light-yellow); */
  border-radius: 54px;
}

.contact_box {
  /* padding: 0 0 80px; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* background: var(--light-yellow); */
  border-radius: 54px;

  form {
    .select_document_box_wrap {
      margin-bottom: 50px;

      /* display:flex;
			flex-direction: column;
			align-items: flex-end;
			flex-wrap: nowrap; */

      a.select_document_link {
        color: var(--black);
        font-weight: 500;
        font-size: 1.4rem;
        transition: all .1s;
        position: relative;
        padding: 2rem 4rem 2rem 0;
        display: flex;
        justify-content: flex-end;

        &::after {
          content: "";
          position: absolute;
          background: url(../img/common/arrow_right.svg) no-repeat;
          width: 20px;
          height: 20px;
          background-size: contain;
          background-position: center bottom;
          right: 12px;
          bottom: calc(100%/2);
          transform: translate(0, 50%);
          margin: auto;
          transition: all .1s;
          display: inline-block;
        }

        &:hover {
          color: var(--orange);
          text-decoration: none;

          &::after {
            right: 8px;
          }
        }
      }
    }

    table {
      border-collapse: collapse;
      width: 100%;
      table-layout: fixed;
      word-break: break-all;
      word-wrap: break-all;

      tr {

        &.options {
          td {
            >small {
              display: inline-block;
              margin-top: 10px;
            }

            input {
              margin-right: 10px;
            }

            label {
              display: flex !important;
              margin: 0 0 0px !important;
              padding: 8px 5px !important;
              line-height: 2rem;
              align-items: flex-start !important;

              /* background: #f8f8f8 !important; */
              img {
                margin-left: 5px;
                width: 18px;
                height: 100%;
              }

              small {
                color: #7c7c7c;
                font-weight: 500;
                font-size: 1.1rem;
                line-height: 1.6rem;
                /* display: none; */
              }

              a {
                &:hover {
                  opacity: .7;
                }
              }
            }
          }
        }

        @media screen and (max-width: 820px) {
          padding: 10px 0;
        }

        &:last-child th,
        &:last-child td {
          border: none;
        }

        th,
        td {
          border-bottom: 1px solid #e3e3e3;
          padding: 15px 0;
          vertical-align: middle;
        }

        td {
          @media screen and (max-width:480px) {
            margin-bottom: 0;

          }

          &:nth-child(3) {
            width: 20%;
          }

          >span {
            display: inline-block;
            padding-left: 20px;
            font-size: 1.④rem;
            line-height: 2.1rem;
          }

          .small {
            width: 100%;
            display: inline-block;

            @media screen and (max-width:480px) {
              margin-top: 10px;
            }
          }

        }

        th {
          font-size: 1.5rem;
          letter-spacing: 0.05em;
          line-height: 2.5rem;
          font-weight: 700;
          width: 25%;
          margin-right: 20px;
          min-width: 350px;

          div {
            display: flex;
            align-items: center;

            span {
              display: inline-block;
            }
          }

          em {
            font-style: normal;
            background: var(--deep-orange);
            color: white;
            font-size: 1.1rem;
            padding: 1px 10px 2px;
            border-radius: 5px;
            margin-right: 10px;
            font-weight: 700;
            letter-spacing: 0;
            display: inline-block;
          }

          @media screen and (max-width: 820px) {
            margin-right: 0;
            width: 100%;
            border-bottom: none;
            margin-bottom: 0;
            padding: 15px 0 0;

            br {
              display: none;
            }
          }
        }
      }
    }
  }

  input,
  textarea,
  select {
    float: none;
    width: 100%;
    max-width: 100%;
    border: none;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    /* background: #EFF1F4; */
    background: #f6f6f6;
    font-weight: 500;
    outline: none;
    border: none;
    box-shadow: none;
    padding: 15px 10px;
    font-size: 1.6rem;
    transition: all .1s;
    color: #000;
  }

  select {
    width: auto;
  }

  textarea {
    width: 94% !important;
  }

  .on_focus {
    background: white;
    outline: var(--deep-blue) solid 2px;
  }

  input {

    &[type=radio],
    &[type=checkbox] {
      margin-right: 5px;

      &.on_focus {
        background: none;
        outline: none;
      }
    }

    &[type=radio],
    &[type=checkbox],
    select {
      width: auto;
    }
  }

  input,
  textarea {
    &::placeholder {
      color: #9f9f9f;
      font-size: 1.4rem;
    }
  }

  .spotnum,
  .period,
  .people {
    input[type=text] {
      width: 5em;
      max-width: 100%;
      margin-right: 10px;
      height: 50px;
    }
  }

  .people {
    input[type=text] {
      margin-left: 10px;
    }
  }

  .people,
  .period {
    input[type=text]:disabled {
      color: -internal-light-dark(graytext, rgb(170, 170, 170));
      opacity: 0.7;
    }
  }

  .spotnum,
  .term,
  .period {
    select {
      margin-right: 10px;
      height: 50px;
    }
  }

  .spotnum {
    select {
      width: auto;
    }
  }

  form#mailformpro {
    .term td>div {
      display: flex;
      flex-wrap: wrap;
    }


    .people label,
    .term label {
      display: flex;
      align-items: center;
      width: auto;
      margin-right: 5px;
    }

    .period {

      label.mfp_not_checked,
      label.mfp_checked {
        padding: 15px 0;
        margin-left: 20px;
      }
    }

    label {
      font-size: 1.5rem;
      margin: 0;

      display: block;

      @media screen and (max-width: 480px) {
        white-space: normal;
      }

      &.mfp_not_checked,
      &.mfp_checked {
        padding: 3px 5px;
        border: none;
      }

      &.mfp_checked {
        background: none;
        box-shadow: none;
      }
    }
  }

  div.mfp_err {
    text-align: left;
    margin: 5px 0px 0px 0px;
    padding: 3px 0px 5px 0;
    color: crimson;
    font-size: 1.3rem;
    line-height: normal;
    display: none;
    background-image: none;
    font-weight: 700;
  }

  iframe {
    width: 100%;
    margin-top: 20px;
    min-height: 250px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
  }

  .tel_button {
    width: 100%;
    text-align: center;
    padding: 100px 0 80px;

    .tel_button_box>div {
      margin-bottom: 62px;
      margin-top: 55px;
    }

    p {
      /* font-family: var(--din); */
      font-size: 3.2rem;
      font-weight: bold;
    }

    .button_new,
    .button_new_2 {
      width: 90%;
      max-width: 360px;
      font-size: 2rem;
      margin: 0 8px;
    }
  }

  .tel {
    margin-top: 55px;

    >p {
      /* font-family: var(--din); */
      font-size: 2rem;
      font-weight: bold;
    }

    >a {
      color: #F09843;
      font-size: 4.5rem;
      font-weight: bold;
      letter-spacing: 0.01em;
      line-height: 8.5rem;
      position: relative;
      padding-left: 60px;
      text-shadow: none;

      &:hover {
        text-decoration: none;
        text-shadow: none;
      }

      &::before {
        position: absolute;
        left: 0;
        top: 10px;
        bottom: 0;
        margin: auto;
        content: '';
        background: url(../img/price/tel.png) no-repeat;
        width: 46px;
        height: 46px;
        background-size: contain;
        background-position: left center;
      }
    }
  }

  .tel_button {
    .tel_button_box {
      >a {
        max-width: 1200px;
        margin: 55px auto 0;

        img {
          width: 100%;
          margin: 0 auto 0;
          max-width: 1000px !important;
        }
      }
    }
  }

  .thanks_button {
    margin-top: 35px;
  }
}


.sub_page.contact_page section .contact_box form .select_document_box_wrap {
  margin-bottom: 50px;
  /* display:flex;
  flex-direction: column;
  align-items: flex-end;
  flex-wrap: nowrap; */
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box {
  display: block;
  padding: 50px 75px 60px;
  margin-bottom: 20px;
  border-radius: 21px;
  position: relative;
  width: 100%;
  background: #FFF7F2;
  word-break: break-all;
  word-wrap: break-all;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box {
    padding: 50px 25px 60px;
  }
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box>p {
  font-weight: 500;
  margin-bottom: 40px;
  font-size: 1.5rem;
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box>p strong {
  font-weight: 700;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul {
    margin-left: 2rem;
  }
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul li label {
  white-space: normal;
  font-weight: 500;
  margin: 5px 0;
  display: block;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul li label {
    padding: 0 !important;
  }
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul li label.not_select {
  opacity: 0.7;
  position: relative;
  pointer-events: none;
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul li label input {
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  white-space: normal;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form .select_document_box_wrap .select_document_box ul li label input {
    margin-left: -3rem;
  }
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap a.select_document_link {
  color: var(--black);
  font-weight: 500;
  font-size: 1.4rem;
  transition: all 0.1s;
  position: relative;
  padding: 2rem 4rem 2rem 0;
  display: flex;
  justify-content: flex-end;
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap a.select_document_link::after {
  content: "";
  position: absolute;
  background: url(../img/common/arrow_right.svg) no-repeat;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-position: center bottom;
  right: 12px;
  bottom: 50%;
  transform: translate(0, 50%);
  margin: auto;
  transition: all 0.1s;
  display: inline-block;
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap a.select_document_link:hover {
  color: var(--orange);
  text-decoration: none;
}

.sub_page.contact_page section .contact_box form .select_document_box_wrap a.select_document_link:hover::after {
  right: 8px;
}

.sub_page.contact_page section .contact_box form table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}

.sub_page.contact_page section .contact_box form table tr.options td>small {
  display: inline-block;
  margin-top: 10px;
}

.sub_page.contact_page section .contact_box form table tr.options td input {
  margin-right: 10px;
}

.sub_page.contact_page section .contact_box form table tr.options td label {
  display: flex !important;
  margin: 0 0 0px !important;
  padding: 8px 5px !important;
  line-height: 2rem;
  align-items: flex-start !important;
  /* background: #f8f8f8 !important; */
}

.sub_page.contact_page section .contact_box form table tr.options td label img {
  margin-left: 5px;
  width: 18px;
  height: 100%;
}

.sub_page.contact_page section .contact_box form table tr.options td label small {
  color: #7c7c7c;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.6rem;
  /* display: none; */
}

.sub_page.contact_page section .contact_box form table tr.options td label a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section .contact_box form table tr {
    padding: 10px 0;
  }
}

.sub_page.contact_page section .contact_box form table tr:last-child th,
.sub_page.contact_page section .contact_box form table tr:last-child td {
  border: none;
}

.sub_page.contact_page section .contact_box form table tr th,
.sub_page.contact_page section .contact_box form table tr td {
  text-align: left;
  border-bottom: 1px solid #e3e3e3;
  padding: 15px 0;
  vertical-align: middle;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form table tr td {
    margin-bottom: 0;
  }
}

.sub_page.contact_page section .contact_box form table tr td:nth-child(3) {
  width: 20%;
}

.sub_page.contact_page section .contact_box form table tr td>span {
  display: inline-block;
  padding-left: 20px;
  font-size: 1.2rem;
  line-height: 2.1rem;
}

.sub_page.contact_page section .contact_box form table tr td .small {
  width: 100%;
  display: inline-block;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form table tr td .small {
    margin-top: 10px;
  }
}

.sub_page.contact_page section .contact_box form table tr th {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 2.5rem;
  font-weight: 700;
  width: 25%;
  margin-right: 20px;
  min-width: 350px;
  display: flex;
  align-items: center;
}

.sub_page.contact_page section .contact_box form table tr th div {
  display: flex;
  align-items: center;
}

.sub_page.contact_page section .contact_box form table tr th div span {
  display: inline-block;
}

.sub_page.contact_page section .contact_box form table tr th em {
  font-style: normal;
  background: var(--deep-orange);
  color: white;
  font-size: 1.2rem;
  padding: 0px 10px 0px;
  border-radius: 5px;
  margin-right: 10px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-block;
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section .contact_box form table tr th {
    margin-right: 0;
    width: 100%;
    border-bottom: none;
    margin-bottom: 0;
    padding: 15px 0 0;
  }

  .sub_page.contact_page section .contact_box form table tr th br {
    display: none;
  }
}

.sub_page.contact_page section .contact_box input,
.sub_page.contact_page section .contact_box textarea,
.sub_page.contact_page section .contact_box select {
  float: none;
  width: 100%;
  max-width: 100%;
  border: none;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  /* background: #EFF1F4; */
  background: white;
  font-weight: 500;
  outline: none;
  border: none;
  box-shadow: none;
  padding: 15px 10px;
  font-size: 1.6rem;
  transition: all 0.1s;
  color: #000;
}

.sub_page.contact_page section .contact_box select {
  width: auto;
}

.sub_page.contact_page section .contact_box textarea {
  width: 94% !important;
}

.sub_page.contact_page section .contact_box .on_focus {
  background: white;
  outline: var(--deep-blue) solid 2px;
}

.sub_page.contact_page section .contact_box input[type=radio],
.sub_page.contact_page section .contact_box input[type=checkbox] {
  margin-right: 5px;
}

.sub_page.contact_page section .contact_box input[type=radio].on_focus,
.sub_page.contact_page section .contact_box input[type=checkbox].on_focus {
  background: none;
  outline: none;
}

.sub_page.contact_page section .contact_box input[type=radio],
.sub_page.contact_page section .contact_box input[type=checkbox],
.sub_page.contact_page section .contact_box input select {
  width: auto;
}

.sub_page.contact_page section .contact_box input::-moz-placeholder,
.sub_page.contact_page section .contact_box textarea::-moz-placeholder {
  color: #9f9f9f;
  font-size: 1.4rem;
}

.sub_page.contact_page section .contact_box input::placeholder,
.sub_page.contact_page section .contact_box textarea::placeholder {
  color: #9f9f9f;
  font-size: 1.4rem;
}

.sub_page.contact_page section .contact_box .spotnum input[type=text],
.sub_page.contact_page section .contact_box .period input[type=text],
.sub_page.contact_page section .contact_box .people input[type=text] {
  width: 5em;
  max-width: 100%;
  margin-right: 10px;
  height: 50px;
}

.sub_page.contact_page section .contact_box .people input[type=text] {
  margin-left: 10px;
}

.sub_page.contact_page section .contact_box .people input[type=text]:disabled,
.sub_page.contact_page section .contact_box .period input[type=text]:disabled {
  color: -internal-light-dark(graytext, rgb(170, 170, 170));
  opacity: 0.7;
}

.sub_page.contact_page section .contact_box .spotnum select,
.sub_page.contact_page section .contact_box .term select,
.sub_page.contact_page section .contact_box .period select {
  margin-right: 10px;
  height: 50px;
}

.sub_page.contact_page section .contact_box .spotnum select {
  width: auto;
}

.sub_page.contact_page section .contact_box form#mailformpro .term td>div {
  display: flex;
  flex-wrap: wrap;
}

.sub_page.contact_page section .contact_box form#mailformpro .people label,
.sub_page.contact_page section .contact_box form#mailformpro .term label {
  display: flex;
  align-items: center;
  width: auto;
  margin-right: 5px;
}

.sub_page.contact_page section .contact_box form#mailformpro .period label.mfp_not_checked,
.sub_page.contact_page section .contact_box form#mailformpro .period label.mfp_checked {
  padding: 15px 0;
  margin-left: 20px;
}

.sub_page.contact_page section .contact_box form#mailformpro label {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 500;
  display: block;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box form#mailformpro label {
    white-space: normal;
  }
}

.sub_page.contact_page section .contact_box form#mailformpro label.mfp_not_checked,
.sub_page.contact_page section .contact_box form#mailformpro label.mfp_checked {
  padding: 3px 5px;
  border: none;
}

.sub_page.contact_page section .contact_box form#mailformpro label.mfp_checked {
  background: none;
  box-shadow: none;
}

.contact_button {
  text-shadow: none;
  background: var(--deep-orange);
  width: 100%;
  max-width: 450px;
  text-align: center;
  margin-top: 0px;
  padding: 15px;
  border-radius: 6px;
  border: none;
  outline: none;
  border: 1px solid var(--deep-orange);
  transition: all 0.1s;
  box-shadow: none !important;

  span {
    font-weight: 500;
    color: white;
    font-size: 1.8rem;
    transition: all 0.1s;
  }

  &:hover {
    background: none;

    span {
      color: var(--deep-orange);
    }
  }

  @media screen and (max-width:820px) {
    font-size: 1.8rem;
    width: auto;
    margin: 0 auto;
  }

  @media screen and (max-width:480px) {
    font-size: 1.6rem;
    width: 100%;
    text-align: center;
  }
}


@media screen and (max-width: 820px) {
  .sub_page.contact_page section .contact_box .contact_button {
    font-size: 1.8rem;
    width: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section .contact_box .contact_button {
    font-size: 1.6rem;
    width: 100%;
    text-align: center;
  }
}

.sub_page.contact_page section .contact_box div.mfp_err {
  text-align: left;
  margin: 5px 0px 0px 0px;
  padding: 3px 0px 5px 0;
  color: crimson;
  font-size: 1.3rem;
  line-height: normal;
  display: none;
  background-image: none;
  font-weight: 700;
}

.sub_page.contact_page section .contact_box iframe {
  min-height: 250px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
}

.sub_page.contact_page section .contact_box .tel_button {
  width: 100%;
  text-align: center;
  padding: 100px 0 80px;
}

.sub_page.contact_page section .contact_box .tel_button .tel_button_box>div {
  margin-bottom: 62px;
  margin-top: 55px;
}

.sub_page.contact_page section .contact_box .tel_button p {
  /* font-family: var(--din); */
  font-size: 3.2rem;
  font-weight: bold;
}

.sub_page.contact_page section .contact_box .tel_button .button_new,
.sub_page.contact_page section .contact_box .tel_button .button_new_2 {
  width: 90%;
  max-width: 360px;
  font-size: 2rem;
  margin: 0 8px;
}

.sub_page.contact_page section .contact_box .tel {
  margin-top: 55px;
}

.sub_page.contact_page section .contact_box .tel>p {
  /* font-family: var(--din); */
  font-size: 2rem;
  font-weight: bold;
}

.sub_page.contact_page section .contact_box .tel>a {
  color: #F09843;
  font-size: 4.5rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 8.5rem;
  position: relative;
  padding-left: 60px;
  text-shadow: none;
}

.sub_page.contact_page section .contact_box .tel>a:hover {
  text-decoration: none;
  text-shadow: none;
}

.sub_page.contact_page section .contact_box .tel>a::before {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  margin: auto;
  content: "";
  background: url(../img/price/tel.png) no-repeat;
  width: 46px;
  height: 46px;
  background-size: contain;
  background-position: left center;
}

.sub_page.contact_page section .contact_box .tel_button .tel_button_box>a {
  max-width: 1200px;
  margin: 55px auto 0;
}

.sub_page.contact_page section .contact_box .tel_button .tel_button_box>a img {
  width: 100%;
  margin: 0 auto 0;
  max-width: 1000px !important;
}

.sub_page.contact_page section .contact_box .thanks_button {
  margin-top: 35px;
}

.sub_page.contact_page section.contact_form .contacts {
  display: flex;
  align-items: center;
  margin-bottom: 45px;
}

@media screen and (max-width: 821px) {
  .sub_page.contact_page section.contact_form .contacts {
    flex-direction: column;
  }
}

.sub_page.contact_page section.contact_form .contacts .contact_tel {
  margin-top: 0;
  width: 45%;
  margin-bottom: 20px;
  text-align: center;
}

@media screen and (max-width: 821px) {
  .sub_page.contact_page section.contact_form .contacts .contact_tel {
    width: 100%;
  }
}

.sub_page.contact_page section.contact_form .contacts .contact_tel p {
  font-size: 2rem;
  font-weight: 600;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section.contact_form .contacts .contact_tel p {
    font-size: 1.6rem;
  }
}

.sub_page.contact_page section.contact_form .contacts .contact_tel a {
  font-size: 4.5rem;
  line-height: 6.5rem;
  color: var(--deep-orange);
  font-family: var(--jost);
  font-weight: 700;
  text-decoration: none;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section.contact_form .contacts .contact_tel a {
    font-size: 3rem;
    line-height: 5rem;
  }
}

.sub_page.contact_page section.contact_form .contacts .contact_tel a i {
  font-size: 70%;
  margin: 0;
}

.sub_page.contact_page section.contact_form .contacts .contact_tel small span {
  font-family: var(--jost);
}

.sub_page.contact_page section.contact_form .contacts .webmeeting {
  width: 50%;
  flex-grow: 1;
}

@media screen and (max-width: 821px) {
  .sub_page.contact_page section.contact_form .contacts .webmeeting {
    width: 94%;
    max-width: 280px;
    margin: 0 auto;
    margin-top: 20px;
  }
}

.sub_page.contact_page section.contact_form .contacts .webmeeting p {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section.contact_form .contacts .webmeeting p {
    font-size: 1.6rem;
  }
}

.sub_page.contact_page section.contact_form .contacts .webmeeting a {
  display: block;
  margin-top: 10px;
}

.sub_page.contact_page section.contact_form .request_flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 105px;
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section.contact_form .request_flex {
    flex-direction: column;
    margin-top: 45px;
  }
}

.sub_page.contact_page section.contact_form .request_flex .document_box {
  width: 47%;
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section.contact_form .request_flex .document_box {
    width: 100%;
  }
}

.sub_page.contact_page section.contact_form .request_flex .document_box h3 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: var(--black);
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section.contact_form .request_flex .document_box h3 {
    font-size: 2rem;
    padding: 0;
  }
}

.sub_page.contact_page section.contact_form .request_flex .document_box p {
  margin-bottom: 30px;
  font-size: 1.6rem;
  line-height: 2.9rem;
  font-weight: 400;
  color: #5e5e5e;
}

.sub_page.contact_page section.contact_form .request_flex .document_box img {
  margin-bottom: 30px;
  border: 1px solid lightgray;
}

.sub_page.contact_page section.contact_form .request_flex .contact_box {
  width: 46%;
}

@media screen and (max-width: 820px) {
  .sub_page.contact_page section.contact_form .request_flex .contact_box {
    width: 100%;
    margin-top: 45px;
  }
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section.contact_form .request_flex .contact_box {
    margin-top: 10px;
  }
}

.sub_page.contact_page section.contact_form .request_flex .contact_box tr {
  padding: 12px 0;
}

@media screen and (max-width: 480px) {
  .sub_page.contact_page section.contact_form .request_flex .contact_box tr:last-child {
    padding-bottom: 0;
  }

  .sub_page.contact_page section.contact_form .request_flex .contact_box tr:last-child td {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.sub_page.contact_page section.contact_form .request_flex .contact_box th,
.sub_page.contact_page section.contact_form .request_flex .contact_box td {
  width: 100%;
  display: block;
}

.sub_page.contact_page section.contact_form .request_flex .contact_box th {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  border-bottom: none;
  margin-bottom: 10px;
  padding: 0;
}

.sub_page.contact_page section.contact_form .request_flex .contact_box th em {
  padding: 0px 7px 1px;
  font-size: 1.2rem;
  border-radius: 4px;
  margin-right: 8px;
}

.sub_page.contact_page section.contact_form .request_flex .contact_box td {
  padding: 0;
  font-size: 1.6rem;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.sub_page.contact_page section.contact_form .request_flex .contact_button {
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 0px;
  padding: 15px;
  border-radius: 6px;
  border: none;
  outline: none;
  border: 1px solid var(--deep-orange);
  transition: all 0.1s;
}

.sub_page.contact_page section.contact_form .request_flex .contact_button span {
  color: white;
  font-size: 1.8rem;
  transition: all 0.1s;
}

.sub_page.contact_page section.contact_form .request_flex .contact_button:hover {
  background: white;
}

.sub_page.contact_page section.contact_form .request_flex .contact_button:hover span {
  color: var(--deep-orange);
}

.sub_page.contact_page .thanks .text p {
  text-align: center;
}

.sub_page.contact_page .thanks .text p span {
  font-size: 120%;
  color: var(--deep-orange);
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
}

/*# sourceMappingURL=contact.css.map */



/* 問い合わせ */
.sub_page.contact_page .contact_box {
  display: block !important;

  .inq_form form {
    table {
      border-collapse: collapse;
      width: 100%;
      display: block;
      table-layout: fixed;
      word-break: break-all;
      word-wrap: break-all;

      tbody {
        display: block;
      }

      tr {
        vertical-align: middle;
        display: flex;
        width: 100%;

        @media screen and (max-width: 820px) {
          flex-direction: column;
        }

        &.options {
          td {
            >small {
              display: inline-block;
              margin-top: 10px;
            }

            input {
              margin-right: 10px;
            }

            label {
              display: flex !important;
              margin: 0 0 0px !important;
              padding: 8px 5px !important;
              line-height: 2rem;
              align-items: flex-start !important;

              /* background: #f8f8f8 !important; */
              img {
                margin-left: 5px;
                width: 18px;
                height: 100%;
              }

              small {
                color: #7c7c7c;
                font-weight: 500;
                font-size: 1.1rem;
                line-height: 1.6rem;
                /* display: none; */
              }

              a {
                &:hover {
                  opacity: .7;
                }
              }
            }
          }
        }

        @media screen and (max-width: 820px) {
          padding: 10px 0;
        }

        &:last-child th,
        &:last-child td {
          border: none;
        }

        th,
        td {
          border-bottom: 1px solid #e3e3e3;
          padding: 25px 0;
          vertical-align: middle;
          display: flex;
          align-items: center;
          vertical-align: middle !important;
          line-height: 2.5rem;

          @media screen and (max-width: 820px) {
            width: 100% !important;
          }
        }

        td {
          width: 75%;
          flex-direction: column;
          align-items: flex-start;
          @media screen and (max-width: 820px) {
            padding-top: 15px;
          }
          @media screen and (max-width:480px) {
            margin-bottom: 0;

          }

          &:nth-child(3) {
            width: 20%;
          }

          >span {
            display: inline-block;
            padding-left: 20px;
            font-size: 1.2rem;
            line-height: 2.1rem;
          }

          .small {
            width: 100%;
            display: inline-block;

            @media screen and (max-width:480px) {
              margin-top: 10px;
            }
          }

        }

        th {
          font-size: 1.6rem;
          letter-spacing: 0.05em;
          line-height: 2.5rem;
          font-weight: 700;
          width: 25%;
          margin-right: 0;
          display: flex;
          align-items: center;

          @media screen and (max-width: 820px) {
            font-size: 1.4rem;

            padding-bottom: 0;
          }

          div {
            display: flex;
            align-items: center;

            span {
              display: inline-block;
            }
          }

          em {
            font-style: normal;
            background: var(--deep-orange);
            color: white;
            font-size: 1.1rem;
            padding: 1px 10px 2px;
            border-radius: 5px;
            margin-right: 10px;
            font-weight: 700;
            line-height: 2.5rem;
            letter-spacing: 0;
            display: inline-block;

            @media screen and (max-width: 820px) {
              padding: 0px 6px 1px;
              font-size: 1.1rem;
            }
          }

          @media screen and (max-width: 820px) {
            margin-right: 0;
            width: 100%;
            border-bottom: none;
            margin-bottom: 0;
            padding: 15px 0 0;

            br {
              display: none;
            }
          }
        }
      }
    }
  }
}