@charset "UTF-8";
/* CSS Document */

@media screen and (max-width: 950px) {
  textarea,
  input,
  select {
    font-size: 16px;
  }
  select {
    background-color: #fff;
  }
  #wrapper .main-area {
    width: 100%;
    padding-top: 20.7rem;
    background-image: url(../img/contact/sp-main.png);
    background-position: center 0;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 3.6rem;
    height: auto;
    margin-bottom: 0;
  }
  .main-area h3 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #002870;
    text-indent: 0;
    width: 100%;
    height: auto;
    top: 1rem;
    left: 2rem;
  }
  .contact-text {
    width: calc(100% - 4rem);
    margin: 0 2rem;
  }
  .contact-text p {
    font-size: 1.4rem;
    line-height: 1.57;
  }
  .f_c {
    width: calc(100% - 4rem);
    margin: 0 2rem;
  }
  .graph_contact_w100 {
    margin: 3.75rem auto;
    padding: 0;
    table-layout: fixed;
    width: 100%;
  }
  .graph_contact_w100 th {
    padding: 2rem 0 2rem 1.5rem;
    font-size: 1.6rem;
    display: block;
  }
  .graph_contact_w100 td {
    width: 100%;
    font-size: 1.4rem;
    /*font-weight: 700;*/
    padding: 1.5rem;
    display: block;
    border-top: 0;
    line-height: 1.8;
  }
  .graph_contact_w100 .sp-border-b0 {
    border-bottom: 0;
  }
  .graph_contact_w100 .sp-questionnaire1 {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .graph_contact_w100 .sp-questionnaire2 {
    padding-top: 0;
  }
  .sp-contact-type {
    width: 100%;
    height: 4rem;
  }
  .sp-contact-contents {
    width: 100%;
    min-height: 21.7rem;
  }
  .sp-contact-input {
    width: 100%;
    height: 4rem;
  }
  .sp-example {
    margin-bottom: 1rem;
  }
  .sp-information {
    table-layout: auto;
  }
  .sp-information th,
  .sp-information td {
    display: table-cell;
  }
  .sp-information .pt8 {
    width: auto;
    vertical-align: middle;
  }
  .sp-questionnaire-input {
    margin-bottom: 1.2rem;
  }
  .a_r {
    text-align: left;
  }
  select {
    background-position: right 1.5rem center;
    background-size: 1rem;
  }
  .graph_contact_w100 .sp-bt0 {
    border-top: 0;
  }

  /* d_check.html */

  #attention_frame {
    width: calc(100% - 4rem);
    margin: 0 2rem;
    font-size: 1.4rem;
    line-height: 1.57;
  }
  .sp-contact-contents2 {
    height: auto;
  }
  .btn_submit {
    margin: 0;
    width: 100%;
  }
  .btn_submit th,
  .btn_submit td {
    display: block;
  }
  .button-wrap {
    margin-top: 1.05rem;
    margin-bottom: 6.8rem;
    display: block;
  }
  .button-wrap .button1 {
    background: -webkit-gradient(
      linear,
      left bottom,
      left top,
      from(#1357f6),
      color-stop(45%, #1357f6),
      color-stop(56%, #447af8),
      to(#447af8)
    );
    background: -o-linear-gradient(
      bottom,
      #1357f6 0%,
      #1357f6 45%,
      #447af8 56%,
      #447af8 100%
    );
    background: linear-gradient(
      0deg,
      #1357f6 0%,
      #1357f6 45%,
      #447af8 56%,
      #447af8 100%
    );
    width: 100%;
    height: 5.5rem;
    font-weight: 700;
    line-height: 5rem;
    text-align: center;
    border-radius: 3px;
    border: 2px solid #709bf9;
    color: #fff;
    font-size: 2rem;
  }
  .ie .button-wrap .button1 {
    height: 5rem;
  }
  .button-wrap .button {
    padding: 0;
    margin: 0;
  }
  .button-wrap .button2 {
    width: 100%;
    height: 5.5rem;
    font-weight: 700;
    line-height: 5.5rem;
    border: 2px solid #709bf9;
    text-align: center;
    border-radius: 3px;
    margin-top: 2.5rem;
    background: none;
    font-size: 2rem;
    color: #1357f6;
  }

  /* send.html */
  .contact-text h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 3.5rem;
  }
  .contact-text .sp-send-text,
  #attention_frame .sp-error-text {
    margin-bottom: 4.5rem;
  }

  /* add */
  .graph_contact_w100 .sp_form_item {
    background-color: #f8f8f8;
  }
  .option:hover {
    background-color: #fff;
    color: #333;
  }
}

@media screen and (max-width: 500px) {
  #wrapper .main-area {
    margin-top: 5.6rem;
  }
}
