@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Rubik");
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

*:focus {
  outline: none;
}

a, area, button, [role=button], input:not([type=range]),
label, select, summary, textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@media only screen and (min-width: 768px) {
  .is_pc {
    display: block;
  }
  .is_sp {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  .is_pc {
    display: none;
  }
  .is_sp {
    display: block;
  }
}
.hide {
  display: none !important;
}

.main {
  margin-bottom: 200px;
}

/* ヘッダー */
.header {
  background: #353535;
  color: #fff;
  margin: 0 0 25px;
  padding: 20px 0;
}
@media screen and (min-width: 768px) {
  .header {
    padding: 30px 0;
  }
}
.header h1 {
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
    font-size: 40px;
  }
}

.l-container {
  padding: 0 16px;
  max-width: 1140px;
  margin: 0 auto;
}

.mitsumori {
  margin-bottom: 150px;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .mitsumori {
    margin-bottom: 180px;
    font-size: 16px;
  }
}
.mitsumori .row {
  margin: 0 -8px;
}
@media screen and (min-width: 768px) {
  .mitsumori .row {
    margin: 0 -12px;
  }
}
.mitsumori .col {
  padding: 0 10px;
}
@media screen and (min-width: 768px) {
  .mitsumori .col {
    padding: 0 12px;
  }
}

.btn-primary {
  background-color: #ff0022;
  border: 1px solid #ff0022;
}
.btn-primary:hover {
  background-color: rgba(255, 0, 34, 0.7);
  border: 1px solid rgba(255, 0, 34, 0.7);
}

.btn-dark {
  background-color: #353535;
  border: 1px solid #353535;
}
.btn-dark:hover {
  background-color: rgba(53, 53, 53, 0.7);
  border: 1px solid rgba(53, 53, 53, 0.7);
}

.text-primary {
  color: #ff0022 !important;
}

.explain {
  margin-bottom: 10px;
}
.explain__item {
  border: none;
}
.explain__icon {
  margin-right: 3px;
  width: 22px;
}
.explain .accordion-header {
  display: flex;
  justify-content: flex-end;
}
.explain__title {
  display: block;
  box-shadow: none !important;
  text-align: right;
  margin-bottom: 5px;
  padding: 5px 0 5px;
  color: #000 !important;
  background-color: #fff !important;
  font-weight: bold;
  font-size: 16px;
}
.explain__button-container .btn {
  font-size: 14px;
  padding: 10px 20px;
}
.explain__button-container {
  text-align: center;
}
@media screen and (min-width: 768px) {
  .explain__title {
    font-size: 18px;
    transition: opacity 300ms;
    opacity: 1;
  }
  .explain__title:hover {
    opacity: 0.7;
  }
  .explain__button-container {
    text-align: left;
  }
  .explain__button-container .btn {
    padding: 10px 80px;
  }
}
.explain__collapse {
  margin-bottom: 20px;
  padding: 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 768px) {
  .explain__collapse {
    padding: 10px 20px;
    margin-bottom: 40px;
  }
}
.explain__body {
  padding: 0 10px;
}
.explain__body p {
  margin-bottom: 0;
}
.explain__body p + p {
  margin-top: 1em;
}
.explain__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* パネルメニュー */
.mitsumori-menu__item {
  margin-bottom: 10px;
  border: none;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item:hover .mitsumori-menu__button {
    background-color: #fff;
  }
}
.mitsumori-menu__item:nth-child(even) .mitsumori-menu__collapse {
  left: calc(-1 * (100% + 20px));
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item:nth-child(3n+1) .mitsumori-menu__collapse {
    left: 0;
  }
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item:nth-child(3n+2) .mitsumori-menu__collapse {
    left: calc(-1 * (100% + 24px));
  }
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item:nth-child(3n) .mitsumori-menu__collapse {
    left: calc(-2 * (100% + 24px));
  }
}
.mitsumori-menu__item.is-selected .mitsumori-menu__button {
  border: 2px solid #ff0022;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item.is-selected .mitsumori-menu__button {
    border: 3px solid #ff0022;
  }
}
.mitsumori-menu__item--ls1 .mitsumori-menu__collapse {
  left: 0 !important;
}
.mitsumori-menu__item--ls2 .mitsumori-menu__collapse {
  left: calc(-1 * (100% + 16px)) !important;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__item--l1 .mitsumori-menu__collapse {
    left: 0 !important;
  }
  .mitsumori-menu__item--l2 .mitsumori-menu__collapse {
    left: calc(-1 * (100% + 16px)) !important;
  }
  .mitsumori-menu__item--l3 .mitsumori-menu__collapse {
    left: calc(-2 * (100% + 16px)) !important;
  }
}
.mitsumori-menu__card {
  position: relative;
  margin-bottom: 10px;
  box-shadow: none;
  border: none;
}
.mitsumori-menu__card-body {
  padding: 0;
}
.mitsumori-menu__button {
  flex-direction: column;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 5px !important;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #000;
  min-height: 190px;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__button {
    transition: all 300ms;
    font-size: 18px;
    min-height: 230px;
  }
}
.mitsumori-menu__button::after {
  display: none;
}
.mitsumori-menu__button[aria-expanded=true] {
  border: 2px solid #ff0022;
  background-color: #fff !important;
  box-shadow: none;
  color: #ff0022;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__button[aria-expanded=true] {
    border: 3px solid #ff0022;
  }
}
.mitsumori-menu__button[aria-expanded=true]::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px;
  border-bottom: 20px solid #ff0022;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  content: "";
}
.mitsumori-menu__button[aria-expanded=true]::after {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -32px;
  border-bottom: 20px solid #ffcccd;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  content: "";
  z-index: 99;
  background: none;
}
.mitsumori-menu__img {
  display: block;
  margin-top: 12px;
  width: 120px;
  height: auto;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__img {
    width: 160px;
  }
}
.mitsumori-menu__collapse {
  position: relative;
  margin-top: 25px;
  margin-bottom: 10px;
  width: calc(100vw - 36px);
  max-width: 1108px;
  padding: 0;
}
.mitsumori-menu__accordion-body {
  position: relative;
  border-radius: 5px;
  background-color: #ffcccd;
  padding: 0;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  border: 3px solid #ff0022;
}
@media screen and (min-width: 768px) {
  .mitsumori-menu__accordion-body {
    padding: 15px 15px 10px;
  }
}

