/* 通常のCSS */
.container{
/* 	padding: 0; */
/* 	margin: 0; */
}
/*
 * スマホ: cssMainArea の .container padding は打ち消すが、
 * cssShareHeader の #topmenu-mobile は fixed・高さ70px のため、
 * 同じ高さ＋ノッチ分だけ上内側余白を確保しないとコンテンツがヘッダに潜る。
 */
@media screen and (max-width: 480px) {
  .container.foil-info-page,
  .container:has(#foil-info-root) {
    /* 固定ヘッダ下端とパンくずの間に 12px 程度の呼吸を入れる */
    padding-top: calc(70px + env(safe-area-inset-top, 0px) + 12px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 5em !important;
    margin-top: 0 !important;
  }
}
/*
 * cssCustomerpage.css @media (max-width: 767px) の .topicPath { padding-top: 85px; }
 * がパンくずの a.topicPath（箔一覧など）に乗り、上に大きな空きになる。箔一覧内だけ打ち消す。
 */
@media screen and (max-width: 767px) {
  #foil-info-root nav.pankuzu a.topicPath,
  #foil-info-root .pankuzu .topicPath {
    padding-top: 0 !important;
    padding-left: 0 !important;
  }
}
.wrapper {
 width: 100%;
}
.list-wrapper{
	 display: flex;
  flex-direction: row;
  margin-top: 10px;
}
.topicPath a {
	cursor: pointer;
}
.top-wrapper{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sidebar {
  width: 250px;
  background: #f9f9fc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar .filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffea4c;
  color: #333;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.sidebar .filter-button:hover {
  background: #ffdb1a;
}

.sidebar.search-input {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.sidebar h3 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 0px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}
.sidebar .foil-sort-block {
  margin-bottom: 4px;
}
.sidebar .foil-sort-block + h3 {
  margin-top: 16px;
}
.sidebar .foil-sort-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-weight: normal;
  color: #333;
  cursor: default;
}
.sidebar .foil-sort-label-text {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #ddd;
}
.sidebar .foil-sort-select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.3;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: #333;
}
.sidebar .foil-sort-select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}
#foil-info-root .sidebar-responsive .foil-sort-block {
  margin-bottom: 10px;
}
.search-bar {
  width: 500px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 0;
  right: 0;
}
.search-input {
  flex: 1;
  padding: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
  outline: none;
}

