.p-gift {
  background-color: var(--cl-bg-white02);
}

.p-gift:before {
  content: "";
  width: 731px;
  height: 191px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../img/img_gift_ornament_1.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.p-gift-title-container {
  text-align: center;
  padding: 160px 0;
}

.p-gift-title {
  font-family: var(--font-Mincho);
  font-weight: 500;
  font-size: 43px;
  line-height: 1;
  margin-bottom: 13px;
  color: #0D0E28;
}

.p-gift-sub-title {
  font-family: var(--font-en);
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: #787878;
}

.p-gift-contents {
  margin: 0 calc(100vw * 140 / 1440) 0 0;
  display: flex;
  gap: calc(100vw * 32 / 1440);
  flex-wrap: nowrap;
}

.p-gift-contents-img {
  width: calc(100vw * 705 / 1440);
  height: calc(100vw * 529 / 1440);
}

.p-gift-contents-text-container {
  width: calc(100vw * 566 / 1440);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-gift-contents-text-container-title-container {
  display: flex;
  gap: calc(100vw * 20 / 1440);
}

.p-gift-contents-text-container-title {
  font-family: var(--font-Mincho);
  font-weight: 500;
  font-size: calc(100vw * 60 / 1440);
  line-height: 1.3;
  color: #787878;
}

.p-gift-contents-text-container-text {
  width: 100%;
  font-family: var(--font-KakuGo);
  font-weight: 500;
  font-size: calc(100vw * 16 / 1440);
  line-height: 2;
  color: #787878;
}

.p-gift-contents-price-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(100vw * 40 / 1440);
}

.p-gift-contents-price-item {
  display: flex;
  align-items: center;
  padding-bottom: calc(100vw * 40 / 1440);
  border-bottom: 1px solid #0D0E28;
}

.p-gift-contents-price-item:last-child {
  border-bottom: none;
}

.p-gift-contents-price-detail {
  text-align: center;
}

.p-gift-contents-price-detail-container {
  width: calc(100vw * 115 / 1440);
}

.p-gift-contents-price-weight-container {
  width: calc(100vw * 133 / 1440);
}

.p-gift-contents-price-line {
  margin: 0 calc(100vw * 32 / 1440);
}


.p-gift-contents-price-weight {
  font-family: var(--font-Mincho);
  font-weight: 400;
  font-size: calc(100vw * 52 / 1440);
  line-height: 1;
  color: #0D0E28;
  margin-bottom: 4px;
}

.p-gift-contents-price-weight span {
  font-size: calc(100vw * 40 / 1440);
}

.p-gift-contents-price-weight-detail {
  font-family: var(--font-KakuGo);
  font-weight: 500;
  font-size: calc(100vw * 14 / 1440);
  line-height: 2;
  color: #0D0E28;
  letter-spacing: 0.05em;
}

.p-gift-contents-price-text {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: calc(100vw * 14 / 1440);
  line-height: 1.2;
  color: #0D0E28;
}

.p-gift-contents-price {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: calc(100vw * 36 / 1440);
  line-height: 1.2;
  color: #0D0E28;
  text-wrap: nowrap;
}

.p-gift-contents-price span {
  font-family: var(--font-Mincho);
  font-weight: 600;
  font-size: calc(100vw * 16 / 1440);
  line-height: 2;
}

.p-gift-contents-price-btn {
  width: calc(100vw * 167 / 1440);
    min-height: calc(100vw * 95 / 1440);;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(100vw * 10 / 1440);
  border: 1px solid #0D0E28;
  transition: .3s;
  /*padding: calc(100vw * 33 / 1440) calc(100vw * 18 / 1440);*/
    padding-left: calc(100vw * 18 / 1440) ;
    padding-right: calc(100vw * 18 / 1440) ;
  margin-left: calc(100vw * 82 / 1440);
  cursor: pointer;
}

.p-gift-contents-other{ flex: 1; display: flex; justify-content:space-between;}
.p-gift-contents-other .p-gift-contents-price-btn{margin-left: 0; margin-top: 10px;}
.p-gift-contents-other .p-gift-contents-price-detail-container{width: auto;}


.p-gift-contents-price-btn-text {
  font-family: var(--font-KakuGo);
  font-weight: 500;
  font-size: calc(100vw * 16 / 1440);
  line-height: 1;
  color: #0D0E28;
  transition: .3s;
  text-wrap: nowrap;
}

.p-gift-contents-price-btn-img path {
  stroke: #0D0E28;
  transition: .3s;
}

.p-gift-contents-price-btn:hover {
  background-color: #0D0E28;
  transition: .3s;
}

.p-gift-contents-price-btn:hover .p-gift-contents-price-btn-text {
  color: #fafafa;
  transition: .3s;
}

.p-gift-contents-price-btn:hover .p-gift-contents-price-btn-img path {
  stroke: #fafafa;
  transition: .3s;
}

.p-gift-contents-price-line {
  width: 1px;
  height: 100%;
  background-color: #0D0E28;
}

.p-gift-arrow {
  display: flex;
  justify-content: center;
  margin-top: calc(100vw * 10 / 1440);
}

.p-gift-howto {
  padding: calc(100vw * 72 / 1440) calc(100vw * 140 / 1440) calc(100vw * 130 / 1440) calc(100vw * 140 / 1440);
}

.p-gift-howto-title {
  text-align: center;
  font-family: var(--font-Mincho);
  font-weight: 500;
  font-size: calc(100vw * 32 / 1440);
  line-height: 1;
  color: #0D0E28;
  margin-bottom: calc(100vw * 24 / 1440);
}

.p-gift-howto-sub-title {
  text-align: center;
  font-family: var(--font-KakuGo);
  font-weight: 500;
  font-size: calc(100vw * 16 / 1440);
  line-height: 2;
  color: #787878;
  margin-bottom: calc(100vw * 72 / 1440);
}

.p-gift-howto-contents {
  display: flex;
  align-items: flex-start;
  gap: calc(100vw * 103 / 1440);
}

.p-gift-howto-img {
  width: calc(100vw * 596 / 1440);
  height: auto;
}

.p-gift-howto-text-container {
  width: calc(100vw * 462 / 1440);
  display: flex;
  flex-direction: column;
  gap: calc(100vw * 54 / 1440);
}

.p-gift-howto-text-item {
  display: flex;
  align-items: flex-start;
  gap: calc(100vw * 20 / 1440);
}

.p-gift-howto-text-item-number {
  position: relative;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: calc(100vw * 36 / 1440);
  line-height: 1;
  color: #0D0E28;
  margin-top: calc(100vw * 6 / 1440);
}

.p-gift-howto-text-item-number::after {
  position: absolute;
  content: "";
  width: 1px;
  height: calc(100vw * 59 / 1440);
  bottom: calc(100vw * -80 / 1440);
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background-color: #0D0E28;
}

.p-gift-howto-text-item:last-child .p-gift-howto-text-item-number::after {
  content: none;
}

.p-gift-howto-text-item-text {
  font-family: var(--font-KakuGo);
  font-weight: 500;
  font-size: calc(100vw * 16 / 1440);
  line-height: 2;
  color: #0D0E28;
}

.p-gift-contents-bg {
  background-color: #EEEEEE;
  padding: calc(100vw * 130 / 1440) 0 calc(100vw * 110 / 1440) 0;
}

.p-gift-modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100vh;
  padding: 80px 0;
  overflow: scroll;
  transition: .3s;
}

