#header,
.pane-contents,
.pane-footer {
  display: none;
}
body.open #header,
body.open .pane-footer,
.pane-contents.open {
  display: block;
}
.postgift {
  background-color: #fff;
  overflow: hidden;
}
.postgift.receivingtop-main.open {
  padding: 0;
}
.postgift.receivingtop-main.open .ribbon-wrapper {
  display: none;
}
.receiving-area {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  max-width: 750px;
  width: 100%;
  background: url(/img/usr/postgift/autumn/bg-beige.jpg);
}
.postgift .inner {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 690px;
  background-color: #fff;
}
.receiving-area .inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: url(/img/usr/postgift/autumn/img-01.png) no-repeat;
  width: 284px;
  height: 476px;
}
.receiving-area .inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(/img/usr/postgift/autumn/img-02.png) no-repeat;
  width: 320px;
  height: 374px;
}
.ribbon-wrapper {
  padding: 111px 0 180px;
  min-height: 1650px;
  box-sizing: border-box;
  overflow: hidden;
}
body:not(.page-goods):not(.page-giftlist):not(.page-giftlisthistorydetail) .postgift .receiving-area .title {
  margin: 0 auto 70px;
  padding: 0;
  text-align: center;
}
.receivingtop-ribbon {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 10;
  overflow: hidden;
  transform: rotate(-45deg);
}
.receivingtop-ribbon.top {
  top: 0;
  left: 0;
}
.receivingtop-ribbon.bottom {
  right: 0;
  bottom: 0;
  transform: rotate(135deg);
}
.receivingtop-ribbon span {
  display: block;
  width: 100%;
  height: 42px;
  background: #EBC9E1;
}
.receivingtop--ribbon {
  position: absolute;
  width: 240px;
  height: 240px;
  z-index: 10;
  overflow: hidden;
}
.receivingtop--ribbon.top {
  top: 0;
  left: 0;
}
.receivingtop--ribbon.bottom {
  right: 0;
  bottom: 0;
  transform: rotate(-180deg);
}
.receivingtop--ribbon .ribbonCanvas {
  display: inline-block;
  position: absolute;
  left: -200%;
  bottom: 0;
  top: 0;
  margin: auto;
}
.receivingtop--ribbon .ribbonCanvas {
  transform: rotate(-45deg);
}
.postgift.ribbon-bottom .receivingtop--ribbon.bottom .ribbonCanvas {
  bottom: 0;
}
.postgift.ribbon .receivingtop--ribbon {
  overflow: visible;
}
.postgift.ribbon .receivingtop--ribbon .ribbonCanvas {
  transition: 5s ease;
}
.postgift.ribbon .receivingtop--ribbon.top .ribbonCanvas {
  top: -200vh;
  left: 200px;
}
.postgift.ribbon-bottom .receivingtop--ribbon.bottom .ribbonCanvas {
  top: -200vh;
  left: 500px;
}
.receiving-content {
  margin-bottom: 60px;
  text-align: center;
}
body:not(.page-goods):not(.page-giftlist):not(.page-giftlisthistorydetail) h2.content-title {
  margin: 0 auto 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EAB546;
  font-size: 28px;
  font-weight: bold;
  width: 570px;
}
.receiving-content p {
  line-height: calc(50 / 28);
  font-weight: 400;
  font-size: 28px;
}
.receiving-required {
  text-align: center;
  position: relative;
  z-index: 100;
  margin-top: 90px;
}
.notes-required {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 80px;
  text-align: left;
}
.btn-check {
  display: block;
  font-size: 24px;
  line-height: calc(46 / 24);
}
.btn-check input[type="checkbox"]:checked {
  accent-color: #000;
}
.notes-link {
  margin-left: 10px;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s ease;
}
.notes-link:hover {
  color: #3185AE;
}
.button-area {
  margin-bottom: 70px;
}
.button-area input[type="submit"] {
  visibility: hidden;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 400px;
  height: 100px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50vh;
  transition: 0.3s;
  pointer-events: none;
}
.button-area.-checked .btn-submit {
  background-color: #3185AE;
  pointer-events: auto;
}
.btn-submit:hover {
  opacity: 0.8;
  text-decoration: none;
}
.footer-logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 20px;
}
.footer-logo img {
  margin-left: 22px;
  height: 59px;
}
.button-area input[type="submit"] {
  margin: 0;
  padding: 0;
  border: none;
  height: 0;
}
@media only screen and (max-width: 749px) {
  .postgift .inner {
    width: calc(690 / 750 * 100vw);
  }
  .receiving-area {
    padding: calc(30 / 750* 100vw);
  }
  .receiving-area .inner::before {
    background-size: contain;
    width: calc(284 / 750* 100vw);
    height: calc(476 / 750* 100vw);
  }
  .receiving-area .inner::after {
    background-size: contain;
    width: calc(320 / 750* 100vw);
    height: calc(374 / 750* 100vw);
  }
  body:not(.page-goods):not(.page-giftlist):not(.page-giftlisthistorydetail) .postgift .receiving-area .title {
    margin: 0 auto calc(120 / 750* 100vw);
    width: calc(420 / 750* 100vw);
  }
  .postgift.ribbon {
    height: 100svh;
  }
  .receivingtop--ribbon.top {
    width: 40vw;
    height: 40vw;
  }
  .receivingtop--ribbon.bottom {
    width: 39.333vw;
    height: 39.333vw;
  }
  .receivingtop--ribbon .ribbonCanvas {
    width: calc(1700 / 750* 100vw);
  }
  .receivingtop--ribbon.top .ribbonCanvas {
    top: -100%;
  }
  .receivingtop--ribbon.bottom .ribbonCanvas {
    top: -100%;
  }
  .ribbon-wrapper {
    padding: calc(111 / 750* 100vw) 0 calc(180 / 750* 100vw);
    min-height: calc(1650 / 750* 100vw);
  }
  .receiving-content {
    margin: 0 auto calc(60 / 750* 100vw);
    width: calc(630 / 750* 100vw);
  }
  body:not(.page-goods):not(.page-giftlist):not(.page-giftlisthistorydetail) h2.content-title {
    margin: 0 auto calc(30 / 750* 100vw);
    width: 100%;
    font-size: calc(28 / 750 * 100vw);
  }
  .receiving-required {
    margin-top: calc(90 / 750* 100vw);
  }
  .receiving-content p {
    font-size: calc(28 / 750 * 100vw);
  }
  .notes-required {
    margin-bottom: calc(80 / 750* 100vw);
  }
  .btn-check {
    font-size: calc(24 / 750* 100vw);
  }
  .button-area {
    margin-bottom: calc(70 / 750* 100vw);
  }
  .btn-submit {
    width: calc(400 / 750* 100vw);
    height: calc(100 / 750* 100vw);
    font-size: calc(30 / 750* 100vw);
  }
  .footer-logo {
    font-size: calc(20 / 750* 100vw);
  }
  .footer-logo img {
    height: calc(59 / 750* 100vw);
  }
}