@charset "utf-8";
/* CSS Document */

/**セミオーダーフォーム関係**/
.cols {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}
.cols .col1 {
  width: calc(100% - 20px);
  margin: 10px;
}
.cols .col2 {
  width: calc(50% - 20px);
  margin: 10px;
}
.cols .col3 {
  width: calc(33.3% - 20px);
  margin: 10px;
}

.page-template-page-semi_order .content * {
  box-sizing: border-box;
  transition: all 0.25s;
}

.page-template-page-semi_order
  .semiorder_btn_wrapper
  p
  .page-template-page-semi_order
  #article-content
  #main
  p {
  font-size: 14px;
  line-height: 2;
}
.page-template-page-semi_order div.wpcf7-mail-sent-ok {
  text-align: center;
  font-size: 18px;
  padding: 15px;
  font-weight: bold;
}

.semiorder_top img {
  margin: 30px auto 60px !important;
  width: 700px;
}

.semiorder_top {
  /* text-align: center; */
  margin-top: 40px;
}
.semiorder_top .semiorder_btn_wrapper {
  margin-top: 60px;
}
.page-template-page-semi_order h3 {
  margin: 60px auto 30px !important;
  letter-spacing: 1px;
  line-height: 1.6 !important;
}
.page-template-page-semi_order .semiorder_top h3 {
  border-left: none !important;
  padding: 0 !important;
}
.semiorder_btn_wrapper {
  display: flex;
  justify-content: center;
}
#total_step4 {
  margin-top: 1px;
}

.btn_prev,
.btn_next,
#btn_save {
  display: block;
  width: 250px;
  padding: 15px;
  margin: 20px 10px;
  text-align: center;
  font-size: 20px;
  border: solid 1px #ccc;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  height: 62px;
}
.btn_prev:hover,
.btn_next:hover,
#btn_save:hover {
  color: #fff;
  background: #144328;
}
.btn_prev::before {
  content: "<";
  margin-right: 10px;
}
.btn_next::after {
  content: ">";
  margin-left: 10px;
}

.quick_save_wrapper {
  display: flex;
  justify-content: flex-end;
}

#btn_quick_save {
  display: block;
  width: 250px;
  padding: 15px;
  margin: 20px 10px;
  text-align: center;
  font-size: 20px;
  border: solid 1px #ccc;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  height: 62px;
}

#btn_quick_save:hover {
  color: #fff;
  background: #144328;
}

.page-template-page-semi_order .col1 {
  padding: 20px;
  min-height: 128px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  border: solid 1px #ccc;
}
.page-template-page-semi_order .col2,
#size-clone {
  padding: 20px;
  min-height: 128px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  border: solid 1px #ccc;
}
.page-template-page-semi_order h4 {
  font-size: 18px;
  font-weight: normal;
  text-align: center;
}
.page-template-page-semi_order .cols {
  margin: 20px;
}
.page-template-page-semi_order .col2 select,
.page-template-page-semi_order .col2 input,
#size-clone select,
#size-clone input {
  width: 100%;
  padding: 10px;
  border: solid 1px #dedede;
}

.page-template-page-semi_order #article-content #main p.anquete_note {
  font-size: 1em;
}

.page-template-page-semi_order .col3 {
}

.semiorder_wrap {
  position: relative;
  min-height: auto;
}

