/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0.0
Text Domain: oceanwp-child
*/

/*
 * 構成
 * 01. 新着商品
 * 02. おすすめ商品
 * 03. NEWS一覧
 * 04. 商品カテゴリー
 * 05. 新発売情報一覧
 * 06. 発売日詳細
 * 07. レスポンシブ
 */

/* ========================================
   Elementor内で商品グリッドを全幅にする
======================================== */

.elementor-widget-shortcode:has(.cbg-product-section),
.elementor-widget-shortcode:has(.cbg-product-section) .elementor-widget-container,
.elementor-widget-shortcode:has(.cbg-product-section) .elementor-shortcode {
	display: block;
	width: 100%;
	max-width: none;
}

.cbg-product-section {
	display: block;
	width: 100%;
	max-width: 1500px;
	margin-inline: auto;
}

.cbg-product-grid {
	width: 100%;
	min-width: 0;
}

.cbg-product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	padding: 0 36px;
}

/* ========================================
   HOME
======================================== */

.cbg-product-section--home .cbg-product-grid{
	grid-template-columns:repeat(5,minmax(0,1fr));
}

/* ========================================
   一覧ページ
======================================== */

.cbg-product-section--archive .cbg-product-grid{
	grid-template-columns:repeat(6,minmax(0,1fr));
}

/* ========================================
   セクションタイトル
======================================== */

.cbg-section-title{
    text-align:center;
    margin-bottom:40px;
}

.cbg-section-title__en{

    display:block;

    margin-bottom:8px;

    color:#999999;

    font-size:12px;

    font-weight:700;

    letter-spacing:.35em;

    text-transform:uppercase;
}

.cbg-section-title__en::after{

    content:"";

    display:block;

    width:60px;

    height:2px;

    margin:14px auto 0;

    background:#c21927;
}

.cbg-section-title__ja{

    margin:0;

    color:#222;

    font-size:44px;

    font-weight:800;

    line-height:1.2;

    letter-spacing:.04em;
}

/* ========================================
   HOME：新着商品カード
======================================== */

.cbg-product-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.cbg-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.cbg-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.cbg-product-card__link:hover,
.cbg-product-card__link:focus {
	color: inherit;
	text-decoration: none;
}

/* ========================================
   商品画像
======================================== */

.cbg-product-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e9e9e9;
}

