@charset "utf-8";
/* CSS Document */

.products-area {
	
}

.local-menu {
	display: flex;
	margin: 40px 0 20px;
	gap:20px;
}
.products-area h4 {
  font-size: 28px;
  text-align: center;
  display: flex;              /* 横並びにする */
  align-items: center;        /* 縦中央揃え */
  justify-content: center;    /* 文字を中央に */
	margin-top: 60px;
}

/* 左側の線 */
.products-area h4::before,
.products-area h4::after {
  content: "";
  flex: 1;                    /* 余白いっぱいに伸びる */
  border-top: 1px solid #000; /* 線の色・太さ */
  margin: 0 12px;             /* 文字との間の余白 */
}

.local-menu a {
	display: block;
	text-align: center;
	width: 50%;
	color: #fff;
	background: #001F56;
	padding: 20px 0;
	font-size: 18px;
}

.local-menu a:last-of-type {
	background:#00579F;
}

/* 行全体：左右の高さを揃える */
.products-area .box {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  align-items: stretch;   /* 左右のカラムを同じ高さに */
}

.products-area .box .hanbai {
	width: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #002D8A;
	color: #FFF;
	padding: 0 5px;
	line-height: 100%;
}

.products-area .box .hanbai.seiyaku {
	background-color: #720001;
}

/* 写真カラム（左） */
.products-area .box .photo {
  width: 360px;
  flex-shrink: 0;
  background: #dcdcdc;      /* ★ここが余白のグレー */
  display: flex;
  align-items: center;      /* 中央寄せ */
  justify-content: center;  /* 中央寄せ */
}

/* スライダー枠：カラムの中で 4:3 の大きさをキープ */
.products-area .box .photo .photo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;      /* 360x270 相当 */
  box-sizing: border-box;
}

/* スライド帯：横並び */
.products-area .box .photo .photo-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}


/* 各画像：トリミング無しで枠内に収める（上下左右はグレー） */
.products-area .box .photo .photo-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;      /* ★トリミングなし＋歪みなし */
  object-position: center;  /* 中央表示 */
}
/* テーブル */
.products-area .box table {
	margin: 0 10px;
	width: 360px;
	border: #828282 solid 1px;
	border-collapse: collapse;
}

.products-area .box table th {
	white-space: nowrap;
	border: #828282 solid 1px;
	padding: 10px;
	font-size: 14px;
	vertical-align: middle;
}

.products-area .box table td {
	border: #828282 solid 1px;
	padding: 10px;
	font-size: 14px;
	vertical-align: middle;
}

/* コメント欄（詳細） */
.products-area .box .comment {
	font-size: 14px;
	line-height: 180%;
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 470px;
}

.products-area .box .comment h3 {
	font-size: 12px;
	color: #fff;
	background: #838383;
	border: solid 1px #838383;
	display: block;
	width: 50px;
	text-align: center;
	line-height: 100%;
	padding: 3px 0 1px;
	border-radius: 1px;
}

.products-area .box .comment p {
	font-size: 14px;
	margin-top: 10px;
	line-height: 1.6;
}

.products-area p.text01 {
	text-align: center;
}


/* ======================================
   スマホサイズ（～767px）
   ====================================== */
@media screen and (max-width: 767px) {

	.products-area {
		padding: 0 16px;
		box-sizing: border-box;
	}

	.products-area p.text01 {
		text-align: left;
		font-size: 14px;
		line-height: 1.6;
	}

  .products-area .box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
  }

	/* バッジは横長にする */
	.products-area .box .hanbai {
		width: 100%;
		padding: 10px 0;
		line-height: 1.2;
		text-align: center;
	}

  .products-area .box .photo {
    width: 100%;
    background: #dcdcdc;          /* 余白グレー */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .products-area .box .photo .photo-slider {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .products-area .box .photo .photo-track {
    height: 100%;
  }

  .products-area .box .photo .photo-track img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: contain;          /* トリミング無し */
    object-position: center;
    display: block;
  }

	/* テーブルは全幅 */
	.products-area .box table {
		width: 100%;
		margin: 0;
		font-size: 14px;
	}

	.products-area .box table th,
	.products-area .box table td {
		font-size: 14px;
		padding: 8px 10px;
	}

	/* コメント */
	.products-area .box .comment {
		width: 100%;
		font-size: 14px;
		line-height: 1.6;
	}

	.products-area .box .comment h3 {
		font-size: 12px;
		line-height: 1.2;
		padding: 4px 8px 2px;
		margin-bottom: 6px;
		width: auto;            /* スマホでは可変幅ラベルにする */
		display: inline-block;
	}

	.products-area .box .comment p {
		font-size: 14px;
		margin-top: 0;
	}
}


/* ◀▶ ボタン（左右ナビ） */
.photo-prev,
.photo-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	font-size: 14px;
	line-height: 1;
	width: 32px;
	height: 32px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.photo-prev {
	left: 8px;
}
.photo-next {
	right: 8px;
}

/* スマホでは少しだけ押しやすいサイズに */
@media screen and (max-width: 767px) {
	.photo-prev,
	.photo-next {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
}