@keyframes fade-from-none {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.semiorder_steps .semiorder_preview::after {
  font-size: 3rem;
  justify-content: center;
  align-items: center;
  content: "読み込み中";
  background: #2225;
  width: 100%;
  height: 100%;
  position: relative;
  color: white;
  transition: all 500ms;
  display: flex;
  opacity: 0;
  z-index: -100;
  text-shadow: 0 0 10px #222;
}

.semiorder_steps.loading .semiorder_preview::after {
  opacity: 1;
  z-index: 100;
}

.semiorder_steps {
  max-height: 0;
  overflow: hidden;
  position: relative;
}
.semiorder_steps.show {
  max-height: 6000px;
}
.semiorder_steps h2 {
  text-align: center;
  margin-bottom: 40px !important;
}
.semiorder_step1.show {
  /* max-height: 700px; */
  margin: 80px auto;
}
.semiorder_step1 .col2,
#size-clone {
  border-radius: 10px;
}
.estimate_flow li {
  position: relative;
  padding: 10px 35px;
  border: solid 1px #dcdedd;
  display: block;
  width: 100%;
  margin: 30px 0;
  border-radius: 5px;
  font-size: 14px;
}
.estimate_flow li + li::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 15px 0 15px;
  border-color: #cccccc transparent transparent transparent;
  position: absolute;
  left: 60px;
  top: -20px;
  transform: translateX(-50%);
}
.semiorder_top dl {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0 0 20px;
}
.semiorder_top dl dt {
  width: 60px;
  padding: 0;
  line-height: 24px;
  /* padding-top: 15px; */
}
.semiorder_top dl dd {
  width: calc(100% - 100px);
  line-height: 24px;
  padding: 0;
}
.semiorder_preview {
  padding: 8px;
  border: solid 1px #cccccc;
  width: 100%;
  padding: 0;
  background: -moz-linear-gradient(top, #fff 0%, #eee 100%);
  background: -webkit-linear-gradient(top, #fff 0%, #eee 100%);
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
  position: relative;
  height: 530px;
}
.semiorder_preview img,
.semiorder_preview svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#prev-root > g:not(.selected) {
  filter: url(#grayscale);
  fill-opacity: 0.2;
}

.course_select {
  margin-top: 24px;
}

#additional_select > div,
.course_select > div {
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
#additional_select > div:hover,
.course_select > div:hover {
  background: #bbffbb;
}
#additional_select > div.selected,
.course_select > div.selected {
  background: #dfd;
  border-color: #144328;
}
/* .course_select > div::before{
	content: "Pick UP!";
	color: #fff;
	font-weight: bold;
	position: absolute;
	display: block;
	background: #144328;
	padding: 3px 8px;
	top: 0;
	left: 0;
	transform: translate(-25%, -25%) rotate(-20deg);
} */
/* .course_select > div:last-of-type {
  height: 128px;
} */
/* .course_select > div:last-of-type::before{
	display: none;
} */

#additional_select h2 {
  margin: 24px auto;
}

#additional_select .select_name,
.course_select .course_name {
  font-size: 20px;
  margin-bottom: 0px;
  display: block;
}

.selected_parts {
  display: flex;
  flex-wrap: wrap;
  /* margin: 0px -5px 70px; */
  margin-bottom: 2px;
  cursor: pointer;
}
.selected_parts .parts {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* width: calc(100% - 5px); */
  width: 100%;
  border: solid 1px #ccc;
  position: relative;
  margin-bottom: -1px;
  box-sizing: border-box;
  line-height: 2.4;
}
.selected_parts .parts * {
  height: 100%;
}
.selected_parts .parts > div {
  padding: 15px;
  display: block;
  align-items: center;
}
.selected_parts .parts > div span {
  padding: 5px 8px;
  border: solid 2px #1c4c2f;
  margin-right: 6px;
  /* TODO: Spanにクラスつけるやつで対処したら戻す  */
  /* width: 140px; */
  width: 200px;
  display: inline-block;
  height: auto;
  line-height: 1;
  text-align: center;
  font-weight: bold;
  color: #1c4c2f;
  font-size: 0.8em;
}
.parts_name br + br {
  display: none;
}
.selected_parts .parts:hover > div + div {
  background: #dfd;
}
.parts .parts_header {
  font-weight: bold;
  display: flex;
  background: #1c4c2f;
  color: #fff;
  width: 149px;
  justify-content: center;
  align-items: center;
}

.semiorder_step3 tr,
.semiorder_step4 tr {
  border: solid 1px #ccc;
}

.semiorder_step3 th,
.semiorder_step4 th {
  background: #1c4c2f;
  color: #fff;
  width: 150px;
  padding: 15px;
  /* border: solid 1px #ccc; */
}

#total_step3 table td {
  text-align: right;
  font-size: 18px;
  color: #333;
}

#total_step4 table td {
  text-align: right;
  font-size: 18px;
  color: #333;
}

