/* メインイメージ */
.fv-wrapper {
  position: relative;
  width: 100%;
  height: 450px; /* 必要に応じて調整 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 80px; /* ロゴ帯の高さ分だけ余白を */
  margin-bottom: 150px;
}

.fv-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
  z-index: 2;
}

.fv-text h2 {
  font-size: 44px !important;
  line-height: 1.5;
  margin-bottom: 0.5em;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 5px;
}

.fv-text p {
  font-size: 24px;
  color: #555;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 4px;
}

/* 背景画像切り替え（PC） */
@media screen and (min-width: 768px) {
  .fv-wrapper {
    background-image: url('https://img21.shop-pro.jp/PA01514/023/etc_base64/ZnYtYmctcGM.jpg?cmsp_timestamp=20250524182355');
  }
}

/* 背景画像切り替え（SP） */
@media screen and (max-width: 767px) {
  .fv-wrapper {
    background-image: url('https://img21.shop-pro.jp/PA01514/023/etc_base64/ZnYtYmctc3A.jpg?cmsp_timestamp=20250524182355');
    height: 400px; /* 必要に応じて調整 */
  }
  .sp-only {
    display: inline;
  }
	.fv-text h2 {
	  font-size: 30px !important;
	}
	
	.fv-text p {
	  font-size: 18px;
	}
}

/* PCでのみ改行タグを非表示 */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ロゴスクロール */
.logo-carousel-wrapper {
  position: absolute;
  bottom: -40px; /* 少し下にはみ出す */
  
  width: 100vw; /* ← ブラウザ幅に強制 */
  z-index: 2;
}

.logo-carousel {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.logo-track {
  display: flex;
  gap: 50px;
  will-change: transform;
  width: max-content;
  box-sizing: border-box;
  transform: translateX(0); /* JSで上書きされるので初期位置でも中央になる */
  align-items: center;     /* 縦方向の中央揃え */
}

.logo-track img {
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-track img.small-1 {
  height: 50px;
}
.logo-track img.small-2 {
  height: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* overlay-card */
.overlay-card {
  background-size: cover;
  background-position: center;
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.overlay-card:hover {
  cursor: pointer;
  text-decoration: none;
}

.overlay-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* ← 中央ブロックのみに背景を出す */
.overlay-box {
  position: relative;
  padding: 40px 30px;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease;
}

/* ← ホバーで中央だけ背景が表示 */
.overlay-card:hover .overlay-box {
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-card .overlay-box .en{
	font-family: "Jost", sans-serif;
	letter-spacing: 2px;
	font-weight: 400;
	font-size: 14px;
}

.overlay-card .overlay-box .title{
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.6;
}

.divider {
  width: 30px;
  height: 2px;
  background-color: white;
  margin: 8px auto;
}

@media screen and (max-width: 768px) {
	.overlay-card {
		height: 206px;
	}
	.overlay-content {
	  padding: 20px 0;
	}
	.overlay-box{
		padding: 20px 10px; 
	}
	.overlay-card .overlay-box .en{
		font-size: 12px;
	}
	
	.overlay-card .overlay-box .title{
	  font-size: 15px;
	}
}

h2{
    border-bottom: 0;
}
h3{
    font-size: 20px !important;
}

.products{
  margin-bottom: 100px;
}
@media (max-width: 768px) {
  .products{
    margin-bottom: 50px;
  }
}

.makers a{
  display: block;
  text-decoration: none;
  color: #000000;
  margin-bottom: 20px;
}
.makers a:hover{
  opacity: 0.7;
}

.top-category-content{
  background-color: #F8F8F8;
  padding: 30px 40px;
  margin-bottom: 100px;
}
.top-category-content .list a{
  display: inline-block;
  text-align: left;
  border: 1px solid #EFEFEF;
  background-color: #FFFFFF;
  padding: 4px 14px;
  line-height: 28.8px;
  border-radius: 99px;
  text-decoration: none;
  text-align: center;
  color: #000000;
  margin-right: 10px;
  margin-bottom: 15px;
}
.top-category-content .list a:hover{
  opacity: 0.7;
}
@media (max-width: 768px) {
  .top-category-content{
    padding: 20px 20px 0 20px;
    margin-bottom: 30px;
  }
  .top-category-content .list a{
    padding: 3px 14px;
    line-height: 25px;
    border-radius: 99px;
    text-decoration: none;
    text-align: center;
    color: #000000;
    margin-right: 8px;
    margin-bottom: 10px;
  }
}

/* コンテナ（任意） */
#news-container{
  background: #fff;
  margin-bottom: 60px;
}

/* 1件ごとのブロック */
#news-container a.news-each{
  display: flex;
  align-items: flex-start;
  gap: 24px;                 /* 日付と本文の間隔 */
  position: relative;
  padding: 15px 20px;          /* 見た目の微調整 */
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #DEE2E6 !important;
}
#news-container a.news-each:hover{
  background: #F8F9FA;
}
/* 左：日付 */
#news-container .news-date{
  flex: 0 0 120px;           /* 日付エリアの固定幅（必要なら調整） */
  font-size: 12px;
  line-height: 1.2;
  color: #8a8f98;            /* muted寄せ */
  white-space: nowrap;
  padding-top: 4px;          /* タイトルのベースラインに合わせる */
}

/* 右：テキスト */
#news-container .news-text{
  flex: 1 1 auto;
  min-width: 0;              /* 長いタイトルの折り返し対策 */
}

