@charset "utf-8";

html,
body {
  -webkit-appearance: none;
}
html {
  font-size: 62.5%;
  cursor: auto;
  scroll-behavior: smooth;
}
body {
  font-family:'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', 'Meiryo', sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  font-size: 1.6rem;
}
*,
* ::before,
* ::after {
  box-sizing: border-box;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.form-control {
  width:100%;
  max-width: calc(100% - 20px);
  font-size: 1.6rem;
  font-family: inherit;
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px 10px 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

input:disabled {
  -webkit-text-fill-color: #000;
  color: #000;
  opacity: 1;
  border-color: transparent;
}

/* ラジオボタン、チェックボタン */
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}
input[type="radio"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* 入力 */
input[type=text],
textarea{
  width: 100%;
}

/* チェックボックス */
.custom-checkbox{
  margin: 16px 0 0;
}
.custom-checkbox--spacious{
  margin-top: 40px;
}
.custom-control-label {
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-indent: -24px;
  margin-left: 24px;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
/* □ の枠 */
input[type="checkbox"] + .custom-control-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
}

/* 必須チェック用 */
input[type="checkbox"] + .custom-control-label.required-checkbox::before {
  background-color: #fff2C7;
}

/* ✓ マーク */
input[type="checkbox"] + .custom-control-label::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -20px;
  transform: rotate(-45deg);
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  opacity: 0;
}

/* チェックされた時 */
input[type="checkbox"]:checked + .custom-control-label::before {
  background-color: #cc0033;
}
input[type="checkbox"]:checked + .custom-control-label::after {
  opacity: 1;
}

/* input にフォーカスが当たったらラベルの枠を青く */
input[type="checkbox"]:focus + .custom-control-label::before {
  outline: 2px solid #000;   /* 青いアウトライン */
  outline-offset: 2px;          /* 枠と文字の間に余白 */
}

@media only screen and (max-width: 768px) {
  input[type="checkbox"]::before {
    width: 18px;
    height: 18px;
  }

  input[type="checkbox"]::after {
    width: 12px;
    height: 6px;
    left: -1px;
  }
}

/* 初期状態では全て隠す */
.form-phase_any .for_init,
.form-phase_any .for_input,
.form-phase_any .for_confirm,
.form-phase_any .for_sending,
.form-phase_any .for_finished {
  display: none;
}

/* 操作が進んでフェイズが進行すると表示 */
.form-phase_input .for_input,
.form-phase_confirm .for_confirm,
.form-phase_sending .for_sending,
.form-phase_finished .for_finished {
  display: block;
}

.form-phase_finished .form-notes {
  display: none;
}

.form-phase_confirm main,
.form-phase_sending main,
.form-phase_finished main {
  margin: 0 auto 115px;
}

@media only screen and (max-width: 768px) {
  .form-phase_confirm main,
  .form-phase_sending main,
  .form-phase_finished main {
    margin: 0 auto 18.66667vw;
  }
}

#confirm_field-detail {
  display: block;
  white-space: pre-line;
  word-break: break-all;
}

.pc-block {
  display: block;
}
.sp-block {
  display: none;
}
.pc-inline {
  display: inline;
}
.sp-inline {
  display: none;
}
@media only screen and (max-width: 768px) {
  .pc-block {
    display: none;
  }
  .sp-block {
    display: block;
  }
  .pc-inline {
    display: none;
  }
  .sp-inline {
    display: inline;
  }
}
@media screen and (max-width: 768px) {
  .u-pc-only {
    display: none !important;
  }
}

@media screen and (min-width: 769px) {
  .u-sp-only {
    display: none !important;
  }
}

.wrapper {
  width: 100%;
  margin: 0 auto;
}

/* 上部フロー */
.form-flow{
  margin: 50px 0 0;
}
.form-flow__list {
  display: flex;
  justify-content: center;
}
.form-flow__item {
  font-size: 1.8rem;
  line-height: 1;
  position: relative;
  padding: 9px 9px 11px;
  border-radius: 3px;
  border: 1px solid #B4B4B4;
  color: #B4B4B4;
}
.form-flow__item:nth-child(-n+2) {
  margin-right: 30px;
}
.form-flow__item:nth-child(-n+2)::before {
  content: '';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border: 1px solid;
  border-color: #B4B4B4 #B4B4B4 transparent transparent;
}
@media only screen and (max-width: 768px) {
  .form-flow{
    margin-top: 15px;
  }
  .form-flow__item{
    padding: 5px;
    font-size: 16px;
  }
  .form-flow__item:nth-child(-n+2){
    margin-right: 16px;
  }
  .form-flow__item:nth-child(-n+2)::before{
    right: -10px;
  }
}

