@charset "UTF-8";

body {
    height: 3000px;
    margin: 0px;
    background-color: #ffffff;
    font-weight: lighter;
    width: 100%;
}

.footer-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  background-color: #f8f8f8;
}

/* 背景イメージレイヤー */
.bg-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 40%; /* 幅を狭く */
  height: auto;
  aspect-ratio: 1/1;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.bg-layer.active {
  opacity: 1;
  z-index: 1;
}

/* オーバーレイ効果（背景を薄くグレー） */
.footer-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* 半透明の白 */
  z-index: 0;
}

/* Menu */
#load_menu_jp {
  width: 100%;
  height: 100px;
}

#load_menu_en {
  width: 100%;
  height: 100px;
}



/* ロゴ */
.logo {
  display: flex;
  justify-content: center;  /* 中央寄せ */
  align-items: center;
  margin: 20px auto;
}

.logo img {
  width: 100px;   /* 適宜サイズ調整 */
  height: auto;
  cursor: pointer;
}


/* 言語 */
.language-select{
    color: black;
    font-size: 20px;
  position: fixed;
  top: 0px;
  right:150px;
  width: 40px;
  height: 40px;
  transform: translateX(-50%);
  padding: 0px;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.language-select ul{
      width: 40px;
  height: 40px;
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

.language-select li{
    margin-top: 20px;
}

.language-select_item a{
    color: black;
    font-weight: lighter;
    text-decoration: none;

}

.language-select_item.current a{
    font-weight: bold;
}

/* カートアイコン */
.cart_icon img {
  position: fixed;
  top: 30px;
  right:30px;
  width: 40px;
  height: 40px;
  transform: translateX(-50%);
  padding: 0px;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

/* サイドオープン時にメインコンテンツを覆う部分 */
.overlay {
  content: '';
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  z-index: 3;
}
.overlay::after {
  content: "";
  visibility: hidden;
  position: fixed;
  top: 40%;
  left: 0;
  display: block;
  width: 100%;
  height: 50px;
  color: rgba(255,255,255,0);
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.side-open .overlay {
  visibility: visible;
  cursor: pointer;
  background: rgba(0,0,0,.7);
}
.side-open .overlay::after {
  visibility: visible;
  color: rgba(255,255,255,.8);
}

/* 開閉用ボタン */
.side-menu-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  padding: 0px;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.side-menu-btn img {
  width: 40px;
  height: 40px;
}

/* サイドメニュー  */
.side-menu {
  position: fixed;
  top: 90px;
  left: 0px;
  width: 350px;
  height: 100%;
  text-align: left;
  font-size: 30px;
  background: white;
  z-index: 1;
}

.side-menu li{
  list-style:none;
  height: 100px;
}

.side-menu li a{
  text-decoration: none;
  color: gray;
}

/* 全体のコンテンツ */
.page {
  position: absolute;
  width: 100%;
  height: 3000px;
  text-align: center;
  font-size: 13px;
  background: #ffffff;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  z-index: 2;
}

/* サイドメニューオープン */
.side-open .page,
.side-open .overlay {
  -webkit-transform: translate3d(350px, 0, 0);
  transform: translate3d(350px, 0, 0);
}

/* コンテンツ */
/* アイテムページ */
.page-index {
  margin: 100px auto 0 auto;
 width: 800px;
  display: flex;

}

.page-index a,
.page-index p {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin: 3px;
}


/* リスト */
.item h3{
  margin-top: 40px;
}


.item-list {
  display: block;
  
  margin: 0 auto;
}

.item-list-content {
  display: flex;
  width: 100%;
    max-width: 600px;
  margin: 5% auto;
  /*align-items: stretch; /* ← 高さを揃える */
}



.item-list-content a {
    width: 100%;
  text-decoration: none;
  color: black;
}

/* スライドイン用のアニメーション */
@keyframes slideInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.item-list-image {
  position: relative;
    width: 30%;
  height: 100%;
    display: flex;
          aspect-ratio: 1/1; /* 正方形にする */
          padding-right: 5%;
/* 初期状態は非表示 */
  opacity: 0;
  transform: translateY(30px);
}

/* 表示されたらアニメーション */
.item-list-image.show {
  animation: slideInUp 1.5s ease-out forwards;
}

.item-list-image img {
  width: 100%;
  height: 100%;
  
  object-fit: contain; /* 高さを優先して全体を収める */

}

.item-list-color{
    width: 65%;
      height: 80%;
  display: block;
  
margin: auto;

}





.item-list-color-detail {

  width: 100%;
      height: 50%;
  min-height: 100px;
  display: flex;
  align-items: center;
    border-top: 1px solid #000;/* 上の線 */

}

.item-list-color-detail:last-child {
  border-bottom: 1px solid #000;/* 下の線 */
}

.item-list-color-detail img{
  width: 10%;
    object-fit: contain; /* 高さを優先して全体を収める */
    margin: 5%;
}

.item-list-detail{
  width: 100%;
  aspect-ratio: 4/1;

    display: flex;             /* Flexbox */
  flex-direction: column;    /* 縦方向 */
  justify-content: center;   /* 縦中央揃え */


}

.item-list-detail p {
  width: 80%;
  margin: 5px;
    text-align: left; /* ← テキストも左揃え */
}


.tax-info {
  font-size: 10px;
  color: gray;
}