@charset "UTF-8";

/*-----------------------------------

	reset(form用)

-----------------------------------*/
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  display: none;
}
input[type="submit"],
input[type="button"],
label,
button,
select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

@font-face {
  font-family: "din-pro";
  src: url("../font/D-DIN-PRO-700-Bold.woff") format("woff");
}
.din_pro {
  font-family: "din-pro";
  font-weight: 700;
}

/*-----------------------------------

	estimate_common

-----------------------------------*/
#contents {
  counter-reset: number;
}
section:not(:last-of-type) {
  padding-bottom: 20px;
}
section:last-of-type {
  margin-bottom: 80px;
}
section .box {
  background: #fff2e7;
  border-radius: 10px;
  padding: 20px 30px;
}
section .box h2 {
  padding-left: 70px;
  line-height: 50px;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  counter-increment: number;
}
section .box h2::before {
  content: counter(number);
  font-size: 26px;
  color: #fff;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: #f16d00;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
section .box h2 .color {
  color: #f16d00;
}
@media screen and (max-width: 640px) {
  section:not(:last-of-type) {
    padding-bottom: 10px;
  }
  section:last-of-type {
    margin-bottom: 40px;
  }
  section .contents_inner {
    width: 100%;
  }
  section .box {
    border-radius: 0;
    padding: 20px;
  }
  section .box h2 {
    padding-left: 40px;
    line-height: 1;
    font-size: 14px;
  }
  section .box h2::before {
    font-size: 12px;
    width: 26px;
    height: 26px;
    line-height: 26px;
  }
}
/*-----------------------------------

	meter

-----------------------------------*/
#meter {
  position: fixed;
  top: 250px;
  right: 0;
  background: #f16d00;
  border-radius: 10px 0 0 10px;
  padding: 15px 10px;
  z-index: 99;
  color: #fff;
}
#meter .ttl {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 10px;
}
#meter .meter_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5px;
}
#meter .meter_wrap .value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
}
#meter .meter_wrap .scale_wrap {
  width: 35px;
  height: 180px;
  border-radius: 3px;
  padding: 3px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
#meter .meter_wrap .scale_wrap .scale_inner {
  width: 100%;
  background: #ffdd3d;
  border-radius: 3px;
}
#meter .meter_wrap .scale_wrap .scale_inner.full {
  background: #d80c18;
}
@media screen and (max-width: 640px) {
  #meter {
    top: 130px;
    padding: 10px 5px;
  }
  #meter .ttl {
    font-size: 11px;
    margin-bottom: 5px;
  }
  #meter .meter_wrap .value {
    font-size: 10px;
  }
  #meter .meter_wrap .scale_wrap {
    width: 24px;
    height: 126px;
    padding: 2px;
  }
}
/*-----------------------------------

	estimate01_block

-----------------------------------*/
#estimate01_block .box {
  position: relative;
}
#estimate01_block select {
  background: #fff url(../img/estimate/estimate_arrow.png) no-repeat
    calc(100% - 20px) center/12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  text-align: center;
  padding: 20px 40px 20px 20px;
  width: 350px;
  border-radius: 25px;
  color: #000;
}
@media screen and (max-width: 840px) {
  #estimate01_block select {
    width: 250px;
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  #estimate01_block select {
    background: #fff url(../img/estimate/estimate_arrow.png) no-repeat
      calc(100% - 15px) center/12px;
    position: static;
    transform: translateY(0);
    font-size: 14px;
    width: 240px;
    display: block;
    margin: 15px 0 0 40px;
  }
}