.cbg-product-card__image img.cbg-product-card__thumbnail {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.cbg-product-card:hover .cbg-product-card__image img.cbg-product-card__thumbnail {
	transform: scale(1.035);
}

/* ========================================
   商品種別ラベル
======================================== */

.cbg-product-card__type {
	position: absolute;
	top: 11px;
	left: 11px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 4px 10px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	border-radius: 4px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ポストカード */
.cbg-product-card__type--postcard{
    background:#1565C0;
    color:#fff;
}

/* ポスター */
.cbg-product-card__type--poster{
    background:#7CB342;
    color:#fff;
}

/* グッズ */
.cbg-product-card__type--goods{
    background:#C62828;
    color:#fff;
}

/* ========================================
   商品情報
======================================== */

.cbg-product-card__body {
	flex-grow: 1;
	padding: 10px 10px 10px;
}

.cbg-product-card__release-date {
	margin: 0 0 3px;
	color: #222;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.cbg-product-card__release-date span {
	margin-left: 3px;
}

.cbg-product-card__title {
	margin: 0;
	color: #171717;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.cbg-product-section--archive
.cbg-product-card__title{

	font-size:14px;
	line-height:1.4;
}

.cbg-product-section--archive
.cbg-product-card__release-date{

	font-size:12px;
	font-weight:400;
}

.cbg-product-section--archive
.cbg-product-card__body{

	padding:12px;
}

/* 一覧ページだけラベルを小さく */

.cbg-product-section--archive .cbg-product-card__type{

	top:8px;
	left:8px;

	min-height:24px;
	padding:3px 8px;

	font-size:11px;
	font-weight:700;
	line-height:1.2;

	border-radius:3px;
}

/* ========================================
   新着商品：下部アクション
======================================== */

.cbg-product-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 38px;
	padding: 0 20px;
}

/* メイン導線：新着商品をすべて見る */
.cbg-product-actions__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	min-width: 300px;
	min-height: 58px;
	padding: 12px 30px;

	border: 1.5px solid #c21927;
	border-radius: 100px;
	background: #fff;

	color: #c21927;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.cbg-product-actions__primary:hover,
.cbg-product-actions__primary:focus-visible {
	color: #fff;
	background: #c21927;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 7px 18px rgba(194, 25, 39, 0.16);
}

/* 補助導線：発売予定の商品を見る */
.cbg-product-actions__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 6px 10px;

	color: #071b3f;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;

	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.cbg-product-actions__secondary:hover,
.cbg-product-actions__secondary:focus-visible {
	color: #c21927;
	text-decoration: none;
	transform: translateY(-1px);
}

.cbg-product-actions__primary:focus-visible,
.cbg-product-actions__secondary:focus-visible {
	outline: 3px solid rgba(194, 25, 39, 0.22);
	outline-offset: 4px;
}

.cbg-product-actions__arrow {
	font-size: 21px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.cbg-product-actions__primary:hover .cbg-product-actions__arrow,
.cbg-product-actions__primary:focus-visible .cbg-product-actions__arrow,
.cbg-product-actions__secondary:hover .cbg-product-actions__arrow,
.cbg-product-actions__secondary:focus-visible .cbg-product-actions__arrow {
	transform: translateX(4px);
}

/* ========================================
   新着商品：ページ送り
======================================== */

.cbg-product-pagination {
	display: flex;
	justify-content: center;
	margin-top: 42px;
	padding-inline: 20px;
}

.cbg-product-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0 4px;
	padding: 0 12px;
	color: #222;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 4px;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.cbg-product-pagination a.page-numbers:hover,
.cbg-product-pagination a.page-numbers:focus {
	color: #fff;
	background: #c21927;
	border-color: #c21927;
	text-decoration: none;
}

.cbg-product-pagination .page-numbers.current {
	color: #fff;
	background: #c21927;
	border-color: #c21927;
}

.cbg-product-pagination .page-numbers.dots {
	min-width: auto;
	padding-inline: 5px;
	background: transparent;
	border-color: transparent;
}

@media (max-width: 600px) {

	.cbg-product-pagination {
		margin-top: 30px;
		padding-inline: 8px;
	}

	.cbg-product-pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		margin: 0 2px;
		padding-inline: 8px;
		font-size: 12px;
	}

}

/* ========================================
   HOME：おすすめ商品カード
   STEP1 カードデザイン
======================================== */

.cbg-pickup{
	width:100%;
}

/* カード本体 */
.cbg-pickup-card{
	display:flex;
	flex-direction:column;
	height:100%;
	overflow:hidden;

	background:#fff;
	border:1px solid rgba(0,0,0,.08);
	border-radius:16px;

	color:inherit;
	text-decoration:none;

	box-shadow:0 8px 24px rgba(0,0,0,.06);

	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.cbg-pickup-card:hover,
.cbg-pickup-card:focus-visible{
	color:inherit;
	text-decoration:none;
	transform:translateY(-1.2px);
	border-color:rgba(217,78,43,.32);
	box-shadow:0 12px 26px rgba(0,0,0,.11);
}

.cbg-pickup-card:focus-visible{
	outline:3px solid rgba(217,78,43,.28);
	outline-offset:4px;
}

/* ========================================
   商品画像
======================================== */

.cbg-pickup-card__image{
	position:relative;
	width:100%;
	aspect-ratio:4 / 3;
	overflow:hidden;
	background:#f4f4f2;
}

.cbg-pickup-card__image img.cbg-pickup-card__thumbnail{
	position:absolute;
	inset:0;

	display:block;
	width:100% !important;
	height:100% !important;
	max-width:none !important;

	margin:0 !important;
	padding:0 !important;

	object-fit:cover !important;
	object-position:center center !important;
}

.cbg-pickup-card:hover .cbg-pickup-card__thumbnail{
	transform:scale(1.035);
}

/* アイキャッチ未設定時 */
.cbg-pickup-card__placeholder{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;

	color:#777;
	font-size:0.9rem;
	letter-spacing:0.04em;
}

/* ========================================
   カード本文
======================================== */

.cbg-pickup-card__body{
	display:flex;
	flex-direction:column;
	flex:1;

    padding:18px 18px 16px;
}

/* 商品名 */
.cbg-pickup-card__title{
	margin:0;

	color:#222;
	font-size:1.32rem;
	font-weight:700;
	line-height:1.45;
	letter-spacing:0.02em;
}

/* 紹介文 */
.cbg-pickup-card__summary{
	margin:8px 0 0;

	color:#666;
	font-size:1rem;
	line-height:1.7;
}

/* ========================================
   価格・ボタン
======================================== */

.cbg-pickup-card__footer{
	display:flex;
	flex-direction:column;
	align-items:stretch;

	margin-top:auto;
	padding-top:20px;
}

/* 価格 */
.cbg-pickup-card__price{
	margin:0 0 12px;

	color:#222;
	font-size:1.4rem;
	font-weight:700;
	line-height:1;
	letter-spacing:0.02em;
}

/* 商品ページボタン */
.cbg-pickup-card__button{
	display:flex;
	align-items:center;
	justify-content:center;

	min-height:28px;
	padding:7px 15px;

	background:#d94e2b;
	border:1px solid #d94e2b;
	border-radius:999px;

	color:#fff;
	font-size:0.92rem;
	font-weight:700;
	line-height:1.4;
	letter-spacing:0.04em;
	text-align:center;
	text-decoration:none;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.cbg-pickup-card__button:hover,
.cbg-pickup-card__button:focus-visible{
	background:#fff;
	color:#d94e2b;
	text-decoration:none;
	transform:translateY(-1px);
}

.cbg-pickup-card__button:focus-visible{
	outline:3px solid rgba(217, 78, 43, 0.24);
	outline-offset:3px;
}

.cbg-pickup-card__more{
	display:flex;
	align-items:center;
	justify-content:space-between;

	margin-top:12px;
	padding-top:12px;
	border-top:1px solid rgba(0,0,0,.08);

	color:#d94e2b;
	font-size:.9rem;
	font-weight:700;
	line-height:1.4;
}

.cbg-pickup-card__more span{
	transition:transform .2s ease;
}

.cbg-pickup-card:hover .cbg-pickup-card__more span{
	transform:translateX(4px);
}

/* ========================================
   HOME：おすすめ商品 Swiper
======================================== */

.cbg-pickup{
	position:relative;
	width:100%;
	max-width:100%;
	min-width:0;
}

/* Elementorのショートコード枠 */
.elementor-widget-shortcode:has(.cbg-pickup),
.elementor-widget-shortcode:has(.cbg-pickup) .elementor-widget-container,
.elementor-widget-shortcode:has(.cbg-pickup) .elementor-shortcode{
	display:block;
	width:100%;
	max-width:100%;
	min-width:0;
}

/* Swiper本体 */
.cbg-pickup__viewport{
	width:calc(100% + 20px);
	max-width:none;
	min-width:0;

	overflow:hidden;

	padding:24px 10px 34px;
	margin:-10px -10px -14px;
}

.cbg-pickup__track{
	display:flex;
	align-items:stretch;
	min-width:0;
}

.cbg-pickup__slide{
	display:flex;
	height:auto;
	min-width:0;
	box-sizing:border-box;
}

.cbg-pickup-card{
	width:100%;
	max-width:100%;
	height:100%;
	min-width:0;
}

/* ========================================
   操作部分
======================================== */

.cbg-pickup__controls{
	display:flex;
	align-items:center;
	gap:28px;
	margin-top:22px;
}

/* 進捗バー */
.cbg-pickup__progress{
	flex:1;
	min-width:0;
}

.cbg-pickup__scrollbar{
	position:relative !important;
	inset:auto !important;

	width:100% !important;
	height:3px !important;

	background:rgba(34,34,34,.13);
	border-radius:999px;
	overflow:hidden;
}

.cbg-pickup__scrollbar .swiper-scrollbar-drag{
	height:100%;
	background:#d94e2b;
	border-radius:999px;
	cursor:grab;
}

.cbg-pickup__scrollbar .swiper-scrollbar-drag:active{
	cursor:grabbing;
}

/* 左右ボタン */
.cbg-pickup__buttons{
	display:flex;
	align-items:center;
	gap:10px;
	flex:0 0 auto;
}

.cbg-pickup__button{
	display:flex;
	align-items:center;
	justify-content:center;

	width:42px;
	height:42px;
	padding:0;

	background:transparent;
	border:1px solid rgba(34,34,34,.3);
	border-radius:50%;

	color:#222;
	font-size:1.15rem;
	line-height:1;

	cursor:pointer;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .2s ease,
		opacity .2s ease;
}

.cbg-pickup__button:hover,
.cbg-pickup__button:focus-visible{
	background:#d94e2b;
	border-color:#d94e2b;
	color:#fff;
	transform:translateY(-1px);
}

.cbg-pickup__button:focus-visible{
	outline:3px solid rgba(217,78,43,.24);
	outline-offset:3px;
}

.cbg-pickup__button.swiper-button-disabled{
	opacity:.28;
	cursor:default;
	pointer-events:none;
}

/* Swiper標準の疑似要素を使わない */
.cbg-pickup__button::after{
	display:none;
}

.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container{
	width:100%;
	min-width:0;
}

/* ========================================
   HOME：NEWS一覧
======================================== */

.carpio-news-list {
	width: 100%;
	font-size: 14px;
}

.carpio-news-list__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.carpio-news-list__item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.carpio-news-list__link {
	display: grid;
	grid-template-columns:
		110px
		158px
		minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
	width: 100%;
	padding: 18px 8px;
	color: #4a4a4a;
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}


/* ========================================
   日付
======================================== */

.carpio-news-list__date {
	color: #777;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	white-space: nowrap;
}


/* ========================================
   ラベルエリア
======================================== */

.carpio-news-list__labels {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: 158px;
	min-width: 158px;
}


/* ========================================
   ラベル共通
======================================== */

.carpio-news-list__label {
	display: inline-flex;
	flex: 0 0 76px;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 21px;
	padding: 1px 5px;
	border-radius: 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
}


/* ショップ */
.carpio-news-list__label.is-shop {
	background-color: #df6546;
}


/* ギャラリー */
.carpio-news-list__label.is-gallery {
	background-color: #36597d;
}


/* 通販 */
.carpio-news-list__label.is-e-buy {
	background-color: #7fa844;
}


/* 子カテゴリーなし・3カテゴリー選択時 */
.carpio-news-list__label.is-default {
	background-color: #aaa;
}


/* ========================================
   投稿タイトル
======================================== */

.carpio-news-list__title {
	min-width: 0;
	color: #4b4b4b;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}


/* ========================================
   hover
======================================== */

.carpio-news-list__link:hover,
.carpio-news-list__link:focus-visible {
	background-color: rgba(217, 78, 43, 0.035);
}

.carpio-news-list__link:hover .carpio-news-list__title,
.carpio-news-list__link:focus-visible .carpio-news-list__title {
	color: #d94e2b;
}

.carpio-news-list__link:focus-visible {
	outline: 2px solid #d94e2b;
	outline-offset: -2px;
}


/* ========================================
   お知らせがない場合
======================================== */

.carpio-news-list__empty {
	margin: 0;
	padding: 18px 0;
	color: #777;
	font-size: 14px;
}

/* ========================================
   商品カテゴリー：画像付きグリッド
======================================== */

.goods-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

/* カテゴリーカード全体 */
.goods-category-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 5 / 2;
	overflow: hidden;
	background: #eee;
	color: #fff;
	text-decoration: none;
	border-radius:14px;
}

/* 画像を包む要素 */
.goods-category-card .goods-category-card__image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* WordPressが生成する画像要素 */
.goods-category-card .goods-category-card__image img,
.goods-category-card img.goods-category-card__img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center center;
}

/* 画像がない場合 */
.goods-category-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #eee;
	color: #777;
}
.goods-category-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.62) 0%,
		rgba(0, 0, 0, 0.18) 48%,
		rgba(0, 0, 0, 0.06) 100%
	);
	transition: background 0.3s ease;
}