.item-group {
  padding: 10px 8px;
}
.item-group__text {
  margin-bottom: 10px;
  font-size: 12px;
}
@media screen and (min-width: 768px) {
  .item-group__text {
    font-size: 16px;
    margin-bottom: 15px;
  }
}
.item-group__button {
  background: #ff0022;
  line-height: 40px;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 10px;
  text-align: center;
}
@media screen and (min-width: 375px) {
  .item-group__button {
    font-size: 12px;
  }
}
@media screen and (min-width: 768px) {
  .item-group__button {
    font-size: 16px;
    padding: 5px 0;
    transition: opacity 300ms;
    opacity: 1;
    margin-bottom: 20px;
  }
  .item-group__button:hover {
    opacity: 0.7;
  }
}
.item-group__heading {
  margin: 0 -16px 16px;
  padding: 10px 16px;
  font-size: 16px;
  color: #fff;
  background-color: #353535;
}
@media screen and (min-width: 768px) {
  .item-group__heading {
    margin: 0 0 20px;
    padding: 16px 16px;
    font-size: 22px;
  }
}

.item-group + .item-group {
  margin-top: 20px;
}

.mitsumori-option .item-group {
  padding: 0;
}

.item {
  margin-bottom: 16px;
  height: auto !important;
}
.item__card {
  padding: 10px;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .item__card {
    padding: 15px 10px 15px;
  }
}
.item__card-direct {
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .item__card-direct {
    transition: opacity 300ms;
    opacity: 1;
  }
  .item__card-direct:hover {
    opacity: 0.7;
  }
}
.item__card-open-modal {
  padding: 0;
}
.item__card-open-modal .item__header {
  cursor: pointer;
  background-color: #f5f5f5;
  padding: 15px 0;
}
.item__card-open-modal .item__body {
  /*cursor: pointer;*/
}
.item__header {
  background-color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  font-weight: bold;
  padding: 0;
  margin-bottom: 5px;
  border-bottom: none;
}
@media screen and (min-width: 768px) {
  .item__header {
    font-size: 18px;
  }
}
@media screen and (min-width: 768px) {
  .item__header {
    transition: opacity 300ms;
    opacity: 1;
  }
  .item__header:hover {
    opacity: 0.7;
  }
}
.item__body {
  padding: 0 10px 15px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .item__body {
    padding: 0 10px 20px;
  }
}
@media screen and (min-width: 768px) {
  .item__body {
    transition: opacity 300ms;
    opacity: 1;
  }
  .item__body:hover {
    opacity: 0.7;
  }
}
.item__body img {
  display: block;
  width: 80px;
  margin: 0 auto;
  height: auto;
}
@media screen and (min-width: 375px) {
  .item__body img {
    width: 100px;
  }
}
@media screen and (min-width: 768px) {
  .item__body img {
    width: 140px;
  }
}
.item__modal-icon {
  background: #fff;
  width: 25px;
  text-align: center;
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}
.item__modal-icon-circle {
  background: #353535;
  color: #fff;
  border-radius: 50%;
  line-height: 25px;
}
.item__modal-icon-text {
  font-size: 10px;
  line-height: 15px;
}
.item__price {
  text-align: center;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .item__price {
    font-size: 18px;
  }
}
.item__footer-input {
  background-color: #f5f5f5;
}
.item__input {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.item__input input {
  width: 50px;
  height: 35px;
}
@media screen and (min-width: 375px) {
  .item__input input {
    height: 50px;
    width: 100px;
  }
}
.item__label {
  display: block;
}
.item input[type=checkbox] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

#menu-kabeTenjouTosou .item__price {
  font-size: 12px;
}
@media screen and (min-width: 768px) {
  #menu-kabeTenjouTosou .item__price {
    font-size: 16px;
  }
}