/*-----------------------------------

	estimate02_block

-----------------------------------*/
/* #estimate02_block .box {
	margin-bottom: 20px;
} */
#estimate02_block .estimate02_inner {
  padding-bottom: 30px;
  position: relative;
}
#estimate02_block .estimate02_inner_wrap {
  margin-top: 20px;
}
#estimate02_block .estimate02_inner h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}
#estimate02_block .estimate02_inner .estimate02_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box {
  width: 16.66%;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  padding: 20px 10px;
  text-align: center;
  position: relative;
}
#estimate02_block
  .estimate02_inner
  .estimate02_wrap
  .estimate02_wrap_box:nth-child(-n + 6) {
  border-top: 1px solid #cccccc;
}
#estimate02_block
  .estimate02_inner
  .estimate02_wrap
  .estimate02_wrap_box:first-of-type {
  border-left: 1px solid #cccccc;
}
#estimate02_block
  .estimate02_inner
  .estimate02_wrap
  .estimate02_wrap_box:nth-of-type(6n + 1) {
  border-left: 1px solid #cccccc;
}
#estimate02_block
  .estimate02_inner
  .estimate02_wrap
  .estimate02_wrap_box:nth-of-type(n + 7) {
  display: none;
}
#estimate02_block
  .estimate02_inner
  .estimate02_wrap
  .estimate02_wrap_box.active {
  outline: 2px solid #f16d00;
  outline-offset: -1px;
}
#estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box .ttl {
  height: 40px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  white-space: pre-line;
}
#estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box img {
  width: 80px;
  height: auto;
  margin-bottom: 5px;
}
#estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box .ex {
  width: 100%;
  font-size: 12px;
  height: 24px;
  line-height: 1;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.number-spinner-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
.number-spinner-wrap input::-webkit-outer-spin-button,
.number-spinner-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.number-spinner-wrap input[type="number"] {
  -moz-appearance: textfield;
}
.number-spinner-wrap .spinner {
  width: 25px;
  height: 25px;
  background: #cccccc;
  border-radius: 50%;
  color: #fff;
  line-height: 25px;
  text-align: center;
}
.estimate02_wrap_box .number-spinner-wrap input {
  border: 1px solid #cccccc;
  border-radius: 5px;
  width: 60px;
  text-align: right;
  line-height: 1;
  padding: 5px 10px;
  font-size: 16px;
}
.estimate02_wrap_box.active .number-spinner-wrap input {
  border: 1px solid #ffab65;
}
#estimate02_block .estimate02_inner .more {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  text-align: right;
  padding-right: 35px;
  width: 110px;
  height: 25px;
  position: absolute;
  top: 5px;
  right: 0;
}
#estimate02_block .estimate02_inner .more::before {
  content: "もっと表示";
}
#estimate02_block .estimate02_inner .more.active::before {
  content: "とじる";
}
#estimate02_block .estimate02_inner .more::after,
#estimate02_block .estimate02_inner .more.active::after {
  width: 25px;
  height: 25px;
  line-height: 25px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
