@charset "UTF-8";
select, textarea, input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"] {
  display: inline-block;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 20px;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  border: 1px solid #ccc;
}
@media screen and (max-width: 768px) {
  select, textarea, input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"] {
    font-size: 1.6rem;
  }
}

textarea, input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"] {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border linear .2s, box-shadow linear .2s;
}

input[type="text"] {
  margin-bottom: 5px;
  margin-top: 5px;
}

input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
  cursor: not-allowed;
  background-color: #eee;
}

textarea {
  width: 100%;
  box-sizing: border-box;
}

input[type="radio"], input[type="checkbox"] {
  margin-right: 5px;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.loading {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 99;
}
.loading img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
}

.alert-error {
  padding: 8px 35px 8px 14px;
  color: #fff;
  background-color: #f18d1e;
  border-radius: 4px;
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid #eed3d7;
}
.alert-error + .alert-error {
  margin-top: 1em;
}

#error_message {
  margin-bottom: 1em;
}

.contact-form {
  position: relative;
}
.contact-form table {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .contact-form table {
    border-bottom: 1px solid #CCC;
  }
}
.contact-form table th, .contact-form table td {
  padding: 2rem;
  border: 1px solid #CCC;
  font-weight: normal;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .contact-form table th, .contact-form table td {
    display: block;
    border-bottom: none;
    padding: 4%;
  }
}
.contact-form table th {
  text-align: left;
  background: #eee;
}
@media screen and (min-width: 769px) {
  .contact-form table th {
    width: 25%;
    border-right: 3px solid #CCC;
  }
}
.contact-form table p {
  margin-bottom: 5px;
}
.contact-form .must {
  background-color: #ff0000;
  color: #fff;
  display: inline-block;
  padding: 2px 5px;
  font-size: 10px;
  border-radius: 2px;
  margin-right: 5px;
  float: left;
}
.contact-form .must_area, .contact-form input[type="text"].must_area {
  background: #FFF8F8;
}
@media screen and (min-width: 769px) {
  .contact-form select {
    min-width: 220px;
  }
}
.contact-form .input-small {
  width: 90px;
}
@media screen and (min-width: 769px) {
  .contact-form .input-large {
    width: 210px;
  }
}
@media screen and (min-width: 769px) {
  .contact-form .input-xxlarge {
    min-width: 530px;
  }
}
@media screen and (max-width: 768px) {
  .contact-form .input-xxlarge {
    width: 100%;
  }
}
@media screen and (min-width: 769px) {
  .contact-form .input-xlarge {
    min-width: 270px;
  }
}
@media screen and (max-width: 768px) {
  .contact-form .input-xlarge {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .contact-form .select-wide {
    width: 100%;
  }
}
.contact-form .inline-wrap {
  display: flex;
  flex-wrap: wrap;
}
.contact-form .inline-wrap .input-area {
  align-self: center;
}
@media screen and (max-width: 768px) {
  .contact-form .inline-wrap .input-area {
    width: 48.5%;
  }
  .contact-form .inline-wrap .input-area .input-large, .contact-form .inline-wrap .input-area select {
    width: 100%;
  }
  .contact-form .inline-wrap .input-area:first-child {
    margin-right: 3%;
  }
}
@media screen and (min-width: 769px) {
  .contact-form .inline-wrap .input-area:not(:last-child) {
    margin-right: 1rem;
  }
}
.contact-form .inline-wrap .caution {
  align-self: center;
}
@media screen and (max-width: 768px) {
  .contact-form .inline-wrap .caution {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .contact-form .inline-wrap.inline-wrap-s .input-area {
    width: auto;
    margin-right: 0;
  }
}
.contact-form .comming-day-wrap > li {
  display: flex;
  justify-content: flex-start;
}
@media screen and (max-width: 768px) {
  .contact-form .comming-day-wrap > li select {
    width: 100%;
  }
  .contact-form .comming-day-wrap > li .comming_day {
    margin-right: 1rem;
  }
}
@media screen and (min-width: 769px) {
  .contact-form .comming-day-wrap > li .comming_day::after {
    content: '：';
  }
}
.contact-form .input-group li {
  display: inline-block;
  margin-right: 1em;
  line-height: 2.5;
}
.contact-form .input-group input[type="text"] {
  margin: 0;
  padding: 5px;
}
.contact-form .input-group select {
  margin: 0;
}

.mailform-caution {
  font-size: 12px;
  padding: 20px;
  border: 1px solid #ccc;
  margin: 30px auto 0;
}
@media screen and (min-width: 769px) {
  .mailform-caution {
    width: 80%;
  }
}

.submit-buttons {
  text-align: center;
  margin: 4vw 0vw 0vw 0vw;
}
.submit-buttons button {
  font-size: 1.2em;
  margin: 0 auto;
  border: none;
  font-weight: bold;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 769px) {
  .submit-buttons button {
    width: 50%;
  }
}

.flow-wrap {
  background: url("../../../../assets/img/common/white_brick_wall.png");
  margin-bottom: 1em;
}
.flow-wrap .caution {
  text-align: center;
  margin: 10px 0;
}
@media screen and (max-width: 768px) {
  .flow-wrap .caution {
    text-align: left;
  }
}
.flow-wrap ul {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 20px;
}
@media screen and (max-width: 768px) {
  .flow-wrap ul {
    padding: 0 10px 10px;
    display: block;
  }
}
.flow-wrap ul li {
  width: 48.66071%;
  align-self: baseline;
}
@media screen and (max-width: 768px) {
  .flow-wrap ul li {
    width: 100%;
  }
  .flow-wrap ul li + li {
    margin-top: 10px;
  }
}

.virus-method-ttl {
  font-size: 1em;
  background: #ffde8a;
  padding: 0.5em;
  line-height: 1.5;
  margin-bottom: 1em;
  font-weight: normal;
}
@media screen and (min-width: 769px) {
  .virus-method-ttl {
    text-align: center;
    font-size: 1.56em;
  }
}

.method {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.method li {
  flex-basis: 48%;
  border: 3px solid #f4901e;
  border-radius: 10px;
  margin-bottom: 4%;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .method li {
    flex-basis: 23%;
  }
}

.lead-wrap {
  padding: 20px;
  border: 1px solid #2F71B6;
  border-radius: 10px;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .lead-wrap {
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
  }
}
.lead-wrap p + p {
  margin-top: 1em;
}
.lead-wrap strong {
  color: #2F71B6;
}

/*アンケート*/
.question-button {
  display: block;
  width: 80%;
  margin: 20px auto 20px;
  padding: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background: #2F71B6;
  color: #F9EC55 !important;
  border-bottom: solid 4px #627295;
  border-radius: 10px;
  font-size: 26px;
  font-weight: bold;
}

@media only screen and (max-width: 649px) {
  .question-button {
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
  }
}
.question-button:active {
  webkit-transform: translateY(4px);
  transform: translateY(4px);
  border-bottom: none;
}

.question-button:hover {
  text-decoration: none;
}

.question-button::after {
  content: '事前にアンケートも答える ▼';
}

.question-button.active::after {
  content: 'アンケートを閉じる ▲';
}

.question-wrap {
  background-color: #f5f5f5;
  padding: 30px;
  margin-bottom: 20px;
}
@media screen and (min-width: 769px) {
  .question-wrap {
    border-radius: 10px;
  }
}
@media screen and (max-width: 768px) {
  .question-wrap .input-gaikan {
    margin-bottom: 1rem;
    overflow: hidden;
  }
}

@media only screen and (max-width: 649px) {
  .question-wrap {
    padding: 10px 0;
    margin-bottom: 10px;
  }
}
.question-wrap .text-area {
  width: 100%;
  height: 150px;
  padding: 4px 6px;
}

.question-wrap .text-area-caution {
  margin-top: 5px;
}

.question-wrap table th {
  background-color: rgba(47, 113, 182, 0.1) !important;
  border-right-width: 1px !important;
}

.question-wrap table th .small {
  font-weight: normal;
  font-size: 13px;
}

.question-wrap h2 {
  margin-bottom: 30px;
}

@media only screen and (max-width: 649px) {
  .question-wrap h2 {
    margin: 0 10px 10px;
  }
}
.question-wrap select {
  width: auto;
  margin: 0;
}

.question-wrap input[type="text"] {
  margin-bottom: 0;
  margin-top: 0;
}

.question-wrap .input-xs {
  width: 65px;
}

.question-wrap .input-group {
  margin-top: -5px;
}

.question-wrap .input-group li {
  padding: 0 20px 0 0;
  line-height: 30px;
  margin-top: 5px;
  display: inline-block;
}

@media only screen and (max-width: 649px) {
  .question-wrap .input-group li {
    padding: 0 10px 0 0;
  }
}
.question-wrap .input-group li input[type="radio"] {
  margin-top: 8px;
}

.question-wrap .input-group li input[type="checkbox"] {
  margin-top: 9px;
}

.question-wrap .input-group li label {
  display: inline-block;
}

.question-wrap .input-gaikan li.thumb {
  position: relative;
  display: block;
  float: left;
  width: 25%;
  height: 12.24137vw;
  background: #ccc;
  background-size: cover;
  background-position: center;
}

@media only screen and (min-width: 1160px) {
  .question-wrap .input-gaikan li.thumb {
    width: 25%;
    height: 142px;
  }
}
@media only screen and (max-width: 649px) {
  .question-wrap .input-gaikan li.thumb {
    width: 50%;
    height: 25.35714vw;
    /*284px*/
  }
}
.question-wrap .input-gaikan li.thumb input[type="checkbox"] {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  border-radius: 0;
  border: none;
  background: none;
  position: relative;
  display: inline-block;
  width: 100%;
  height: 12.24137vw;
  vertical-align: bottom;
  position: relative;
  /*&:checked .mark:after {
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      width: 30px;
      line-height: 30px;
      background-color: #900;
      color: #fff;
      margin-top: -15px;
      margin-left: -15px;
      text-align: center;
      border-radius: 50%;
      font-weight: bold;
  }
  &.order1:checked .mark:after {content: "1";}
  &.order2:checked .mark:after {content: "2";}
  &.order3:checked .mark:after {content: "3";}
  &:checked .mark:after {content: "-";}*/
}

@media only screen and (min-width: 1160px) {
  .question-wrap .input-gaikan li.thumb input[type="checkbox"] {
    height: 142px;
  }
}
@media only screen and (max-width: 649px) {
  .question-wrap .input-gaikan li.thumb input[type="checkbox"] {
    height: 25.35714vw;
  }
}
@media all and (-ms-high-contrast: none) {
  .question-wrap .input-gaikan li.thumb input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-left: 5px;
  }
}
.question-wrap .input-gaikan li.thumb .select + .mark::after {
  content: "-";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 30px;
  line-height: 30px;
  background-color: #900;
  color: #fff;
  margin-top: -15px;
  margin-left: -15px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
}

.question-wrap .input-gaikan li.thumb .order1 + .mark:after {
  content: "1";
}

.question-wrap .input-gaikan li.thumb .order2 + .mark:after {
  content: "2";
}

.question-wrap .input-gaikan li.thumb .order3 + .mark:after {
  content: "3";
}

.question-wrap .option-block {
  margin-top: 20px;
  padding: 0 0 0 20px;
}

.question-wrap .option-block .ttl {
  font-weight: bold;
  background-color: #555;
  color: #fff;
  padding: 10px;
  line-height: 1;
  border-radius: 10px;
  margin-bottom: 10px;
}

.question-wrap .option-block .inner {
  padding: 0 10px;
}

.question-wrap .option-block .option-row + .option-row {
  margin-top: 1em;
}

.question-wrap .option-block .question {
  font-weight: bold;
  margin-bottom: 5px;
}
