.shou1 img {
  max-width: 180px;
  margin: 0 30px 10px 0;
}
.naiyou {
  background: #fcfbee;
  font-size: 14px;
  margin-top: 10px;
  padding: 5px 10px;
}
.shouhinImg {
  max-width: 100%;
}
.modalShohinImg {
  width: 430px;
  height: 300px;
}
.show-sp {
  display: none;
}
.modal-wrap {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.modal-contents-wrap {
  display: flex;
  align-items: center;
}

.moji {
  line-height: 1.5em;
}
.moji h4 {
  color: #000000;
  font-size: 24px;
  font-weight: bold;
  font-family: "ヒラギノ丸ゴ Pro W4", "Hiragino maru Gothic Pro",
    "HG丸ｺﾞｼｯｸM-PRO", "Verdana", "Osaka", sans-serif;
}
.moji .titleSmall {
  color: #000000;
  font-size: 18px;
  padding: 2px 0;
  font-weight: bold;
  font-family: "ヒラギノ丸ゴ Pro W4", "Hiragino maru Gothic Pro",
    "HG丸ｺﾞｼｯｸM-PRO", "Verdana", "Osaka", sans-serif;
}
.padding10 {
  margin: 2px 0 8px 0;
}

@media screen and (max-width: 840px) {
  .shou1 img {
    width: 100%;
  }
  .modal-wrap .shouhinImg {
    float: none;
  }
  .moji {
    float: none;
    clear: both;
    display: block;
    width: 100%;
    padding: 10px 0 0 0;
  }
  .moji .titleSmall {
    text-align: center;
  }
  .moji h4 {
    text-align: center;
    font-size: 20px;
  }
}
@media screen and (max-width: 360px) {
  .shou1 img {
    width: auto;
    max-width: 100%;
  }
}

/* <!-- modal --> */

.contribute {
  position: fixed;
  right: -20px;
  top: 20px;
  width: 16em;
  height: 10em;
  overflow: hidden;
  transform: rotate(45deg);
}
.contribute p {
  padding: 3px;
  background: #fff;
}
.contribute p a {
  border-top: 1px dashed white;
  border-bottom: 1px dashed white;
  display: block;
  color: white;
  text-decoration: none;
  padding: 2px 0px;
}
.modal .checkbox {
  display: none;
}

/* Gray background */
.modal .modal-overlay {
  opacity: 0;
  transition: all 0.3s ease;
  width: 50%;
  position: absolute;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  transform: scale(1);
  display: none;
  background-color: rgb(0 0 0 / 80%);
}

/* Box */
.modal .modal-wrap {
  background: #fff;
  box-shadow: 1px 3px 25px rgb(0 0 0 / 90%);
  padding: 40px 50px;
  margin: 20px auto;
  align-self: flex-start;
  border-radius: 25px;
  transition: all 0.5s ease;
  max-height: 80%;
  overflow: auto;
}

.modal .modal-wrap::-webkit-scrollbar {
  width: 9px;
}

.modal .modal-wrap::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777;
}
.modal .modal-wrap::-webkit-scrollbar-thumb {
  background: #0059bd;
  border-radius: 10px;
  box-shadow: none;
}

.modal .modal-wrap.small {
  width: 30%;
}
.modal .modal-wrap.full {
  width: 100%;
  height: 100%;
}

.modal .modal-wrap.a-center {
  align-self: center;
}
.modal .modal-wrap.from-left {
  transform: translateX(-100%);
}
.modal .modal-wrap.from-right {
  transform: translateX(100%);
}
.modal .modal-wrap.from-top {
  transform: translateY(-100%);
}
.modal .modal-wrap.from-bottom {
  transform: translateY(100%);
}

/* Close button */
.modal .modal-overlay .close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 40px;
  width: 30px;
  height: 30px;
  color: #282c34;
}
.modal .modal-overlay .close:hover {
  cursor: pointer;
  color: #c2e5f6;
}
.modal .o-close {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -100;
}

.modal input:checked ~ .o-close {
  z-index: 9998;
}
.modal input:checked ~ .modal-overlay {
  transform: scale(1);
  opacity: 1;
  z-index: 9997;
  overflow: auto;
  display: flex;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}
.modal input:checked ~ .modal-overlay .modal-wrap {
  transform: translateY(0);
  z-index: 9999;
}

@media (min-width: 600px) {
  .modal .modal-wrap .questionary-modal {
    padding-top: 0px;
    flex-direction: row;
  }
}

@media (max-width: 800px) {
  .show-pc {
    display: none;
  }
  .show-sp {
    display: block;
  }
  .moji p {
    padding-left: 25px;
    padding-right: 25px;
  }
  .shou1 img {
    margin-left: 20px;
  }
  .modal .modal-wrap {
    width: 80%;
    padding: 20px;
    max-height: 80%;
    overflow: auto;
  }
  .modal .modal-wrap::-webkit-scrollbar {
    width: 9px;
  }
  .modal .modal-wrap::-webkit-scrollbar-track {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 2px #777;
  }
  .modal .modal-wrap::-webkit-scrollbar-thumb {
    background: #0059bd;
    border-radius: 10px;
    box-shadow: none;
  }
  .modal .modal-wrap.a-center {
  align-self: start;
}
}

@media (max-width: 500px) {
  .modal .modal-wrap {
    margin: auto;
    justify-content: start;
  }
  .hall_select_main_window{
    min-width: 300px;
  }

  .show-pc {
    display: none;
  }
  .show-sp {
    display: block;
  }
  .shou1 {
    margin-top: 40px;
  }
}

@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

/* 商品画像*/
.shouhinImgTop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}
.shouhinImgTopSP {
  display: none;
}
@media screen and (max-width: 680px) {
  .shouhinImgTop {
    display: none;
  }
  .shouhinImgTopSP {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* 商品画像の説明*/
.shouhinImgTopWrap {
  margin: 20px; 
}
@media screen and (max-width: 1400px) {
  .shouhinImgTopWrap {
    margin: 20px 0; 
  }
  
}
.shouhinImgTopWrapImg {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.shouhinImgTopWrapImgSP {
  display: none;
}
@media screen and (max-width: 680px) {
  .shouhinImgTopWrapImg {
    display: none;
  }
  .shouhinImgTopWrapImgSP {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}