@charset "UTF-8";

/* 共通 */

#chatplusview, chat {
  z-index: 1001;
  position: fixed;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #3C3C3C;
}
.page-sofaitem.is-modal-fixed {
  overflow: auto;
  scrollbar-gutter: stable;
}

/* モーダル　コンテナ */

.fav-modal__overlay {
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 1002;
}
.fav-modal__contents {
  white-space: nowrap;
  background: #fff;
  right: 0;
  padding: 40px;
  position: fixed;
  top: 0;
  width: 360px;
  height: 100%;
  max-height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  z-index: 1003;
}
.fav-modal__overlay,
.fav-modal__contents {
  display: none;
}
.fav-modal__contents::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 549px) {
  .fav-modal__contents {
    padding: 30px 5vw;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    -webkit-animation: slideout 0.5s;
            animation: slideout 0.5s;
  }
  @-webkit-keyframes slideout {
    0% {
      -webkit-transform: translatey(0);
              transform: translatey(0);
    }
    100% {
      -webkit-transform: translatey(50px);
              transform: translatey(50px);
    }
  }
  @keyframes slideout {
    0% {
      -webkit-transform: translatey(0);
              transform: translatey(0);
    }
    100% {
      -webkit-transform: translatey(50px);
              transform: translatey(50px);
    }
  }
  .fav-modal__contents.is-slidein {
    -webkit-animation: slidein 0.5s;
            animation: slidein 0.5s;
  }
  @-webkit-keyframes slidein {
    0% {
      -webkit-transform: translatey(50px);
              transform: translatey(50px);
    }
    100% {
      -webkit-transform: translatey(0);
              transform: translatey(0);
    }
  }
  @keyframes slidein {
    0% {
      -webkit-transform: translatey(50px);
              transform: translatey(50px);
    }
    100% {
      -webkit-transform: translatey(0);
              transform: translatey(0);
    }
  }
}

/* モーダル　コンテンツ */

.fav-modal__item-title {
  display: -ms-grid;
  display: grid;
  margin-bottom: 25px;
}

.fav-modal__item-title-txt {
  line-height: 1;
  margin-bottom: 7px;
}

.fav-modal__item-title-name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
}

.fav-modal__item-list-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
     -ms-flex-align: center;
        align-items: center;
  -webkit-box-pack: justify;
     -ms-flex-pack: justify;
   justify-content: space-between;
  border-bottom: 1px solid #D2D2D2;
  line-height: 1;
  padding: 10px 0;
      -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.fav-modal__item-list-line:first-child {
  border-top: 1px solid #D2D2D2;
}
.fav-modal__item-list-line-size {
  font-size: 1.3rem;
  letter-spacing: 0;
  color: #aaa29b;
}
.size-7,
.size-6,
.size-14,
.size-16,
.size-6002 {
  display: none;
}
.fav-modal__item-list-line-btn {
  margin-left: auto;
  position: relative;
  display: inline-block;
  padding: 0 10px 0 15px;
}
.fav-modal__item-list-line-ico-def,
.fav-modal__item-list-line-ico-sel {
  vertical-align: top;
  display: inline;
}
.fav-modal__item-list-line-ico-sel {
  display: none;
}
.fav-modal__closebtn {
  position: absolute;
  top: 15px;
  right: 15px;
}
.fav-modal__closebtn-item {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
}
.fav-modal__closebtn-item::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.fav-modal__closebtn-item::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.fav-modal__closebtn-item::before, .fav-modal__closebtn-item::after {
  background: #3c3c3c;
  content: "";
  width: 30px;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
}

@media screen and (max-width: 549px) {
  .fav-modal__item-title {
    margin-bottom: 15px;
  }
}

/* 追加・解除メッセージ */

.fav-modal__info-favorite-message {
  position: fixed;
  bottom: 0;
  left: 0;
  -webkit-transform: translateX(0) translateY(0);
      -ms-transform: translateX(0) translateY(0);
          transform: translateX(0) translateY(0);
  z-index: 1004;
  font-size: 1.3rem;
  font-weight: 700;;
  background-color: rgb(170 162 155 / 0.9);
  color: #ffffff;
  width: 100%;
  padding: 5px;
  text-align: center;
}
.fav-modal__info-favorite-message a {
  text-decoration: underline;
}

@media screen and (min-width: 960px) {
  .fav-modal__info-favorite-message-pc-hidden {
    display: none;
  }
}

@media screen and (max-width: 959px) {
  .fav-modal__info-favorite-message {
    padding: 15px 0;
    bottom: 15%;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: calc(100% - 10vw);
  }
  .fav-modal__info-favorite-message a {
    display: inline-block;
    margin-top: 7px;
  }
  .fav-modal__info-favorite-message-sp-hidden {
		display: none;
	}
  .fav-modal__info-favorite-message-closebtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #3C3C3C;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .fav-modal__info-favorite-message-closebtn-item {
    display: block;
    position: relative;
    width: 25px;
    height: 25px;
  }
  .fav-modal__info-favorite-message-closebtn-item::before,
  .fav-modal__info-favorite-message-closebtn-item::after {
    background: #ffffff;
    content: "";
    width: 25px;
    height: 1px;
    position: absolute;
    top: 50%;
    right: 0;
  }
  .fav-modal__info-favorite-message-closebtn-item::before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .fav-modal__info-favorite-message-closebtn-item::after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}