@charset "UTF-8";

/*=============================================================
contact
==============================================================*/

.p-contact {
  /*******フォームテーブル*******/
  /*フォームサイズ*/
  /*チェックボックス＋ラジオボタン*/
  /*ENTRY用 ラジオボタン（◎無し）*/
  /*業種*/
  /*製品*/
  /*アンケート*/
  /*学歴・職歴*/
  /*******reCAPTCHA*******/
  /*******確認画面へ*******/
  /*================================================
   *  スマートフォン向けデザイン
   ================================================*/
}

.p-contact .contents {
  max-width: 940px;
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
}

.p-contact .contents input {
  line-height: normal !important;
}

.p-contact .contents p .hissu {
  display: inline-block;
  width: 3em;
  margin: 0 0.2em;
  padding: 0.1em 0;
  background-color: #a92224;
  color: #fff;
  font-size: 80%;
  font-size: 15px;
  text-align: center;
  vertical-align: 0.1em;
}

.p-contact .contents table {
  width: 100%;
  margin-bottom: 80px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  line-height: 1.75;
  table-layout: fixed;
}

.p-contact .confirm .contents table {
  margin: 80px 0;
}

.p-contact .contents table th {
  position: relative;
  width: 240px;
  padding: 20px 15px 20px 0;
  border-bottom: 1px solid #5abd52;
  background-clip: padding-box;
  text-align: left;
}

.p-contact .contents table tbody:first-of-type tr:first-of-type th {
  border-top: 1px solid #5abd52;
}

.p-contact #entry .contents table th {
  border-color: #29abe2;
}

.p-contact .contents table th span {
  display: block;
  position: relative;
}

.p-contact .contents table th span::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 3em;
  padding: 0.4em 0;
  transform: translateY(-50%);
  background-color: #a92224;
  content: "必須";
  color: #fff;
  font-size: 77.8%;
  line-height: 1;
  text-align: center;
}

.p-contact .contents table td {
  padding: 30px;
  border-bottom: 1px solid #c8c8c8;
}

.p-contact .contents table tbody:first-of-type tr:first-of-type td {
  border-top: 1px solid #c8c8c8;
}

.p-contact body:not(.confirm) .contents table #add div {
  margin-bottom: 15px;
}

.p-contact body.confirm .contents table #add span {
  display: inline-block;
  width: 4.6em;
}

.p-contact .contents table #name span {
  display: inline-block;
  width: 2.1em;
  margin-right: 10px;
  text-align: right;
}

.p-contact .contents table p:not(.u-sp) {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 16px;
}

.p-contact .contents table ul {
  margin-top: 1em;
  font-size: 16px;
}

.p-contact .contents table select,
.p-contact .contents table input[type=text],
.p-contact .contents table input[type=tel],
.p-contact .contents table input[type=email],
.p-contact .contents table input[type=number],
.p-contact .contents table input[type=url] {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Helvetica, sans-serif;
}

.p-contact .contents table select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  height: 46px;
  padding: 0 2em 0 0.5em;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  background: #fffff0 url(../images/select_icon.svg) center right 0.6em no-repeat;
  line-height: normal;
}

.p-contact .contents table input[type=text],
.p-contact .contents table input[type=tel],
.p-contact .contents table input[type=email],
.p-contact .contents table input[type=number],
.p-contact .contents table input[type=url],
.p-contact .contents table input[type=date] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  width: 480px;
  height: 46px;
  padding: 0 0.5em;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  background-color: #fffff0;
  line-height: normal;
}

.p-contact .contents table input[type=date] {
  color: #999;
}

.p-contact input:placeholder {
  color: #999;
}

.p-contact input::-webkit-input-placeholder {
  color: #999;
}

.p-contact input:-ms-input-placeholder {
  color: #999;
}

.p-contact .contents table #name input {
  width: 290px;
}

.p-contact .contents table #name input + input {
  margin-top: 20px;
}

.p-contact .contents table #add .input_postal {
  width: 70px;
  margin: 0 10px;
}

.p-contact .contents table #add p {
  margin-left: 0;
}