.search-button {
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-button:hover {
  background: #0056b3;
}

.loading-text {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.error-text {
  font-size: 14px;
  color: red;
  margin-top: 5px;
}
.category ul {
  list-style: none;
  padding: 0;
}

.category li {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.category li:hover {
  background: rgba(0, 123, 255, 0.1);
}

.category li.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.product-content{
	margin: 20px auto;
	width: 900px;
/* 	background: aqua; */
}
.product-card-wrapper {
	width: 100%;
/* 	background: aqua; */
/* 	padding: 0 20px 20px 20px; */
}
.product-card-wrapper h2{
	margin: 10px 0;
}
.product-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
/*   width: 720px; */
  height: 100%;
  align-items: flex-start;
}
.product-card {
	width: calc(33.333% - 16px);  /* 3列の場合、16pxの隙間を除いた幅 */
	min-height: 120px;
	height: auto;
	padding: 10px 10px 14px 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	position: relative;
	display: inline-block;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s, box-shadow 0.2s;
	overflow: hidden;
}
.product-card:hover{
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-card p{
  font-size: 1.2rem;
  color: #333;
  font-weight: 800;
  margin-bottom: 30px;
}
/* 箔一覧カード: 名称の下に価格ランク */
#foil-info-root .product-card .foil-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
#foil-info-root .product-card p.foil-card-name {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
#foil-info-root .product-card .foil-card-price-rank {
  margin: 0;
  line-height: 1.2;
}
/* 用紙一覧（paper_info .paper-info-price-rank-badge）と同形・同色 */
#foil-info-root .paper-info-price-rank-badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: #e8f0ff;
  background: #1a3558;
  border: 1px solid rgba(180, 200, 240, 0.45);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
  margin-top: 0;
  vertical-align: top;
}
.product-detail-page .foil-detail-price-rank-line {
  margin-top: 4px;
}
.product-detail-page .foil-detail-price-rank-line .paper-info-price-rank-badge {
  margin-left: 2px;
  vertical-align: middle;
}
.product-info{
	display: flex;
	justify-content: space-between;
}
.back-button-box{
	width: 900px;
	margin: 0 auto;
}

/* 戻るボタン */
.back-button {
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
}

.back-button:hover {
  background-color: #0056b3;
}

/* メイン画像 */
.image-container{
	width: 450px;
/* 	background: #8b6fe0; */
}
.main-image-container {
	position: relative;
    display: flex;
    justify-content: center;
    background: #222;
    padding: 20px 50px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.main-image-container p{
	color: #ffffff;
}
.main-image {
	position: relative;
    display: inline-block;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* スタッフコメント表示モーダル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.arrow-container{
	display: none;
}
.main-image-container:hover .arrow-container.active{
	display: block;
    opacity: 1; /* ホバー時に表示 */
}
.main-image-container:hover .arrow:hover {
    opacity: 0.8; /* ホバー時に表示 */
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 600px;
  height: 90vh;
  text-align: center;
  overflow: hidden; /* はみ出しを防ぐ */
  display: flex;
  flex-direction: column;
}
.modal-content h2{
	margin: 0;
	margin-bottom: 10px;
}
/* フィルターモーダル: 上記 .modal-content の overflow:hidden が後勝ちしカラーリストが切れる。箔一覧だけ縦スクロール */
#foil-info-root .filter-modal .modal-content {
	height: auto;
	max-height: calc(100vh - 110px);
	max-height: calc(100dvh - 110px);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
#foil-info-root .filter-modal #filter-modal-categories {
	min-height: 0;
}
.chat-container{
	display: flex;
	margin: 5px 0;
	justify-content: space-around;
}
.chat-box {
  flex-grow: 1; /* 余ったスペースを埋める */
  overflow-y: auto; /* 縦スクロールを有効化 */
  max-height: calc(90vh - 100px); /* モーダル内でスクロール可能にする */
}

.chat-message {
  width: 400px;       /* 幅いっぱい */
  text-align: left;  /* 左揃え */
  white-space: pre-wrap;
  background: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  height: auto;
}

.staff-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 10px;
  background: #ffb6b6;
}

.skip-button, .close-button {
  margin-top: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: white;
}
/*
@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
*/
/* サムネイル */
.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.info-container {
  width: 400px; /* 横幅の最大値 */
  margin: 0 auto; /* 横方向に中央寄せ */
  padding: 15px 20px 20px 20px; /* 内側の余白 */
  background-color: #ffffff; /* 背景色 */
  border-radius: 10px; /* 角を丸く */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
  height: 85%;
}
.product-specs {
  margin-bottom: 20px; /* 下に余白 */
}

.color {
  margin-top: 3px;
  font-size: 1.3rem;
  color: #555; /* 薄いグレー */
}
.product-specs strong{
	font-size: 1.3rem;;
}
.description {
	margin: 20px 0;
  font-size: 1.4rem;
  color: #464646; /* 少し明るいグレー */
  line-height: 1.6; /* 行間を広くして読みやすく */
}

/* 注意事項 */
.notice {
  font-size: 1.2rem;
  color: #e74c3c; /* 赤みのある色 */
  background-color: #f8d7da; /* 背景に薄い赤 */
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px; /* 下に余白 */
  display: inline-block; /* テキストの周りに余白 */
  width: 100%;
}
.filter-h3 {
  padding: 5px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.box-button {
	margin-top: 10px;
	background:#f06d6d;
	background: var(--maincolor);
	padding: 5px 0;
	/*       background-image: linear-gradient(50deg, rgba(255,173,10,1) 0%, rgba(255,204,0,1) 100%); */
	color: white;
	text-decoration: none;
	border-radius: 5px;
	border: 0px solid #ad9f00;
	text-align: center;
	width: 205px;
	font-size: 14px;
}
.box-button a {
	display: block;
	color: #ffffff;
	text-decoration:none;
}
.box-button a:hover {
	color: #ffffff;
	text-decoration:none;
}
.box-button:hover {
	background: #fba800;
}
/* 一覧: 左カラム（フィルター枠の外＝直下）にマニュアルリンク */
#foil-info-root .foil-list-sidebar-column {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-shrink: 0;
	align-self: flex-start;
}
#foil-info-root .foil-manual-outside-sidebar.foil-manual-desktop-only {
	margin-top: 14px;
}
#foil-info-root .foil-manual-outside-sidebar .box-button.foil-manual-link {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 0;
	font-size: 12px;
	line-height: 1.35;
}
#foil-info-root .foil-manual-parts-note {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.4;
	color: #555;
}
#foil-info-root .foil-manual-mobile-only {
	display: none;
}
@media (max-width: 480px) {
	#foil-info-root .foil-list-sidebar-column {
		display: none;
	}
	#foil-info-root .foil-manual-mobile-only {
		display: block;
		width: 95%;
		max-width: 100%;
		margin: 12px auto;
		box-sizing: border-box;
	}
}
/*
.product-specs{
    padding: 20px;
    color: white;
    font-size: 18px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(45deg, #fff4b0, #fff4f0, #fff8b6, #ffddcc);
    background-size: 300% 300%;
    animation: gradientMove 6s infinite linear;
}
*/