.goods-category-card__title {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	z-index: 2;
	margin: 0;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.goods-category-card:hover .goods-category-card__image img {
	transform: scale(1.045);
}

.goods-category-card:hover::after {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.22) 50%,
		rgba(0, 0, 0, 0.08) 100%
	);
}

.goods-category-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #eee;
	color: #777;
}

/* ========================================
   商品カテゴリーアーカイブ
======================================== */

.cbg-goods-category-archive {
	width: 100%;
	padding: 62px 24px 90px;
	background: #fff;
}

.cbg-goods-category-archive__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* ========================================
   カテゴリー見出し
======================================== */

.cbg-goods-category-archive__header {
	max-width: 800px;
	margin: 0 auto 52px;
	text-align: center;
}

.cbg-goods-category-archive__eyebrow {
	margin: 0 0 12px;
	color: #999;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.cbg-goods-category-archive__eyebrow::after {
	content: "";
	display: block;
	width: 54px;
	height: 2px;
	margin: 14px auto 0;
	background: #d94e2b;
}

.cbg-goods-category-archive__title {
	margin: 0;
	color: #222;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.04em;
}

.cbg-goods-category-archive__description {
	max-width: 720px;
	margin: 22px auto 0;
	color: #555;
	font-size: 15px;
	line-height: 1.9;
	text-align: left;
}