#estimate02_block .estimate02_inner .more::after {
  content: "+";
  background: #f16d00;
}
#estimate02_block .estimate02_inner .more.active::after {
  content: "-";
  background: #ffab65;
}
@media screen and (max-width: 1090px) {
  #estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box {
    padding: 20px 10px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    .ttl {
    height: 35px;
    font-size: 14px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    img {
    width: 70px;
    height: 70px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    .ex {
    bottom: 60px;
  }
  .number-spinner-wrap {
    gap: 5px;
  }
  .estimate02_wrap_box .number-spinner-wrap input {
    width: 50px;
    padding: 3px 5px;
  }
}
@media screen and (max-width: 840px) {
  #estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box {
    width: 25%;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-child(-n + 6) {
    border-top: none;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-child(-n + 4) {
    border-top: 1px solid #cccccc;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(6n + 1) {
    border-left: none;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(4n + 1) {
    border-left: 1px solid #cccccc;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(n + 7) {
    display: block;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(n + 5) {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  #agreement_block {
    padding-bottom: 40px;
  }
  #estimate02_block .estimate02_inner .estimate02_wrap .estimate02_wrap_box {
    width: 33.33%;
    padding: 10px 5px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-child(-n + 4) {
    border-top: none;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-child(-n + 3) {
    border-top: 1px solid #cccccc;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(4n + 1) {
    border-left: none;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(3n + 1) {
    border-left: 1px solid #cccccc;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    .ttl {
    height: 30px;
    font-size: 12px;
    margin-bottom: 5px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box
    .ex {
    font-size: 10px;
    height: 20px;
    bottom: 40px;
  }
  .number-spinner-wrap .spinner {
    width: 20px;
    height: 20px;
    line-height: 20px;
  }
  #estimate02_block .estimate02_inner .more {
    font-size: 12px;
    line-height: 50px;
    padding-right: 50px;
    width: 100%;
    height: 50px;
    position: relative;
    top: 0;
    background: #fafafa;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(n + 5) {
    display: block;
  }
  #estimate02_block
    .estimate02_inner
    .estimate02_wrap
    .estimate02_wrap_box:nth-of-type(n + 7) {
    display: none;
  }
}

/*-----------------------------------

	estimate03_block

-----------------------------------*/
#estimate03_block {
  padding-bottom: 80px;
}
@media screen and (max-width: 640px) {
  #estimate03_block {
    padding-bottom: 40px;
  }
  #estimate03_block .box h2 {
    line-height: 1.4;
  }
}

/*-- intro --*/
#estimate03_block .intro {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 80px;
  margin-top: 20px;
  margin-bottom: 50px;
}
#estimate03_block .intro ul li span {
  font-size: 20px;
  font-weight: 700;
  display: inline-block;
}
#estimate03_block .intro .left ul li {
  white-space: nowrap;
}
#estimate03_block .intro .left ul li .bold {
  width: 3.5em;
}
#estimate03_block .intro .left ul li .color {
  color: #f16d00;
  margin-right: 10px;
}
#estimate03_block .intro .right {
  padding-left: 80px;
  position: relative;
}
#estimate03_block .intro .right::before {
  content: "お得";
  font-weight: 900;
  color: #fff;
  line-height: 60px;
  text-align: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #d80c18;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
#estimate03_block .intro .right ul li .bold {
  width: 5em;
}
#estimate03_block .intro .right ul li .color {
  color: #d80c18;
  margin-right: 10px;
}
#estimate03_block .intro .right .note {
  font-size: 12px;
}
@media screen and (max-width: 1090px) {
  #estimate03_block .intro {
    gap: 40px;
  }
}
@media screen and (max-width: 840px) {
  #estimate03_block .intro {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
}
@media screen and (max-width: 640px) {
  #estimate03_block .intro {
    width: 90%;
    margin: 10px auto 30px;
  }
  #estimate03_block .intro ul li span {
    font-size: 12px;
  }
  #estimate03_block .intro .right {
    padding-left: 45px;
  }
  #estimate03_block .intro .right::before {
    line-height: 38px;
    width: 38px;
    height: 38px;
  }
  #estimate03_block .intro .right .note {
    font-size: 10px;
  }
  #estimate03_block .calendar {
    border-top: 1px solid #e5e5e5;
  }
}