.p-gift-modal-bg{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

.p-gift-modal {
  z-index: 5;
  display: none;
  position: relative;
  width: calc(100vw * 960 / 1440);
  align-items: flex-start;
  height: auto;
  background-color: #fafafa;
  margin: 0 auto;
  padding: calc(100vw * 100 / 1440) calc(100vw * 200 / 1440) calc(100vw * 120 / 1440) calc(100vw * 200 / 1440);
  transition: .3s;
}

.is-gift-show {
  display: block;
}

.p-gift-modal-close {
  width: calc(100vw * 61 / 1440);
  height: auto;
  position: absolute;
  top: 32px;
  right: 53px;
  cursor: pointer;
}

.p-gift-modal-text {
  font-family: var(--font-Mincho);
  font-weight: 500;
  font-size: calc(100vw * 24 / 1440);
  line-height: 1;
  letter-spacing: 0.05em;
  color: #0D0E28;
  margin-bottom: calc(100vw * 44 / 1440);
  text-align: center;
}

.p-gift-modal-link-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(100vw * 32 / 1440);
}

.p-gift-modal-link-inactivate{
  opacity: 0.2;
}

.p-gift-modal-link-container a {
  transition: .3s;

  &:hover {
    opacity: .7;
    transition: .3s;
  }
}



