@charset "utf-8";

*,
::after,
::before,
body,
main {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#vdbanner {
  width: 0;
  height: 0;
}

html {
  /* スクロールアニメーションを滑らかにする */
  scroll-behavior: smooth;
}

img {
  width: 100%;
  vertical-align: bottom;
}

p,
a,
h1,
h2,
h3,
h4 {
  font-family: "Goblin One", serif;
  font-weight: 400;
  font-style: normal;
}

.jp p {
  font-family: "Kaisei Opti", serif;
}


/* ヘッダーの設定 */

header {
  position: fixed;
  z-index: 3000;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 img {
  width: 100px;
  margin-left: 30px;
  margin-top: 20px;
  transition-duration: 1s;
  position: relative;
  z-index: 11111;
}

h1 img:hover {
  transform: rotate(360deg);
  transition-duration: 1s;
}



/* ハンバーガーメニューの設定 */

.btn-trigger {
  margin: 50px;
  /* margin-top: 20px; */
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 3001;

}

.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgb(90, 91, 92);
  border-radius: 8px;
}

.btn-trigger,
.btn-trigger span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
  top: 0;
}

.btn-trigger span:nth-of-type(2) {
  top: 7.5px;
}

.btn-trigger span:nth-of-type(3) {
  bottom: 0;
}


#btn17::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: '';
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0);
  transition: all .75s;
}

#btn17.active span:nth-of-type(1) {
  /* -webkit-transform: translateY(-50px) rotate(45deg); */
  transform: translateY(7.5px) rotate(45deg);
}

#btn17.active span:nth-of-type(2) {
  left: 50%;
  opacity: 0;
  -webkit-animation: active-btn17-bar02 .8s forwards;
  animation: active-btn17-bar02 .8s forwards;
}

@-webkit-keyframes active-btn17-bar02 {
  100% {
    height: 0;
  }
}

@keyframes active-btn17-bar02 {
  100% {
    height: 0;
  }
}

#btn17.active span:nth-of-type(3) {
  -webkit-transform: translateY(-7.5px) rotate(-45deg);
  transform: translateY(-7.5px) rotate(-45deg);
}

#btn17.active::after {
  border: 4px solid rgb(207, 230, 252);
}


/* サイドバーの設定 */

/* bodyのスクロールロック */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.sidebar {
  background-image: url(../img/sidemenu/bg.png);
  background-size: cover;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  color: #fff;
  transition: left 0.6s ease-out;
  z-index: 2900;
  overflow-y: hidden;
}

.sidebar.active {
  left: 0;
}

.sidebar>.sidebar-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.sidebar-content {
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;

}



.sidebar-menu {
  list-style: none;
  text-align: center;
  position: absolute;
  width: 30%;
  padding: 0%;
  margin: 0;
}