/*-- calendar --*/
#estimate03_block .calendar .monthArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
}
#estimate03_block .calendar .monthArea button {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
}
#estimate03_block .calendar .monthArea button::before {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  pointer-events: none;
  z-index: -1;
}
#estimate03_block .calendar .monthArea button.prev::before {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
#estimate03_block .calendar .monthArea button.next::before {
  right: 50%;
  transform: translate(50%, -50%) rotate(-135deg);
}
#estimate03_block .calendar .monthArea .month {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
#estimate03_block .calendar .table_scroll {
  margin-bottom: 10px;
  overflow-x: scroll;
}
#estimate03_block .calendar table {
  width: 100%;
  border-top: 1px solid #e5e5e5;
  line-height: 1;
  white-space: nowrap;
}
#estimate03_block .calendar table tr {
  border-bottom: 1px solid #e5e5e5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#estimate03_block .calendar table th {
  width: 14.28%;
  padding: 15px 0;
  text-align: center;
}
#estimate03_block .calendar table td {
  padding: 15px 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 14.28%;
  min-width: 140px;
}
#estimate03_block .calendar table td .date {
  text-align: center;
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  margin: 0 auto 10px;
}
#estimate03_block .calendar table td.today .date {
  width: 32px;
  height: 32px;
  background-color: #ffdd3d;
  border-radius: 50%;
}
#estimate03_block .calendar table td ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  gap: 5px;
}
#estimate03_block .calendar table td ul li {
  width: 100%;
}
#estimate03_block .calendar table td ul li.spacer {
  height: 36px;
}
#estimate03_block .calendar table td.holiday ul li {
  font-size: 14px;
  color: #7f7f7f;
  text-align: center;
}
#estimate03_block .calendar table td ul li label {
  background: #fff8d8;
  padding: 10px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 5px;
  min-width: 140px;
}
#estimate03_block .calendar table td ul li label .time {
  font-size: 12px;
}
#estimate03_block .calendar table td.inactive ul li label {
  background: #f8f8f8;
  cursor: default;
}
#estimate03_block .calendar table td ul li.full label {
  background: #dddddd;
  cursor: default;
}
input.date_item_radio:checked + label.date_item_rabel {
  background: #f16d00 !important;
  color: #fff;
}
input.date_item_radio:checked + label.date_item_rabel .price {
  text-decoration: underline;
}
#estimate03_block .calendar .note {
  text-align: right;
  font-size: 12px;
}
@media screen and (max-width: 640px) {
  #estimate03_block .calendar .monthArea {
    width: 90%;
    margin: 15px auto;
  }
  #estimate03_block .calendar .monthArea .month {
    font-size: 20px;
  }
  #estimate03_block .calendar table td {
    min-width: 125px;
  }
  #estimate03_block .calendar table td .date {
    font-size: 16px;
    line-height: 28px;
  }
  #estimate03_block .calendar table td.today .date {
    width: 28px;
    height: 28px;
  }
  #estimate03_block .calendar table td ul li label {
    min-width: 125px;
  }
  #estimate03_block .calendar .note {
    font-size: 10px;
  }
  #estimate03_block .calendar table td ul li.spacer {
    height: 32px;
  }
}