@media screen and (max-width: 768px) {
  .p-gift:before {
    width: calc(100vw * 127 / 375);
    height: calc(100vw * 120 / 375);
    background-image: url(../img/img_gift_ornament_1_sp.svg);
    background-size: cover;
  }

  .p-gift:after {
    content: "";
    width: calc(100vw * 97 / 375);
    height: calc(100vw * 73 / 375);
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/img_gift_ornament_2_sp.svg);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .p-gift-title-container {
    padding: calc(100vw * 108 / 375) 0 calc(100vw * 55 / 375) 0;
  }

  .p-gift-title {
    font-size: calc(100vw * 26 / 375);
  }

  .p-gift-sub-title {
    font-size: calc(100vw * 15 / 375);
  }

  .p-gift-contents {
    flex-direction: column;
    gap: calc(100vw * 40 / 375);
    margin: 0;
  }

  .p-gift-contents-img {
    width: 100%;
    height: auto;
  }

  .p-gift-contents-text-container {
    width: calc(100% - 40px);
    gap: 0;
    margin: 0 auto;
  }

  .p-gift-contents-text-container-title {
    font-size: calc(100vw * 26 / 375);
    margin-bottom: calc(100vw * 17 / 375);
  }

  .p-gift-contents-text-container-text {
    font-size: calc(100vw * 15 / 375);
    margin-bottom: calc(100vw * 56 / 375);
  }

  .p-gift-contents-price-item {
    padding-bottom: calc(100vw * 24 / 375);
  }

  .p-gift-contents-price-weight {
    font-size: calc(100vw * 32 / 375);
  }

  .p-gift-contents-price-weight span {
    font-size: calc(100vw * 28 / 375);
  }

  .p-gift-contents-price-weight-detail {
    font-size: calc(100vw * 12 / 375);
  }

  .p-gift-contents-price-line {
    margin: 0 calc(100vw * 20 / 375);
    height: calc(100vw * 70 / 375);
  }

  .p-gift-contents-price {
    font-size: calc(100vw * 27 / 375);
  }

  .p-gift-contents-price span {
    font-size: calc(100vw * 13 / 375);
  }

  .p-gift-contents-price-text {
    font-size: calc(100vw * 12 / 375);
  }

  .p-gift-contents-price-btn {
    width: calc(100vw * 101 / 375);
    /*padding: calc(100vw * 15 / 375);*/
      min-height: calc(100vw * 70 / 375);
    margin-left: calc(100vw * 24 / 375);
  }

  .p-gift-contents-price-btn-text {
    font-size: calc(100vw * 12 / 375);
    text-wrap: wrap;
    line-height: 1.4;
      text-align: center;
  }

  .pc-only {
    display: none;
  }

  .p-gift-contents-price-weight-container {
    width: calc(100vw * 64 / 375);
    margin-left: calc(100vw * 17 / 375);
  }

  .p-gift-contents-price-detail-container {
    width: calc(100vw * 89 / 375);
  }

  .p-gift-contents-price-container {
    gap: calc(100vw * 24 / 375);
  }

  .p-gift-arrow {
    width: calc(100vw * 47 / 375);
    margin: 0 auto;
    margin-top: calc(100vw * 32 / 375);
  }

  .p-gift-howto {
    padding: calc(100vw * 40 / 375) calc(100vw * 20 / 375) calc(100vw * 72 / 375) calc(100vw * 20 / 375);
  }

  .p-gift-howto-title {
    font-size: calc(100vw * 20 / 375);
    margin-bottom: calc(100vw * 28 / 375);
  }

  .p-gift-howto-sub-title {
    display: none;
  }

  .p-gift-howto-contents {
    flex-direction: column;
    gap: calc(100vw * 40 / 375);
  }

  .p-gift-howto-img {
    width: 100%;
  }

  .p-gift-howto-text-container {
    width: 100%;
    gap: calc(100vw * 45 / 375);
  }

  .p-gift-howto-text-item-number {
    font-size: calc(100vw * 28 / 375);
  }

  .p-gift-howto-text-item-text {
    font-size: calc(100vw * 16 / 375);
  }

  .p-gift-howto-text-item-number::after {
    height: calc(100vw * 90 / 375);
    bottom: calc(100vw * -100 / 375);
  }

  .p-gift-modal {
    width: calc(100vw * 328 / 375);
    padding: calc(100vw * 64 / 375) calc(100vw * 20 / 375) calc(100vw * 84 / 375) calc(100vw * 20 / 375);
  }

  .p-gift-modal::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(100vw * 87 / 375);
    height: calc(100vw * 37 / 375);
    background-image: url(../img/img_gift_ornament_modal_1.svg);
    background-repeat: no-repeat;
  }
  .p-gift-modal::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: calc(100vw * 328 / 375);
    height: calc(100vw * 42 / 375);
    background-image: url(../img/img_gift_ornament_modal_2.svg);
    background-repeat: no-repeat;
  }

  .p-gift-modal-close {
    width: calc(100vw * 32 / 375);
    top: calc(100vw * 20 / 375);
    right: calc(100vw * 20 / 375);
  }

  .p-gift-modal-text {
    font-size: calc(100vw * 15 / 375);
    margin-bottom: calc(100vw * 20 / 375);
  }

}