.contact_txt {
  color: #4f177f;
  font-size: 26px;
  font-size: 2.6rem;
  font-weight: bold;
  padding-bottom: 70px; }
  @media screen and (max-width: 1366px) {
    .contact_txt {
      font-size: calc(26 / 1366* 100vw);
      padding-bottom: calc(70 / 1366* 100vw); } }
  @media screen and (max-width: 768px) {
    .contact_txt {
      font-size: calc(32 / 768* 100vw);
      padding-bottom: calc(60 / 768* 100vw);
      padding-top: calc(20 / 768* 100vw);
      line-height: 1.5; } }

#tayori-form {
  width: 100%;
  background: #f2f2f2;
  margin-bottom: calc(70 / 1366* 100vw); }
  #tayori-form form {
    margin: 0 auto;
    padding: 4rem 10px;
    max-width: 700px; }
  #tayori-form .error-message {
    font-size: 12px;
    margin-top: 1rem;
    color: #ff0000; }
  #tayori-form .label-name {
    display: block;
    margin-top: 1em;
    margin-bottom: .3em;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    overflow-wrap: anywhere; }
  #tayori-form span.required {
    display: inline-block;
    margin-left: .25em;
    color: #ff0000; }
  #tayori-form .select-label {
    cursor: pointer;
    position: relative; }
    #tayori-form .select-label::before {
      position: absolute;
      top: 28px;
      right: 10px;
      width: 0;
      height: 0;
      margin: -4px 0 0 0;
      border: 5px solid transparent;
      border-top: 5px solid #000;
      content: "";
      pointer-events: none; }
  #tayori-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0;
    padding: .75em .85em;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    outline: none;
    background-clip: border-box;
    background-color: transparent;
    background-color: white;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    line-height: 1.5;
    -webkit-transition: border-color .15sease-in-out, -webkit-box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, -webkit-box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, box-shadow .15sease-in-out, -webkit-box-shadow .15sease-in-out; }
  #tayori-form input[type=text], #tayori-form input[type=email], #tayori-form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: .75em .85em;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    outline: none;
    background-clip: border-box;
    background-color: transparent;
    background-color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-transition: border-color .15sease-in-out, -webkit-box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, -webkit-box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, box-shadow .15sease-in-out;
    transition: border-color .15sease-in-out, box-shadow .15sease-in-out, -webkit-box-shadow .15sease-in-out; }
  #tayori-form input[type=checkbox] {
    background: white;
    margin: 0 0.5rem 0 0;
    padding: 0;
    line-height: normal;
    cursor: pointer;
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #c2c2c2;
    border-radius: 2px;
    cursor: pointer; }
    #tayori-form input[type=checkbox]:checked {
      border: 1px solid #0075ff;
      background-color: #0075ff; }
      #tayori-form input[type=checkbox]:checked::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 12px;
        height: 6px;
        border-bottom: 3px solid #ffffff;
        border-left: 3px solid #ffffff;
        transform: rotate(-45deg); }
  #tayori-form .tf-c-form__description {
    word-wrap: break-word;
    margin-top: -5px;
    padding-top: 12px;
    padding-left: 0;
    font-size: 12px;
    line-height: 18px;
    overflow-wrap: anywhere;
    opacity: .6; }
    #tayori-form .tf-c-form__description.medium {
      opacity: 1;
      font-size: 14px; }
    #tayori-form .tf-c-form__description a {
      color: #0075ff;
      text-decoration: underline; }
  #tayori-form .box-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem; }
    #tayori-form .box-wrap .box-item {
      width: 48%; }
  #tayori-form textarea {
    min-height: 160px; }
  #tayori-form .box-scroll {
    height: 160px;
    padding: 1em;
    overflow-y: scroll;
    line-height: 1.4;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: white;
    font-size: 14px; }
  #tayori-form .box-check {
    text-align: center;
    position: relative;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem; }
    #tayori-form .box-check label {
      cursor: pointer; }
  #tayori-form button {
    position: relative;
    margin: 4rem auto 0 auto;
    max-width: 400px;
    width: 100%;
    display: block;
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    padding: 20px 0;
    text-align: center;
    font-size: 20px;
    line-height: 1;
    background-image: url(../images/contact/bg_submit.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    transition: all .3s ease-out;
    color: #fff; }
    #tayori-form button:before {
      content: none;
      width: 28px;
      height: 18px;
      background: url(../images/common/arrow_white.svg) 0 0 no-repeat;
      background-size: 100% auto;
      position: absolute;
      right: 495px;
      top: 50%;
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
      transition: all .3s ease-out;
      z-index: 2; }
    #tayori-form button:hover {
      background-position: left center; }
      #tayori-form button:hover:before {
        right: 480px; }