/*-----------------------------------

	estimate04_block

-----------------------------------*/
#estimate04_block .estimate_box {
  border-radius: 10px;
  overflow: hidden;
}
#estimate04_block .estimate_box h2 {
  display: block;
  background: #f16d00;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 20px 0;
}
#estimate04_block .estimate_box .estimate_box_inner {
  padding: 30px 0 50px;
  background: url(../img/estimate/estimate_box_bg.png) center/10px;
}
#estimate04_block .white_box {
  max-width: 900px;
  width: 90%;
  margin: 0 auto 25px;
  background: #fff;
  border-radius: 5px;
  padding: 20px 30px 40px;
}
#estimate04_block .white_box table {
  width: 100%;
  margin-bottom: 10px;
}
#estimate04_block .white_box table tr:not(:last-of-type) {
  border-bottom: 1px solid #e5e5e5;
}
#estimate04_block .white_box table th {
  text-align: left;
  padding: 20px 0;
  width: 8em;
  font-size: 18px;
}
#estimate04_block .white_box table td {
  padding: 20px 0;
  width: calc(100% - 8em);
}
#estimate04_block .white_box table td .date {
  margin-right: 20px;
}
#estimate04_block .white_box table td.items {
  position: relative;
}
#estimate04_block .white_box table td.items ul li {
  display: flex;
  align-items: center;
}
#estimate04_block .white_box table td.items .item {
  display: inline-block;
  width: 230px;
}
#estimate04_block .white_box table td.items .total {
  position: absolute;
  bottom: 20px;
  right: 0;
  font-size: 20px;
  font-weight: 700;
}
#estimate04_block .white_box table td.items .item_delete_btn {
  color: #f16d00;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-left: 8px;
  opacity: 0.7;
  transition: opacity 0.15s;
}
#estimate04_block .white_box table td.items .item_delete_btn:hover {
  opacity: 1;
}
#estimate04_block .white_box table td .discount_box {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  flex-direction: column;
}
#estimate04_block .white_box table td .discount_box .discount_text {
  display: inline-block;
  font-weight: 700;
  color: #d80c18;
  border-bottom: 1px solid #d80c18;
  line-height: 1;
  padding-bottom: 10px;
}
#estimate04_block .white_box table td .discount_box .discount_text .base_text {
  font-size: 22px;
}
#estimate04_block
  .white_box
  table
  td
  .discount_box
  .discount_text
  .discount_rate {
  font-size: 46px;
  margin-left: 5px;
}
#estimate04_block .white_box table td .discount_box .discount_text .percent {
  font-size: 31px;
  margin-left: 5px;
}
#estimate04_block .white_box table td .discount_box .discount_text .off {
  font-size: 32px;
  margin-left: 5px;
}
#estimate04_block .white_box table td .discount_box dl {
  display: flex;
  flex-flow: row wrap;
  font-weight: 700;
  margin-top: 20px;
  line-height: 1;
  justify-content: flex-end;
}
#estimate04_block .white_box table td .discount_box dl dt {
  width: calc(100% - 160px);
  text-align: right;
}
#estimate04_block .white_box table td .discount_box dl dt:not(:first-of-type) {
  margin-top: 15px;
}
#estimate04_block .white_box table td .discount_box dl dd:not(:first-of-type) {
  margin-top: 15px;
}
#estimate04_block .white_box table td .discount_box dl dt .base_text {
  font-size: 18px;
  color: #f16d00;
}
#estimate04_block .white_box table td .discount_box dl dt .discount_rate_box {
  display: inline-block;
  width: 89px;
  height: 28px;
  border-radius: 5px;
  background: #f16d00;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-left: 5px;
  padding-top: 2px;
}
#estimate04_block
  .white_box
  table
  td
  .discount_box
  dl
  dt
  .discount_rate_box
  .discount_rate {
  font-size: 24px;
}
#estimate04_block
  .white_box
  table
  td
  .discount_box
  dl
  dt
  .discount_rate_box
  .percent {
  font-size: 15px;
}
#estimate04_block
  .white_box
  table
  td
  .discount_box
  dl
  dt
  .discount_rate_box
  .off {
  font-size: 16px;
}
#estimate04_block .white_box table td .discount_box dl dd {
  font-size: 20px;
  font-weight: 700;
  width: 160px;
  text-align: right;
}
#estimate04_block .white_box table td .discount_box dl dd .line_through {
  text-decoration: line-through;
}
#estimate04_block .white_box table td .discount_box dl dd .orange {
  color: #f16d00;
}
#estimate04_block .white_box table td .total_price_box {
  display: flex;
  flex-direction: column;
  align-items: end;
  color: #d80c18;
  font-weight: 700;
  margin-top: 20px;
  line-height: 1;
}
#estimate04_block .white_box table td .total_price_box .total_price_text {
  font-size: 20px;
}
#estimate04_block
  .white_box
  table
  td
  .total_price_box
  .total_price_text
  .price_num {
  font-size: 50px;
}
#estimate04_block
  .white_box
  table
  td
  .total_price_box
  .total_price_text
  .price {
  display: inline-block;
  margin-left: 30px;
}
#estimate04_block .white_box table td .total_price_box .tax_excluded {
  font-size: 16px;
  margin-right: -0.5em;
  margin-top: 10px;
}

