@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
  color: #000;
  font-size: 15px;
  line-height: 1.75;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  color: #0081CC;
  text-decoration: underline;
}

a:hover{
  text-decoration: none;
}

.container {
  max-width: 100%;
  border: 0;
}

.help-block {
  font-size: 0.75em;
}

.form-column {
  padding: 0 20px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.form-column.form-column-heading{
  background: #0081CC;
  padding: 15px;
}

.form-column.form-column-heading h2{
  color: #fff;
  font-size: 18px;
}

.form-column.form-column-zip-code-jp .input-group input{
  width: 140px !important;
  margin-left: 30px;
}

.form-column.form-column-zip-code-jp .input-group{
  position: relative;
}

.form-column.form-column-zip-code-jp .input-group:before{
  content: '〒';
  display: block;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.form-column.form-column-radio .input-group input{
  width: auto !important;
}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 1em;
}

.form-column-heading h2 {
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

.label{
  width: 216px;
  margin-right: 30px;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

label h3 {
  font-size: 1em;
  display: inline-block;
  margin: 0 0 0.5em;
  font-weight: bold;
}

label .badge-optional {
  display: none;
}

label .badge-required {
  width: auto;
  display: inline-block;
  margin-left: 0.25em;
  line-height: 1.5;
  font-size: 0.75em;
  color: #fff;
  background-color: #0081CC;
  border-radius: 0;
  font-weight: normal;
  padding: 2px 5px;
}

legend .badge-required{
  width: auto;
  display: inline-block;
  margin-left: 0.25em;
  line-height: 1.5;
  font-size: 0.75em;
  color: #fff;
  background-color: #0081CC !important;
  border-radius: 0;
  font-weight: normal;
  padding: 2px 5px;
}

.description-block {
  color: #151514;
  margin-top: 0.5em;
}

.button-group {
  margin: 0 auto;
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.button-group .help-block {
  margin-top: 0.5em;
  font-size: 0.75em;
  width: 100%;
  text-align: center;
}

button {
  width: 202px;
  color: #fff !important;
  display: block !important;
  padding: 20px !important;
  text-align: center;
  cursor: pointer;
  border-radius: 0 !important;
  margin: auto !important;
  background-color: #0081CC !important;
  border: 1px solid #0081CC !important;
}

button:hover{
  color: #0081CC !important;
  background: #fff !important;
  transition: 0.3s all;
}

button.button-submit {
  background-color: #316a8b;
  border: 1px solid #316a8b;
  color: #fff;
}
button.button-submit span.fa {
  margin-right: 4px;
}

input{
  width: calc(100% - 246px) !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  max-width: 100%;
  line-height: 1.75em;
  background: #F7F7F7;
  width: 100%;
  padding: 15px 20px;
  transition: all 0.3s;
}

textarea {
  width: 100%;
  height: 10em;
}

input[type="file"] {
  display: block;
  line-height: 1.75;
}

input[type="password"] {
  height: 1.75em;
  width: 100%;
  border: 1px solid #6a767d;
  transition: all 0.3s;
}

input[readonly],
textarea[readonly] {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.form-column-date .input-group select {
  width: auto;
  display: inline-block;
}

.form-column-calendar input {
  width: auto;
}

.form-column-zip-code-jp .input-group input {
  width: auto;
  min-width: auto;
  display: inline-block;
}

.form-column-zip-code-autofill.form-column {
  border-bottom: 0;
  margin-bottom: 0;
  display: block;
  padding: 0;
}

.form-column-checkbox label,
.form-column-radio label {
  margin-right: 1em;
}

select {
  width: auto;
  display: block;
  background: #F7F7F7;
  padding: 15px 20px;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .container{
    padding: 20px 0 !important;
  }
  .form-column {
    padding: 0 0 20px;
  }

  .label{
    justify-content: flex-start;
  }

  .label .badge-required{
    margin-left: 1.0em;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea {
    width: 100%;
    min-width: 100%;
  }
  select {
    width: 100%;
  }
  .form-column-calendar input {
    width: auto;
    min-width: auto;
  }
  .form-column-heading h2 {
    font-size: 1.25em;
  }

  a:hover{
    text-decoration: underline;
  }

  .button-group .button{
    margin-bottom: 15px !important;
  }
}

/******** エラーメッセージ ****************/
.message-block.message-block-error span strong{
  display: none;
}


/******** 個別IDでのスタイル設定 **********/
/*お問い合わせ種別*/
.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90{
  border-bottom: none;
  margin-bottom: 50px;
}

.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 legend.label{
  width: 100%;
  color: #fff;
  background: #0081CC;
  margin-right: 0;
  justify-content: flex-start;
  font-size: 18px;
  padding: 15px;
  margin-bottom: 0;
  position: relative;
}

.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 legend.label .badge-required{
  color: #0081CC !important;
  background: #fff !important;
  margin-left: 10px;
  font-size: 11px;
}

/*.form-column-69eebd23-d802-4259-8392-7a7d799f3adc legend.label:after{
  content: '製品に関するお問い合わせ';
  display: block;
  color: #0081CC;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  border-top: 1px solid #ADADAD;
  border-left: 1px solid #ADADAD;
  border-right: 1px solid #ADADAD;
  height: 50px;
  padding: 10px 8px;
  background: #E5F2FA;
  position: absolute;
  bottom: -50px;
  left: 0;
}*/

.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 label{
  margin-right: 0;
  text-indent: -13px;
  padding: 10px 20px;
  border-top: 1px solid #ADADAD;
  border-left: 1px solid #ADADAD;
  border-right: 1px solid #ADADAD;
  width: 100%;
}

.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 label:last-of-type{
  border-bottom: 1px solid #ADADAD;
}

.form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 fieldset{
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

/*見学目的*/
.form-column-c7be25ab-b6d6-4567-8a4c-073653287737{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.form-column-c7be25ab-b6d6-4567-8a4c-073653287737 fieldset{
  border: none;
  padding: 0;
}

.form-column-c7be25ab-b6d6-4567-8a4c-073653287737 .input-group{
  width: calc(100% - 100px);
  margin-left: 246px;
  margin-top: -30px;
}

.form-column-c7be25ab-b6d6-4567-8a4c-073653287737 .input-group input[type="checkbox"]{
  width: auto !important;
}

@media (max-width: 640px) {
  .form-column-c7be25ab-b6d6-4567-8a4c-073653287737 .input-group{
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
}

/*見学目的（その他）*/
.form-column-ea6ebfb2-1a70-4cf7-bdeb-95644e48be8b{
  align-items: flex-start;
}

.form-column-ea6ebfb2-1a70-4cf7-bdeb-95644e48be8b .label{
  visibility: hidden;
}

.form-column-ea6ebfb2-1a70-4cf7-bdeb-95644e48be8b textarea{
  width: calc(100% - 246px);
}

/*見学希望日*/
.form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318{
  position: relative;
  align-items: flex-start;
}

.form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 .label{
  padding-top: 10px;
}

.form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 input[type="text"]{
  margin-top: 75px;
}

.form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 .description-block{
  width: calc(100% - 246px);
  position: absolute;
  top: 0;
  left: 266px;
}

.form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 .description-block p:nth-of-type(2){
  font-size: 12px;
}

@media (max-width: 640px) {
  .form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 input[type="text"]{
    margin-top: 0;
    order: 3;
  }
  .form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 .description-block{
    width: 100%;
    position: static;
  }
}

/*見学人数*/
.form-column-76458a20-eba1-434e-bc83-606eb7be617e{
  position: relative;
  align-items: flex-start;
}

.form-column-76458a20-eba1-434e-bc83-606eb7be617e .label{
  padding-top: 10px;
}

.form-column-76458a20-eba1-434e-bc83-606eb7be617e input[type="text"]{
  margin-top: 50px;
}

.form-column-76458a20-eba1-434e-bc83-606eb7be617e .description-block{
  width: calc(100% - 246px);
  position: absolute;
  top: 0;
  left: 266px;
}

@media (max-width: 640px) {
  .form-column-76458a20-eba1-434e-bc83-606eb7be617e input[type="text"]{
    margin-top: 0;
    order: 3;
  }

  .form-column-76458a20-eba1-434e-bc83-606eb7be617e .description-block{
    width: 100%;
    position: static;
  }
}

/*お問い合わせ内容*/
.form-column-e2a4d414-5fbf-405a-b12c-0dee0c9379dd{
  margin-bottom: 50px;
  border-bottom: none;
  align-items: flex-start;
}

.form-column-e2a4d414-5fbf-405a-b12c-0dee0c9379dd textarea{
  width: calc(100% - 246px);
}

/*個人情報同意*/
.form-column-6eb4f598-1d44-4a54-a174-85192c865646{
  border-bottom: none;
}

.form-column-6eb4f598-1d44-4a54-a174-85192c865646 .label{
  width: 100%;
  justify-content: center;
}

.form-column-6eb4f598-1d44-4a54-a174-85192c865646 fieldset{
  border: none;
  margin: 50px auto 0;
}

.form-column-6eb4f598-1d44-4a54-a174-85192c865646 fieldset input{
  width: auto !important;
}

.form-column-6eb4f598-1d44-4a54-a174-85192c865646 fieldset .input-group .option{
  text-align: center;
}

@media (max-width: 640px) {
  .form-column-6eb4f598-1d44-4a54-a174-85192c865646{
    padding: 0;
  }
}


/**********確認画面用***********/
.content-confirmation .form-column-1adfd1a7-85fc-400d-a10a-2ec2ccc26a2c{
  margin-top: 150px;
  position: relative;
}

.content-confirmation .form-column-1adfd1a7-85fc-400d-a10a-2ec2ccc26a2c:before{
  content: '送信内容確認画面';
  display: block;
  color: #0081CC;
  background: #F2F6F7;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  padding: 20px 15px;
  position: absolute;
  left: 0;
  top: -110px;
}

.content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 fieldset{
  width: 100%;
  padding: 0 20px;
}

.content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 legend.label{
  width: 216px;
  background: none;
  color: #000;
  font-size: 15px;
  padding: 0;
  justify-content: space-between;
}

.content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 legend.label .badge-required{
  background: #0081CC !important;
  color: #fff !important;
}

.content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 .preview-block{
  padding: 0;
  position: absolute;
  left: 270px;
  top: 0;
}

/*見学目的*/
.content-confirmation .form-column-c7be25ab-b6d6-4567-8a4c-073653287737 .preview-block{
  margin-left: 246px;
  margin-top: -30px;
}

/*見学希望日*/
.content-confirmation .form-column-1834aa28-f7d7-49d6-a62d-68970d1d8318 .description-block{
  display: none;
}

/*見学人数*/
.content-confirmation .form-column-76458a20-eba1-434e-bc83-606eb7be617e .description-block{
  display: none;
}

/***お問い合わせ内容****/

.content-confirmation .form-column-76b26383-c670-42e9-b9d3-bf4d0aab3c4d{
  border-bottom: 1px solid #E0E0E0;
}

@media (max-width: 640px) {
  .content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90{
    display: block;
  }

  .content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 fieldset{
    padding: 0;
  }

  .content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 legend.label{
    margin-bottom: 20px;
    justify-content: flex-start;
  }

  .content-confirmation .form-column-9f24407d-4120-4c23-a116-c00fa60b0b90 .preview-block{
    position: static;
  }

  .content-confirmation .form-column-c7be25ab-b6d6-4567-8a4c-073653287737 .preview-block{
    margin-left: 0;
    margin-top: 0;
  }

  .content-confirmation .form-column{
    display: block;
  }

  .content-confirmation .label{
    justify-content: flex-start;
  }

  .content-confirmation .label .badge-required{
    margin-left: 15px;
  }
}