/* FV見出し */
.mainvisual__heading{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 50px 0 0;
  color: #cc0033;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.2;
}
.mainvisual__heading-sub{
  display: inline-block;
  margin: 0 0 5px;
  padding: 0 0 8px;
  background: linear-gradient(transparent 65%, #fbd8d8 65%);
  color: #000;
  font-size: 3.4rem;
  line-height: 1;
}
/* FV説明文 */
.mainvisual__lead{
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
/* FV一覧 */
.mainvisual__lists{
  max-width: 574px;
  margin: 20px auto 0;
  text-align: center;
}
.mainvisual__list {
  font-size: 1.7rem;
  font-weight: bold;
  list-style: none;
}
.mainvisual__list-item {
  padding: 7px 6px 7px 114px;
  border-top: 1px dashed #999;
  text-align: left;
}
.mainvisual__list-item:last-of-type {
  border-bottom: 1px dashed #999;
}
.mainvisual__list-item span{
  position: relative;
  padding: 0 0 0 34px;
  background: url("/rs/907-WIE-286/images/SM_secdiagnosis-icon_check-rd.png") no-repeat left center;
}

@media screen and (max-width: 768px) {
  .for_input,
  .for_confirm{
    margin: 0 20px;
  }
  /* FV見出し */
  .mainvisual__heading{
    font-size: 22px;
  }
  .mainvisual__heading-sub{
    padding-bottom: 3px;
    font-size: 20px;
  }
  /* FV説明文 */
  .mainvisual__lead{
    margin-top: 10px;
    font-size: 15px;
  }
  /* FV一覧 */
  .mainvisual__lists{
    margin: 10px 0 0;
  }
  .mainvisual__list {
    width: 100%;
    max-width: 400px;
    font-size: 1.4rem;
  }
  .mainvisual__list-item {
    padding: 8px 0;
  }
  .mainvisual__list-item span{
    padding-left: 30px;
    background-size: 16px;
  }
}


/* フォーム内設定 */
.form__inner{
  max-width: 990px;
  margin: 0 auto;
}
.form__inner .for_input{
  margin: 48px 0 0;
}
@media screen and (max-width: 768px) {
  /* フォーム内設定 */
  .form__inner{
    margin: 0 20px;
  }
  .form__inner .for_input{
    margin: 30px 0 0;
  }


}
/* ステップ */
.form-phase_input .form-flow__item--input,
.form-phase_confirm .form-flow__item--confirm,
.form-phase_sending .form-flow__item--confirm,
.form-phase_finished .form-flow__item--finished {
  border-color: #cc0033;
  background: #f6fbfe;
  color: #cc0033;
  font-weight: bold;
}
.form-phase_input .form-flow__item--input::before,
.form-phase_confirm .form-flow__item--confirm::before,
.form-phase_sending .form-flow__item--confirm::before {
  border-color: #cc0033 #cc0033 transparent transparent;
}

/* 選択リスト */
.form-securityrisk__item,
.form-customer__outer {
  padding: 30px;
  border-radius: 10px;
  background: #f6f6f6;
}
.form-securityrisk__item:nth-child(n + 2),
.form-customer__outer {
  margin-top: 50px;
}
.form-securityrisk__title {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 1.8rem;
  font-weight: bold;
}

.form-securityrisk__number {
  color: #cc0033;
  line-height: 1;
  font-size: 4.5rem;
  font-family: "Arial", "メイリオ";
}

@media screen and (max-width: 768px) {
  .form-securityrisk__item {
    padding: 15px 10px 25px;
  }

  .form-securityrisk__title {
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
  }

  .form-securityrisk__number {
    font-size: 2.4rem;
  }

  /* 選択リスト */
  .form-securityrisk__item:nth-child(n + 2),
  .form-customer__outer {
    margin-top: 20px;
  }
}

/* ラジオボタン */
.form-securityrisk__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 30px 0 0;
}
.form-securityrisk__radio {
  position: relative;
  display: flex;
  align-items: center;
  width: calc((100% - 30px) / 2);
  padding: 20px 18px 20px 54px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .form-securityrisk__choices {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .form-securityrisk__radio {
    width: 100%;
    padding: 18px 18px 18px 52px;
    border-radius: 4px;
    font-size: 1.5rem;
  }
}


/* ラジオボタンデザイン */
.form-securityrisk__radio:has(input:checked) {
  border-color: transparent;
  outline: 3px solid #cc0033;
  outline-offset: -3px;
}
.form-securityrisk__radio input[type=radio] {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid #bcc2c9;
  border-radius: 50%;
}
.form-securityrisk__radio input[type=radio]::before {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  border-radius: 50%;
  background-color: #cc0033;
  opacity: 0;
}
.form-securityrisk__radio input[type=radio]:checked::before {
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .form-securityrisk__radio:has(input:checked) {
    outline-width: 2px;
    outline-offset: -2px;
  }
  .form-securityrisk__radio input[type=radio]{
    left: 16px;
  }
}


/* お客様情報入力欄 */
.form-customer__outer{
  padding: 40px 30px;
}
.form-customer__comment {
  color: #cc0033;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
}
.form-phase_input .form-customer__inner,
.form-phase_input .form-consent__inner {
  max-width: 500px;
  margin: 40px auto 0;
}

.form-groups{
  display: flex;
  gap: 20px;
}
.form-groups + .form-groups,
.form-groups + .form-group,
.form-group + .form-group{
  margin-top: 30px;
}
.form-groups .form-group{
  width: calc(50% - 10px);
  margin-top: 0;
}
.form-group__heading{
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2.1rem;
}
.required{
  position: absolute;
  top: 1px;
  padding: 3px 5px;
  border: 1px solid #cc0033;
  background: #fff;
  color: #cc0033;
  font-size: 11px;
  line-height: 1;
}
.form-group__heading label{
  margin-left: 40px;
}
.form-group__body{
  word-break: break-all;
}
.form-group__body{
  margin-top: 3px;
}


@media only screen and (max-width: 768px) {
  /* お客様情報入力欄 */
  .form-customer__comment {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .form-customer__outer{
    padding: 20px 10px 40px;
  }
  .form-phase_input .form-customer__inner,
  .form-phase_input .form-consent__inner {
    margin-top: 22px;
  }
  .form-customer__inner > .form-groups,
  .form-customer__inner > .form-group{
    padding: 0 26px;
  }

  .form-groups{
    display: block;
  }
  .form-groups + .form-groups,
  .form-groups + .form-group,
  .form-group + .form-group{
    margin-top: 30px;
  }
  .form-groups .form-group{
    width: 100%;
  }

}

.form-input-area .form-field-notes {
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.9rem;
}

.form-input-area span.form-field-notes {
  padding-left: 15px;
}

.form-group__body .form-field-notes {
  margin: 10px 0 0;
}

@media only screen and (max-width: 768px) {
  .form-input-area .form-field-notes {
    display: block;
    font-size: 3.46667vw;
    line-height: 5.06667vw;
    padding-top: 3px;
  }

  .form-input-area span.form-field-notes {
    padding-left: 0;
  }
}

.button_to_confirm,
.button_to_sending {
  width: 380px;
  margin: 30px auto 0;
  background: #cc0033;
  color: #fff!important;
  display: block;
  font-size: 1.8rem;
  line-height: normal;
  cursor: pointer;
  text-align: center;
  padding: 16px 5px;
  border: none;
  border-radius: 100vh;
  font-weight: bold;
  position: relative;
  z-index: 10;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
}

.button_to_confirm {
  margin: 40px auto 0;
}

.button_to_confirm.non_active {
  background: #B0B0B0;
  border: 0px solid #808080;
  box-shadow: 0 0px #808080;
  pointer-events: none;
  color: #cc0033;
}

.button_to_confirm .small {
  font-size: 1.6rem;
}

@media only screen and (max-width: 768px) {
  .button_to_confirm,
  .button_to_sending {
    width: 92.0vw;
    max-width: 100%;
    margin-top: 5.33333vw;
  }

  .for_input input[name="quantity"],
  .for_confirm input[name="quantity"] {
    width: 25%;
  }
}

@media only screen and (max-width: 768px) {
  .button_to_confirm::after,
  .button_to_sending::after {
    right: 4vw;
    width: 2.4vw;
    height: 2.4vw;
    margin-top: -1.2vw;
  }
}

.button-double{
  margin: 50px 0 0;
}
.button_to_back {
  width: 230px;
  margin: 20px auto 0;
  background: #fff;
  border: 1px solid #cc0033;
  color: #cc0033 !important;
  display: block;
  font-size: 1.8rem;
  line-height: normal;
  cursor: pointer;
  text-align: center;
  padding: 10px 35px;
  border-radius: 100vh;
  font-weight: bold;
  position: relative;
  z-index: 10;
}
@media only screen and (max-width: 768px) {
  .button-double{
    margin-top: 40px;
  }
  .button_to_back {
    width: 64vw;
    margin-top: 8vw;
    font-size: 4.53333vw;
    padding: 2.66667vw 8.66667vw;
  }
}

.button_to_back::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 22px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-top: 2px solid #cc0033;
  border-right: 2px solid #cc0033;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  z-index: 10;
  -webkit-transition: border-color .1s;
  -o-transition: border-color .1s;
  transition: border-color .1s;
}
@media only screen and (max-width: 768px) {
  .button_to_back::after {
    left: 4vw;
    width: 2.4vw;
    height: 2.4vw;
    margin-top: -1.2vw;
  }
}


/* コントロール
--------------------------------------------------------- */
/* フォーカス時 */
.form-control:focus {
  background-color: #fff;
  border-color: #cc0033;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(0, 123, 255,25%);
}
/* エラー時 */
.form-control.is-invalid {
  border-color: #FE75BF;
  background-color: #FFE5E5;
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 157, 0.25);
}
.form-control.is-invalid:focus {
  background-color: #fff;
  border-color: #cc0033;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(0, 123, 255,25%);
}
/* エラー文 */
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}
.is-invalid~.invalid-feedback,
.was-validated .custom-file-input:invalid~.invalid-feedback {
  display: block;
}
.invalid-feedback {
  display: none;
  width: 100%;
  margin: 5px 0;
  color: red;
}
.form-radio-input.is-invalid~.form-radio-label{
  color: red;
}
.form-check-input.is-invalid~.form-check-label{
  color: red;
}