.cbg-goods-category-archive__description p {
	margin: 0 0 0.8em;
}

.cbg-goods-category-archive__description p:last-child {
	margin-bottom: 0;
}


/* ========================================
   商品グリッド

   PC：5列
======================================== */

.cbg-category-products-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px 20px;
	width: 100%;
}

.cbg-category-products-grid.is-count-1,
.cbg-category-products-grid.is-count-2,
.cbg-category-products-grid.is-count-3,
.cbg-category-products-grid.is-count-4 {
	grid-template-columns:
		repeat(
			var(--cbg-grid-count),
			minmax(0, var(--cbg-grid-card-width))
		);

	justify-content: center;

	--cbg-grid-card-width:
		calc((100% - 80px) / 5);
}

.cbg-category-products-grid.is-count-1 {
	--cbg-grid-count: 1;
}

.cbg-category-products-grid.is-count-2 {
	--cbg-grid-count: 2;
}

.cbg-category-products-grid.is-count-3 {
	--cbg-grid-count: 3;
}

.cbg-category-products-grid.is-count-4 {
	--cbg-grid-count: 4;
}


/* ========================================
   商品カード
======================================== */

.cbg-category-product-card {
	min-width: 0;
	margin: 0;
}

.cbg-category-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;

	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;

	color: inherit;
	text-decoration: none;

	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.055);

	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.cbg-category-product-card__link:hover,
