@charset "utf-8";
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: flex-start;
}

/*
Contact
*/
#contact {
  width:100%;
  clear:both;
  margin:0px auto 0px auto;
}
h2.main {
  font-family: Open Sans;
  color: #fff;
  font-weight:600;
  line-height: 40px;
  text-align: center;
  display: block;
  margin: 0px;
  padding: 20px 10px;
  background:#333;
}
h2 span {
  font-size: 20px;
  padding-bottom:5px;
}
#contact h2.main span {
  border-bottom:2px solid #ffff00;
}


#contactBody {
  width:1000px;
  margin: 0px auto 0px auto;
  padding: 20px;
}
.contact_detail {
  margin-top: 20px;
}
.contact_detail h3 {
  background-color: #555;
  color: #fff;
  padding: 3px 5px;
  margin-bottom: 20px;
}
.contact_detail h4 {
  margin-top: 20px;
}

/* contact_flow */
#contactBody .contact_flow {
  margin-right: 15px;
  margin-left: 15px;
  padding: 10px 100px;
  align-items: center;
}
#contactBody .contact_flow p {
  color: #fff;
  background-color: #ccc;
  padding: 10px;
  width: 25%;
  text-align: center;
  font-weight: 700;
  margin-bottom: 0;
}
#contactBody .contact_flow p.active {
  background-color: #555;
}
#contactBody .post_check ,
#contactBody .post_button {
  text-align: center;
  padding: 20px;
}
#contactBody .post_check button ,
#contactBody .post_button button {
  padding: 5px 40px;
  border: 1px solid #ddd;
  border-radius: 5px;
  /* box-shadow: 0px 2px 0px 0px #ccc; */
  /* text-shadow: 0px 1px 1px #fff; */
  background-color: #FE9B1D;
  color: #fff;
  font-weight: bold;
}
#contactBody .post_check button:hover ,
#contactBody .post_button button:hover {
  opacity: 0.8;
}
#contactBody .post_button button.back {
  background-color: #777;
}
#contactBody .contact_detail p {
  margin-top: 6px;
  margin-bottom: 0;
}
/* contact_complete */
.contact_complete {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 100px;
  width: 100%;
  border: 3px solid #FDB102;
  border-radius: 5px;
  padding: 30px 50px;
}
.contact_complete p {
  
}
.contact_complete .title {
  color: #f00;
  font-weight: 700;
  font-size: 180%;
  margin-bottom: 15px;
}
.contact_complete .caution {
  width: 100%;
  margin: 20px auto;
  background-color: #eee;
  padding: 20px 50px;
  text-align: left;
}
.contact_complete .caution .title {
  font-size: 100%;
  margin-bottom: 0px;
}

/* form_parts */
.form_parts {
  padding: 10px;
}
.form_parts > label {
  width: 25%;
  text-align: right;
  padding-right: 20px;
  box-sizing: border-box;
  line-height: 34px;
}
.form_parts > div {
  width: 75%;
}
.form-control {
  display: block;
  width: 75%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
textarea.form-control {
  height: auto;
  min-height: 200px;
}
span .label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
  background-color: #777;
  margin-right: 10px;
}

/* product_info */
.product_info {
  margin-top: 20px;
  font-size: 14px;
  font-weight: bold;
}
.product_info .title {
  background-color: #555;
  color: #fff;
  padding: 3px 5px;
  margin-bottom: 20px;
}
.product_info .content .item_img {
  width: 25%;
}
.product_info .content .item_img img {
  width: 100%;
}
.product_info .content .info_list {
  width: 75%;
  padding-left: 20px;
}
.product_info .content .info_list .label_name {
  display: inline-block;
  width: 180px;
  vertical-align: top;
}
.product_info .content .info_list .text {
  display: inline-block;
  width: calc( 100% - 180px );
}

/* contact_mygarage_car */
.contact_mygarage_title {
  position: relative;
  padding-left: 30px;
}
.contact_mygarage_title .material-icons {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY( -50% );
  font-size: 24px;
}

.contact_mygarage_car {
  padding: 5px;
  list-style-type: none;
}
.contact_mygarage_car li {
  width: 75%;
}
.contact_mygarage_car li input {
  display: none;
}
.contact_mygarage_car li label {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px 5px 3px 30px;
  margin: 0 0 3px;
  cursor: pointer;
  position: relative;
}
.contact_mygarage_car li label::before {
  content: "\f372";
  font-family: "Ionicons";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY( -50% );
  font-size: 22px;
  color: #ccc;
}
.contact_mygarage_car li input:checked + label { /* check時 */
  background-color: #ffc376;
}
.contact_mygarage_car li input:checked + label::before { /* check時 */
  content: "\f373";
  font-family: "Ionicons";
  color: #333;
}
.contact_mygarage_car li label .mg_maker {

}
.contact_mygarage_car li label .mg_car_name {

}
.contact_mygarage_car li label .mg_period {
  font-size: 0.8rem;
}



@media screen and (max-width: 480px) {
  #contactBody {
    width:100%;
    padding: 10px;
  }
  #contactBody h2.main span {
    margin-left: 0;
  }
  #contactBody .title,
  #contactBody l .title {
    font-size: 18px;
  }
  #contactBody .item_img {
    width: 70%;
    margin: 0 auto 20px;
    float: none;
  }
  #contactBody .info_list {
    width: 100%;
  }
  #contactBody .info_list .label_name {
    width: 100%;
    margin-bottom: 2px;
  }
  #contactBody .info_list .text {
    width: 100%;
    margin-left: 5px;
  }
  #contactBody .post_check, 
  #contactBody .post_button {
    padding: 20px 0 20px;
    text-align: center;
  }

  /*  */
  #contactBody .contact_flow {
    padding: 0;
  }

  /* contact_complete */
  .contact_complete {
    margin-top: 20px;
    padding: 10px;
  }
  .contact_complete .title {
    font-size: 16px;
  }
  .contact_complete .caution {
    padding: 10px;
  }
  .contact_complete .caution p {
    font-size: 13px;
  }

  /* contact sp */
  #contactBody .contact_flow p {
    width: 20%;
  }
  .product_info .content.flex {
    flex-direction: column;
  }
  .product_info .content .info_list {
    padding-left:10px;
    padding-right: 10px;
  }
  #contactBody .info_list .label_name {
    margin-bottom: 0;
  }
  #contactBody .info_list .text {
    margin-left: 20px;
  }
  .form_parts.flex {
    flex-direction: column;
    padding: 0 10px 10px;
  }
  .form_parts > label {
    width: 100%;
    text-align: left;
  }
  .form_parts > div {
    width: 100%;
  }
  .form-control {
    width: 100%;
  }
  #contactBody .contact_detail p {
    padding-left: 30px;
  }
  #contactBody .contact_detail .contact_complete p {
    padding-left: 0;
  }

  /* contact_mygarage_car */
  .contact_mygarage_title {

  }
  .contact_mygarage_car li {
    width: 100%;
  }

}