.p-contact .contents table #add select {
  width: 240px;
}

.p-contact .contents table #number input {
  width: 380px;
}

.p-contact .contents table #number input:nth-of-type(n + 2) {
  margin-left: 10px;
}

.p-contact .contents table #number p,
.p-contact .contents table #mail p {
  margin-left: 0;
}

.p-contact .contents table textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 140px;
  padding: 0.3em 0.5em;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  background-color: #fffff0;
  vertical-align: bottom;
}

.p-contact .contents table .radio label,
.p-contact .contents table .check label {
  display: flex;
  position: relative;
  align-items: center;
  cursor: pointer;
}

.p-contact .contents table .radio label + label,
.p-contact .contents table .check label + label {
  margin-top: 1em;
}

.p-contact .contents table .radio label input:not([type=text]),
.p-contact .contents table .check label input:not([type=text]) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.p-contact .contents table .radio label > span,
.p-contact .contents table .check label > span {
  display: block;
  position: relative;
  padding-left: 40px;
}

.p-contact .contents table .radio label > span::before,
.p-contact .contents table .radio label > span::after,
.p-contact .contents table .check label > span::before,
.p-contact .contents table .check label > span::after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
}

.p-contact .contents table .radio label > span::before,
.p-contact .contents table .radio label > span::after {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.p-contact .contents table .radio label > span::before,
.p-contact .contents table .check label > span::before {
  z-index: 1;
  border: 1px solid #c8c8c8;
}

.p-contact .contents table .check label > span::before {
  width: 28px;
  height: 28px;
}

.p-contact .contents table .radio label input:checked + span::after {
  z-index: 0;
  border: 7px solid #fff;
  background-color: #5abd52;
}

.p-contact .contents table .check label input:checked + span::after {
  z-index: 2;
  top: 7px;
  left: 5px;
  width: 17px;
  height: 10px;
  transform: rotate(-45deg);
  border-bottom: 2px solid #5abd52;
  border-left: 2px solid #5abd52;
}

.p-contact #entry.contents table .check label input:checked + span::after {
  border-color: #29abe2;
}

.p-contact .contents table .radio_btn > div {
  margin: -15px 0 0 -15px;
}

.p-contact .contents table .radio_btn label {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 50px;
  margin: 15px 0 0 15px;
  overflow: hidden;
  color: #29abe2;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.1s linear;
}

.p-contact .contents table .radio_btn label input:not([type=text]) {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.p-contact .contents table .radio_btn label span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid #29abe2;
  border-radius: 100vh;
  text-align: center;
}

.p-contact .contents table .radio_btn label input:checked + span {
  background-color: #29abe2;
  color: #fff;
}

.p-contact .contents table .gyoshu_list label {
  width: 290px;
}

.p-contact .contents table .gyoshu_list label:nth-of-type(2) {
  margin-top: 0;
}

.p-contact .contents table .gyoshu_list label:last-of-type {
  width: auto;
}

.p-contact .contents table .gyoshu_list label input[type=text] {
  width: 390px;
  margin-left: 1em;
}

.p-contact .contents table .product input:nth-of-type(n + 2) {
  margin-top: 15px;
}

.p-contact .contents table .qa_list label input[type=text] {
  width: 520px;
  margin-left: 1em;
}

.p-contact .contents table .history dl {
  align-items: flex-start;
}

.p-contact .contents table .history dl dt:nth-of-type(n + 2),
.p-contact .contents table .history dl dd:nth-of-type(n + 2),
.p-contact .contents table .history dl dd > div + div {
  margin-top: 20px;
}

.p-contact .contents table .history dl dt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 105px;
  padding-right: 15px;
}

.p-contact body:not(.confirm) .contents table .history dl dt {
  height: 46px;
}

.p-contact .contents table .history dl dd {
  width: 500px;
  width: calc(100% - 105px);
}

.p-contact .contents table .history dl dd input {
  width: 440px;
}

.p-contact .contents table .history dl dd.ymd input {
  width: 80px;
  margin-right: 10px;
}