.item.is-selected .item__card {
  border: 2px solid #ff0022;
}
@media screen and (min-width: 768px) {
  .item.is-selected .item__card {
    border: 3px solid #ff0022;
  }
}

.item-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.item-modal .item-input-group {
  justify-content: flex-end;
  margin-top: 0;
}

.input-unit {
  font-size: 14px;
  margin-right: 10px;
}
@media screen and (min-width: 375px) {
  .input-unit {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  .input-unit {
    font-size: 20px;
    font-weight: 500;
  }
}

.input-count-buttons {
  display: flex;
  align-items: center;
  margin: 0 10px;
  gap: 2px;
}
@media screen and (min-width: 768px) {
  .input-count-buttons {
    margin: 0 10px;
  }
}
.input-count-buttons .btn {
  background-color: #353535;
  color: #fff;
}
.input-count-buttons .number-input {
  margin: 0;
  font-size: 15px;
}
@media screen and (min-width: 375px) {
  .input-count-buttons .number-input {
    margin: 0 5px;
    font-size: 20px;
  }
}
.input-count-buttons input {
  width: 35px;
  height: 35px;
}
@media screen and (min-width: 375px) {
  .input-count-buttons input {
    width: 50px;
    height: 50px;
  }
}

.input-select {
  display: none;
  cursor: pointer;
}
.input-select input {
  display: none;
}
.input-select div {
  background: #353535;
  color: #fff;
  border-radius: 0.25rem;
  line-height: 35px;
  width: 70px;
  text-align: center;
}
@media screen and (min-width: 375px) {
  .input-select div {
    line-height: 50px;
    width: 100px;
  }
}
.input-select input:checked + div {
  background: #ff0022;
}

.item__card-open-modal .input-select, .item-modal .input-select {
  display: block;
}

.item__footer-input .item-input-group {
  margin: 15px 0;
}
.item__footer-input .input-count-buttons .number-input {
  width: 35px;
}
@media screen and (min-width: 375px) {
  .item__footer-input .input-count-buttons .number-input {
    width: 40px;
  }
}
.item__footer-input .input-count-buttons input {
  width: 30px;
  height: 30px;
}
@media screen and (min-width: 375px) {
  .item__footer-input .input-count-buttons input {
    width: 40px;
    height: 40px;
  }
}
.item__footer-input .item__input input {
  width: 50px;
  height: 35px;
}
@media screen and (min-width: 375px) {
  .item__footer-input .item__input input {
    height: 40px;
    width: 70px;
  }
}
.item__footer-input .input-select div {
  line-height: 35px;
  width: 70px;
}
@media screen and (min-width: 375px) {
  .item__footer-input .input-select div {
    line-height: 40px;
    width: 80px;
  }
}

/* 水回りセット */
.mitsumori-table {
  width: 100%;
  margin: 10px auto;
}
@media screen and (min-width: 768px) {
  .mitsumori-table {
    margin: 20px auto;
    max-width: 600px;
  }
}
.mitsumori-table tr {
  border-bottom: 1px solid #ccc;
}
@media screen and (min-width: 768px) {
  .mitsumori-table tr {
    border: 1px solid #ccc;
  }
}
@media screen and (min-width: 768px) {
  .mitsumori-table thead {
    display: block;
    float: left;
    width: 30%;
    height: 100%;
  }
}
.mitsumori-table thead th {
  color: #fff;
  font-weight: bold;
  background-color: #4b3e2e;
  font-size: 15px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .mitsumori-table thead th {
    height: 130px;
    width: 300px;
  }
}
@media screen and (min-width: 768px) {
  .mitsumori-table tbody {
    display: block;
    float: left;
    width: 70%;
  }
}
@media screen and (min-width: 768px) {
  .mitsumori-table tbody tr {
    height: 40px;
  }
}
.mitsumori-table th {
  color: #4b3e2e;
  font-size: 15px;
  width: 50%;
  padding: 10px;
  background-color: #fff;
}
.mitsumori-table td {
  font-size: 15px;
  padding: 10px;
  background-color: #fff;
}

.mitsumori-table-price {
  color: #d70a17;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .mitsumori-table-price {
    width: 500px;
  }
}