.cbg-category-product-card__link:focus-visible {
	color: inherit;
	text-decoration: none;

	transform: translateY(-3px);

	border-color: rgba(217, 78, 43, 0.28);

	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.11);
}

.cbg-category-product-card__link:focus-visible {
	outline: 3px solid rgba(217, 78, 43, 0.25);
	outline-offset: 4px;
}


/* ========================================
   商品画像
======================================== */

.cbg-category-product-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;

	background: #f5f5f3;

	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cbg-category-product-card__thumbnail {
	position: absolute !important;
	inset: 0 !important;

	display: block !important;

	width: 100% !important;
	height: 100% !important;

	max-width: none !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: center center !important;

	transition: transform 0.35s ease;
}

.cbg-category-product-card__link:hover
.cbg-category-product-card__thumbnail,
.cbg-category-product-card__link:focus-visible
.cbg-category-product-card__thumbnail {
	transform: scale(1.035);
}


/* ========================================
   画像準備中
======================================== */

.cbg-category-product-card__placeholder {
	position: absolute;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;

	color: #888;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
}


/* ========================================
   商品情報
======================================== */

.cbg-category-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;

	padding: 15px 15px 16px;
}

.cbg-category-product-card__title {
	margin: 0;

	color: #222;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.015em;
}

.cbg-category-product-card__price {
	margin: auto 0 0;
	padding-top: 12px;

	color: #222;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.01em;
}


/* ========================================
   商品がない場合
======================================== */

.cbg-goods-category-archive__empty {
	margin: 0;
	padding: 50px 20px;

	color: #777;
	font-size: 15px;
	line-height: 1.8;
	text-align: center;

	border-top: 1px solid rgba(0, 0, 0, 0.12);
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}


/* ========================================
   ページ送り
======================================== */

.cbg-category-products-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;

	margin-top: 50px;
}

.cbg-category-products-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 42px;
	height: 42px;
	padding: 0 12px;

	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 6px;

	color: #333;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.cbg-category-products-pagination a.page-numbers:hover,
.cbg-category-products-pagination a.page-numbers:focus-visible,
.cbg-category-products-pagination .page-numbers.current {
	background: #d94e2b;
	border-color: #d94e2b;
	color: #fff;
	text-decoration: none;
}

.cbg-category-products-pagination a.page-numbers:focus-visible {
	outline: 3px solid rgba(217, 78, 43, 0.24);
	outline-offset: 3px;
}

/* ========================================
   1100px以下：4列
======================================== */

@media screen and (max-width: 1100px) {

	.cbg-category-products-grid {
		grid-template-columns:
			repeat(4, minmax(0, 1fr));

		gap: 24px 18px;
	}

	.cbg-category-products-grid.is-count-1,
	.cbg-category-products-grid.is-count-2,
	.cbg-category-products-grid.is-count-3,
	.cbg-category-products-grid.is-count-4 {
		--cbg-grid-card-width:
			calc((100% - 54px) / 4);
	}

}

/* ========================================
   900px以下：4列
======================================== */

@media (max-width: 900px) {

	.cbg-goods-category-archive {
		padding: 50px 24px 72px;
	}

	.cbg-goods-category-archive__header {
		margin-bottom: 42px;
	}

	.cbg-goods-category-archive__title {
		font-size: 36px;
	}

	.cbg-category-products-grid {
		grid-template-columns:
			repeat(3, minmax(0, 1fr));

		gap: 24px 18px;
	}

	.cbg-category-products-grid.is-count-1,
	.cbg-category-products-grid.is-count-2,
	.cbg-category-products-grid.is-count-3,
	.cbg-category-products-grid.is-count-4 {
		--cbg-grid-card-width:
			calc((100% - 36px) / 3);
	}

	.cbg-category-products-grid.is-count-4 {
		--cbg-grid-count: 2;
	}

	.cbg-category-product-card__body {
		padding: 13px 12px 14px;
	}

	.cbg-category-product-card__title {
		font-size: 14px;
	}

	.cbg-category-product-card__price {
		font-size: 13px;
	}

}


/* ========================================
   767px以下：2列
======================================== */