.p-contact .contents table .history dl dd.ymd select {
  margin: 0 10px 0 20px;
}

.p-contact .g-recaptcha {
  margin-bottom: 60px;
}

.p-contact .g-recaptcha > div {
  margin: 0 auto;
}

.p-contact .submit {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 80px;
  margin: 0 auto 200px;
  padding: 0;
  border: none;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #5abd52;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.1s linear;
}

.p-contact .submit:hover {
  border-color: currentColor;
  background-color: #fff;
  color: #5abd52;
}

.p-contact .submit::before {
  position: absolute;
  right: 1.5em;
  width: 0.6em;
  height: 0.6em;
  transform: rotate(45deg);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.p-contact .submit input {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.p-contact .contents .lead {
  margin: 40px 0 80px;
}

.p-contact .contents .hissu-desc {
  margin-bottom: 25px;
}

.p-contact .contents .hissu-desc .hissu {
  padding: 5px;
  font-size: 15px;
}

.p-contact__name-input-wrapper {
  display: flex;
  flex-direction: column;
}

.p-contact__zip-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.p-contact__zip-input-wrapper .p-contact__zip-input {
  width: 185px !important;
  margin: 0 0.5em 0 12px;
}

.p-contact__zip-input-wrapper .p-contact__zip-note {
  display: flex !important;
}

.p-contact__pref-wrapper {
  margin-top: 17px;
}

.p-contact__city-wrapper {
  margin-top: 17px;
}

.p-contact__etc-wrapper {
  margin-top: 17px;
}

.p-contact__building-wrapper {
  margin-top: 17px;
}

.p-contact .mwform-radio-field label {
  display: flex;
  position: relative;
  align-items: center;
  cursor: pointer;
}

.p-contact .mwform-radio-field input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.p-contact .mwform-radio-field input:checked + .mwform-radio-field-text::after {
  z-index: 0;
  border: 10px solid #fff;
  background-color: #5abd52;
}

.p-contact .mwform-radio-field-text {
  display: block;
  position: relative;
  padding-left: 50px;
}

.p-contact .mwform-radio-field-text::before,
.p-contact .mwform-radio-field-text::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 50%;
  content: "";
}

.p-contact .mwform-radio-field-text::before {
  z-index: 10;
  border: 1px solid #9f9f9f;
}

.p-contact .mw_wp_form .vertical-item + .vertical-item {
  margin-top: 30px;
}

.p-contact .contents table #name span.error {
  width: 100%;
  text-align: left;
}

.p-contact .mw_wp_form .error {
  font-size: 15px;
}

.p-contact__complete {
  line-height: 2;
  text-align: center;
}

.p-contact__link {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 60px;
  margin: 50px auto 140px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #5abd52;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.p-contact__link:hover {
  border-color: currentColor;
  background-color: #fff;
  color: #5abd52;
}

.p-contact .l-footer__fixed {
  display: none;
}