/* modal */
.modal-footer {
  position: relative;
  background-color: #f5f5f5;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.2);
}
.modal-footer .btn-back {
  margin: 0 auto 0 0;
}
.modal-footer .btn-contact {
  display: flex;
  align-items: center;
  gap: 5px;
}
.modal-footer .return-button {
  top: -80px;
  left: 10px;
}
@media screen and (min-width: 768px) {
  .modal-footer .return-button {
    display: none;
  }
}

.item-modal {
  font-size: 13px;
}
@media screen and (min-width: 768px) {
  .item-modal {
    font-size: 15px;
  }
}
.item-modal .modal-dialog-scrollable .modal-content {
  max-height: 80%;
}
@media screen and (min-width: 768px) {
  .item-modal .modal-dialog-scrollable .modal-content {
    max-height: 100%;
  }
}
.item-modal__header {
  position: relative;
  background-color: #f5f5f5;
  flex-direction: column;
  padding: 40px 16px 0;
}
.item-modal__title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .item-modal__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}
.item-modal__close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .item-modal__close-button {
    font-size: 20px;
  }
}
.item-modal__close-button-text {
  opacity: 0.8;
  font-size: 10px;
}
@media screen and (min-width: 768px) {
  .item-modal__close-button-text {
    font-size: 12px;
  }
}
.item-modal__body {
  position: relative;
  height: 100%;
  padding: 16px 16px 30px;
  overflow-y: scroll;
}
@media screen and (min-width: 768px) {
  .item-modal__body {
    padding: 30px 16px 30px;
  }
}
.item-modal__inner {
  position: relative;
  margin-bottom: 350px;
}
@media screen and (min-width: 768px) {
  .item-modal__inner {
    margin-bottom: 300px;
  }
}
.item-modal__img {
  margin-bottom: 20px;
}
@media only screen and (min-width: 992px) {
  .item-modal__img {
    margin-right: 20px;
  }
}
.item-modal__img img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  width: auto;
  margin: 0 auto;
}
@media only screen and (min-width: 992px) {
  .item-modal__img img {
    width: 500px;
  }
}
.item-modal__img--full img {
  width: auto;
}
@media only screen and (min-width: 992px) {
  .item-modal__detail {
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }
}
.item-modal__section {
  margin-bottom: 60px;
  overflow: hidden;
}
.item-modal__table {
  border-top: 1px solid #ccc;
}
.item-modal__table th {
  border-color: #ccc;
  vertical-align: middle;
  font-weight: 500;
}
.item-modal__table td {
  border-color: #ccc;
}
.item-modal__table-price {
  color: #ff0022;
  font-weight: 500;
}
.item-modal__table-price span {
  font-size: 20px;
  margin-left: 5px;
  font-weight: bold;
}
@media only screen and (min-width: 992px) {
  .item-modal__table-price span {
    font-size: 24px;
  }
}
.item-modal__table-price-regular {
  font-size: 13px;
}
.item-modal__table-price-regular span {
  font-size: 18px;
  text-decoration: line-through;
}
.item-modal__heading {
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  color: #ff0022;
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .item-modal__heading {
    font-size: 22px;
  }
}
.item-modal__footer-text {
  width: 100%;
  margin: 0 0 10px;
}
@media screen and (min-width: 768px) {
  .item-modal__footer-text {
    width: auto;
    font-size: 16px;
    font-weight: 500;
    margin: 0 10px 0 0;
  }
}
@media screen and (max-width: 992px) {
  .item-modal__footer-text {
    width: 100%;
  }
}
.item-modal__footer-close {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  width: 60px;
  height: 35px;
}
@media screen and (min-width: 375px) {
  .item-modal__footer-close {
    height: 50px;
    width: 70px;
    font-size: 18px;
  }
}

