.menu_list li:nth-child(3) a {
  opacity: .4;
}
@media screen and (max-width: 640px) {
  /* .menu_list li:nth-child(2) a{
    background:unset;
  } */
}

.timepieces-fv{
  position: relative;
}
.timepieces-top-img{
  height: 26.4vw;
  object-fit: contain;
  object-position: top right;
  width: 100%;
}
.timepieces-fv-text-wrap{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 6.667vw;
text-align: left;
color: #fff;
}
.timepieces-fv-text-wrap h1{
  font-size: 2.133vw;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 2.667vw;
}
.timepieces-fv-text-wrap h1 span{
  font-size: 3.2vw;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.timepieces-fv-text{
  font-size: 1.6vw;
  line-height: 1.5;
  font-weight: normal;
}
.timepieces-introduction{
  margin-top: 75px;
}
.timepieces-introduction .inner,
.timepieces-nav-wrap .inner{
  max-width: 1216px;
  padding: 0 20px;
}
.timepieces-content-title-wrap{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 80px;
}
.timepieces-content .title-number{
  background-color: #9c1721;
width: 72px;
height: 72px;
line-height: 72px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}
.timepieces-content-title-text-wrap h3{
  font-size:72px;
  line-height: 1;
  text-align: left;
  margin: 0;
  position: relative;
  font-weight: bold;
}
.timepieces-content-title-text-wrap h3 span.title-jp{
  font-size: 18px;
  position: absolute;
  bottom: -30px;
}
.timepieces-content-items{
  margin-bottom: 75px;
}
.timepieces-content-items-right-text-wrap p{
  line-height: 2;
  font-size: 16px;
  text-align: left;
  margin-bottom: 20px;
}
.timepieces-content-items-right-text-wrap .btn-bk{
margin-left: 0;
color: #fff;
}
.timepieces-content-items-right-text-wrap .page-btn{
  margin: 0px 0 57px;
}
.timepieces-introduction a.btn{
  width: clamp(180px, 18.667vw, 280px);
} 
.page-btn a.btn{
  color: #fff;
}
@media screen and (min-width: 641px) {

.timepieces-content-items{
  display: flex;
  gap: 32px;
}
.timepieces-content-items-left{
width: 50%;
}
.timepieces-content-items-left .splide__list{
  /* width: 100%; */
margin-right: 20px;
}

.timepieces-content-items-right{
  width: 50%;
}
/* .splide__track{
  margin-left: -20px;
} */
.timepieces-content-items-left .splide__list .splide__slide img{
  /* width: 100%; */
  margin-left: 20px;
}

}




.timepieces-content-items-right-img-wrap{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.timepieces-itemimg{
width: 100%;
}
.timepieces-mil-ships .timepieces-content-items-right-img-wrap .timepieces-itemimg:nth-last-child(1):nth-child(odd){
  grid-column: span 2;
}
.timepieces-lunar .timepieces-content-items-right-img-wrap .timepieces-itemimg:nth-last-child(1):nth-child(odd){
  grid-column: span 2;
}
.timepieces-movies{
  margin-bottom: 150px;
}
.timepieces-movie{
  width: 100%;
}
.page-btn{
  margin-bottom: 150px;
}
.splide__arrows{
display: none;
}


/* ページネーションのスタイル */
.timepieces-page {
  background-color: #fff;
  height: 4px;
  transition: .5s all;
  width: 32px;
  border: unset;
}
/* 現在表示されているページネーションのスタイル */
.timepieces-page.is-active {
  background-color: #9c1721;
  opacity: 1;
}
/* ページネーションの位置 */
.timepieces-pagination {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
/* ページネーション間の余白 */
.timepieces-pagination li {
  margin-left: 2px;
  margin-right: 2px;
}
/* スライドのサイズ調整 */
.splide__slide img {
  height: auto;
  width: 100%;
}

.timepieces-nav{
  display: flex;
  gap: 10px;
}
.temporary-margin {
  margin-left: 20px;
}


.timepieces-content {
  height: 0; /* 初期設定で自動調整 */
  overflow: hidden; /* 高さが自動調整されても余分にスクロールしないようにする */
  opacity: 0; /* 初期状態では非表示 */
  visibility: hidden; /* 非表示にするためにvisibilityも変更 */
  position: absolute; /* レイアウト崩れ防止 */
  transition: opacity 0.5s ease, visibility 0.5s ease; /* アニメーション */
}

.timepieces-content.active {
  opacity: 1; /* アクティブ時に表示 */
  visibility: visible;
  position: static; /* 表示時にレイアウトを元に戻す */
  height: 100%; /* 必要に応じて固定したい高さに設定 */
  overflow: visible; /* 表示されている時は高さを制限しない */
}

.item-menu {
  flex: 1;
  cursor: pointer; /* メニューをクリック可能に */
  /* padding: 5px 10px;
  display: inline-block;
  background-color: #f0f0f0;
  margin: 5px; */
  list-style: none;
  height: fit-content;
  overflow: hidden;
}

.timepieces-nav-wrap ul.timepieces-nav{
padding: 0;
}

.item-menu img.timepieces-nav-img{
  width: 100%;
  transition: all .3s;
  display: block;
}
.item-menu .timepieces-nav-title{
margin: 0 0 30px; 
font-size: min(16px,1.367vw);
  font-weight: bold;
  transition: all .3s;
  line-height: 1.2;
  height: 35px;
  text-align: left;
  display: flex;
  /* align-items: center; */
}
.timepieces-nav-arrow {
  display: inline-block;
  vertical-align: middle;
  color: #222;
  line-height: 1;
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  transition: all .3s;
}
.item-menu:hover .timepieces-nav-title,
.item-menu:hover .timepieces-nav-arrow{
  color: #9c1721;
}
.timepieces-nav-img-wrap{
  width: 100%;
  overflow: hidden;
}
.item-menu:hover .timepieces-nav-img{
  filter: blur(3px); 
}

.item-menu.active .timepieces-nav-title,
.item-menu.active .timepieces-nav-arrow{
  color: #9c1721;
}

.timepieces-nav-wrap{
  /* margin-top: 50px; */
}


@media screen and (max-width: 640px) {
  .legacy-timepieces-top-img{
    height: 347px;
    object-fit: cover;
    width: 100%;
  }
  .timepieces-fv-text-wrap{
    left: 20px;
    padding-right: 20px;
  }
  .timepieces-fv-text-wrap h1{
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  .timepieces-fv-text-wrap h1 span{
    font-size: 30px;
  }
  .timepieces-fv-text{
    font-size: 18px;
  }
  .timepieces-content .title-number{
    font-size: 4.267vw;
    width: 10.667vw;
    height: 10.667vw;
    line-height: 10.667vw;
  }
  .timepieces-content-title-text-wrap h3{
    font-size: 6.4vw;
    line-height: 0.7;
  }
  .timepieces-content-title-text-wrap h3 span.title-jp{
    font-size: 3.733vw;
    position:unset;
  }
  .timepieces-content-title-wrap{
    margin-bottom: 40px;
  }
  .timepieces-content-items-right{
    margin-top: 20px;
  }
  .timepieces-content-items-right-text-wrap .page-btn{
margin: 20px 0 40px;
  }
  .timepieces-content-items{
    margin-bottom: 40px;
  }
.timepieces-movies .inner{
  padding: 0;
}
.timepieces-movies{
  margin-bottom: 80px;
}
.timepieces-content-items-right-text-wrap p{
  font-size: 15px;
}
.timepieces-content .btn{
width: 140px;
}
.timepieces-lunar .timepieces-content-title-text-wrap h3{
line-height: 1;
}
.timepieces-lunar .timepieces-content-title-text-wrap h3 span.title-jp{ 
display: block;
}

.timepieces-nav{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px 10px;
}
.item-menu .timepieces-nav-title{
  font-size: 14px;
  height: 25px;
}
.timepieces-page{
  height: 3px;
  width: 24px;
}
.timepieces-nav-arrow{
  width: 15px;
  height: 15px;
}
.timepieces-content-items-left .splide__list .splide__slide{
  /* margin-left: 20px; */
}
.timepieces-content-items-left .splide__list .splide__slide img{
  /* width: 100%; */
  margin-left: 0px;
}
}
.timepieces-nav-top{
  height: 50px;
}
.navbtn{
  margin-bottom: 20px;
}
.timepieces-nav-title .menunumber{
  display: inline-block;
  background-color: #9c1721;
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
  margin-right:8px ;
  text-align: center;
}
.timepieces-nav-title .timepieces-nav-menutext{
  font-weight: bold;
  line-height: 1.3;
  margin-top: 2px;
}

@media screen and (max-width: 640px) {
  .timepieces-nav-title .menunumber{
    display: inline-block;
    background-color: #9c1721;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
    margin-right:4px ;
    text-align: center;
  }
  .timepieces-nav-title .timepieces-nav-menutext{
    margin-top: 0;
  }
}

