/* CSS Document */


.ja-txt{
	letter-spacing: 0.05em;
	line-height: 1.75 !important;
}

.fw-hevy{
	font-weight: 600 !important;;
}

.countries_ja{
    font-size: 1.15rem;
}

.ja-txt-6h{
    font-size: 1rem !important;

}


/* メディアクエリ（スマホ用） */
@media screen and (max-width: 767px) {	
	
  nav .inner ul li a .langJP, nav .inner ul li span .langJP{
    font-size: calc(0.6rem + 2.7vw);
	vertical-align: 0.1rem;  
  }	
	.countries_ja{
    font-size: calc(0.4rem + 2.7vw);
	}
	.ja-txt-6h{
    font-size: calc(0.5rem + 2.7vw) !important;
	}		
}

/* ミニスライダーの共通設定 */
.slider {
  overflow: hidden;
  width: 100%;
}

.slide-track {
  display: flex;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  
  /* --slide-width は JSでセットされる幅 */
}

/* 画像の余白はmarginでOK */
.slide-track img {
  height: 150px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.5rem;  /* 角丸 */
  margin: 0.5rem;         /* 左右に0.5remずつ余白 */
  box-sizing: content-box;
}

/* 共通のスクロールアニメーション */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--slide-width, 1000px))); }
}

/* 上段のアニメーション */
.slider-top .slide-track {
  animation: scroll 40s linear infinite;
}

/* 下段のアニメーション（逆再生） */
.slider-bottom .slide-track {
  animation: scroll 40s linear infinite;
  animation-delay: -20s; /* 半分ずらす */
  animation-direction: reverse;
}

/* スマホ向け（横幅767px以下）のアニメーション速度調整 */
@media screen and (max-width: 767px) {
  .slide-track img {
    height: 200px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 0.5rem;
    margin: 0.5rem;
    box-sizing: content-box;
  }

  .slider-top .slide-track {
    animation: scroll 30s linear infinite;
  }

  .slider-bottom .slide-track {
    animation: scroll 30s linear infinite;
    animation-delay: -15s;
    animation-direction: reverse;
  }
  .slider-bottom {
    display: none;
  }	
}


/* Modal1 */

#exampleModal1 img {
  border-radius: 0.25rem;  /* 角丸 */
}

.modal-content {
    border: 1px solid rgba(255, 0, 28, 1);
}

/* ヘッダー背景と下線 */
.modal-backdrop {
  background: linear-gradient(to bottom, rgba(255, 105, 0, 1), rgba(255, 0, 28, 1)) !important;
  opacity: 0;  /* 初期は透明 */
  transition: opacity 0.5s ease;
}

.modal-backdrop.show {
  opacity: 1;  /* フェードイン時に不透明 */
}
