﻿/* sub_banner */
#sub_banner img { min-width: 100vw; }

/* sidebar_left */
.sidebar_left { padding: 1em 0 2em; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2em 2%; }
.sidebar_left .breadcrumb { width: 100%; }

/* breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .2em 1em; }
.breadcrumb .breadcrumb_item { display: flex; align-items: center; line-height: 1; font-weight: 400; color: var(--g_800); }
.breadcrumb .breadcrumb_item:not(:first-child):before { margin-right: 1em; width: 1em; aspect-ratio: 1/1; display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='color-mix(in srgb, %23242424 30%25, white)'%3E%3Cpath d='M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z'/%3E%3C/svg%3E"); }
.breadcrumb .breadcrumb_item a { line-height: 1; font-weight: 300; color: var(--g_400); }
.breadcrumb .breadcrumb_item:last-child a { font-weight: 400; color: var(--g_800); }

/* aside */
aside { position: relative; }
aside .side_title { font-weight: 500; font-size: 1.5em; color: var(--indigo); }
aside .icon_bar { margin-right: .5em; width: 19.5px; aspect-ratio: 1/1; border-bottom: 2px white solid; display: none; flex-direction: column; justify-content: space-evenly; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
aside .icon_bar:before , aside .icon_bar:after { width: 100%; height: 2px; background: white; display: block; content: ""; }
aside .icon_bar:after { margin-bottom: .8px; width: 60%; }
aside #category_nav >li:not(:last-child) { border-bottom: 1px var(--g_200) solid; }
aside #category_nav li font , aside #category_nav li a { padding: .5em; display: block; font-weight: 400; }
aside #category_nav .sub_cat { margin: 0 .5em .5em; background: color-mix(in srgb, var(--indigo) 10%, white); }
aside #category_nav .sub_cat li a { padding: .1em .5em; color: color-mix(in srgb, var(--indigo) 80%, white); }

/* list_style */
.list_style .info_box { position: relative; margin: .3em 0; padding: .8em 1em; border-bottom: 1px var(--g_200) solid; display: flex; align-items: center; gap: 1em; }
.list_style .info_box .time { display: flex; align-items: baseline; gap: .5em; line-height: 1; }
.list_style .info_box h3 { width: 1%; flex: 1 1 auto; }
.list_style .link_a { position: absolute; display: block; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; }
.list_style .info_box:after { height: 1.5em; aspect-ratio: 1/1; border-radius: 50%; content: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23485DA2'%3E%3Cpath d='M17.707 9.293l-5-5a.999.999 0 1 0-1.414 1.414L14.586 9H3a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414'/%3E%3C/svg%3E"); }

/* product_list */
#product_list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5em; }
#product_list .info_box { overflow: hidden; margin: 0; padding: 0 1.3em 1em; flex-direction: column; background: color-mix(in srgb, var(--indigo) 50%, black); border-radius: 1em; }
#product_list .info_box * { color: #fff; }
#product_list .info_box .photo { margin: 0 -1.3em 1em; }
#product_list .info_box .photo img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
#product_list .info_box h3 { width: 100%; height: 3.4em; -webkit-line-clamp: 2; }
#product_list .info_box:after { display: none; }

/* detail_box */
.detail_box { display: flex; flex-direction: column; gap: .8em; }

/* pagenav */
#pagenav { margin-top: 2em; display: flex; justify-content: center; align-items: center; gap: .8em; }
#pagenav *:not(:first-child, :last-child) { min-width: 1.8em; aspect-ratio: 1/1; display: block; border-radius: 50%; text-align: center; }
#pagenav .numbox_hit { background: var(--indigo); color: #fff; }
#pagenav svg { width: .8em; aspect-ratio: 1/1; fill: var(--g_500); }
#pagenav[data-action="detail"] { justify-content: space-between; }
#pagenav[data-action="detail"] p { max-width: 45%; }
#pagenav[data-action="detail"] p a { display: flex; align-items: center; gap: .5em; }
#pagenav[data-action="detail"] p a font { width: 1%; flex: 1 1 auto; }

/* sitemap */
#sitemap { position: relative; display: grid; gap: 2em; }
#sitemap h2 { position: sticky; padding: .3em 1em; background: var(--indigo); font-size: 1.2em; color: #fff; top: 100px; z-index: 1; }
#sitemap .list_style .info_box { padding: .2em 1em; }
#sitemap .list_style .info_box h3 { font-weight: 400; font-size: 1em; color: var(--g_900); }

@media screen and (max-width: 1024px){
	#sub_banner img { aspect-ratio: 21/9; object-fit: cover; }
}
@media screen and (min-width: 981px){
	.sidebar_left aside { position: sticky; width: 250px; align-self: flex-start; top: 100px; }
	.sidebar_left #content_wrap { width: 1%; flex: 1 1 auto; }
}
@media screen and (max-width: 980px){
	aside #category_nav { position: absolute; padding: .5em 0; width: 250px; background: white; box-shadow: 0 .2em 1em 0 rgba(0, 0, 0, .1); z-index: 5; left: 0; opacity: 0; visibility: hidden; -webkit-transform: translateY(50px); transform: translateY(50px); pointer-events: none; }
	aside .side_title { margin-bottom: 0; padding: .2em 1em .3em; background: var(--indigo); display: inline-flex; align-items: center; cursor: pointer; color: white; }
	aside .icon_bar { margin-top: 5px; display: flex; }
	aside[data-type="2"] #category_nav { overflow-y: scroll; max-height: 350px; opacity: 1; visibility: visible; -webkit-transform: translateY(0); transform: translateY(0); pointer-events: auto; }
}
@media screen and (max-width: 550px){
	#product_list { grid-template-columns: repeat(1, 1fr); }
}