* {
  box-sizing: border-box;
}


main {
  background-color: #ffffff;
}

a:hover {
  cursor: pointer;
}

img {
  vertical-align: top;
  width: 100%;
  display: block;

}

img.re {
  vertical-align: top;
  width: 100%;
  display: block;
  margin-top: -0.3vw;
}

body {
  max-width: 750px;
  margin: 0 auto;
  background-size: 20%;
  background-image: url(../images/parts/back2.webp);
  overflow-x: hidden;
}


video {
  width: 100%;
  margin: 0px;
  padding: 0px;
  vertical-align: bottom;
}

h2 {
  background-color: #e8380d;
  padding: 2vw 5vw 4vw;
  margin: 0 auto;

}

h2 img {
  padding: 2vw 0;
}

li {
  list-style: none;
}


.info {
  width: 80%;
  margin: 0 auto 5vw;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}



.title-wrap {
  position: relative;
}

.contents-wrap {
  width: 90%;
  margin: 0 auto;
}

/*キービジュアル*/

.main-visual {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

header {
  position: absolute;
  width: 83.7%;
  max-width: 628px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.kv-img {
  position: absolute;
}

.kv-img img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.kv-obj01 {
  top: 56%;
  left: 50%;
  translate: -50%;
  width: 95%;
}

.kv-obj02 {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

.kv-obj03 {
  top: 40%;
  left: 50%;
  translate: -50%;
  width: 54%;
  z-index: 3;
}

.kv-obj04 {
  top: 10%;
  left: 50%;
  translate: -50%;
  width: 58.6%;
  z-index: 3;
}

.kv-obj05 {
  top: 15%;
  left: 50%;
  width: 56%;
  translate: -50%;
  z-index: 2;
}

/* ナビゲーション、BTN */
nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  /* bodyの中央位置に合わせる */
  width: 100%;
  max-width: 750px;
  z-index: 55;
}

.top-btn {
  width: 20%;
  max-width: 90px;
  min-width: 60px;
  display: block;
  position: fixed;
  bottom: 10%;
  right: 3%;
  z-index: 10;
  /* --- 追加 --- */
  opacity: 0;
  pointer-events: none;
  /* 非表示の時はクリック不可 */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 表示された時のクラス */
.top-btn.is-show {
  opacity: 1;
  pointer-events: auto;
}

/* インフォメーション */
.information {
  position: relative;
  margin-bottom: 120%;
  background-color: #fff;
  width: 100%;
}

.kv-text {
  width: 100%;
  height: 10px;
}

.kv-text img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: absolute;
  top: -230px;
  left: 0;
  z-index: 4;
}

.link-card-wrap {
  position: absolute;
  top: 310px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 5;
}

.link-card {
  display: block;
  width: 75.6%;
  height: auto;
  margin: 0 auto;
  z-index: 5;
}

@media screen and (max-width: 750px) {
  .kv-text img {
    top: -120px;
  }

  .link-card-wrap {
    top: 170px;
  }
}

.swipe {
  position: relative;
  width: 6%;
  /* 矢印の幅。これを基準に中央寄せされる */
  margin: 3% auto 0;
}

.swipe-arrow {
  width: 50%;
}

/* 矢印:上から下へシュッ、シュッと繰り返し流れながらフェードアウト */
.swipe-arrow img {
  display: block;
  width: 100%;
  height: auto;
  animation: swipeArrowSlide 1.4s ease-in-out infinite;
}

@keyframes swipeArrowSlide {
  0% {
    transform: translateY(0);
    opacity: .4;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* テキスト:矢印(.swipe)を基準に、右横へ配置。中央寄せの計算には影響しない */
.swipe-text {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 8px;
  /* 矢印とのすき間。お好みで調整 */
  white-space: nowrap;
}

.swipe-text img {
  display: block;
  width: auto;
  height: 16px;
  /* 暫定値。テキスト画像の実際のサイズに合わせて調整してください */
}

/* セクション共通 */
.sec-title {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 10vw 0 5vw;
  position: relative;
}

.title-heart {
  position: absolute;
  width: 40%;
  top: 30%;
  left: 50%;
  translate: -50%;
  z-index: -1;
}

.title-heart02 {
  position: absolute;
  width: 40%;
  top: 17%;
  left: 50%;
  translate: -50%;
  z-index: -1;
}

/* NEW&RENEWAL SHOP */

.sec01 {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
  background-image: url("../images/parts/back1.webp");
  background-size: 100%;
  background-repeat: repeat-y;
  max-width: 750px;
}

.box-end {
  position: absolute;
  top: -2%;
  left: 0;
  width: 100%;
  z-index: 2;
}

/* ポップアップカード */
.pop-up-list {
  display: flex;
  flex-wrap: wrap;
  width: 95.5%;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.popup-card {
  width: 45%;
  box-sizing: border-box;
}

/* RENEWAL NEWS */
.sec02 {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
  background-image: url("../images/sec02-bg.webp");
  background-size: 100%;
  background-repeat: repeat-y;
  max-width: 750px;
}

.box-start {
  position: absolute;
  top: -1%;
  left: 0;
  width: 100%;
  z-index: 2;
}

footer {
  padding: 0 0 15% 0;
}

footer img {
  display: block;
  width: 100%;
  height: auto;
}

/*ポップアップ*/

.popup-trigger {

  cursor: pointer;

  transition: all ease .8s;
}

.popup-trigger:hover {
  transform: translateY(-10px);
}

@media screen and (max-width: 750px) {
  .popup-trigger {
    transition: none;
  }

  .popup-trigger:hover {
    transform: translateY(0);
  }
}

.icon-pos {
  position: relative;
}

.icon-obj {
  position: absolute;
  width: 40%;
  top: -5%;
  left: 90%;
  transform: translateX(-50%);
}

/*モーダルオン*/
.overlay {
  display: none;
  /* 初期は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 70;
}

.overlay.is-active {
  display: flex;
  /* アクティブ時に表示 */
}

.popup-inner {
  position: relative;
  width: 90%;
  max-width: 340px;
  max-height: 85vh;
}

.popup-scroll-area {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-height: 85vh;
}

.popup-content {
  flex: 1;
  min-width: 0;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* iOSで慣性スクロールを有効に */
  /* 独自スクロールバーを表示するのでネイティブのバーは隠す */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.popup-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.popup-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* 画像自体に角丸をつけることで枠とのズレを防ぐ */
}

/* 独自スクロールバー(画像の外側に常時表示) */
.popup-scrollbar {
  position: relative;
  width: 4px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.popup-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.popup-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  z-index: 71;
}

.popup-close::before,
.popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #333;
}

.popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル表示中は背景(body)のスクロールを止める */
body.is-modal-open {
  overflow: hidden;
}




.heartbeat-wrap2 {
  display: inline-block;
  /* これが無いと横幅100%のdivになりズレることがある */
  animation: heartbeat2 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes heartbeat2 {
  0% {
    transform: scale(1);
  }

  5% {
    transform: scale(1.15);
  }

  10% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

.fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out .8s alternate;

  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 15vw;
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }

  50% {
    transform: translate(0, -7px) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}

.balloon {


  animation: sway 1.5s linear infinite;
  /* swayというアニメーションを等速で4秒かけて無限に行う。 */
}

@keyframes sway {

  /* 最初と最後の位置 */
  0%,
  100% {
    transform: translateY(0px);
  }

  /* 途中の位置 */
  50% {
    transform: translateY(7px);
  }
}

.balloondelay {


  animation: sway 4s linear infinite;
  /* swayというアニメーションを等速で4秒かけて無限に行う。 */
}

@keyframes sway {

  /* 最初と最後の位置 */
  0%,
  100% {
    transform: translateY(9px);
  }

  /* 途中の位置 */
  50% {
    transform: translateY(0px);
  }
}

@media screen and (max-width: 750px) {
  body {
    width: 100%;
  }

  footer {
    width: 100%;
    left: 0;
    transform: none;
  }
}


/* 中間調整用 ************************************************************************************************/
@media screen and (min-width:751px) and (max-width:1100px) {}

/* ここからPC ************************************************************************************************/
@media screen and (min-width:1101px) {}