@charset "UTF-8";

.hide {
  display: none;
}

/* pc */
@media only screen and (min-width: 768px) {
  /* #page-index */
  /*--------------------------------------------------------------------------------*/
  #page-index #wrapper {
    background-color: #fff;
  }
  #page-index h1 {
    font-size: 43px;
  }
  #col1 {
    position: relative;
    max-width: 1172px;
    margin: 0 auto;
    background-color: #fff;
  }
  article {
    width: 780px;
    font-size: 14px;
    background-color: #fff;
    margin: 0 auto;
    padding: 52px 0 75px;
  }

  select:hover {
    cursor: pointer;
  }

  .flow {
    margin-bottom: 46px;
  }
  .flow .cr {
    color: #d00235;
  }
  .flow p {
    font-family: minmoji;
    width: 239px;
    height: 60px;
    font-size: 15px;
    text-align: center;
    padding-top: 10px;
    border: 2px solid #d00235;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .flow .eng-txt {
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    line-height: 1;
  }
  .flow .step1 {
    float: left;
    background: url(../contactus/img/step_arrow.png) no-repeat 247px center;
    padding-right: 31px;
  }
  .flow .step2 {
    float: left;
    background: url(../contactus/img/step_arrow.png) no-repeat 247px center;
    padding-right: 32px;
  }
  .flow .step3 {
    float: left;
  }
  #page-index .lead {
    font-size: 14px;
    color: #000;
    line-height: 1.57;
    text-align: left;
    margin-bottom: 20px;
  }
  #page-index .lead img {
    vertical-align: text-bottom;
    margin-right: 5px;
  }
  #page-index .gray {
    font-size: 12px;
    line-height: 1.66;
    color: #5a5a5a;
  }
  #page-index table {
    width: 100%;
    margin: 24px 0 0;
    table-layout: fixed;
  }
  #page-index tr:first-child th {
    border-top: 1px solid #d00235;
  }
  #page-index tr:first-child td {
    border-top: 1px solid #d7d7d7;
  }
  #page-index th {
    width: 223px;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    color: #313135;
    padding: 0 0 0 15px;
    border-bottom: 1px solid #d00235;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #page-index td {
    text-align: left;
    vertical-align: middle;
    color: #313135;
    border-bottom: 1px solid #d7d7d7;
    padding: 18px 0 16px 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #page-index .block-name td,
  #page-index .block-kana td {
    vertical-align: top;
  }
  #page-index .block-name span,
  #page-index .block-kana span {
    line-height: 2;
  }
  #page-index td.left {
    width: 280px;
    text-align: right;
    font-size: 13px;
  }
  #page-index td.right {
    width: 277px;
    text-align: right;
    font-size: 13px;
  }

  #page-index td textarea {
    width: 100%;
    height: 74px;
    margin-top: 10px;
  }

  .all-e-txt {
    font-weight: bold;
    padding-top: 20px;
    color: #d00235;
    display: none;
  }

  .block-kana td {
    letter-spacing: 0;
  }

  select,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  select {
    font-size: 14px;
    width: 387px;
    height: 40px;
    background: url(../contactus/img/icon_select.png) no-repeat right center;
    padding: 10px 44px 10px 14px;
    border: 1px solid #d5d3d4;
    box-shadow: #d5d3d4 0px -1px 1px 0px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  select::-ms-expand {
    display: none;
  }
  .address select {
    width: 252px;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    width: 412px;
    height: 40px;
    font-size: 14px;
    line-height: 1;
    color: #131313;
    background-color: #f8f8f8;
    padding: 10px 14px;
    border: 1px solid #d5d3d4;
    box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -webkit-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  input.error,
  textarea.error {
    background-color: #fff6ee !important;
  }
  input.correct,
  textarea.correct {
    background-color: #fff !important;
  }

  .parentFormform + input[type="text"] {
    background-color: #ff00 !important;
  }

  td.left input[type="text"],
  td.right input[type="text"] {
    width: 220px;
    margin-left: 9px;
  }
  .txt1 input[type="text"] {
    width: 472px;
  }
  .postal input[type="text"]:first-child {
    width: 135px;
    margin: 0 12px 0 15px;
  }
  .postal input[type="text"]:nth-child(2) {
    width: 155px;
    margin: 0 0 0 14px;
  }
  .postal .error {
    margin-left: 50px;
  }
  .address input[type="text"] {
    margin-top: 10px;
    width: 522px;
  }
  td.mail input[name="Email2"] {
    margin-top: 10px;
  }

  .req th {
    background: url(../contactus/img/icon_required.png) no-repeat 181px center;
  }
  .privacy {
    width: 532px;
    height: 204px;
    overflow-y: scroll;
    color: #131313;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid #d5d3d4;
    box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -webkit-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .btn-confirm,
  .btn-mail {
    width: 260px;
    margin: 50px auto 0;
  }
  .btn-confirm input,
  .btn-mail input {
    font-family: minmoji;
    width: 260px;
    height: 48px;
    font-size: 14px;
    color: #fff;
    background-color: #d00235;
    border-style: none;
    cursor: pointer;
  }
  .btn-back {
    width: 150px;
    margin-top: -48px;
  }
  .btn-back input {
    font-family: minmoji;
    width: 150px;
    height: 48px;
    font-size: 14px;
    color: #fff;
    background-color: #9e9e9e;
    border-style: none;
    cursor: pointer;
  }
  .btn-back input:hover {
    background-color: #b1b1b1;
  }
  .btn-mail input:hover,
  .btn-confirm input:hover {
    background-color: #9e9e9e;
  }
  #contact {
    display: none;
  }

  #select-gyoushu {
    margin-top: 5px;
    display: none;
  }

  #select-tashaLinen {
    margin-top: 5px;
    display: none;
  }

  #form p.error {
    text-align: left;
    font-size: 14px;
    line-height: 1;
    background-color: inherit;
    background: url(../contactus/img/icon_alert.png) no-repeat left top;
    color: #ff9434;
    padding: 6px 0 5px 27px;
    margin-top: 5px;
    display: none;
  }
  #form p.noicon {
    background: none !important;
  }

  #page-finish .lead {
    font-size: 20px;
    margin-bottom: 10px;
  }
  #page-finish .btn-home {
    position: relative;
    width: 260px;
    margin: 50px auto 0;
  }
  #page-finish .btn-home a {
    font-family: minmoji;
    display: block;
    width: 260px;
    height: 48px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    background-color: #d00235;
    border-style: none;
    cursor: pointer;
    padding-top: 13px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #page-finish .btn-home a:hover {
    background-color: #9e9e9e;
  }

  .what p {
    margin-bottom: 10px;
  }

  .what p:last-child{
    margin-bottom: 0px;
  }
}

