@charset "utf-8";

input:-webkit-autofill {/* inputの背景が自動でになるのを防ぐ（chromeのuser agent stylesheetを上書き）*/
  -webkit-box-shadow: 0 0 0 1000px #ffffe4 inset;
}
input,select,.dummy_select{
  width: 100%;
  font-size: 18px;
  line-height: 1.5;
  padding: 8px 8px;
  border: solid 1px #888;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[name="car_id"] {
  position: absolute;
  overflow: hidden;
  width: 0;
}
select::-ms-expand {
  display: none;
}
.dummy_select{
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}
dl:nth-child(2) input,
dl:nth-child(2) select{
  margin-left: auto;
  margin-right: 0;
  display: block;
}

/* モーダルウインドウ */

/* レイヤーのコンテンツ */
#layer_carbox{
  display: none;
  position: fixed;
  width: 90%;
  max-width: 890px;
  font-size: 1.1em;
  background: #ffffff;
  margin:35px auto 50px auto;
  padding: 10px 20px;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  overflow-y: scroll;
  z-index: 10;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: 2px solid #bbb;
}
#modal_back{
  display: none;
  position:fixed;
  width:100%;
  height:100%;
  background:rgba(255, 255, 255, 0.8);
  top:0px;
  left:0px;
  z-index: 1;
}
#modal_close{
  float: right;
  font-weight: bold;
  color:#adadad;
  margin-bottom: 8px;
  cursor: pointer;
}
#tab_list{
  clear: both;
}
#tab_list li{
  float: left;
  position: relative;
  width: 25%;
  padding: 6px 0px;
  margin-bottom: 20px;
  font-size: 1em;
  color: #666666;
  font-weight: bold;
  background: #efefef;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#tab_list li.tab_active{
  color:#ffffff;
  background:#00a856;
}
#tab_list li.tab_active:after{
  content:'\025bc';
  position: absolute;
  color:#00a856;
  bottom:-13px;
  left:0px;
  right:0px;
}
.tab_box{
  display:none;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.4;
}
.tab_box.box_active{
  display: block;
}
.tab_box p{
  color:#333333;
  font-size: 18px;
  font-weight: bold;
}
.tab_box ul{
  padding:10px 10px 0px;
  margin-bottom: 15px;
  border:solid 1px #bebebe;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.tab_box li{
  display: inline-block;
  width:32%;
  margin-bottom: 8px;
  color:#0170b5;
  text-decoration: underline;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
}
.tab_box li:hover{
  text-decoration: none;
}


/* タブ　ボタン　スタイル */
#tab_list li.tab_active {
  color: #ffffff;
  background: #00a856;
}
#tab_list li .tab_list_head {
  display: block;
  width: 100%;
  background: #e8e8e8;
  font-size: 16px;
  color: #b1b1b1;
  margin: 0 auto;
  position: absolute;
  top: 0;
  line-height: 1.5;
  box-sizing: border-box;
}
#tab_list li.tab_active .tab_list_head {
  background: #cff2ff;
  color: #00bbff;
  font-weight: bold;
}
#tab_list li:nth-child(1).tab_active .tab_list_head,
#tab_list li:nth-child(2).tab_active .tab_list_head {
  background: #ffdede;
  color: #a80000;
}
#tab_list li:nth-child(1).tab_active,
#tab_list li:nth-child(2).tab_active {
  background: #ec0000;
}
#tab_list li:nth-child(1).tab_active:after,
#tab_list li:nth-child(2).tab_active:after{
  color: #ec0000;
}
#tab_list li:nth-child(3).tab_active,
#tab_list li:nth-child(4).tab_active {
  background: #00bbff;
}
#tab_list li:nth-child(3).tab_active:after,
#tab_list li:nth-child(4).tab_active:after {
  color: #00bbff;
}
#close-btn{
  float: right;
  font-weight: bold;
  color: #adadad;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 30px;
}

#layer_carbox #tab_list li {
  padding: 33px 0px 8px;
  font-size: 1.25em;
}

/* 送信項目のエラーメッセージ */
.err_msg{
  clear: both;
  padding-bottom: 0;
  font-size:15px;
  color: #f00;
}
p.form-agreement {
  font-size: 14px;
  margin: 12px 0;
  text-align: center;
}

p.form-agreement a{
  text-decoration: underline;
}

.b-mv__form {
  display: block;
  width: 44%;
}

.main_form {
  position: relative;
  right: 0;
  top: 0;
  color: #000;
  z-index: 1;
}
/*.main_form > img,*/
.form_easy {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  margin: 0 auto;
  z-index: 1;
  margin-inline: auto;
  padding: 10px 0;
  background-color: #ffd800;
  text-align: center;
}
.form_easy img {
  width: 80%;
}
.c-form__text_box {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  margin: 0 auto;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}
.main_form form {
  background: #fff;
  border-radius: 4px;
  padding: 13% 3% 3%;
  box-sizing: border-box;
  height: auto;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.4);
  text-align: left;
}