@media (max-width: 767px) {

	.cbg-goods-category-archive {
		padding: 40px 16px 60px;
	}

	.cbg-goods-category-archive__header {
		margin-bottom: 34px;
	}

	.cbg-goods-category-archive__eyebrow {
		font-size: 10px;
	}

	.cbg-goods-category-archive__title {
		font-size: 30px;
	}

	.cbg-goods-category-archive__description {
		margin-top: 18px;
		font-size: 14px;
		line-height: 1.8;
	}

	.cbg-category-products-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		gap: 20px 12px;
	}

	.cbg-category-products-grid.is-count-1,
	.cbg-category-products-grid.is-count-2,
	.cbg-category-products-grid.is-count-3,
	.cbg-category-products-grid.is-count-4 {
		--cbg-grid-card-width:
			calc((100% - 12px) / 2);

		--cbg-grid-count: 2;
	}

	.cbg-category-products-grid.is-count-1 {
		--cbg-grid-count: 1;
	}

	.cbg-category-products-grid.is-count-3
	.cbg-category-product-card:last-child {
		grid-column: 1 / -1;
		width: var(--cbg-grid-card-width);
		justify-self: center;
	}

	.cbg-category-product-card__link {
		border-radius: 10px;
	}

	.cbg-category-product-card__body {
		padding: 12px 10px 13px;
	}

	.cbg-category-product-card__title {
		font-size: 13px;
		line-height: 1.5;
	}

	.cbg-category-product-card__price {
		padding-top: 9px;
		font-size: 12px;
		line-height: 1.5;
	}

	.cbg-category-products-pagination {
		margin-top: 38px;
	}

	.cbg-category-products-pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 9px;
		font-size: 12px;
	}

}

/* ========================================
   新発売情報一覧
======================================== */

.cbg-release-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.cbg-release-item {
	width: 100%;
	margin: 0;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.cbg-release-item:hover {
	background: rgba(217, 78, 43, 0.035);
	box-shadow: none;
	transform: none;
}

.cbg-release-item__link {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
	padding: 22px 10px;
	color: #222;
	text-decoration: none !important;
}

.cbg-release-item__link:hover,
.cbg-release-item__link:focus {
	color: #222;
	text-decoration: none !important;
}

.cbg-release-item__link:focus-visible {
	outline: 2px solid #d94e2b;
	outline-offset: -2px;
}

.cbg-release-item__date {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 0.35em;
	padding-right: 24px;
	line-height: 1.4;
	white-space: nowrap;
}

.cbg-release-item__date time,
.cbg-release-item__date > span {
	margin: 0;
	color: #222;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.cbg-release-item__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding-right: 26px;
	gap: 10px;
}

.cbg-release-item__primary,
.cbg-release-item__goods {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	gap: 7px 18px;
}

.cbg-release-tag {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	padding-left: 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #242424;
	font-size: 17px;
	line-height: 1.4;
	white-space: nowrap;
}

.cbg-release-tag::before {
	content: "";
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	transform: translateY(-50%);
}

.cbg-release-tag strong {
	margin-left: 0.55em;
	font-size: 1em;
	font-weight: 700;
	white-space: nowrap;
}

.cbg-release-tag--postcard::before {
	background: #1565c0;
}

.cbg-release-tag--poster::before {
	background: #6d9f34;
}

.cbg-release-tag--goods::before {
	background: #d98a2f;
}

.cbg-release-item__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	gap: 10px;
	min-height: 34px;
	padding: 6px 14px;
	border: 1px solid #222;
	border-radius: 7px;
	background: transparent;
	color: #222;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.cbg-release-item__more-text,
.cbg-release-item__arrow {
	font-size: 14px;
	line-height: 1.4;
}

.cbg-release-item__more-text {
	font-weight: 600;
}

.cbg-release-item__arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}

.cbg-release-item:hover .cbg-release-item__more {
	background: #222;
	color: #fff;
}

.cbg-release-item:hover .cbg-release-item__arrow {
	transform: translateX(3px);
}

.cbg-release-list__empty {
	margin: 0;
	padding: 28px 20px;
	background: #f7f7f5;
	color: #666;
	text-align: center;
}

/* ========================================
   発売日詳細ページ
======================================== */


/* ========================================
   Elementorのショートコード領域
======================================== */

.elementor-widget-shortcode:has(.cbg-release-detail),
.elementor-widget-shortcode:has(.cbg-release-detail)
.elementor-widget-container,
.elementor-widget-shortcode:has(.cbg-release-detail)
.elementor-shortcode {
	display: block;
	width: 100%;
	max-width: none;
	min-width: 0;
}


/* ========================================
   全体
======================================== */

.cbg-release-detail {
	display: block;
	width: 100%;
	min-width: 0;
}


/* ========================================
   商品グリッド

   PC・タブレット横：3列
======================================== */

.cbg-release-detail__grid {
	display: grid;
	grid-template-columns:
		repeat(3, minmax(0, 1fr));
	align-items: stretch;

	width: 100%;
	max-width: 1020px;
	margin-inline: auto;

	gap: 26px 24px;
}


/* ========================================
   商品カード
======================================== */

