#header h1 {
  left: auto;
  right: 35px;
  top: 477px;
  height: 385px;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  #header h1 {
    right: 4vw;
    left: 4vw;
    top: 2vw;
    height: auto;
    writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    z-index: 3;

  }
}

#key {
  position: relative;
  padding-top: 165px;
  text-align: center;
  z-index: 2;
}

#key::before {
  content: "";
  background: url("../img/shared/caro.webp") top left;
  position: absolute;
  top: -1px;
  right: 0;
  width: 50%;
  height: 460px;
  z-index: -1;
}

#key h2 {
  line-height: 1;
  margin-bottom: 19px;
}

#key p {
  font-size: 25px;
  line-height: 45px;
  letter-spacing: 5.05px;
  margin-bottom: 34px;
}

#key .key-photo {
  width: 806px;
  height: 427px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  #key {
    padding-top: 15vw;
  }

  #key::before {
    right: 0;
    width: 50%;
    height: 392px;
  }

  #key h2 {
    margin-bottom: 5vw;
  }

  #key p {
    font-size: 4.5vw;
    line-height: 2;
    letter-spacing: 2.05px;
    margin-bottom: 6vw;
  }

  #key .key-photo {
    width: 100%;
    height: 60vw;
  }
}

#sec1 {
  position: relative;
  padding-top: 104px;
}

#sec1 .tag {
  margin-bottom: 36px;
}

#sec1 .set2 {
  position: relative;
}

#sec1 .set2 .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#sec1 .set2 dl {
  width: 680px;
  margin-left: auto;
  padding: 128px 0 83px;
  display: flex;
  margin-right: 10%;
  gap: 36px;
  color: #fff;
  position: relative;
  z-index: 2;
  flex-direction: row-reverse;
}

#sec1 .set2 dl dt {
  font-size: 35px;
  line-height: 60px;
  letter-spacing: 7.05px;
  /* width: 130px; */
  height: 600px;
}

#sec1 .set2 dl dd {
  padding-top: 129px;
  /* width: 520px; */
  height: 547px;
  line-height: 35px;
  letter-spacing: 0.5px;
}

@media screen and (max-width: 767px) {
  #sec1 {
    padding-top: 15vw;
  }

  #sec1 .tag {
    margin-bottom: 15vw;
  }

  #sec1 .set2 {
    margin-bottom: 0;
  }

  #sec1 .set2 .photo {}

  #sec1 .set2 .photo img {
    object-position: 24% 50%;
  }

  #sec1 .set2 dl {
    width: auto;
    margin-left: auto;
    padding: 15vw 5vw;
    display: block;
    margin-right: 0;
    gap: 30px;
    flex-direction: row-reverse;
  }

  #sec1 .set2 dl dt {
    font-size: 6vw;
    line-height: 2;
    letter-spacing: 0.1em;
    width: auto;
    height: auto;
    margin-bottom: 5vw;
  }

  #sec1 .set2 dl dd {
    padding-top: 0;
    width: auto;
    height: auto;
    line-height: 2;
  }
}

#sec2 {
  position: relative;
  padding-top: 105px;
}

#sec2::before {
  content: "";
  background: url("../img/shared/caro02.webp") top right;
  position: absolute;
  top: -1px;
  left: 0;
  width: 50%;
  height: 206px;
  z-index: -1;
}

#sec2 .title-c {
  margin-bottom: 69px;
}

@media screen and (max-width: 767px) {
  #sec2 {
    padding-top: 15vw;
  }

  #sec2::before {
    width: 50%;
    height: 36.5vw;
  }

  #sec2 .title-c {
    margin-bottom: 13vw;
  }
}

#sec3 .list-layout .item {
  padding: 96px 0 78px;
  border-bottom: 1px solid #000;
}

#sec3 .list-layout .item:last-child {
  border-bottom: none;
}

#sec3 .list-layout .item .shop-card__actions {
  margin-bottom: 55px;
}

#sec3 .list-layout .item .item-img {
  border: 1px solid #000;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 50px;
}

#sec3 .list-layout .item .item-img .bnr__popup {
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

#sec3 .list-layout .item .item-img .bnr__popup::before {
  content: "";
  background: url("../img/shared/i-012.webp") no-repeat center;
  background-size: 100% auto;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

#sec3 .list-layout .item .item-img .bnr__popup:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  #sec3 .list-layout .item {
    padding: 20vw 20px 20vw;
  }

  #sec3 .list-layout .item .shop-card__actions {
    margin-bottom: 30px;
    flex-direction: column;
  }

  #sec3 .list-layout .item .item-img {
    margin: 0 auto 35px;
  }

  #sec3 .list-layout .item .item-img .bnr__popup {
    margin-bottom: 0;
  }

  #sec3 .list-layout .item .item-img .bnr__popup::before {
    width: 26px;
    height: 26px;
    top: 12px;
    right: 12px;
  }

  #sec3 .list-layout .item .item-img .bnr__popup:hover {
    opacity: 1;
  }
}

.popupPhoto {
  background: #fff;
  max-width: 900px;
}

.popupPhoto .popupPhoto__body {
  padding: 40px 20px;
}

.popupPhoto .remodal-close-top {
  margin-bottom: 0;
  position: sticky;
  top: 0;
  right: 0;
}

.popupPhoto .remodal-close-top .remodal-close.top {
  position: relative;
  display: block;
  overflow: visible;
  width: 55px;
  height: 69px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  border: 0;
  outline: 0;
  margin-left: auto;
}

@media screen and (max-width: 767px) {
  .popupPhoto {
    max-width: 900px;
  }

  .popupPhoto .popupPhoto__body {
    padding: 20px;
  }

  .popupPhoto .remodal-close-top .remodal-close.top {
    width: 40px;
    height: 59px;
  }
}