@media screen and (max-width: 750px) {
  .p-contact .contents {
    margin: 10.6666666667vw 6.6666666667vw 0;
    font-size: 4.2666666667vw;
  }

  .p-contact .submit::before {
    right: 1em;
  }

  .p-contact .submit {
    width: 61.3333333333vw;
    height: 16.5333333333vw;
    margin-bottom: 26.6666666667vw;
    font-size: 4.8vw;
  }

  .p-contact {
    /*******フォームパンくず*******/
    /*注意書き（パンくずの下）*/
    /*******フォームテーブル*******/
    /*フォームサイズ*/
    /*チェックボックス＋ラジオボタン*/
    /*ENTRY用 ラジオボタン（◎無し）*/
    /*業種*/
    /*製 品*/
    /*アンケート*/
    /*学歴・職歴*/
    /*******reCAPTCHA*******/
  }

  .p-contact .flow {
    display: none;
  }

  .p-contact .contents .flow + p {
    margin: 0 0 10vw;
  }

  .p-contact .contents table {
    margin-bottom: 75px;
    border: none;
    font-size: 4.3vw;
  }

  .p-contact .confirm .contents table {
    margin: 10vw 0;
  }

  .p-contact .contents table th,
  .p-contact .contents table td {
    display: list-item;
    list-style-type: none;
  }

  .p-contact .contents table th {
    width: 100%;
    padding: 0.9em 0;
    border: none;
    border-top: 1px solid #5abd52 !important;
  }

  .p-contact #entry .contents table th {
    border-color: #29abe2 !important;
  }

  .p-contact .contents table td {
    padding: 0 0 12vw;
    border: none !important;
  }

  .p-contact .contents table tbody:last-of-type tr:last-of-type td {
    padding-bottom: 0;
  }

  .p-contact body:not(.confirm) .contents table #add div {
    margin-bottom: 3vw;
  }

  .p-contact .contents table .radio label {
    display: block;
  }

  .p-contact .contents table p,
  .p-contact .contents table ul {
    font-size: 4vw !important;
  }

  .p-contact .contents table p.u-pc {
    display: none;
  }

  .p-contact .contents table input[type=text],
  .p-contact .contents table input[type=tel],
  .p-contact .contents table input[type=email],
  .p-contact .contents table input[type=number],
  .p-contact .contents table input[type=url],
  .p-contact .contents table input[type=date] {
    width: 100%;
    height: 13vw;
  }

  .p-contact .contents table select {
    height: 13vw;
    background-size: 3vw !important;
  }

  .p-contact .contents table #name input {
    width: 100%;
  }

  .p-contact .contents table #name input + input {
    margin-top: 13px;
  }

  .p-contact .contents table #mail input {
    width: 100%;
  }

  .p-contact .contents table #mail p,
  .p-contact .contents table #number p {
    display: block;
    width: 100%;
    margin: 0.9em 0 0 -0.5em !important;
  }

  .p-contact .contents table #add .input_postal {
    width: 20vw;
    margin: 0 1.5vw;
  }

  .p-contact .contents table #add select {
    width: 35vw;
  }

  .p-contact .contents table #number [class*=flex] {
    justify-content: space-between;
  }

  .p-contact .contents table #number input {
    width: 100%;
    margin: 0 !important;
  }

  .p-contact .contents table textarea {
    height: 40vw;
  }

  .p-contact .contents table .radio label {
    display: block;
  }

  .p-contact .contents table .radio label + label,
  .p-contact .contents table .check label + label {
    margin-top: 0.5em;
  }

  .p-contact .contents table .radio label > span,
  .p-contact .contents table .check label > span {
    padding-left: 1.7em;
  }

  .p-contact .contents table .radio label > span::before,
  .p-contact .contents table .radio label > span::after,
  .p-contact .contents table .check label > span::before,
  .p-contact .contents table .check label > span::after {
    top: 0.15em;
    width: 1.4em;
    height: 1.4em;
  }

  .p-contact .contents table .radio label input:checked + span::after {
    border-width: 0.4em;
  }

  .p-contact .contents table .check label input:checked + span::after {
    top: 0.5em;
    left: 0.3em;
    width: 0.8em;
    height: 0.4em;
  }

  .p-contact .contents table .radio_btn > div {
    margin: 0;
  }

  .p-contact .contents table .radio_btn .flex_start {
    justify-content: space-between;
  }

  .p-contact .contents table .radio_btn label {
    width: 49%;
    width: calc(50% - 1.5vw);
    height: 3em;
    margin: 0;
    font-size: inherit;
  }

  .p-contact .contents table .radio_btn .flex_start_spblock label {
    width: 60vw;
  }

  .p-contact .contents table .radio_btn label:nth-of-type(n + 3),
  .p-contact .contents table .radio_btn .flex_start_spblock label + label {
    margin-top: 3vw;
  }

  .p-contact .contents table .gyoshu_list label {
    width: 100%;
  }

  .p-contact .contents table .gyoshu_list label:nth-of-type(2) {
    margin-top: 0.5em;
  }

  .p-contact .contents table .gyoshu_list label input[type=text] {
    display: block;
    width: 100%;
    width: calc(100% - 1.7em);
    margin: 0.5em 0 0 auto;
  }

  .p-contact .contents table .product input:nth-of-type(n + 2) {
    margin-top: 3vw;
  }

  .p-contact .contents table .qa_list label input[type=text] {
    display: block;
    width: 100%;
    width: calc(100% - 1.7em);
    margin: 0.5em 0 0 auto;
  }

  .p-contact body:not(.confirm) .contents table .history dl {
    display: block;
  }

  .p-contact .contents table .history dl dt:nth-of-type(n + 2),
  .p-contact .contents table .history dl dd:nth-of-type(n + 2),
  .p-contact .contents table .history dl dd > div + div {
    margin: 0 !important;
  }

  .p-contact body:not(.confirm) .contents table .history dl dt:nth-of-type(n + 2),
  .p-contact body:not(.confirm) .contents table .history dl dd > div + div {
    margin-top: 3vw !important;
  }

  .p-contact body:not(.confirm) .contents table .history dl dt {
    display: block;
    width: 100%;
    height: auto;
    padding: 0 0 0.3em;
    text-align: left;
  }

  .p-contact body.confirm .contents table .history dl dt {
    width: 6em;
    height: auto;
    padding-right: 0.9em;
  }

  .p-contact body:not(.confirm) .contents table .history dl dd {
    width: 100%;
  }

  .p-contact body.confirm .contents table .history dl dd {
    width: calc(100% - 6em);
  }

  .p-contact .contents table .history dl dd input {
    width: 100%;
  }

  .p-contact .contents table .history dl dd.ymd input {
    width: 3.8em;
    margin-right: 0.3em;
    padding: 0 0.3em;
  }

  .p-contact .contents table .history dl dd.ymd select {
    margin: 0 0.3em 0 0.2em;
    padding: 0 1em 0 0.3em;
    background-position: center right 1.5vw;
  }

  .p-contact .g-recaptcha {
    position: relative;
    left: -5vw;
    width: 100vw;
    margin-bottom: 10vw;
  }

  .p-contact .contents .lead {
    margin: 13.3333333333vw 0 8vw;
    line-height: 1.75;
  }

  .p-contact .contents .hissu-desc {
    margin-bottom: 6.6666666667vw;
  }

  .p-contact .contents .hissu-desc .hissu {
    padding: 1.3333333333vw;
    font-size: 3.4666666667vw;
  }

  .p-contact__zip-input-wrapper .p-contact__zip-input {
    width: 49.3333333333vw !important;
    margin: 0 0.5em 0 0.8vw;
  }

  .p-contact__pref-wrapper {
    margin-top: 3.4666666667vw;
  }

  .p-contact__city-wrapper {
    margin-top: 3.4666666667vw;
  }

  .p-contact__etc-wrapper {
    margin-top: 3.4666666667vw;
  }

  .p-contact__building-wrapper {
    margin-top: 3.4666666667vw;
  }

  .p-contact .mwform-radio-field input:checked + .mwform-radio-field-text::after {
    border-width: 1.3333333333vw;
  }

  .p-contact .mwform-radio-field-text {
    padding-left: 8vw;
  }

  .p-contact .mwform-radio-field-text::before,
  .p-contact .mwform-radio-field-text::after {
    width: 6.1333333333vw;
    height: 6.1333333333vw;
  }

  .p-contact .mw_wp_form .vertical-item + .vertical-item {
    margin-top: 2.6666666667vw;
  }

  .p-contact .mw_wp_form .error {
    font-size: 3.7333333333vw !important;
  }

  .p-contact__complete {
    font-size: 4.2666666667vw;
    text-align: left;
  }

  .p-contact__link {
    width: 80%;
    height: 16vw;
    margin: 9.3333333333vw auto 16vw;
    border-radius: 2.1333333333vw;
    font-size: 5.0666666667vw;
  }
}

@media screen and (max-width: 750px) and (max-width: 750px) {
  .p-contact .contents table {
    margin-bottom: 20vw;
  }
}

@media screen and (max-width: 750px) and (max-width: 320px) {
  .p-contact .contents table {
    font-size: 5vw;
  }
}