/* sp */
@media only screen and (max-width: 767px) {
  /* #page-index */
  /*--------------------------------------------------------------------------------*/
  h1 {
    font-size: 2rem !important;
  }
  article {
    border-top: 4px solid #d00235;
    box-shadow: 0 -4px #fff;
    margin-top: 4px;
  }
  section {
    width: 100%;
    font-size: 1.4rem;
    margin: 0 auto;
    padding: 30px 0;
  }
  #page-index h2 {
    font-size: 1.3rem;
    text-align: center;
    padding: 25px 0 20px;
    margin-top: 20px;
    border-top: 1px solid #ebebeb;
  }
  #page-index ul {
    list-style: none;
  }
  #page-index p,
  #page-index li {
    line-height: 1.7;
  }
  .all-e-txt {
    font-weight: bold;
    padding: 0 4% 10px;
    color: #d00235;
    display: none;
  }
  .flow div {
    float: left;
    width: 247px;
    width: 32%;
    background: url(../contactus/img/icon_step_arrow_sp.png) no-repeat 95%
      center;
    background-size: 9% auto;
  }
  .flow div:first-child {
    margin-left: 4%;
  }
  .flow div:last-child {
    background: none;
  }
  .flow .cr {
    color: #d00235;
  }
  .flow p {
    font-family: minmoji;
    width: 80%;
    height: 50px;
    font-size: 1rem;
    text-align: center;
    padding-top: 5px !important;
    line-height: 1.1 !important;
    border: 1px solid #d00235;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .flow .eng-txt {
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.1rem;
    line-height: 1;
    padding-bottom: 2px;
  }
  .flow div:last-child .eng-txt {
    padding-bottom: 8px;
  }
  .flow img {
    width: 81%;
    height: auto;
  }
  .lead {
    font-size: 1.2rem;
    line-height: 1.25;
    color: #000;
    text-align: left;
    padding: 30px 4% 8px;
  }
  .lead img {
    vertical-align: text-bottom;
    margin-right: 5px;
  }
  #page-index .gray {
    font-size: 1rem;
    line-height: 1.5;
    color: #5a5a5a;
    padding: 0 4% 20px;
  }
  #page-index table {
    width: 100%;
    border-bottom: 1px solid #d7d7d7;
  }
  #page-index th,
  #page-index td {
    display: block;
  }

  #select-gyoushu {
    margin-top: 5px;
    display: none;
  }

  #select-tashaLinen {
    margin-top: 5px;
    display: none;
  }

  #page-index th {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1;
    color: #313135;
    text-align: left;
    padding: 15px 0 15px 4%;
    border-top: 1px solid #d00235;
    border-bottom: 1px solid #d7d7d7;
  }
  #page-index td {
    padding: 15px 4%;
  }
  #page-index textarea {
    display: block;
  }
  #page-index .req th {
    background: url(../contactus/img/icon_required_sp.png) no-repeat 96% center;
    background-size: 25px auto;
  }
  textarea {
    width: 100%;
    height: 74px;
    margin-top: 10px;
  }

  select,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="button"],
  input[type="submit"],
  textarea {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  select {
    font-size: 1.4rem;
    width: 100%;
    height: 40px;
    background: url(../contactus/img/icon_select.png) no-repeat right center;
    padding: 10px 44px 10px 14px;
    border: 1px solid #d5d3d4;
    margin-bottom: 12px;
    box-shadow: #d5d3d4 0px -1px 1px 0px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    width: 100%;
    height: 40px;
    font-size: 1.4rem;
    line-height: 1;
    color: #131313;
    background-color: #f8f8f8;
    padding: 10px 14px;
    border: 1px solid #d5d3d4;
    box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -webkit-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mail input:first-child {
    margin-bottom: 12px;
  }
  .privacy {
    width: 100%;
    height: 204px;
    overflow-y: scroll;
    color: #131313;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid #d5d3d4;
    box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -webkit-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-shadow: rgba(152, 152, 152, 0.5) 4px 4px 4px -4px inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .btn-confirm,
  .btn-mail {
    text-align: center;
    margin: 15px auto 20px;
  }
  .btn-confirm input,
  .btn-mail input {
    font-family: minmoji;
    width: 260px;
    height: 48px;
    font-size: 14px;
    color: #fff;
    background-color: #d00235;
    border-style: none;
    cursor: pointer;
  }
  .btn-back {
    text-align: center;
    margin-bottom: 20px;
  }
  .btn-back input {
    font-family: minmoji;
    width: 150px;
    height: 48px;
    font-size: 14px;
    color: #fff;
    background-color: #9e9e9e;
    border-style: none;
    cursor: pointer;
  }
  .btn-mail input,
  .btn-back input {
    width: 250px;
    height: 50px;
    text-align: center;
    margin: 0 auto;
  }
  #form p.error {
    text-align: left;
    font-size: 1.4rem;
    line-height: 1;
    background-color: inherit;
    background: url(../contactus/img/icon_alert.png) no-repeat left center;
    color: #ff9434;
    padding: 5px 0 5px 27px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
  }
  #form p.noicon {
    background: none !important;
  }

  #page-finish .lead {
    font-size: 1.6rem;
    padding: 20px 4% 10px;
  }
  #page-finish p.txt {
    padding: 0 4%;
  }
  #page-finish .btn-home {
    position: relative;
    width: 260px;
    text-align: center;
    margin: 25px auto;
  }
  #page-finish .btn-home a {
    font-family: minmoji;
    display: block;
    width: 260px;
    height: 48px;
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    background-color: #d00235;
    border-style: none;
    cursor: pointer;
    padding-top: 13px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  input.error,
  textarea.error {
    background-color: #fff6ee !important;
  }
  input.correct,
  textarea.correct {
    background-color: #fff !important;
  }

  .what p:first-child {
    margin-bottom: 10px;
  }
}