/* #estimate04_block .white_box table td.approximation .taxexcluded {
	font-size: 16px;
} */
#estimate04_block .white_box .note {
  font-size: 12px;
}
#estimate04_block .estimate_box .btnArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
}
#estimate04_block .estimate_box .btnArea .left .redo {
  width: 192px;
  height: 44px;
  background-color: #dddddd;
  background-image: url(../img/estimate/estimate_icon_redo.png);
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: 16px;
  font-size: 16px;
  font-weight: normal;
  line-height: 42px;
  padding-left: 40px;
  border-radius: 40px;
}
#estimate04_block .estimate_box .btnArea .right {
  width: 410px;
}
#estimate04_block .estimate_box .btn_box .apply {
  display: block;
  width: 95%;
  max-width: 640px;
  height: 100px;
  font-size: 30px;
  font-weight: bold;
  line-height: 100px;
  color: #fff;
  text-align: center;
  background-color: #d80c18;
  background-image: url(../img/estimate/arrow_forward_big.svg);
  background-repeat: no-repeat;
  background-position: center right 40px;
  border-radius: 20px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}
#estimate04_block .estimate_box .banner_box {
  display: block;
  width: 95%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  position: relative;
}
#estimate04_block .estimate_box .banner_box .before_text {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 87.5px;
  height: 87.5px;
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  transform: translate(-35%, -37%) rotate(-13deg);
  background: #f16d00;
  border-radius: 50%;
}