#total_step3 table td::after {
  content: "円";
  font-size: 1rem;
  margin-left: 3px;
  color: #333;
}

#total_step4 table td::after {
  content: "円";
  font-size: 1rem;
  margin-left: 3px;
  color: #333;
}

.semiorder_step3 td,
.semiorder_step4 td {
  padding: 15px;
  /* border: solid 1px #ccc; */
}
.parts p {
  display: none;
}
.parts .parts_name {
  display: block;
  flex: 1;
  font-size: 14px;
  position: relative;
}
.parts .parts_name:empty::before {
  content: "未選択";
}
.parts .parts_price,
#show-choice .parts_price {
  text-align: right;
  font-size: 18px;
  color: #333;
  bottom: 5px;
  right: 10px;
  width: 140px;
  justify-content: flex-end;
}
.parts .parts_price:empty::before {
  content: "-----";
  letter-spacing: 2px;
  color: #666;
}
.parts .parts_price::after,
#show-choice .parts_price::after {
  content: "円";
  font-size: 1rem;
  margin-left: 3px;
  color: #333;
}

#show-total {
  text-align: center;
  font-size: 2rem;
  color: #c00;
}

/* #parts_subtotal::before, #parts_subtotal_confirm::before {
	content: "小計: ";
	margin-left: 3px;
	color: #333;
}

#parts_taxtotal::before, #parts_taxtotal_confirm::before {
	content: "消費税: ";
	margin-left: 3px;
	color: #333;
}

.parts_total_area::before, #parts_total_confirm::before, .parts_total::before {
	content: "合計金額: ";
	margin-left: 3px;
	color: #333;
} */

/* #parts_taxtotal, #parts_taxtotal_confirm, #parts_subtotal, #parts_subtotal_confirm, #parts_total, #parts_total_confirm, .parts_total {
	text-align: center;
	font-size: 2rem;
	color: #c00;
	margin: 24px 0;
} */

/* .parts_total_area {
	text-align: center;
	font-size: 1.6rem;
	margin-left: 3px;
	color: #333;
} */

/* #parts_taxtotal::after, #parts_taxtotal_confirm::after, #parts_subtotal::after, #parts_subtotal_confirm::after, #parts_total::after, #parts_total_confirm::after, .parts_total::after {
	content: '円';
	font-size: 1rem;
	margin-left: 3px;
	color: #333;
}

#parts_undis::after {
	content: '円 → ';
}

#parts_undis:empty::after {
	content: '';
} */

.wpcf7-form table * {
  vertical-align: top;
}

.wpcf7-form table th {
  max-width: 100px;
}

.wpcf7-form table th,
.wpcf7-form table td {
  padding: 10px;
  vertical-align: middle;
}

.wpcf7-form table input,
.wpcf7-form table textarea {
  width: 100%;
  padding: 5px;
}

#modal * {
  box-sizing: border-box;
  font-size: 14px;
}
#modal {
  box-sizing: border-box;
}
#modal {
  display: block;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 40px 60px 100px;
  width: 890px;
  max-height: 80vh;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  height: 100%;
  position: relative;
}

.page #article-content #main #modal h3 {
  font-size: 16pt;
  text-align: left;
  display: block;
  line-height: 1.6;
  border-left: solid 3px hsl(0, 0%, 87%) !important;
}
.page #article-content #main #modal h3:first-child {
  margin-top: 20px !important;
}