@media screen and (max-width: 860px){
  .main_form {
    padding: 15px 0;
    margin-top: 8px;
    background-color: #78cef2;
  }
  .main_form form {
    position: relative;
    width: 95%;
    margin: 0 auto;
  }
  .form_easy img {
    width: 90%;
  }
  .b-mv__form {
    margin: 0 auto;
    width: 100%;
  }
}
.main_form h3 {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background-color: #f0f0f0;
  padding: 4px;
  margin-bottom: 10px;
  line-height: 1.3;
}

@media screen and (max-width: 860px){
  #user_area,
  .submit_btn_box {
    display: none;
  }
  #user_area {
    padding-top: 20px;
  }
}
@media screen and (min-width: 861px) {
  #user_area {
    margin-top: 10px;
  }
}

.form_title {
  width: 49%;
  font-size: 13px;
  font-weight: bold;
}

/* 点滅 */
.target_item {
  border: 3px solid #f12;
  animation-name: borderFlashing;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}
@keyframes borderFlashing {
  0% {box-shadow: 0 0 0 0 #f12, 0 0 0 0 #fff, 0 0 0 1px #f12}
  100% {box-shadow: 0 0 0 0 #f12, 0 0 0 0 rgba(255,255,255,0), 0 0 0 5px rgba(100,164,134,0)}
}


/* 送信ボタン後のloading画像 */
#loading_img {
  display: none;  /* 編集しないで下さい */
  width: 10%;
}

/* レイヤー */
#layer {
  display: none;   /* 編集しないで下さい */
  position: fixed; /* 編集しないで下さい */
  width: 100%;     /* 編集しないで下さい */
  height: 100%;    /* 編集しないで下さい */
  top: 0;          /* 編集しないで下さい */
  left: 0;         /* 編集しないで下さい */
  z-index: 990;    /* 編集しないで下さい */
  background-color: #fff;
  opacity: 0.8;
}

/* レイヤーのコンテンツ */
#layer_carbox {
  display: none;    /* 編集しないで下さい */
  z-index: 991;     /* 編集しないで下さい */
  position: fixed;  /* 編集しないで下さい */
  width: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
}
@media screen and (max-width: 860px){
  #layer_carbox {
    padding: 10px;
  }
  #layer_carbox #tab_list li,
  #tab_list li .tab_list_head {
    font-size: clamp(14px, 4vw, 16px);
  }
}

.tab_box {
  display: none;  /* 編集しないで下さい */
  font-size: 1.5em;
}
.tab_box li {
  text-decoration: underline;
  cursor: pointer;  /* 編集しないで下さい */
  font-weight: 700;
}
.tab_box li:hover {
  text-decoration: none;
}

.form_area {
  position: relative;
  width: 100%;
  padding-left: 12px;
  box-sizing: border-box;
}
@media screen and (max-width: 860px){
  .form_area {
    padding-left: 0;
  }
  .tab_box ul {
    display: flex;
    flex-wrap: wrap;
  }
  .tab_box li {
    font-size: 16px;
  }
  .form_title {
    width: 100%;
  }
}

.req_on,
.req_off,
.form_any {
  font-size: 12px;
  float: left;
}
.req_on,
.req_off {
  margin-right: 5px;
  padding: 2px 5px;
  line-height: 1.5;
  color: #fff;
  display: inline-block;
  float: left;
  font-weight: 500;
  margin-bottom: 5px;
}
.req_on {
  background: red;
}
.req_off {
  background: #5f6061;
}

.submit_btn.disable,
.c-form__item:has(.req_on) .form_area input,
.c-form__item:has(.req_on) .form_area select {
  background-color: #ffffc9;
}

/* ▼ select に三角 */
.form_area.triangle::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
  pointer-events: none;
}

.c-form__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 860px){
  .c-form__item {
    flex-direction: column;
  }
}

.c-form__item + .c-form__item {
  margin-top: 8px;
}

.c-form__ssl_ttl {
  font-weight: 700;
  font-size: 12px;
}
.c-form__ssl_ttl::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../img/ssl_icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  margin-right: 4px;
}
#next_msg {
  margin-top: 10px;
  font-size: 13px;
}
.c-form__btn {
  width: 100%;
  max-width: 400px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: block;
  padding: 15px 0;
  text-align: center;
  letter-spacing: 1px;
  appearance: none;
  background-color: #f54848;
  border: none;
  border-bottom: 4px solid #a81300;
  border-radius: 50px;
  margin: 20px auto 0;
  cursor: pointer;
  transition: opacity .3s;
}
.c-form__btn:hover {
  opacity: .8;
}
.c-form__btn.disable {
  margin-top: 20px;
  color: #fff;
  text-shadow: -2px -1px 2px #a8a8a8;
  background: #cfcfcf;
  border-bottom: none;
}

@media screen and (min-width: 861px){
  .c-form__btn {
    margin: 0 auto;
  }
  .c-form__btn#next_btn {
    display: none;
  }
}

input, select, .dummy_select {
  font-size: 16px;
}
#ssl_information_footer_form {
  margin-top: 10px;
}
#ssl_information_footer_form p {
  line-height: 1.25;
  font-size: 11px;
}

#pref_id option {
  font-size: 16px;
}