@charset "utf-8";

@media (min-width: 768px) {
	body {
		font-size: 1.7rem;
	}
}

/* 共通 */
.post h1 {
	color: var(--tooloff8);
	font-size: 24px;
	text-align: center;
	margin: 24px auto 0;
}
.post .Intro {
	margin: 24px;
}
.post .Intro a {
	text-decoration: underline;
}
.post h2 {
	font-size: 18px;
}
@media (min-width: 768px) {
	.post h1 {
		font-size: 40px;
		margin: 40px auto 0;
	}
	.post .Intro {
		margin: 40px auto;
		max-width: 1160px;
	}
	.post h2 {
		font-size: 40px;
	}
}

/* 実績カード */
#Card_list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 0;
	margin: 0 -5px;
}
#Card_list ul li {
	width: 50%;
	padding: 0 5px 14px;
	border-bottom: 1px solid #ccc;
}
#Card_list ul li:nth-last-child(-n+2){
	border-bottom: none;
}
#Card_list ul li a {
    display: flex;
    flex-direction: column;
	gap: 8px;
	height: 100%;
	box-sizing: border-box;
}
#Card_list ul li a:hover {
	opacity: 0.7;
}
#Card_list ul li a h3 {
	text-decoration: underline;
	flex-grow: 1;
}
#Card_list ul li a img {
	display: block;
    height: 25vw;
    object-fit: contain;
}
#Card_list ul li a .price {
	font-size: 11px;
	display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}
#Card_list ul li a .price .left {
	background-color: var(--tooloff8);
    color: var(--white);
    font-weight: bold;
    padding: 2px 4px;
    line-height: 1.3;
}
#Card_list ul li a .price .right {
	font-weight: bold;
    line-height: 1.4;
}
#Card_list ul li a .price .right .our {
	color: var(--tooloff8);
}
#Card_list ul li a .summary {
	font-size: 11px;
}
#Card_list .link_cat {
	border-bottom: 1px solid #e5e7eb;
}
#Card_list .link_cat a {
	display: flex;
    justify-content: space-between;
    padding: 14px 0;
}
#Card_list .link_cat a::after {
	color: var(--tooloff8);
    font-family: "icomoon";
    content: "\e905";
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--white);
}
@media (min-width: 520px) {
	#Card_list ul li {
		width: 33.3333%;
	}
	#Card_list ul li:nth-last-child(-n+3){
		border-bottom: none;
	}
}
@media (min-width: 768px) {
	#Card_list ul {
		gap: 20px 0;
	}
	#Card_list ul li {
		width: 25%;
		padding: 0 10px 20px;
	}
	#Card_list ul li:nth-last-child(-n+4){
		border-bottom: none;
	}
	#Card_list ul li a {
		gap: 12px;
	}
	#Card_list ul li a h3 {
		font-size: 15px;
	}
	#Card_list ul li a img {
		max-height: 175px;
	}
	#Card_list ul li a .price {
		font-size: 13px;
	}
	#Card_list ul li a .summary {
		font-size: 13px;
	}
	#Card_list .link_cat {
		max-width: 780px;
		margin: 40px auto 0;
	}
    #Card_list .link_cat a {
		padding: 16px 0;
	}
    #Card_list .link_cat a::after {
		-webkit-text-stroke: 2px var(--white);
		text-stroke: 2px var(--white);
	}
}

/* ページャー */
.post div.pager {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 1rem 0;
}
.post div.pager > *:not(:first-child) {
	margin-left: 0.75rem;
}
.post div.pager span,
.post div.pager a {
	display: inline-block;
	vertical-align: middle;
	padding: 0.5rem 0.75rem;
	background-color: #fff;
}
.post div.pager span {
	color: #fff;
	background-color: #433f3c;
}
.post div.pager a:hover {
	background-color: #433f3c;
	color: #fff;
}

/* ページャー2 */
.wp-pagenavi {
	text-align: center;
	padding: 20px 0;
}

.wp-pagenavi a, .wp-pagenavi span {
	padding: 8px 8px !important;
	margin: 3px !important;
}

/* カテゴリーリンク */
#Cat_list {
	background-color: #F7F8F2;
}
#Cat_list.White {
	background-color: var(--white);
}
#Cat_list ul {
	display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
#Cat_list ul li {
	width: calc(33.33% - 1.4px);
    background-color: var(--white);
}
#Cat_list.Two_rows ul li {
	width: calc(50% - 1px);
}
#Cat_list.White ul li {
    background-color: #F7F8F2;
}
#Cat_list ul li a {
	display: block;
    padding: 6px 0px 6px 8px;
}
@media (min-width: 768px) {
	#Cat_list ul {
		gap: 3px;
	}
    #Cat_list ul li {
		width: calc(25% - 3px);
	}
	#Cat_list.Two_rows ul li {
		width: calc(25% - 3px);
	}
    #Cat_list ul li a {
		padding: 8px 0px 8px 12px;
	}
}