#modal .choice {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#modal .choice label {
  width: calc(33.3% - 10px);
  margin: 5px;
  display: block;
}
#modal .choice label.not_selected {
  display: block;
  width: 100%;
}
#modal .choice label.not_selected > div {
  display: block;
  text-align: left;
}
#modal .choice label.not_selected input {
  margin-bottom: 0;
  margin-right: 12px;
}
#modal .choice label.not_selected .description {
  display: inline;
}
#modal .choice label > div {
  display: block;
  padding: 10px;
  border-bottom: none;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  height: 100%;
  text-align: center;
}

#modal .choice label > div.checked,
#modal .choice label > div.checked:hover {
  background: #dfd;
}
#modal .choice label > div:hover {
  background: #fffef1;
}

#modal .choice label:last-child > div {
}

#modal .choice label > div input {
  display: inline;
  margin-bottom: 12px;
}

#modal .choice label > div img {
  width: auto;
  height: 150px;
  display: block;
  margin: 0 auto 10px;
  max-width: 100%;
  object-fit: cover;
}

#modal .choice .description {
  font-size: 1rem;
  width: 100%;
  text-align: left;
}

#modal .choice .description > div {
  margin: 4px 0;
}

#modal .choice .description > div:nth-child(3) {
  font-size: 0.8rem;
  color: red;
  text-align: right;
}

#modal .choice .description > div:nth-child(3)::after {
  content: "円";
}

/* #modal .choice {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
} */

#modal-close,
.wpcf7-submit,
.btn_skip,
.btn_print {
  box-sizing: border-box;
  display: block;
  width: 250px;
  padding: 15px;
  margin: 20px 10px;
  text-align: center;
  font-size: 20px;
  border: solid 1px #ccc;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  height: 62px;
  color: #656565;
  background: #fff;
}
.wpcf7-submit {
  margin-top: 60px;
  width: 520px;
  position: relative;
  /* left: 10px; */
}

#modal-close {
  position: fixed;
  bottom: calc(10vh + 0px);
  left: 50%;
  margin-left: -125px;
}
#modal-close-upper {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
#modal-close-upper::before,
#modal-close-upper::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  position: absolute;
  top: 50%;
  left: 0;
}
#modal-close-upper::before {
  transform: rotate(45deg);
}
#modal-close-upper::after {
  transform: rotate(-45deg);
}
#modal-close:hover,
.wpcf7-submit:hover,
.btn_skip:hover,
.btn_print:hover {
  color: #fff;
  background: #144328;
}

#modal_overlay {
  display: none;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

#modal_overlay.show {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.semiorder_btn_wrapper p {
  margin: 0 !important;
}

.enable-after-sent {
  display: none;
}

.show-total-wrapper {
  font-size: 1.2rem !important;
  text-align: center;
}

.parts.spoke_error,
.parts.tire_error,
.parts.spoke_error:hover > div + div,
.parts.tire_error:hover > div + div {
  background: #ffeeee;
}
.tire_error .parts_name,
.spoke_error .parts_name {
  padding-top: 24px !important;
}
.tire_error .parts_name::before,
.spoke_error .parts_name::before {
  background: #c00;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 5px;
  top: 0;
  left: 0;
  font-weight: bold;
  position: absolute;
}
.tire_error .parts_name::before {
  content: "エラー : タイヤの大きさが一致しません";
}
.spoke_error .parts_name::before {
  content: "エラー : リムとハブの穴数が一致しません";
}
#parts_error {
  color: red;
  font-size: 1rem;
  text-align: center;
  margin: 12px 0;
}

#parts_message {
  font-size: 1rem;
  text-align: center;
  /* margin: 12px 0; */
  color: #fff;
  font-weight: bold;
  /* position: absolute; */
  background: #c00;
  padding: 2px 10px;
  /* left: 57%; */
  transform: rotate(20deg);
  bottom: -70px;
  font-size: 12px;
  position: relative;
  width: 90px;
  left: 590px;
}

#frame-svg .st0 {
  fill: #531332;
}

#frame-svg .st1 {
  fill: #99a5a8;
}