/* 確認画面
--------------------------------------------------------- */
.confirm-body__inner.for_confirm{
  margin: 70px 0 0;
}
.confirm__title{
  margin: 0;
  color: #cc0033;
  font-size: 2rem;
  font-weight: bold;
}

.confirm-table{
  width: 100%;
  margin: 12px 0 0;
}
.confirm-table th,
.confirm-table td{
  font-size: 14px;
}
.confirm-table__heading{
  font-weight: bold;
  background: #f6f6f6;
}

/* 選択した回答 */
.confirm-table--enquiry .confirm-table__heading{
  width: 65%;
}
.confirm-table--enquiry .confirm-table__heading:nth-child(2){
  width: 35%;
}

/* お客様情報 */
.confirm-table--personal .confirm-table__heading{
  width: 41%;
  text-align: left;
}
.confirm-table--personal .confirm-table__text{
  width: 59%;
}

.confirm-section + .confirm-section{
  margin-top: 45px;
}
@media only screen and (max-width: 768px) {
  .confirm-body__inner.for_confirm{
    margin: 44px 0 0;
  }
  .confirm__title{
    font-size: 16px;
  }

  .confirm-table__row > * {
    display: block;
    width: 100% !important;
  }
  .confirm-table__row .confirm-table__text,
  .confirm-table--personal .confirm-table__heading{
    border-bottom: none;
  }
  .confirm-table__row:last-of-type .confirm-table__text:last-of-type{
    border-bottom: 1px solid #ccc;
  }

  .confirm-table--enquiry .confirm-table__row .confirm-table__text:first-of-type{
    background: #f6f6f6;
  }

}