.cbg-release-detail-card {
	display: block;
	min-width: 0;
	margin: 0;
	overflow: hidden;

	border: 1px solid rgba(0, 0, 0, 0.11);
	border-radius: 10px;

	background: #fff;

	box-shadow:
		0 4px 14px rgba(0, 0, 0, 0.06);

	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.cbg-release-detail-card:hover {
	transform: translateY(-3px);

	border-color:
		rgba(217, 78, 43, 0.32);

	box-shadow:
		0 11px 27px rgba(0, 0, 0, 0.11);
}


/* ========================================
   カードリンク
======================================== */

.cbg-release-detail-card__link {
	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;

	color: inherit;
	text-decoration: none !important;
}

.cbg-release-detail-card__link:hover,
.cbg-release-detail-card__link:focus {
	color: inherit;
	text-decoration: none !important;
}

.cbg-release-detail-card__link:focus-visible {
	outline:
		3px solid rgba(217, 78, 43, 0.24);

	outline-offset: -3px;
}


/* ========================================
   画像
======================================== */

.cbg-release-detail-card__image {
	position: relative;

	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;

	background: #efefed;
}

.cbg-release-detail-card__thumbnail {
	position: absolute;
	inset: 0;

	display: block;

	width: 100% !important;
	height: 100% !important;
	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: center center !important;

	transition:
		transform 0.4s ease;
}

.cbg-release-detail-card:hover
.cbg-release-detail-card__thumbnail {
	transform: scale(1.035);
}


/* 画像未設定時 */

.cbg-release-detail-card__placeholder {
	position: absolute;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #777;
	font-size: 0.92rem;
	line-height: 1.5;
	letter-spacing: 0.04em;
}


/* ========================================
   カード本文
======================================== */

.cbg-release-detail-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;

	min-height: 100px;
	padding: 15px 16px 17px;
}


/* ========================================
   ラベル・種類数の行
======================================== */

.cbg-release-detail-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;

	min-height: 24px;
	margin-bottom: 8px;
}


/* ========================================
   商品種別ラベル
======================================== */

.cbg-release-detail-card__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	min-height: 22px;
	padding: 3px 9px;

	border-radius: 5px;

	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	white-space: nowrap;
}


/* ポストカード */

.cbg-release-detail-card__label--postcard {
	background: #1565c0;
}


/* ポスター */

.cbg-release-detail-card__label--poster {
	background: #6d9f34;
}


/* グッズ */

.cbg-release-detail-card__label--goods {
	background: #c62828;
}


/* ========================================
   シリーズの商品数
======================================== */

.cbg-release-detail-card__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	min-height: 22px;
	padding: 3px 9px;

	border: 1px solid #ddd8d2;
	border-radius: 999px;

	background: #f5f2ef;
	color: #444;

	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
}


/* ========================================
   商品名
======================================== */

.cbg-release-detail-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	margin: 0;

	color: #202020;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.015em;
}


/* ========================================
   商品がない場合
======================================== */

.cbg-release-detail__empty {
	display: block;

	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
	padding: 28px 20px;

	border-radius: 8px;

	background: #f5f5f3;
	color: #666;

	font-size: 1rem;
	line-height: 1.7;
	text-align: center;
}


/* ========================================
   タブレット縦
   768px～900px：2列
======================================== */

@media (max-width: 900px) {

	.cbg-release-detail__grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		max-width: 720px;
		gap: 22px 20px;
	}

}


/* ========================================
   スマートフォン
   767px以下：1列
======================================== */

@media (max-width: 767px) {

	.cbg-release-detail__grid {
		grid-template-columns:
			minmax(0, 1fr);

		/*
		 * スマホ1列で横に広がりすぎるのを防止
		 */
		max-width: 520px;
		gap: 18px;
	}

	.cbg-release-detail-card__body {
		min-height: 0;
		padding: 14px 15px 16px;
	}

	.cbg-release-detail-card__meta {
		margin-bottom: 7px;
	}

	.cbg-release-detail-card__title {
		font-size: 1.12rem;
	}

}


/* ========================================
   小さいスマートフォン
======================================== */

@media (max-width: 480px) {

	.cbg-release-detail-card {
		border-radius: 8px;
	}

	.cbg-release-detail-card__body {
		padding: 13px 14px 15px;
	}

	.cbg-release-detail-card__label,
	.cbg-release-detail-card__count {
		min-height: 21px;
		padding: 3px 8px;
		font-size: 11px;
	}

	.cbg-release-detail-card__title {
		font-size: 1.08rem;
	}

}

/* 発売日詳細：最終調整 */

.cbg-release-detail {
	min-height: clamp(440px, 58vh, 680px);
	padding-bottom: 72px;
}

.cbg-release-detail-card__body {
	min-height: 108px;
	padding: 16px 17px 18px;
}

.cbg-release-detail-card__title {
	font-size: 1.3rem;
}

/* ========================================
   レスポンシブ
======================================== */

/* 小さめPC・タブレット横 */
@media (max-width: 1200px) {

	.cbg-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
		padding-inline: 24px;
	}
}