/*
.product-specs p{
	text-align: left;
}
.product-specs .color{
	font-size: 1.4rem;
}
.product-specs strong{
	font-size: 1.4rem;
}
*/
/* 背景のグラデーションが動く */
/*
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
*/

/* キラキラの光エフェクト */
/*
.info-container::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 10%, rgba(255, 255, 255, 0) 50%);
    transform: rotate(30deg);
    animation: sparkle 4s infinite linear;
}
*/

/*
@keyframes sparkle {
    0% {
        transform: rotate(30deg) translate(-20%, -20%);
        opacity: 0.3;
    }
    50% {
        transform: rotate(30deg) translate(20%, 20%);
        opacity: 0.7;
    }
    100% {
        transform: rotate(30deg) translate(-20%, -20%);
        opacity: 0.3;
    }
}
*/
.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    border: 2px solid #007BFF;
}
.title {
  font-size: 3.5rem; /* 文字サイズ */
  font-weight: bold; /* 太字 */
  text-transform: uppercase; /* 大文字 */
  display: inline;
  position: relative;
  background: linear-gradient(90deg, #007cff, #ff66b2, #ffea00, #007cff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 8s infinite ease-in-out;
}

/* ✨ 控えめな光のエフェクト */
.title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 250%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(20deg);
  animation: glow 8s infinite ease-in-out;
}

/* 🌟 光の流れをより自然に */
@keyframes shine {
  0% { background-position: 30% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 30% 50%; }
}

/* ✨ 控えめな輝きがゆっくり流れる */
@keyframes glow {
  0% { left: -150%; opacity: 0.1; }
  50% { left: 50%; opacity: 0.2; }
  100% { left: 150%; opacity: 0.1; }
}



/* 説明文 */
/*
.description {
    margin-top: 5px;
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: left;
}
*/

/* 注意事項 */
/*
.notice {
    background: #ffb5c9;
    padding: 15px;
    border-left: 5px solid #ff8800;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.2rem;
}
*/

/* レビュー＆コメント */
.review-section {
    margin-top: 30px;
    padding: 40px 20px 20px 20px;
    background: #f1f1f1;
    border-radius: 10px;
}