.step__title {
  font-size: 16px;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .step__title {
    font-size: 18px;
  }
}
.step__item {
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .step__item {
    margin-bottom: 20px;
    line-height: 1.7;
  }
}
.step img {
  display: block;
  width: auto;
  max-width: 100%;
}

.modal-nav {
  display: flex;
  justify-content: flex-start;
  width: calc(100% + 16px);
  margin-right: -16px;
  margin-bottom: 0;
  overflow: auto;
  box-sizing: border-box;
  padding-bottom: 10px;
  font-size: 11px;
  box-sizing: border-box;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .modal-nav {
    position: relative;
    margin-right: 0;
    width: 100%;
    font-size: 14px;
  }
  .modal-nav::after {
    position: absolute;
    bottom: 10px;
    width: 100%;
    height: 5px;
    background-color: #ddd;
    content: "";
    z-index: 5;
  }
}
.modal-nav__item {
  position: relative;
  display: block;
  padding: 10px 10px;
  text-decoration: none;
  color: #000;
  letter-spacing: 0.1em;
  border-bottom: 5px solid #ddd;
  z-index: 10;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .modal-nav__item {
    padding: 10px 15px;
  }
}
.modal-nav__item:hover {
  color: #000;
}
.modal-nav__item.is-active {
  border-bottom: 5px solid #ff0022;
}

.scope img {
  float: none !important;
  display: block;
  max-width: 100%;
  margin: 0 auto 20px auto;
}
@media screen and (min-width: 992px) {
  .scope img {
    float: left !important;
    margin: 0 50px 0 0;
    width: 300px;
  }
}
.scope ul {
  margin: 0;
  padding: 0;
}
.scope li {
  list-style-type: none;
  display: inline;
  margin: 0 5px 0 0;
}
@media screen and (min-width: 992px) {
  .scope li {
    display: block;
    margin: 0 0 5px 0;
  }
}
.scope li:after {
  content: "、";
}
@media screen and (min-width: 992px) {
  .scope li:after {
    content: "";
  }
}
.scope li:last-child:after {
  content: "";
}

@media screen and (min-width: 992px) {
  .scope-1column li {
    display: inline;
  }
}
@media screen and (min-width: 992px) {
  .scope-1column li:after {
    content: "、";
  }
}

.before-after .row {
  position: relative;
  margin: 0 -12px;
  align-items: flex-end;
}
@media screen and (min-width: 768px) {
  .before-after .row {
    margin: 0 -16px;
  }
}
.before-after .row::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  margin-left: -8px;
  background-image: url(/img/mitsumori/chevron-double-right.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
  content: "";
}
@media screen and (min-width: 768px) {
  .before-after .row::after {
    width: 18px;
    height: 18px;
    margin-left: -10px;
  }
}
.before-after .col {
  padding: 0 12px;
}
@media screen and (min-width: 768px) {
  .before-after .col {
    padding: 0 16px;
  }
}
.before-after img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.before-after__caption {
  margin-bottom: 5px;
  font-size: 12px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .before-after__caption {
    font-size: 16px;
    font-weight: 500;
  }
}
.step + .before-after {
  margin: 30px 0;
}
@media screen and (min-width: 768px) {
  .step + .before-after {
    margin: 50px 0;
  }
}