.sidebar-menu li a {

  display: block;
  padding: 30px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.sidebar-menu li a:hover {
  color: #98dcf4;
}

/* オーバーレイの設定 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.overlay.active {
  opacity: 1;

  visibility: visible;
}


/* サイドバーの左右の設定 */

.side-left {
  width: 25%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-right {
  width: 25%;
  /* 3カラムの幅調整 */
  height: 60%;
  padding-left: 20px;
}

.allside-title,
.newside-title,
.rankingside-title {
  text-align: center;
  /* タイトル画像を中央に配置 */
}

/* タイトル画像の高さを統一し、縦方向の位置を揃える調整 */
.allside-title img,
.newside-title img {
  height: 20px;
  /* すでに設定されていますが、再確認 */
  width: auto;
}

.rankingside-title img {
  height: 30px;
  /* すでに設定されていますが、再確認 */
  width: auto;
}

/* サイドバーのランキングの設定 */


.ranking-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* ランキングボックス間のスペース */
}

.no1item {
  display: flex;
  background-color: #551C1C;
  /* 背景をわずかに透明な白に */
  border-radius: 5px;
  padding: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.no1item>img:first-child {
  /* ランキングアイコン（1, 2, 3の画像）のスタイル */
  width: 25px;
  margin-right: 10px;
}

.no1item img:last-child {
  /* 商品画像 */
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
  margin-left: 10px;
}

.no1item .text.box {
  flex-grow: 1;
  margin-right: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.no1item h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  line-height: 1;
}

.no1item .jp-name {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 3px;
}

.no1item .description {
  font-size: 0.75rem;
  color: #eee;
  margin-bottom: 5px;
}

.viewmore a {
  font-size: 0.75rem;
  color: #fff;
  text-decoration: underline;
}

/* タイトル画像 (All Item, Ranking, New Collection) */
.sidebar .side-title img {
  width: auto;
  height: 40px;
  /* タイトルの高さを調整 */

}



/* サイドバーのオールアイテムの設定 */



.allitem {
  margin-bottom: 30px;
}

.side-allitem {
  display: flex;
  /* アイコンを横並びに */
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  justify-content: space-around;
}

.side-allitem li {
  width: 45%;
  /* 2x2グリッド */
  text-align: center;
  margin-top: 15px;
}

.side-allitem li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px;
  font-family: serif;
}

.side-allitem img {
  width: 60px;
  /* アイコンのサイズ */
  height: auto;
  display: block;
  margin: 0 0 5px 0;
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.side-allitem img:hover {
  transform: scale(1.1);
}

/* サイドバーのNewCollectionの設定 */

.newcollection {
  /* 画像はHTMLで直接指定されているため、特にレイアウト調整のみ */
  width: 100%;
}

.side-newimg img {
  /* 画像の比率に合わせて調整 */
  width: 100%;
  height: auto;
  margin-top: 30px;
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.side-newimg img:hover {
  transform: scale(1.1);
}

/* VIEW MOREの設定 */

.viewmore a {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.6rem;
  color: #fff;
  background: #8FE0F6;
  border: solid 1px rgb(255, 255, 255);
  border-radius: 999px;
  display: block;
  box-sizing: border-box;
  max-width: fit-content;
  text-align: center;
  padding: 5px 15px;
  margin: 10px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  height: auto;
  font-family: "Goblin One", serif;
  text-align: center;
}

.viewmore a:hover {
  color: #8FE0F6;
  background: initial;
  transition: all 0.3s;

}


/* フッターの設定 */

footer {
  position: relative;

  width: 100%;
  pointer-events: auto;
}

.footer-bg img {
  background-image: url(../img/homepage/fv-bc.jpg);

  z-index: 1;
  /* コンテンツよりも下に配置するために低い値を設定 */
}


.footer {
  text-align: center;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  z-index: 5;
}

.footer h2 {
  font-family: "Goudy Bookletter 1911", serif;
  font-size: 3.2rem;
}

.footer .anyme {
  text-align: center;
  font-family: "Goudy Bookletter 1911", serif;
  font-size: 2rem;

}

.contact {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  height: 70px;
}

.contact .youtube {
  margin: 0 100px;
}

.contact .instagram {
  margin: 0 100px;
}

.contact .instagram p,
.contact .youtube p {
  font-size: 1rem;
  margin-top: 10px;
  font-family: "Goudy Bookletter 1911", serif;

}

.contact a {
  text-decoration: none;
  color: #000;
}

.contact a img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease-in-out;
  transform: scale(1);

}

.contact a img:hover {
  transform: scale(1.1);

}

.copyright {
  font-size: 0.8rem;
  font-family: "Goudy Bookletter 1911", serif;
  margin-top: 100px;
}

/* トップページボタンの設定 */
#pagetopbtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  /* animation: pagetopbtn 6s both;
  opacity: 0; */
}

/* @keyframes pagetopbtn {
  0% {
    opacity: 0;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
} */
#pagetopbtn img {
  transition: transform 0.3s ease-in-out;
  transform: scale(0.8);
}

#pagetopbtn img:hover {
  text-decoration: none;
  transform: scale(0.9);
}


/* フェードイン等のアニメーション */
:root {
  /* アニメーションの時間を変更できます */
  --animation-duration: 2.5s;
}

.animate-target {
  opacity: 0;
  transition: opacity var(--animation-duration) ease, transform var(--animation-duration) ease;
}

/* パターン1：下からふわっと（初期位置を下に設定） */
.fade-in-up {
  transform: translateY(50px);
}

/* パターン2：左からスライド（初期位置を左に設定） */
.fade-in-left {
  transform: translateX(-50px);
}

/* パターン3：右からスライド（初期位置を右に設定） */
.fade-in-right {
  transform: translateX(50px);
}

/* パターン4：拡大表示（初期サイズを小さく設定） */
.zoom-in {
  transform: scale(0.5);
}

/* JavaScriptによってこのクラスが付与されると、アニメーションが実行される */
.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}