#estimate04_block .estimate_box .btnArea .right .login {
  display: block;
  width: 100%;
  height: 58px;
  font-size: 20px;
  font-weight: 700;
  color: #f16d00;
  line-height: 58px;
  text-align: center;
  border-radius: 40px;
  border: 1px solid #f16d00;
  background: #fff;
}
@media screen and (max-width: 840px) {
  #estimate04_block .white_box table td.items .item {
    width: 160px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    .discount_text
    .base_text {
    font-size: 18px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    .discount_text
    .discount_rate {
    font-size: 40px;
  }
  #estimate04_block .white_box table td .discount_box .discount_text .percent {
    font-size: 25px;
  }
  #estimate04_block .white_box table td .discount_box .discount_text .off {
    font-size: 26px;
  }
  #estimate04_block
    .white_box
    table
    td
    .total_price_box
    .total_price_text
    .price_num {
    font-size: 40px;
  }
  #estimate04_block .estimate_box .banner_box .before_text {
    width: 65px;
    height: 65px;
    font-size: 14px;
  }
  #estimate04_block .estimate_box .btn_box .apply {
    height: 80px;
    font-size: 25px;
    line-height: 80px;
  }
  #estimate04_block .estimate_box .btnArea .right {
    width: 300px;
  }
  #estimate04_block .estimate_box .btnArea .right .apply {
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    padding: 30px 20px 30px 0;
    background: #f16d00 url(../img/common/white_arrow.png) no-repeat
      calc(100% - 30px) center/16px;
    border-radius: 40px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 640px) {
  #estimate04_block .contents_inner {
    width: 90%;
  }
  #estimate04_block .estimate_box {
    border-radius: 0;
    overflow: initial;
  }
  #estimate04_block .estimate_box h2 {
    font-size: 18px;
    padding: 10px 0;
    border-radius: 5px 5px 0 0;
  }
  #estimate04_block .estimate_box .estimate_box_inner {
    padding: 0;
    background: none;
  }
  #estimate04_block .white_box {
    width: 100%;
    border: 1px solid #f16d00;
    border-radius: 0 0 5px 5px;
    margin: 0 auto 30px;
    padding: 10px 20px 20px 20px;
  }
  #estimate04_block .white_box table th {
    display: block;
    width: 100%;
    padding: 10px 0 0 0;
    font-size: 14px;
  }
  #estimate04_block .white_box table td {
    display: block;
    width: 100%;
    padding: 0 0 10px 0;
  }
  #estimate04_block .white_box table td.items .item {
    min-width: 120px;
    width: auto;
  }
  #estimate04_block .white_box table td.items .item_delete_btn {
    font-size: 14px;
  }
  #estimate04_block .white_box table td.items .total {
    position: static;
    font-size: 14px;
    text-align: right;
  }
  #estimate04_block .white_box table td.approximation {
    font-size: 20px;
  }
  #estimate04_block .white_box table td.approximation .taxexcluded {
    font-size: 12px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    .discount_text
    .base_text {
    font-size: 15px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    .discount_text
    .discount_rate {
    font-size: 32px;
  }
  #estimate04_block .white_box table td .discount_box .discount_text .percent {
    font-size: 17px;
  }
  #estimate04_block .white_box table td .discount_box .discount_text .off {
    font-size: 18px;
  }
  #estimate04_block .white_box table td .discount_box dl {
    width: 100%;
    max-width: 100%;
  }
  #estimate04_block .white_box table td .discount_box dl dt {
    width: 63%;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    dl
    dd:not(:first-of-type) {
    margin-top: 12px;
  }
  #estimate04_block .white_box table td .discount_box dl dt .discount_rate_box {
    width: 70px;
    height: 23px;
  }
  #estimate04_block .white_box table td .discount_box dl dt .base_text {
    font-size: 14px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    dl
    dt
    .discount_rate_box
    .discount_rate {
    font-size: 18px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    dl
    dt
    .discount_rate_box
    .percent {
    font-size: 13px;
  }
  #estimate04_block
    .white_box
    table
    td
    .discount_box
    dl
    dt
    .discount_rate_box
    .off {
    font-size: 14px;
  }
  #estimate04_block .white_box table td .discount_box dl dt {
    font-size: 14px;
  }
  #estimate04_block .white_box table td .discount_box dl dd {
    font-size: 16px;
    width: 37%;
  }
  #estimate04_block
    .white_box
    table
    td
    .total_price_box
    .total_price_text
    .price_num {
    font-size: 35px;
  }
  #estimate04_block .white_box table td .total_price_box .total_price_text {
    font-size: 18px;
  }
  #estimate04_block .white_box table td .total_price_box .tax_excluded {
    font-size: 14px;
  }
  #estimate04_block .estimate_box .banner_box .before_text {
    font-size: 10px;
    width: 50px;
    height: 50px;
  }
  #estimate04_block .white_box .note {
    font-size: 10px;
  }
  #estimate04_block .estimate_box .btn_box .apply {
    font-size: 18px;
    height: 58px;
    line-height: 58px;
    background-position: center right 9%;
    background-size: 20px;
  }
  #estimate04_block .estimate_box .btnArea {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    gap: 30px;
    width: 250px;
  }
  #estimate04_block .estimate_box .btnArea .left .redo {
    font-size: 14px;
    background-size: 14px;
    padding-left: 30px;
  }
  #estimate04_block .estimate_box .btnArea .right {
    width: 100%;
  }
  #estimate04_block .estimate_box .btnArea .right .apply {
    font-size: 16px;
    padding: 20px 15px 20px 0;
    background: #f16d00 url(../img/common/white_arrow.png) no-repeat
      calc(100% - 20px) center/16px;
    border-radius: 40px;
    margin-bottom: 15px;
  }
  #estimate04_block .estimate_box .btnArea .right .login {
    font-size: 16px;
    /* padding: 20px 0; */
  }
}

#error_modal {
  position: fixed;
  top: 10px;
  right: 10px;
  background: crimson;
  border-radius: 10px;
  padding: 20px 40px 20px 20px;
  z-index: 9999;
}
#error_modal .modal_close_btn_wrap {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
#error_modal .modal_close_btn_wrap button {
  color: #fff;
}
#error_modal .modal_inner ul {
  color: #fff;
  list-style: circle;
  font-size: 13px;
}
@media screen and (max-width: 640px) {
  #error_modal {
    width: 95%;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 10px;
    transform: translateX(-50%);
  }
}