.modal-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.modal-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* footer */
.footer {
  padding: 10px 0 10px;
  border-top: 1px solid #ccc;
  background-color: #f5f5f5;
}
.footer .l-container {
  position: relative;
}
.footer__display {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 20px;
}
@media screen and (min-width: 768px) {
  .footer__display {
    justify-content: space-between;
  }
}
.footer__contact-button {
  width: 90px;
  height: 45px;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.3;
  padding: 0;
  font-weight: 500;
  opacity: 0.4;
  margin: 0 0 0 auto;
}
@media screen and (min-width: 375px) {
  .footer__contact-button {
    height: 55px;
    margin: 0 0 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .footer__contact-button {
    width: 120px;
    height: 60px;
    font-size: 16px;
  }
}
.footer__next-button {
  display: block;
  font-size: 0.5rem;
  background-image: url("../img/mitsumori/arrow-right-solid.svg");
  background-repeat: no-repeat;
  background-color: #ff0022;
  background-position: center 2px;
  background-size: 25px;
  border: none;
  color: #fff;
  width: 80px;
  height: 45px;
  padding: 18px 0 0 0;
  text-align: center;
  margin: 0 0 0 auto;
  pointer-events: auto;
  line-height: 35px;
  cursor: pointer;
}
.footer__next-button:hover {
  color: #fff;
}
@media screen and (min-width: 375px) {
  .footer__next-button {
    background-size: 30px;
    height: 55px;
    line-height: 50px;
  }
}
@media screen and (min-width: 768px) {
  .footer__next-button {
    transition: opacity 300ms;
    opacity: 1;
    background-position: 10px 10px;
    width: 150px;
    height: 50px;
    padding-top: 0;
    padding-left: 40px;
    line-height: 50px;
    border-radius: 0.5rem;
    font-size: 18px;
    top: -70px;
  }
  .footer__next-button:hover {
    opacity: 0.7;
  }
}

.footer__contact-button.is-active {
  opacity: 1;
}

.total-discount {
  display: none;
  position: absolute;
  border: none;
  text-align: center;
  background: none;
  top: -42px;
  left: 0;
  font-weight: 500;
  width: 100%;
  font-size: 11px;
}
@media screen and (min-width: 375px) {
  .total-discount {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  .total-discount {
    top: -24px;
  }
}
.total-discount__value {
  position: relative;
  display: inline-block;
  background-color: #fff;
  padding: 5px 20px 5px;
  vertical-align: middle;
  border-radius: 10px;
  border: 1px solid #ccc;
  letter-spacing: 0.05em;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.2);
  color: #ff0022;
}
@media screen and (min-width: 768px) {
  .total-discount__value {
    padding: 8px 30px 8px;
    font-size: 16px;
  }
}
.total-discount__value::before {
  border-top: 10px solid #ccc;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
}
.total-discount__value::after {
  border-top: 10px solid #fff;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -10px;
}

.total-discount.is-active {
  display: block;
}

.total-work {
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  white-space: nowrap;
  text-align: center;
  font-size: 12px;
  display: none;
}
@media screen and (min-width: 375px) {
  .total-work {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  .total-work {
    position: relative;
    top: 0;
    width: 200px;
    margin-right: 20px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
    padding: 5px 0;
    display: flex;
    display: none;
    flex-direction: column;
  }
}
.total-work__title {
  margin-right: 5px;
}

.total-price {
  display: flex;
  width: calc(100% - 110px);
  padding-bottom: 5px;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 1px solid #353535;
}
@media screen and (min-width: 768px) {
  .total-price {
    margin-right: 20px;
  }
}
.total-price__title {
  font-size: 13px;
}
@media screen and (min-width: 375px) {
  .total-price__title {
    font-size: 20px;
  }
}
@media screen and (min-width: 768px) {
  .total-price__title {
    font-size: 24px;
  }
}
.total-price__value {
  color: #ff0022;
  font-size: 15px;
  font-weight: bold;
  width: calc(100% - 80px);
  letter-spacing: 0.02em;
  text-align: right;
  max-width: 220px;
}
@media screen and (min-width: 375px) {
  .total-price__value {
    font-size: 24px;
  }
}
@media screen and (min-width: 768px) {
  .total-price__value {
    font-size: 32px;
    font-weight: 500;
  }
}

.cart-button {
  position: relative;
  display: none;
  pointer-events: auto;
  color: #fff;
  background-image: url("../img/mitsumori/cart.png?20221207");
  background-repeat: no-repeat;
  background-color: #353535;
  background-position: 12px 8px;
  background-size: 30px;
  position: absolute;
  font-size: 0.5rem;
  text-align: center;
  top: -50px;
  right: 16px;
  margin: auto;
  width: 60px;
  height: 60px;
  padding: 20px 0 0 0;
  line-height: 50px;
  box-shadow: 0px 5px 10px rgba(50, 50, 50, 0.8);
  border-radius: 50%;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .cart-button {
    transition: opacity 300ms;
    opacity: 1;
    background-position: 10px center;
    width: 120px;
    height: 50px;
    padding-top: 0;
    padding-left: 40px;
    line-height: 50px;
    border-radius: 0.5rem;
    font-size: 18px;
    top: -70px;
  }
  .cart-button:hover {
    opacity: 0.7;
  }
}
.cart-button__count {
  position: absolute;
  top: -5px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-weight: bold;
  border-radius: 50%;
  font-size: 14px;
  background-color: #ff0022;
}
@media screen and (min-width: 768px) {
  .cart-button__count {
    width: 32px;
    height: 32px;
    font-size: 18px;
    top: -15px;
    right: -15px;
  }
}

.cart-button.is-active {
  display: block;
}

.return-button {
  position: absolute;
  top: -50px;
  left: 16px;
  display: block;
  font-size: 0.5rem;
  background-image: url("../img/mitsumori/return.png?20221207");
  background-repeat: no-repeat;
  background-color: #353535;
  background-position: center 10px;
  background-size: 30px;
  width: 60px;
  height: 60px;
  padding: 20px 0 0 0;
  text-align: center;
  color: #fff;
  pointer-events: auto;
  border-radius: 50%;
  line-height: 50px;
  box-shadow: 0px 5px 10px rgba(50, 50, 50, 0.8);
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .return-button {
    transition: opacity 300ms;
    opacity: 1;
    background-position: 10px center;
    width: 150px;
    height: 50px;
    padding-top: 0;
    padding-left: 40px;
    line-height: 50px;
    border-radius: 0.5rem;
    font-size: 18px;
    top: -70px;
  }
  .return-button:hover {
    opacity: 0.7;
  }
}

.page {
  min-height: 500px;
}

.page-no {
  display: flex;
  width: 100%;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .page-no {
    font-size: 15px;
  }
}
.page-no li {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  background-color: #f5f5f5;
}
.page-no .is-active {
  color: #fff;
  background-color: #ff0022;
}

/* 数値入力モーダル */
#calculator .modal-dialog {
  font-family: "Rubik", sans-serif;
}

#calculator .modal-content {
  width: 260px;
  border: 1px;
  background: #ddd;
  padding: 20px;
  border-radius: 10px;
  margin: auto;
}