/* シングルページ */
.kaitori-single {
  width: 100%;
}
.kaitori-single__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
/* PC：画像（左）＋情報（右） */
@media (min-width: 768px) {
  .kaitori-single__grid {
	grid-template-columns: minmax(440px, 1fr) minmax(360px, 440px);
    gap: 60px;
  }
}

/* --- Gallery --- */
.product-gallery{
  display: grid;
  grid-template-columns: 1fr 50px; /* 右サムネ列（SPでも右） */
  gap: 12px;
  align-items: start;
}
.product-gallery__main{
  background: #f3f4f6;
  overflow: hidden;
}
.product-gallery__main img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f3f4f6;
}
/* 右：縦サムネ */
.product-gallery__thumbs{
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}
.product-gallery__thumb{
  appearance: none;
  width: 50px;
  height: 50px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}
.product-gallery__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery__thumb.is-active{
  border-color: #111827;
}
/* SPは右列を少し細く */
@media (min-width: 520px){
  .product-gallery{
    grid-template-columns: 1fr 72px;
    gap: 10px;
  }
  .product-gallery__thumb{
    width: 72px;
    height: 72px;
  }
}
/* PCは少し大きく */
@media (min-width: 768px){
  .product-gallery{
    grid-template-columns: 1fr 96px;
    gap: 30px;
  }
  .product-gallery__thumb{
    width: 96px;
    height: 96px;
  }
  .product-gallery__thumbs{
    gap: 14px;
  }
}

/* --- 右カラム情報 --- */
.product-meta {
  display: grid;
  gap: 30px;
}
.meta-box {
  border-top: 0;
}
#single .meta-box__title {
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 10px;
}
#single .meta-box__title::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--tooloff8);
  border-radius: 2px;
  flex: 0 0 12px;
}
.meta-dl__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: end;
}
.meta-dl__row:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}
.meta-dl__em span {
  color: var(--tooloff2);
  font-size: 17px;
}
#single h1 {
	color: var(--tooloff8);
	font-size: 14px;
	font-weight: bold;
	padding: 24px;
	padding-bottom: 10px;
	line-height: 1.7;
	text-align: left;
    margin: 0;
}
#single .date {
	font-size: 10px;
	text-align: right;
	padding-right: 24px;
	margin-bottom: -16px;
}
@media (min-width: 768px) {
	#single h1 {
		font-size: 24px;
		max-width: 1160px;
		margin: 0 auto;
		padding: 40px 0;
	}
	#single .date {
		font-size: 12px;
		max-width: 1160px;
		margin: 0 auto -40px;
		padding: 0;
	}
	.product-meta {
		gap: 44px;
	}
	#single .meta-box__title {
		font-size: 20px;
	}
	#single .meta-box__title::before {
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
	}
	.meta-dl__row {
		grid-template-columns: 140px 1fr;
		gap: 30px;
		padding: 14px 0;
	}
	.meta-dl__em span {
		font-size: 20px;
	}
}

/*** 商材・メーカー・商材地域LPへのリンク ***/
#Links .wrap {
	max-width: 780px;
}
#Links p {
    border-bottom: 1px solid #e5e7eb;
    align-items: end;
}
#Links p:last-of-type {
	border-bottom: none;
}
#Links p a {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}
#Links p:last-of-type a {
	padding-bottom: 0;
}
#Links p a::after {
    color: var(--tooloff8);
    font-family: "icomoon";
    font-display: swap;
    content: "\e905";
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--white);
}
@media (min-width: 768px) {
	#Links p a {
		padding: 16px 0;
	}
	#Links p a::after {
		-webkit-text-stroke: 2px var(--white);
		text-stroke: 2px var(--white);
	}
}

/*** スタッフ記入欄 ***/
#Comment {
	padding-top: 0;
}
#Comment .wrap {
	max-width: 780px;
}
#Comment .txt_under_h2 {
	padding-top: 14px;
}
#Comment h3 {
    font-size: 13px;
    padding-top: 20px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
#Comment h3::before {
    content: "";
    width: 12px;
    height: 2px;
    background: var(--btn_color2);
    border-radius: 2px;
    flex: 0 0 12px;
}
#Comment .txt_under_h3 {
	padding-top: 20px;
    padding-left: 10px;
}
@media (min-width: 768px) {
	#Comment .txt_under_h2 {
		line-height: 1.8;
	}
	#Comment h3 {
		font-size: 20px;
	}
    #Comment h3::before {
		width: 16px;
		flex: 0 0 16px;
	}
	#Comment .txt_under_h3 {
		line-height: 1.8;
	}
}