#frame-svg .st2 {
  fill: #313538;
}

#frame-svg .st3 {
  fill: #5e676a;
}

#frame-svg .st10,
#frame-svg .st18 {
  opacity: 0.5;
  fill: #fff;
}

#frame-svg .st18 {
  fill: #4f585b;
}

@media print {
  h3 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  h2 {
    display: none !important;
  }

  #header,
  #gnav,
  #footer,
  h1,
  h2,
  .breadCrumb,
  .semiorder_btn_wrapper {
    display: none;
  }
  .home #main,
  #article-content {
    background: none !important;
  }
  .semiorder_top {
    margin-top: 0;
  }
  /* #total_step3 .total_area, #total_step4 .total_area{
		margin-top: 40px !important;
	} */
  .pagetop {
    display: none;
  }
}

#modal .choice label.disabled {
  display: none;
}

#total_step3 .total_area,
#total_step4 .total_area {
  text-align: center;
  font-size: 1.4rem;
  color: #333;
}

#total_step3 .total_area_undis,
#total_step4 .total_area_undis {
  text-decoration: line-through;
  font-size: 1.6rem;
  color: #333;
}

#total_step3 .total_area_total,
#total_step4 .total_area_total {
  font-size: 2rem;
  color: #c00;
}

#total_step3 > div,
#total_step4 > div,
#discount_area {
  text-align: center;
  font-size: 1.4rem;
  margin-left: 3px;
  color: #333;
}

.semiorder_btn_wrapper.disable-after-sent {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#article-content #main p.parts_or_list_description {
  text-align: center;
  font-size: 1.2rem !important;
  line-height: 1.6;
  margin: 25px auto;
}

.semiorder_entry_discount {
  font-size: 1.6rem;
}

.semiorder_entry_discount_description {
  font-size: 1rem;
}

#discount_area {
  margin: 40px 0 24px;
}
#discount_area div:first-child {
  margin-bottom: 20px;
}

#parts_error {
  margin: 24px 0;
}

.total_area {
  margin: 40px;
}

h4 {
  margin: 32px 0 12px;
}

.col2 h4,
#size-clone h4 {
  margin-top: 0;
}

#article-content .content table.frame-size-table {
  width: 80%;
  border-collapse: collapse;
  border: 1px solid black;
}

.frame-size-table th,
.frame-size-table td {
  border: 1px solid black;
  padding: 15px;
  width: 120px;
}

.frame-size-table th {
  font-weight: bold;
  background: #1c4c2f;
  color: #fff;
}

.frame-size-table-wrapper {
  display: flex;
  justify-content: center;
}

.input-unit-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

.input-unit-wrapper > input {
  margin-right: 16px;
}

.choice label > div.disabled {
  background: #ddd;
}

#size-clone-wrapper {
  margin-top: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

#size-clone {
  width: 50%;
}

#parts_missing_item {
  display: flex;
  justify-content: center;
}

#parts_missing_item ul {
  font-size: 1rem;
  color: red;
  text-align: initial;
  width: 400px;
}

#parts_missing_item li::before {
  content: "・";
}

#package_selection_title {
  margin-top: 60px;
}

.course_select span {
  display: block;
}

.course_select .col1 {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#modal .choice.color_select label {
  width: 100%;
}

#modal .choice.color_select label > div {
  display: flex;
  align-items: center;
  line-height: 1;
}

#modal .choice.color_select label > div img {
  height: 80px;
  margin: 0 15px;
}

#modal .choice.color_select label > div .color_preview {
  min-width: 80px;
  max-width: 80px;
  height: 80px;
  margin: 0 15px;
}

#modal .choice.color_select label > div input {
  margin: 0;
  margin-left: 10px;
}

#modal .choice.color_select label {
  position: relative;
}

#modal .choice.color_select .description > div:nth-child(3) {
  position: absolute;
  right: 12px;
  bottom: 12px;
}