#calculator .top span.clear {
  float: left;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-left: 8px;
  text-align: center;
  line-height: 35px;
  text-align: center;
  font-size: 1.4em;
  cursor: pointer;
  transition: all 0.3s ease;
}

#calculator .top span.clear:hover {
  color: #777;
}

#calculator .top span.clear:active {
  background-color: rgba(255, 255, 255, 0.3);
  float: left;
  width: 45px;
  height: 45px;
  margin-left: 8px;
  text-align: center;
  line-height: 35px;
  text-align: center;
  font-size: 1.4em;
  cursor: pointer;
}

#calculator .top .display {
  height: 60px;
  width: 200px;
  margin-left: 10px;
  float: left;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 3px;
  line-height: 60px;
  padding: 0 15px 0 10px;
  font-size: 3em;
  text-align: right;
  overflow: hidden;
  color: #000;
  border: 1px solid #353535;
}

#calculator .keys span {
  float: left;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  margin: 6px;
  line-height: 50px;
  text-align: center;
  font-size: 1.8em;
  cursor: pointer;
}

#calculator .keys span:hover {
  color: #777;
}

#calculator sup {
  font-size: 0.8em;
  margin-left: 2px;
}

#calculator .unselectable {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
}

#calculator .btn {
  color: #000;
  transition: all 0.5s;
  position: relative;
  border-radius: 100%;
  padding: 6px 0;
  background-color: #fff;
  border: 1px solid #000;
}

#calculator .clear {
  background-color: #353535;
  color: #fff;
  font-size: 1.1em !important;
  font-weight: bold;
}

#calculator .ok {
  background-color: #ff0022;
  color: #fff;
}

#calculator .square-meter {
  font-size: 0.6em !important;
}

#calculator .btn::active {
  background-color: rgba(255, 255, 255, 0.3);
}

.textBox strong{
  font-size: 18px;
}

.textBoxImg{
  width: 100%;
  max-width: 400px;
}