/* ===============================================================================
HeaderArea
=============================================================================== */
header.top {
  background-color: #1c1630;
}

header.top .title {
  padding: 70px 0 50px;
}

header.top h1 {
  background: url(../img/logo_index.png) no-repeat;
  width: 529px;
  height: 107px;
  background-size: contain;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  margin: 0 auto;
}

#mv {
  width: 100%;
  position: relative;
  padding-bottom: 100px;
  background: #fff;
  border-left: 40px solid #FFC3D1;
  border-right: 40px solid #FFC3D1;
}

.wrap {
  max-width: 1140px;
  margin: auto;
}

#yodogawa {
  margin: 0;
  background: #fff;
  border-top: 40px solid #FFC3D1;
  border-left: 40px solid #FFC3D1;
  border-right: 40px solid #FFC3D1;
  padding: 40px;
}

#yodogawa .button {
  padding: 0 2em;
  border: 0;
  position: relative;
}

#yodogawa .button:hover {
  cursor: pointer;
}

#yodogawa .yodogawa-inner {
  max-width: 880px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

#yodogawa .yodogawa-inner > div:nth-of-type(1) {
  width: 50%;
}

#yodogawa .yodogawa-inner > div:nth-of-type(2) img {
  max-width: 320px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  max-width: 100% !important;
  height: 100%;
  width: 100% !important;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 !important;
}

.modal-content {
  background: #fff;
  margin: 0 auto;
  max-width: 600px;
  max-height: 95%;
  animation-name: modalopen;
  animation-duration: 1s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
}

#credit {
  background: #fff;
  border-left: 40px solid #FFC3D1;
  border-right: 40px solid #FFC3D1;
  border-top: 10px solid #FFC3D1;
  border-bottom: 10px solid #FFC3D1;
  padding: 0 40px 60px;
}

#credit .credit-inner {
  max-width: 880px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: auto;
  font-size: 14px;
}

#credit .credit-inner > div .credit-ttl {
  margin-top: 50px;
}

#credit .credit-inner > div p {
  color: #666;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modalClose {
  display: block;
  text-align: center;
  padding-top: 1em;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 40px 60px 0;
  color: #1c1630;
  text-align: left;
}

.modal-body .img {
  padding-bottom: 2em;
}

@media screen and (max-width: 768px) {
  header.top h1 {
    width: 89.6vw;
    height: 0;
    padding-top: 18.23%;
  }
  header.top .title {
    padding: 30px 0 20px;
  }
  #yodogawa {
    padding: 0 16px;
    margin: 0;
    border: none;
  }
  #yodogawa .yodogawa-inner {
    display: block;
    padding: 0;
  }
  #yodogawa .yodogawa-inner > div:nth-of-type(2) {
    margin-top: 16px;
    text-align: center;
  }
  #yodogawa > div {
    padding: 50px 0 40px;
    text-align: left;
  }
  #yodogawa .button {
    width: 167px;
    text-align: center;
    padding: 0;
  }
  .modal-content {
    max-width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    overflow-y: auto;
  }
  .modal-body {
    padding: 30px 10px 20px;
  }
}

/* ===============================================================================
ContentsArea
=============================================================================== */
.product_name {
  font-size: 20px;
}

.product_name span {
  font-size: 80%;
}

.zeikomi {
  max-width: 960px;
  margin: 0 auto 50px;
  text-align: right;
  padding: 0 40px;
}

.godetail {
  margin: 15px 0;
  display: block;
}

.swiper-pagination-bullet {
  color: #fff;
  background-color: #fff;
  border: 1px solid #FFC3D1;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background-color: #FFC3D1;
}

.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 55px !important;
}

.cart_stock dt {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 30px;
}

.cart_stock dt img {
  vertical-align: bottom;
}

.cart_stock dt img.goods-2 {
  width: 80%;
}

.cart_stock dt.pattern2 {
  min-height: 330px;
}

#banner {
  width: 100%;
  background: #fff;
  border-left: 40px solid #FFC3D1;
  border-right: 40px solid #FFC3D1;
  padding: 60px 40px;
}

#banner .bnr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: auto;
}

#banner .bnr a {
  width: calc(50% - 20px);
  margin-top: 30px;
}

#banner .bnr a:nth-of-type(1), #banner .bnr a:nth-of-type(2) {
  margin-top: 0;
}

#banner ul {
  text-align: center;
}

#banner a {
  display: inline-block;
  color: #fff;
}

#banner img {
  border-radius: 6px;
}

footer {
  max-width: 1140px;
  margin: auto;
}

footer .staff {
  color: #fff;
  font-size: 1.4rem;
  display: inline-block;
  border-top: 1px dotted;
  border-bottom: 1px dotted;
  padding: 1em;
  margin-bottom: 70px;
}

.pc-inline {
  display: inline-block;
}

.sp-inline {
  display: none;
}

@media screen and (min-width: 769px) {
  #mv::before {
    content: '';
    position: absolute;
    left: 6.5%;
    top: 50px;
    width: 7vw;
    height: 33vw;
    background-image: url(/store/treasuretrove/img/txt-mv-1.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  #mv::after {
    content: '';
    position: absolute;
    left: 2%;
    bottom: 100px;
    width: 11vw;
    height: 6vw;
    background-image: url(/store/treasuretrove/img/txt-mv-2.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .swiper-container {
    width: 83%;
    margin-left: 17%;
  }
  .swiper-button-prev {
    left: calc(17% + 20px);
  }
  .swiper-button-next, .swiper-button-prev {
    top: 44%;
  }
  .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    padding-left: 17%;
  }
  #banner ul {
    max-width: 877px;
    margin: 0 auto;
    display: flex;
  }
  #banner ul li:nth-of-type(even) {
    padding-left: 60px;
  }
}

@media screen and (min-width: 1140px) {
  #mv::before {
    width: 82px;
    height: 370px;
    left: 64px;
  }
  #mv::after {
    width: 121px;
    height: 66px;
    left: 25px;
  }
  .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    padding-left: 17%;
  }
}

@media screen and (max-width: 768px) {
  #mv {
    padding-bottom: 60px;
    border: none;
    text-align: center;
  }
  #mv::before, #mv::after {
    content: none;
  }
  .mv-ttl {
    max-width: 366px;
    width: 100%;
    padding: 15px 10px;
  }
  #yodogawa .yodogawa-inner > div:nth-of-type(1) {
    width: 100%;
  }
  #banner {
    border: none;
    padding: 0;
  }
  #banner .bnr {
    display: block;
    padding: 0 16px;
    max-width: 400px;
  }
  #banner .bnr a {
    margin-top: 15px !important;
    width: 100%;
  }
  footer .staff {
    font-size: 1.2rem;
  }
  .zeikomi {
    padding: 40px 16px 0 0;
  }
  .godetail {
    max-width: 150px;
    margin: 15px auto;
  }
  .cart_stock dt {
    min-height: inherit;
  }
  .cart_stock dt.pattern2 {
    min-height: inherit;
  }
  .product_name {
    font-size: 16px;
  }
  #credit {
    border: none;
    border-top: 10px solid #FFC3D1;
    padding: 0 16px 40px;
  }
  #credit .credit-inner {
    display: block;
  }
  #credit .credit-inner > div .credit-ttl {
    margin-top: 40px;
  }
  .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 22px !important;
  }
  #product {
    padding-bottom: 40px;
  }
  #product ul li.sold::before {
    width: 64px;
    height: 64px;
  }
  .pc-inline {
    display: none;
  }
  .sp-inline {
    display: inline-block;
  }
}