.review-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.review {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.staff-comment {
    font-size: 1em;
    color: #555;
}
.list-container{
	width: 100%;
    padding:0px 0px 0px 20px;
    height: 100%;
}
.filter-display-container{
	display: flex;
	gap: 10px;
	flexWrap:wrap;
	margin: 10px 0;
}
.filter-button-div{
	display: flex;
	align-items: center;
	background: #ddd;
	padding: 5px 10px;
	border-radius: 5px;
}
.filter-button{
	margin-left: 8px; 
	background: red; 
	color: white; 
	border: none; 
	cursor: pointer;
	border-radius: 50%; 
	width: 20px; 
	height: 20px;
	font-size: 14px;
	line-height:18px;
}
/* モーダルのオーバーレイ */
.modal-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* モーダルのコンテンツ */
.modal-image-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 90vh;
  overflow: auto;
  background: #222;
/*
  display: flex;
  justify-content: center;
  align-items: center;
*/
}

/* 拡大画像 */
.modal-image {
  max-width: 100%; /* 画像が親要素を超えないように */
  height: auto; /* 高さを自動調整してアスペクト比を保つ */
  object-fit: contain; /* 画像が枠内に収まるように調整 */
  margin-bottom: 20px; /* 画像の下にスペースを追加 */
}

/* 閉じるボタン */
.modal-image-close-btn {
  position: fixed; /* 画面全体を基準に配置 */
  top: 50px;
  right: 50px;
  font-size: 24px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* モーダルの上に表示 */
  transition: background 0.2s ease-in-out;
}

/* ボタン全体 */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    background-color: #7a0; /* 円の背景色 */
	padding: 15px;
    border-radius: 70%; /* 円形にする */
    opacity: 1; /* ボタンを表示 */
    background: rgba(135, 135, 135, 0.48);
    border: 1px solid rgba(255,  255,  255, 0.6);
}
/* 矢印部分 */
.arrow::before,
.arrow::after {
    position: absolute;
    top: 50%; /* 親要素の中央に配置 */
    left: 50%; /* 親要素の中央に配置 */
    transform: translate(-50%, -50%); /* 完全に中央に配置 */
    content: "";
    vertical-align: middle;
}
.arrow.left{
	left:5px;
}
.arrow.right{
	right:5px;
}
.sample5-2{
	width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: transparent;
    cursor: pointer;
}
/* 左矢印 */
.sample5-2.left {
	margin-left: 2px;
    border-left: 2px solid white; /* 矢印の色 */
    border-bottom: 2px solid white; /* 矢印の色 */
    border-right: none;
    border-top: none;
}

/* 右矢印 */
.sample5-2.right {
	margin-right: 2px;
    border-top: 2px solid white; /* 矢印の色 */
    border-right: 2px solid white; /* 矢印の色 */
    border-bottom: none;
}   
.filter-btn {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
}
/* モーダルスタイル */
.filter-modal {
  display: block; /* モーダルは初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 背景に半透明の黒を追加 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overscroll-behavior: contain;
}
.close-btn {
  position: fixed; /* 画面全体を基準に配置 */
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* モーダルの上に表示 */
  transition: background 0.2s ease-in-out;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
/* モーダルスタイル */
.filter-modal {
  display: block; /* モーダルは初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 背景に半透明の黒を追加 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  
}

.modal-filter-content {
  background-color: white;
  padding: 40px 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  max-height: 88vh;  /* モーダルの最大高さを画面の80%に設定 */
  overflow-y: auto;  /* 縦方向にスクロール可能 */
  position: fixed; /* 画面全体に対して配置 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央配置 */
}
/* パンくずは #foil-info-root 内のみ（paper_info.css の li+li::before と競合しないよう未スコープの li::after は使わない） */
#foil-info-root nav.pankuzu {
  margin: 0;
  padding: 0;
  display: block;
}
#foil-info-root .pankuzu ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  row-gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#foil-info-root .pankuzu li {
  font-size: 1.2rem;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
