@charset "utf-8";

.js-moda-fixed {
  width: 100%;
}

.modal-post-ttl {
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 22px;
  line-height: 28px;
}

.modal-contents-post {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 720px;
  max-height: 88vh;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background-color: #fff;
  height: auto;
}

#modal-contents-inner-post {
  overflow: visible;
  overflow-y: scroll;
  max-height: 80vh;
  border-radius: 0 0 10px 10px;
}

.modal-contents-post {
  max-width: 700px!important;
}
.modal-contents-post .modal-contents-inner-upload {
  padding: 20px 0 0 0;
}
.modal-close {
  top: -30px;
  right: 10px;
}
.modal-contents-post * {
  box-sizing: border-box;
}
.modal-contents-inner-upload .shop-name,
.textarea-box .menu-name,
.post_figure-box,
.post_point-box {
    background: #f9f9f9; 
}
.post-button_box, .modal-contents-post .upload:hover {
  background-color: #F9F6F3
}
.or_select-tip:hover, .select-button:hover, .textarea-box .menu-name:focus {
  background-color: #eee;
  outline: 0;
  transition: 0s
}
.modal-contents-inner-upload .modal-button {
  background-color: #946b39;
}
.upload {
  color: #946b39;
}
.or_select-ti:hover, .select-button label:hover,.modal-contents-post .modal-contents-inner-upload .modal-button:hover, .textarea-tip_name:hover, .upload:hover {
  cursor: pointer;
}
.textarea-tip_name, .modal-button.light-button {
  color: #946b39
}
.modal-contents-inner-upload .shop-name, .check-tip_name, .modal-done_message, .button-microcopy {
  color: #888
}
.menu-name {
  color: #3e3e3e;
}
.post-point {
  color: #A8C434
}
.modal-contents-post .modal-button:hover, .textarea-tip_name:hover {
  opacity: .8;
  transition: .2s;
}
.modal-contents-post .modal-button {
  display: block;
  padding: 14px;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  border: none;
  margin: 0 auto;
  line-height: 1em;
  width: 400px;
  font-size: 15px;
  font-weight: 300;
}
/* ----------------------------------------------------------------------------
 imgup modal
---------------------------------------------------------------------------- */
.modal-contents-inner-upload .shop-name {
  padding: 16px 40px;
  margin-top: 32px;
  font-size: 14px;
}
.post_box {
  display: flex;
  justify-content: space-between;
  margin: 24px 40px 10px 24px;
}

.post_max_size {
  font-size: 12px;
  line-height: 12px;
  text-align: center;
  color: #888888;
  margin-bottom: 25px;
}

.post-img_box {
  width: 240px;
  /* border-radius: 6px; */
  overflow: hidden;
  position: relative;
}

.post-img_box img{
  border-radius: 6px;
}

.post-figcaption, .menu-name {
  width: 360px;
}
.post_box .and_select-box_post {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.and_select-box_post input[type="radio"], .textarea-box input[type="checkbox"], input[type="file"] {
  display: none;
}
.and_select-box_post .check-tip_name {
  display: block;
  padding: 10px 0px;
  font-size: 12px;
  line-height: 100%;
  text-align: center;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee
}
.select-button {
  overflow: hidden;
  width: calc(100% / 3);
}
.select-button:first-child,
.select-button:first-child .check-tip_name {
  border-top-left-radius: 4px;
}
.select-button:nth-child(2) {
  border-top-right-radius: 4px;
  border-right: 1px solid #eee;
  margin: 0;
}
.select-button:first-child,
.select-button:nth-child(2) {
  margin-bottom: -1px;
  width: 50%;
}
.select-button:first-child .check-tip_name,
.select-button:nth-child(2) .check-tip_name {
  border-bottom: 0;
}
.select-button:first-child .check-tip:checked + .check-tip_name,
.select-button:nth-child(2) .check-tip:checked + .check-tip_name {
  border-bottom: 0;
  margin-bottom: 0;
}
.select-button:nth-child(3),
.select-button:nth-child(3) .check-tip_name {
  border-bottom-left-radius: 4px;
}
.select-button:last-child,
.select-button:last-child .check-tip_name {
  border-bottom-right-radius: 4px;
}
.select-button:last-child .check-tip_name {
  border-right: 1px solid #eee;
}
.select-button .check-tip:checked + .check-tip_name {
  background-color: #666666;
  color: #fff;
  border: 1px solid #666666;
}
.textarea-box {
  margin-top: 16px
}
.textarea-box .menu-name {
  padding: 8px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #eee;
}
.modal-contents-post .upload {
  display: block;
  width: 100%;
  background-color: #fff;
  text-align: center;
  border: 1px solid #EDE9E5;
  padding: 16px;
  border-radius: 4px;
  transition: 0s
}
.upload:before {
  content: url(../../img/sp/upload-photo_brown.svg);
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 4px;
}
.modal-contents-post .upload:hover {
  transition: 0s
}
.modal-contents-post .upload:active {
  background-color: #F1EBE5;
}
.post-button_box {
  padding: 40px;
  display: flex;
}
.modal-contents-post .modal-done .modal-contents-inner{
  padding: 80px 0 40px
}
.modal-done_message{
	text-align: center
}
.post_point-box {
  padding: 24px;
  margin: 40px 0;
  text-align: center
}
.post-point {
  font-size: 24px;
  font-weight: 700
}
.continue-box {
  margin-top: 40px;
  margin-bottom: 24px;
}
.button-microcopy {
  text-align: center;
  margin-top: 8px;
  font-size: 10px;
  line-height: 120%;
}


.img-delete-btn {
  display: inline-block;
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  background-color: rgba(0,0,0,0.4);
  border-radius: 7px;
}
.img-delete-btn span::before,
.img-delete-btn span::after {
  display: block;
  content: "";
  position: absolute;
  top: 52%;
  left: 63%;
  width: 60%;
  height: 10%;
  margin: -8% 0 0 -42%;
  background: #ffffff;
}
.img-delete-btn span::before {
  transform: rotate(-45deg);
}
.img-delete-btn span::after {
  transform: rotate(45deg);
}

.img-display {
  position: relative;
}

.img-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
}

.modal-contents-inner-upload  .continue-box a {
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
}

.photo_report {
  display: none;
  position: fixed;
  text-align: right;
  bottom: 0;
  width: 100%;
  height: 20px;
  z-index: 10000;
  font-size: 10px;
}

.photo_report a {
  padding : 10px;
}

.loading-img-area {
  height: 240px;
  position: relative;
}

.modal-contents .loading-img-area img.post-loading {
  height: 80px;
  width: 80px;
  position: absolute;
  top: 80px;
  left: 80px;
}

.complete_scene .continue-box {
  /* margin-bottom: 24px; */
}

/* ----------------------------------------------------------------------------
 thankyou
---------------------------------------------------------------------------- */

.thankyou_img {
  width: 32px;
  margin: 40px auto 0;
  line-height: 100%;
}
.jingle {
  animation: jingle 2s ease-out .8s 1;
  -webkit-animation: jingle 2s ease-out .8s 1;
}
@-webkit-keyframes jingle {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%, 20%, 30% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
  }
  50%, 70%, 90% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
    transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
  }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
    transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes jingle {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%, 20%, 30% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
  }
  50%, 70%, 90% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
    transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
  }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
    transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

/* Twitter link */
.modal-done_postphoto_tweet {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 500
}