/* タイトル */
#news-container .news-text{
  text-decoration: none;
}

#news-container .news-text a:hover{
  text-decoration: underline;
}

/* 概要 */
#news-container .news-text p{
  margin-top: 6px;           /* mb-0 は維持しつつ上だけ足す */
}

/* SPで詰める（任意） */
@media (max-width: 575.98px){
  #news-container a.news-each{
    display: block;
    padding: 20px 0;
  }
  #news-container .news-date{
    margin-top: 10px;
  }
}

/* qa-container */
.qa-container{
  background-color: #F8F8F8;
  padding: 100px 0 80px 0;
}

.qa-container .qa{
  margin-bottom: 60px;
}

/* 1件 */
.qa-container .qa-each{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  padding: 22px 20px;
  border-bottom: 1px solid #e9ecef;

  text-decoration: none;
  color: inherit;
  
}

/* hover */
.qa-container .qa-each:hover{
  background: #FFFF;
}

/* 左側テキストブロック */
.qa-container .qa-text{
  flex: 1 1 auto;
  min-width: 0;
}

/* 質問(Q) */
.qa-container .qa-q{
  margin: 0 0 10px;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding-left: 34px; /* Qの分 */
}

/* Qの見出し文字 */
.qa-container .qa-q::before{
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 18px;
}

/* 回答(A) */
.qa-container .qa-a{
  margin: 0;
  font-size: 14px;
  color: #616466;
  position: relative;
  padding-left: 34px; /* Aの分 */
}

/* Aの見出し文字 */
.qa-container .qa-a::before{
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 14px;
  color: #616466;
}

/* 右側ラベル（ピル） */
.qa-container .qa-label{
  flex: 0 0 auto;
  margin-top: 2px; /* Qの1行目に揃える */
}

.qa-container .qa-label span{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E9ECEF;
  color: #616466;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

/* SP: ラベルを下に回して右寄せ */
@media (max-width: 575.98px){
  .qa-container .qa-each{
    flex-direction: column;
    gap: 12px;
    padding: 22px 0;
  }
  .qa-container .qa-label{
    align-self: flex-end;
  }
  .qa-container .qa-q,
  .qa-container .qa-q::before{
    font-size: 14px;
  }
  .qa-container .qa-a,
  .qa-container .qa-a::before{
    font-size: 13px;
  }
}