#foil-info-root .pankuzu li + li::before {
  content: ">";
  margin: 0 0.5em 0 0;
  color: #b0b5bf;
  font-size: 0.85em;
  font-weight: 600;
  flex-shrink: 0;
}
/* メディアクエリでレスポンシブ対応（必要に応じて） */
.back-button-box{
	display: block;
	width: 100%;
	margin-top: 15px;
}
.back-button-box button{
	width: 100%;
	text-align: center;
	padding: 10px 0;
	font-size: 18px;
	font-weight: bold;
}
.back-button-responsive-box{
	display: none;
	width: 50%;
	margin: 50px auto;
}
.back-button-responsive-box button{
	width: 100%;
	text-align: center;
	padding: 20px 0;
	font-size: 18px;
	font-weight: bold;
}
@media (max-width: 480px) {
  .product-card-container {
    display: block;
    width: 100%;
  }
  .sidebar {
		display: none;
	}
  .product-card {
    width: 100%; /* スマホでは1列 */
    min-height: 120px;
    height: auto;
    display: block;
    margin: 10px 0;
  }
  .product-card img{
	  height:80px;
	  object-fit: cover;
  }
  .filter-btn {
  display: block; 
  }
  .list-container{
	width: 100%;
    padding: 10px;
    height: 100%;
  }
  .product-info{
	  width: 100%;
	display: block;
  }
  
  .main-image-container {
    display: block;
    background: #222;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    max-width: 100%;
  }
  .main-image-container img{
	  width: 100%;
	  padding: 0;
  }
  .product-image-container{
	  width: 90%;
	  margin: 0 auto;
  }
  .product-content{
		width: 100%;
	/* 	background: aqua; */
  }
  .main-image {
    display: block;
    max-width: 100%;
  }
  .thumbnail-container{
	  width: 100%;
  }
  .image-container{
	  width: 100%;
  }
  .info-container{
	  width: 90%;
	  margin: 20px auto 0 auto;
  }
  .info-container .title{
	  margin: 0;
  }
  .modal-image-overlay {
	  z-index: 9999;
  }
  .modal-image-close-btn {
	  top:5px;
	  right:5px;
  }
  .category{
	  width: 100%;
	  height: 100%;
  }
  .category-item{
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: space-between;
  }
  .list-wrapper{
      display: block;
	  width: 100%;
  }
  .product-card p{
	  margin-top: 5px;
  }
  .back-button-box{
		display: none;
  }
  /* パンくず→検索の縦並び。ブロックのみだと余白が不均一になりやすいので flex 縦積みに統一 */
  #foil-info-root .top-wrapper {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		width: 100%;
		margin: 0;
		box-sizing: border-box;
  }
  .search-bar {
	  width: 95%;
	  display: flex;
	  align-items: center;
	  gap: 8px;
	  background: #fff;
	  padding: 5px;
	  border-radius: 10px;
	  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	  margin: 0 auto;
	}
	#foil-info-root .pankuzu {
	  width: 100%;
	  max-width: 100%;
	  margin: 0;
	  padding: 0 5%;
	  box-sizing: border-box;
	  background-color: transparent;
	  height: auto;
	}
	#foil-info-root .pankuzu .topicPath {
	  display: inline;
	  width: auto;
	  height: auto;
	  vertical-align: baseline;
	}
	.back-button-responsive-box{
		display: block;
		width: 90%;
		margin: 20px auto;
	}
	.box-button {
		width: 95%;
		padding: 15px 0;
		margin:30px auto 0 auto;
	}
}

/* 箔一覧カード: 旧一覧のサムネ高さ（約80px）に合わせ paper_info の aspect-ratio を打ち消す */
.product-card .product-card-img.foil-card-img {
	aspect-ratio: auto;
	height: 80px;
	min-height: 80px;
}
.product-card .foil-card-img > img.foil-card-thumb {
	object-fit: contain;
}