/* タブレット */
@media (max-width: 1024px) {

	.carpio-news-list__link {
		grid-template-columns: 110px 235px minmax(0, 1fr);
		column-gap: 18px;
	}

	.carpio-news-list__labels {
		width: 235px;
		min-width: 235px;
	}

	.carpio-news-list__label {
		padding-inline: 7px;
		font-size: 10px;
	}
}

/* タブレット縦 */
@media (max-width: 900px) {

	.cbg-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		padding-inline: 18px;
	}
}

/* スマートフォン */
@media (max-width: 767px) {

	.carpio-news-list__link {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 8px;
		padding: 14px 2px;
	}

	.carpio-news-list__date {
		font-size: 14px;
	}

	.carpio-news-list__labels {
		width: auto;
		min-width: 0;
		flex-wrap: wrap;
		gap: 5px;
	}

	.carpio-news-list__label {
		flex: 0 0 auto;
		width: auto;
		min-width: 68px;
		min-height: 25px;
		height: auto;
		padding: 2px 9px;
		font-size: 12px;
	}

	.carpio-news-list__title {
		grid-column: 1 / -1;
		font-size: 16px;
		line-height: 1.6;
	}

	.goods-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.goods-category-card__title {
		left: 10px;
		right: 10px;
		bottom: 11px;
		font-size: 0.95rem;
	}

	.cbg-pickup-card {
		border-radius: 13px;
	}

	.cbg-pickup-card__body {
		padding: 17px 15px 15px;
	}

	.cbg-pickup-card__title {
		font-size: 1rem;
	}

	.cbg-pickup-card__summary {
		margin-top: 9px;
		font-size: 0.86rem;
		line-height: 1.7;
	}

	.cbg-pickup-card__footer {
		padding-top: 16px;
	}

	.cbg-pickup-card__price {
		margin-bottom: 11px;
		font-size: 1rem;
	}

	.cbg-pickup__viewport {
		width: 100%;
		margin: 0;
		padding: 10px 0 18px;
	}

	.cbg-pickup__controls {
		gap: 18px;
		margin-top: 16px;
	}

	.cbg-pickup__button {
		width: 38px;
		height: 38px;
		font-size: 1rem;
	}

	.cbg-section-title {
		margin-bottom: 24px;
	}

	.cbg-section-title__en {
		font-size: 9px;
		letter-spacing: 0.28em;
	}

	.cbg-section-title__en::after {
		width: 40px;
		margin-top: 10px;
	}

	.cbg-section-title__ja {
		font-size: 32px;
		line-height: 1.2;
		letter-spacing: 0.02em;
	}

	.cbg-release-item__link {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		row-gap: 12px;
		padding: 18px 6px;
	}

	.cbg-release-item__date {
		grid-column: 1 / -1;
		padding: 0;
	}

	.cbg-release-item__date time,
	.cbg-release-item__date > span {
		font-size: 15px;
	}

	.cbg-release-item__content {
		grid-column: 1;
		grid-row: 2;
		padding: 0 10px 0 0;
		gap: 8px;
	}

	.cbg-release-item__primary,
	.cbg-release-item__goods {
		gap: 6px 8px;
	}

	.cbg-release-tag {
		padding-left: 16px;
		font-size: 15px;
		white-space: normal;
	}

	.cbg-release-tag::before {
		width: 6px;
		height: 6px;
	}

	.cbg-release-item__more {
		grid-column: 2;
		grid-row: 2;
		align-self: end;
		min-height: 32px;
		padding: 5px 11px;
		border-radius: 6px;
	}

	.cbg-release-item__more-text,
	.cbg-release-item__arrow {
		font-size: 12px;
	}

	.cbg-release-detail {
		min-height: 0;
		padding-bottom: 48px;
	}

	.cbg-release-detail-card__body {
		min-height: 0;
		padding: 15px 16px 17px;
	}

	.cbg-release-detail-card__title {
		font-size: 1.22rem;
	}
}

@media (max-width: 600px) {

	.cbg-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding-inline: 4px;
	}

	.cbg-product-card {
		border-radius: 4px;
	}

	.cbg-product-card__type {
		top: 5px;
		left: 5px;
		min-height: 22px;
		padding: 3px 7px;
		font-size: 10px;
		border-radius: 3px;
	}

	.cbg-product-card__body {
		padding: 9px 8px 10px;
	}

	.cbg-product-card__release-date {
		margin-bottom: 4px;
		font-size: 10px;
		line-height: 1.45;
	}

	.cbg-product-card__title {
		font-size: 12px;
		line-height: 1.45;
	}

	.cbg-product-actions {
		gap: 12px;
		margin-top: 26px;
		padding-inline: 12px;
	}

	.cbg-product-actions__primary {
		min-width: 0;
		min-height: 48px;
		padding: 10px 20px;
		gap: 18px;
		font-size: 14px;
		white-space: nowrap;
	}

	.cbg-product-actions__secondary {
		font-size: 13px;
	}
}
