@charset "utf-8";
/* =========================================================
	 特集ページ（フリーページ）専用スタイル
	 - ブログ（WPテーマ cake-express）のデザインシステムを移植したもの。
	   クラス名はブログ側と揃えてあるので、両者を見比べて保守できる。
	 - ヘッダー／フッター・pagetop モジュールに干渉しないよう、すべて
	   「#container.feature」+「.p-feature」配下にスコープしている。
	 - ページCSS（page.css）が img{width:100%} / #container p{line-height:1.5} /
	   a:hover{opacity:.4} を全体に当てているため、base でそれらを打ち消している。
	 - 画像は https://gigaplus.makeshop.jp/cakeexpress/img/feature/ に配置。
	 - 矢印アイコンだけは data URI で直接埋め込んでいる。gigaplus が
	   Access-Control-Allow-Origin を返さないため、クロスオリジンの
	   mask-image は読み込めず要素が透明になってしまうのを避けるため
	   （background-image は CORS 対象外なので外部ファイルのままでも可）。
	 ========================================================= */

/* ---------------------------------------------------------
	 tokens
	 --------------------------------------------------------- */
#container.feature .p-feature {
	--c-black: #333333;
	--c-white: #ffffff;
	--c-gray: #b7b7b7;
	--c-gray-line: #999999;
	--c-red: #e53935;
	--c-green: #43a047;
	--c-gray-bg: #f7f7f7;
	--c-beige: #fffdeb;
	--c-cream-head: #fffcdf;
	--c-yellow: #f9cf45;
	--c-marker: #fffab0;
	--c-link: #1b9beb;

	--radius-lg: 20px;
	--radius-pill: 999px;

	--content-w: 980px;
	--card-w: 1100px;

	--font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	--font-num: "Ubuntu", var(--font-jp);

}

/* ---------------------------------------------------------
	 base（ページCSS・freepage.css の既定値を打ち消す）
	 --------------------------------------------------------- */
#container.feature .p-feature {
	width: 100%;
	padding: 0;
	font-family: var(--font-jp);
	font-feature-settings: "palt" 1;
	color: var(--c-black);
	background: var(--c-white);
	overflow-x: hidden;
}

#container.feature .p-feature *,
#container.feature .p-feature *::before,
#container.feature .p-feature *::after { box-sizing: border-box; }

/* ページCSSの img{width:100%} を打ち消す（必要な箇所で個別に width:100% を指定する） */
#container.feature .p-feature img { width: auto; max-width: 100%; height: auto; display: block; }
#container.feature .p-feature a { color: inherit; text-decoration: none; }
/* ページCSSの a:hover{opacity:.4} / a:hover img{opacity:.7} を打ち消す */
#container.feature .p-feature a:hover,
#container.feature .p-feature a:hover img { opacity: 1; }
#container.feature .p-feature ul,
#container.feature .p-feature ol { margin: 0; padding: 0; list-style: none; }
#container.feature .p-feature p { margin: 0; line-height: inherit; }

#container.feature .p-feature .u-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
	 ページ上部（ぱんくず〜タイトル／紙吹雪の背景）
	 ========================================================= */
#container.feature .p-feature .p-feature-head {
	position: relative;
	z-index: 0;
	/* 紙吹雪をヒーロー内に閉じ込める（ベージュ帯まで出さない） */
	overflow: hidden;
	padding-bottom: 100px;
}

/* 紙吹雪。ヒーローの左上を基準に敷く（ヘッダーの高さに依存しない） */
#container.feature .p-feature .p-feature-head__bg {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: 1366px;
	height: 1085px;
	margin-left: -683px;
	background: url("https://gigaplus.makeshop.jp/cakeexpress/img/feature/bg-confetti.svg") no-repeat 0 0;
	pointer-events: none;
}

#container.feature .p-feature .p-feature-head__crumb {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 40px;
}

/* 本文と同じ 100px の左インデント。
	 右だけ 40px なのは、メイン画像を 1366-40 の位置で切るデザインに合わせるため
	 （黄色の影 10px は余白側にはみ出させる）。 */
#container.feature .p-feature .p-feature-head__inner {
	display: grid;
	grid-template-columns: 1fr 500px;
	column-gap: 40px;
	align-items: start;
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 40px 0 100px;
}

#container.feature .p-feature .p-feature-head__inner > .c-entry-title,
#container.feature .p-feature .p-feature-head__lead,
#container.feature .p-feature .p-feature-head__actions { grid-column: 1; }

/* 画像は左カラム（見出し・リード文・ボタンの3行）の全体に重ねる */
#container.feature .p-feature .p-feature-head__visual {
	grid-column: 2;
	grid-row: 1 / span 3;
}

#container.feature .p-feature .p-feature-head__lead {
	margin-top: 20px;
	font-size: 16px;
	line-height: 2;
}

#container.feature .p-feature .p-feature-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
}

#container.feature .p-feature .p-feature-head__visual img {
	width: 100%;
	aspect-ratio: 500 / 335;
	object-fit: cover;
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	/* 右下にずらした薄黄色の板 */
	box-shadow: 10px 10px 0 var(--c-marker);
}

/* =========================================================
	 ぱんくず
	 ========================================================= */
#container.feature .p-feature .c-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 12px;
	line-height: 1.6;
	padding: 20px 0 80px;
}

#container.feature .p-feature .c-breadcrumb__item { display: flex; align-items: center; gap: 8px; }
#container.feature .p-feature .c-breadcrumb__item a { display: inline-flex; align-items: center; gap: 5px; color: var(--c-gray); text-decoration: none; }
/* 下線は文字だけに付け、家アイコンには付けない */
#container.feature .p-feature .c-breadcrumb__item a span { text-decoration: underline; text-underline-offset: 2px; }
#container.feature .p-feature .c-breadcrumb__item a .fa-house { color: var(--c-black); font-size: 13px; }
#container.feature .p-feature .c-breadcrumb__sep { color: var(--c-black); }

/* =========================================================
	 記事タイトル
	 ========================================================= */
#container.feature .p-feature .c-entry-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

/* =========================================================
	 ボタン（ピル型・黒い影つき）
	 ========================================================= */
#container.feature .p-feature .c-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	min-height: 54px;
	/* 右側は矢印分を広めに取り、テキストはその内側で中央寄せにする */
	padding: 13px 44px 13px 28px;
	border: 1px solid var(--c-black);
	border-radius: var(--radius-pill);
	box-shadow: 0 3px 0 var(--c-black);
	background: var(--c-yellow);
	color: var(--c-black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* 矢印はテキストとは切り離し、ボタン右端に固定する（色は文字色に追従） */
#container.feature .p-feature .c-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 19px;
	width: 16px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M15 6H1' stroke='%23333333' stroke-width='2' stroke-linecap='round'/%3E %3Cpath d='M11 2L15 6L11 10' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M15 6H1' stroke='%23333333' stroke-width='2' stroke-linecap='round'/%3E %3Cpath d='M11 2L15 6L11 10' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E") no-repeat center / contain;
	transform: translateY(-50%);
	transition: transform 0.15s ease;
}

#container.feature .p-feature .c-btn:hover {
	transform: translateY(3px);
	box-shadow: 0 0 0 var(--c-black);
}

/* ホバー時は沈み込みに合わせて矢印を右へ送り出す */
#container.feature .p-feature .c-btn:hover::after { transform: translate(10px, -50%); }

#container.feature .p-feature .c-btn--green {
	background: var(--c-green);
	color: var(--c-white);
}

/* =========================================================
	 本文カード
	 ========================================================= */
#container.feature .p-feature .l-article {
	background: var(--c-beige);
	padding: 40px 0 100px;
}

#container.feature .p-feature .c-entry-card {
	max-width: var(--card-w);
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	padding: 60px;
}

#container.feature .p-feature .c-entry-body { max-width: var(--content-w); margin: 0 auto; }

/* =========================================================
	 目次
	 ========================================================= */
#container.feature .p-feature .c-toc {
	background: var(--c-gray-bg);
	border-radius: var(--radius-lg);
	padding: 22px 40px;
	margin: 60px 0 0;
}

#container.feature .p-feature .c-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 0;
	background: none;
	border: 0;
	font-family: inherit;
	color: inherit;
	cursor: pointer;
}

#container.feature .p-feature .c-toc__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	margin: 0;
}

#container.feature .p-feature .c-toc__title img { width: 17px; height: auto; }

/* 「−」アイコンは 22x2。カード右端から 20px の位置に出すため右パディング分を相殺 */
#container.feature .p-feature .c-toc__toggle { position: relative; width: 22px; height: 2px; flex-shrink: 0; margin-right: -20px; }
#container.feature .p-feature .c-toc__toggle img { display: block; width: 100%; height: 100%; }

/* 閉じているときは縦棒を足して「＋」にする */
#container.feature .p-feature .c-toc.is-collapsed .c-toc__toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 22px;
	border-radius: 1px;
	background: var(--c-black);
	transform: translate(-50%, -50%);
}

#container.feature .p-feature .c-toc__list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
#container.feature .p-feature .c-toc.is-collapsed .c-toc__list { display: none; }

#container.feature .p-feature .c-toc__list li { display: flex; align-items: baseline; gap: 6px; }

#container.feature .p-feature .c-toc__num {
	font-family: var(--font-num);
	font-weight: 500;
	font-size: 20px;
	line-height: 1;
	width: 22px;
	flex-shrink: 0;
}

#container.feature .p-feature .c-toc__list a {
	font-size: 16px;
	line-height: 2;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================
	 本文タイポグラフィ
	 ========================================================= */
#container.feature .p-feature .c-entry-content {
	font-size: 16px;
	line-height: 2;
	overflow-wrap: break-word;
	word-break: break-word;
}

#container.feature .p-feature .c-entry-content > * + * { margin-top: 30px; }
#container.feature .p-feature .c-entry-content .c-toc { margin-top: 60px; }

#container.feature .p-feature .c-entry-content h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	margin: 90px 0 40px;
	padding-bottom: 22px;
	background: url("https://gigaplus.makeshop.jp/cakeexpress/img/feature/h2-accent.svg") left bottom no-repeat;
	background-size: 122px 10px;
	scroll-margin-top: 20px;
}

#container.feature .p-feature .c-entry-content > h2:first-child,
#container.feature .p-feature .c-entry-content .c-toc + h2 { margin-top: 60px; }

/* 破線の罫線：先頭3つだけブランドカラー、以降はグレー */
#container.feature .p-feature .c-entry-content h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	margin: 50px 0 30px;
	padding-bottom: 18px;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='3'%3E%3Crect width='9' height='3' rx='1.5' fill='%23E53935'/%3E%3Crect x='17' width='9' height='3' rx='1.5' fill='%23F9CF45'/%3E%3Crect x='34' width='9' height='3' rx='1.5' fill='%2343A047'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='3'%3E%3Crect width='9' height='3' rx='1.5' fill='%23827770'/%3E%3C/svg%3E");
	background-repeat: no-repeat, repeat-x;
	background-position: left bottom, left bottom;
	background-size: 51px 3px, 17px 3px;
	scroll-margin-top: 20px;
}

/* ◆付きサブ見出し */
#container.feature .p-feature .c-entry-content h4,
#container.feature .p-feature .c-entry-content .c-sub-heading {
	position: relative;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	margin: 40px 0 0;
	padding-left: 27px;
	padding-bottom: 0;
	background: none;
}

#container.feature .p-feature .c-entry-content h4::before,
#container.feature .p-feature .c-entry-content .c-sub-heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 12px;
	height: 12px;
	background: var(--c-yellow);
	transform: rotate(45deg);
}

#container.feature .p-feature .c-entry-content h5 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	margin: 30px 0 0;
}

/* 箇条書き */
#container.feature .p-feature .c-entry-content ul:not(.c-toc__list) { display: flex; flex-direction: column; gap: 10px; }
#container.feature .p-feature .c-entry-content ul:not(.c-toc__list) > li {
	position: relative;
	padding-left: 18px;
}
#container.feature .p-feature .c-entry-content ul:not(.c-toc__list) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-black);
}

#container.feature .p-feature .c-entry-content ol {
	display: flex;
	flex-direction: column;
	gap: 10px;
	counter-reset: cake-ol;
}
#container.feature .p-feature .c-entry-content ol > li {
	position: relative;
	padding-left: 30px;
}
#container.feature .p-feature .c-entry-content ol > li::before {
	counter-increment: cake-ol;
	content: counter(cake-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--font-num);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.8;
}

#container.feature .p-feature .c-entry-content strong { font-weight: 700; }

#container.feature .p-feature .c-entry-content mark {
	background: linear-gradient(transparent 60%, var(--c-marker) 60%);
	font-weight: 700;
	color: var(--c-black);
	padding: 0 2px;
}

#container.feature .p-feature .c-entry-content a:not(.c-btn) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================
	 リストボックス（箇条書きを囲む枠）
	 ========================================================= */
#container.feature .p-feature .c-list-box {
	background: var(--c-beige);
	border-radius: var(--radius-lg);
	padding: 30px;
}

/* 白地＋枠線のバリエーション（ベージュ指定より後に置くこと） */
#container.feature .p-feature .c-list-box--outline {
	background: var(--c-white);
	border: 1px solid var(--c-gray);
}

/* =========================================================
	 おすすめの理由カード（01〜06）
	 ========================================================= */
#container.feature .p-feature .c-reason-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	align-items: start;
}

#container.feature .p-feature .c-reason-card {
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 13px;
	background: var(--c-cream-head);
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	padding: 23px 30px 23px 20px;
}

#container.feature .p-feature .c-reason-card__num {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
	margin: 0;
	color: var(--c-yellow);
	font-family: var(--font-num);
	font-weight: 700;
	font-size: 42px;
	line-height: 1;
	white-space: nowrap;
	font-feature-settings: normal;
}

/* 見出しレベルを変えても見た目が変わらないようにする */
#container.feature .p-feature .c-reason-card__title,
#container.feature .p-feature .c-reason-card > :is(h2, h3, h4, h5, h6) {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	margin: 0;
	padding: 0;
	background: none;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}
#container.feature .p-feature .c-reason-card__title::before,
#container.feature .p-feature .c-reason-card > :is(h2, h3, h4, h5, h6)::before { content: none; }

#container.feature .p-feature .c-reason-card__desc {
	grid-column: 2;
	grid-row: 2;
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.6;
}

/* =========================================================
	 商品カード（順位リボン付き）
	 ========================================================= */
#container.feature .p-feature .c-rank-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	counter-reset: cake-rank;
}

#container.feature .p-feature .c-rank-card {
	position: relative;
	display: flex;
	flex-direction: column;
	counter-increment: cake-rank;
	background: #fff;
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	box-shadow: 4px 4px 0 var(--c-black);
	padding: 0 20px 10px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* ホバー時は影の位置まで沈み込ませ、全体を少し薄くする */
#container.feature .p-feature .c-rank-card:hover {
	transform: translate(4px, 4px);
	box-shadow: 0 0 0 var(--c-black);
	opacity: 0.7;
}

/* 順位リボン：サムネイルの上に重ねる。色は1〜3位のみ指定 */
#container.feature .p-feature .c-rank-card::before {
	content: counter(cake-rank);
	position: absolute;
	top: -1px;
	left: 19px;
	z-index: 1;
	width: 38px;
	height: 44px;
	padding-top: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='44' viewBox='0 0 38 44'%3E%3Cpath d='M.5 0V43.3L19 37.4L37.5 43.3V0Z' fill='%23ffffff' stroke='%23333333' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left top / 38px 44px;
	font-family: var(--font-jp);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	color: var(--c-black);
}

#container.feature .p-feature .c-rank-card:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='44' viewBox='0 0 38 44'%3E%3Cpath d='M.5 0V43.3L19 37.4L37.5 43.3V0Z' fill='%23fff27f' stroke='%23333333' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#container.feature .p-feature .c-rank-card:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='44' viewBox='0 0 38 44'%3E%3Cpath d='M.5 0V43.3L19 37.4L37.5 43.3V0Z' fill='%23d9d8d1' stroke='%23333333' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#container.feature .p-feature .c-rank-card:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='44' viewBox='0 0 38 44'%3E%3Cpath d='M.5 0V43.3L19 37.4L37.5 43.3V0Z' fill='%23e1c4a1' stroke='%23333333' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#container.feature .p-feature .c-rank-card__thumb { margin: 9px 0 0; }

#container.feature .p-feature .c-rank-card__thumb img {
	width: 100%;
	aspect-ratio: 13 / 11;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

#container.feature .p-feature .c-rank-card__title,
#container.feature .p-feature .c-rank-card > :is(h2, h3, h4, h5, h6) {
	margin: 8px 0 0;
	padding: 0;
	background: none;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: normal;
}
#container.feature .p-feature .c-rank-card__title::before,
#container.feature .p-feature .c-rank-card > :is(h2, h3, h4, h5, h6)::before { content: none; }

#container.feature .p-feature .c-rank-card__desc {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.57;
}

/* 価格は下寄せ（カードの高さが揃っても価格・詳細リンクの位置を合わせる） */
#container.feature .p-feature .c-rank-card__price {
	margin: auto 0 0;
	padding-top: 10px;
	text-align: right;
	color: var(--c-red);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

/* ￥ は全角のまま出したいので palt を切る */
#container.feature .p-feature .c-rank-card__yen { font-feature-settings: normal; }

#container.feature .p-feature .c-rank-card__tax { font-size: 16px; font-weight: 700; }

/* 2px ダッシュの区切り線は背景で描く */
#container.feature .p-feature .c-rank-card__more {
	margin: 12px 0 0;
	padding-top: 8px;
	background-image: repeating-linear-gradient(to right, var(--c-black) 0 2px, transparent 2px 4px);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: left top;
	text-align: right;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

#container.feature .p-feature .c-rank-card__more a,
#container.feature .p-feature .c-entry-content .c-rank-card__more a:not(.c-btn) {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--c-black);
	text-decoration: none;
}

/* カード全体をリンク範囲にする */
#container.feature .p-feature .c-rank-card__more a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: var(--radius-lg);
}

#container.feature .p-feature .c-rank-card__more a::after {
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M15 6H1' stroke='%23333333' stroke-width='2' stroke-linecap='round'/%3E %3Cpath d='M11 2L15 6L11 10' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E") no-repeat center / contain;
}

/* =========================================================
	 2カラムカード（おすすめの写真・メッセージ例）
	 ========================================================= */
#container.feature .p-feature .c-gallery-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
}

#container.feature .p-feature .c-gallery-2col__card {
	background: var(--c-beige);
	border-radius: var(--radius-lg);
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 白地＋枠線のバリエーション（ベージュ指定より後に置くこと） */
#container.feature .p-feature .c-gallery-2col__card--outline {
	background: var(--c-white);
	border: 1px solid var(--c-gray);
}

#container.feature .p-feature .c-gallery-2col__card > * { margin: 0; }

#container.feature .p-feature .c-gallery-2col__card img {
	width: 100%;
	border-radius: var(--radius-lg);
	aspect-ratio: 420 / 223;
	object-fit: cover;
}

/* カード内の見出しは h タグのレベルに依存させない */
#container.feature .p-feature .c-gallery-2col__card :is(h2, h3, h4, h5, h6),
#container.feature .p-feature .c-gallery-2col__card .c-sub-heading {
	position: relative;
	margin: 0;
	padding: 0 0 0 27px;
	background: none;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

#container.feature .p-feature .c-gallery-2col__card :is(h2, h3, h4, h5, h6)::before,
#container.feature .p-feature .c-gallery-2col__card .c-sub-heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 12px;
	height: 12px;
	background: var(--c-yellow);
	transform: rotate(45deg);
}

/* =========================================================
	 定義テーブル（注文の流れと締切 等）
	 ========================================================= */
/* デザイン上、この表だけ角丸なしの直角 */
#container.feature .p-feature .c-def-table {
	border: 1px solid var(--c-black);
}

#container.feature .p-feature .c-def-table__row {
	display: grid;
	grid-template-columns: 260px 1fr;
	border-bottom: 1px dashed var(--c-black);
}
#container.feature .p-feature .c-def-table__row:last-child { border-bottom: 0; }

#container.feature .p-feature .c-def-table__label {
	background: var(--c-cream-head);
	font-weight: 700;
	font-size: 16px;
	padding: 20px;
	border-right: 1px solid var(--c-black);
	display: flex;
	align-items: center;
}

#container.feature .p-feature .c-def-table__value {
	padding: 20px;
	font-size: 16px;
	line-height: 1.8;
	align-items: center;
}
#container.feature .p-feature .c-def-table__value a { color: var(--c-link); text-decoration: underline; }

/* =========================================================
	 よくある質問（アコーディオン）
	 ========================================================= */
#container.feature .p-feature .c-faq-block { margin-top: 90px; }

#container.feature .p-feature .c-faq-block__heading {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	margin: 0 0 40px;
	padding-bottom: 22px;
	background: url("https://gigaplus.makeshop.jp/cakeexpress/img/feature/h2-accent.svg") left bottom no-repeat;
	background-size: 122px 10px;
	scroll-margin-top: 20px;
}

#container.feature .p-feature .c-faq {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#container.feature .p-feature .c-faq__item {
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	background: #fff;
	/* 右下にずらしたグレーの板 */
	box-shadow: 4px 4px 0 var(--c-gray);
	padding: 22px 25px;
}

#container.feature .p-feature .c-faq__q {
	display: flex;
	/* 見出しが2行になってもアイコンと開閉マークは1行目に揃える */
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--font-jp);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
	color: var(--c-black);
	cursor: pointer;
}

#container.feature .p-feature .c-faq__q::before {
	content: "";
	flex-shrink: 0;
	width: 28px;
	height: 35px;
	/* 行送り（1.5em）の中央にアイコンを合わせる */
	margin-top: calc((1.5em - 35px) / 2);
	background: url("https://gigaplus.makeshop.jp/cakeexpress/img/feature/icon-q.svg") no-repeat center / contain;
}

#container.feature .p-feature .c-faq__mark {
	position: relative;
	margin-left: auto;
	margin-top: calc((1.5em - 18px) / 2);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
#container.feature .p-feature .c-faq__mark::before,
#container.feature .p-feature .c-faq__mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--c-black);
}
#container.feature .p-feature .c-faq__mark::before { width: 18px; height: 1.5px; }
#container.feature .p-feature .c-faq__mark::after {
	width: 1.5px;
	height: 18px;
	transition: transform .2s ease, opacity .2s ease;
}
#container.feature .p-feature .c-faq__item.is-open .c-faq__mark::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

#container.feature .p-feature .c-faq__a {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--c-black);
	font-size: 16px;
	line-height: 1.9;
}

#container.feature .p-feature .c-faq__item:not(.is-open) .c-faq__a { display: none; }

#container.feature .p-feature .c-faq__a p + p { margin-top: 1em; }
#container.feature .p-feature .c-faq__a a { color: var(--c-link); text-decoration: underline; }

/* =========================================================
	 記事下 CTA バナー
	 ========================================================= */
#container.feature .p-feature .c-cta {
	position: relative;
	max-width: 800px;
	margin: 80px auto 0;
	overflow: hidden;
	background: var(--c-beige);
	border: 1px solid var(--c-black);
	border-radius: var(--radius-lg);
	/* 右下にずらした黄色の板 */
	box-shadow: 4px 4px 0 var(--c-yellow);
	padding: 40px;
	text-align: center;
}

/* 紙吹雪（カード内にクリップ） */
#container.feature .p-feature .c-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url("https://gigaplus.makeshop.jp/cakeexpress/img/feature/bg-cta-confetti.svg") no-repeat top / contain;
	pointer-events: none;
}

#container.feature .p-feature .c-cta > * { position: relative; z-index: 1; }

#container.feature .p-feature .c-cta__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

#container.feature .p-feature .c-cta__flags {
	width: 122px;
	height: 10px;
	margin: 10px auto 0;
}

#container.feature .p-feature .c-cta__lead {
	font-size: 15px;
	line-height: 1.8;
	margin: 20px 0 0;
}

#container.feature .p-feature .c-cta__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 22px;
}

/* =========================================================
	 一覧へ戻る
	 ========================================================= */
#container.feature .p-feature .c-back-to-list {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

#container.feature .p-feature .c-back-to-list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	min-height: 54px;
	/* 左側は矢印分を広めに取り、テキストはその内側で中央寄せにする */
	padding: 13px 28px 13px 44px;
	border: 1px solid var(--c-black);
	border-radius: var(--radius-pill);
	box-shadow: 0 3px 0 var(--c-black);
	background: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* 矢印はアイコンを左右反転して左向きに */
#container.feature .p-feature .c-back-to-list a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 16px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M15 6H1' stroke='%23333333' stroke-width='2' stroke-linecap='round'/%3E %3Cpath d='M11 2L15 6L11 10' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M15 6H1' stroke='%23333333' stroke-width='2' stroke-linecap='round'/%3E %3Cpath d='M11 2L15 6L11 10' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E") no-repeat center / contain;
	transform: translateY(-50%) scaleX(-1);
	transition: transform 0.15s ease;
}

#container.feature .p-feature .c-back-to-list a:hover {
	transform: translateY(3px);
	box-shadow: 0 0 0 var(--c-black);
}

#container.feature .p-feature .c-back-to-list a:hover::before { transform: translate(-10px, -50%) scaleX(-1); }

/* =========================================================
	 タブレット（〜991px）
	 ========================================================= */
@media screen and (max-width: 991px) {
	#container.feature .p-feature .p-feature-head { padding-bottom: 40px; }

	/* DOM 順（タグ・日付 → 見出し → 画像 → リード文 → ボタン）にそのまま積む */
	#container.feature .p-feature .p-feature-head__inner {
		display: flex;
		flex-direction: column;
		padding: 0 20px;
	}

	#container.feature .p-feature .p-feature-head__visual { margin-top: 24px; }

	#container.feature .p-feature .p-feature-head__visual img {
		box-shadow: 6px 6px 0 var(--c-marker);
	}

	#container.feature .p-feature .p-feature-head__lead { margin-top: 24px; }

	#container.feature .p-feature .c-entry-card { padding: 40px 30px; }

	#container.feature .p-feature .c-rank-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* =========================================================
	 スマートフォン（〜767px）
	 ========================================================= */
@media screen and (max-width: 767px) {
	#container.feature .p-feature .p-feature-head__bg {
		width: 100%;
		height: 700px;
		margin-left: 0;
		left: 0;
		background-size: 200% auto;
		background-position: center top;
	}

	#container.feature .p-feature .p-feature-head__crumb { padding: 0 15px; }
	#container.feature .p-feature .p-feature-head__inner { padding: 0 15px; }
	#container.feature .p-feature .c-breadcrumb__list { font-size: 11px; padding: 16px 0 40px; }

	#container.feature .p-feature .c-entry-title { font-size: 26px; }

	#container.feature .p-feature .p-feature-head__lead { margin-top: 24px; }

	#container.feature .p-feature .p-feature-head__actions {
		gap: 15px;
		margin-top: 20px;
    justify-content: center;
    width: 100%;
	}

	/* SP は2つのボタンを横並びのまま均等幅にする（デザイン準拠） */
	#container.feature .p-feature .p-feature-head__actions .c-btn {
    max-width: 280px;
		flex: 1 1 0;
		min-width: 0;
		padding: 13px 40px 13px 16px;
		font-size: 15px;
	}

	/* SP はカードを画面幅いっぱいに出す（デザイン準拠） */
	#container.feature .p-feature .l-article { padding: 34px 0 60px; }
	#container.feature .p-feature .c-entry-card { padding: 30px 15px; border-radius: 12px; }

	#container.feature .p-feature .c-entry-content .c-toc { padding: 20px; margin-top: 40px; }
	#container.feature .p-feature .c-toc__toggle { margin-right: 0; }

	#container.feature .p-feature .c-entry-content h2 { font-size: 24px; margin-top: 50px; }
	#container.feature .p-feature .c-entry-content > h2:first-child,
	#container.feature .p-feature .c-entry-content .c-toc + h2 { margin-top: 40px; }
	#container.feature .p-feature .c-entry-content h3 { font-size: 19px; margin-top: 13px; padding-bottom: 12px; }
	#container.feature .p-feature .c-entry-content h4,
	#container.feature .p-feature .c-entry-content .c-sub-heading { font-size: 19px; margin-top: 32px; }
	#container.feature .p-feature .c-entry-content h5 { font-size: 16px; margin-top: 24px; }

	#container.feature .p-feature .c-list-box { padding: 20px; }

	/* おすすめの理由カード（SP は1カラム） */
	#container.feature .p-feature .c-reason-list { grid-template-columns: 1fr; gap: 16px; }
	#container.feature .p-feature .c-reason-card { grid-template-columns: 42px 1fr; column-gap: 10px; padding: 18px 20px; }
	#container.feature .p-feature .c-reason-card__num { font-size: 36px; }
	#container.feature .p-feature .c-reason-card__title,
	#container.feature .p-feature .c-reason-card > :is(h2, h3, h4, h5, h6) { font-size: 19px; }

	/* 商品カード（SP は1カラム） */
	#container.feature .p-feature .c-rank-list { grid-template-columns: 1fr; gap: 20px; }
	#container.feature .p-feature .c-rank-card__thumb img { aspect-ratio: 4 / 3; }
	#container.feature .p-feature .c-rank-card__title { font-size: 20px; }

	#container.feature .p-feature .c-gallery-2col { grid-template-columns: 1fr; gap: 12px; }
	#container.feature .p-feature .c-gallery-2col__card { padding: 20px; gap: 10px; }
	#container.feature .p-feature .c-gallery-2col__card :is(h2, h3, h4, h5, h6),
	#container.feature .p-feature .c-gallery-2col__card .c-sub-heading { font-size: 19px; }

	#container.feature .p-feature .c-def-table__row { grid-template-columns: 120px 1fr; }
	#container.feature .p-feature .c-def-table__label { border-right: 1px solid var(--c-black); padding: 14px; font-size: 15px; }
	#container.feature .p-feature .c-def-table__value { padding: 14px; font-size: 15px; }

	#container.feature .p-feature .c-faq-block { margin-top: 50px; }
	#container.feature .p-feature .c-faq-block__heading { font-size: 24px; margin-bottom: 24px; }
	#container.feature .p-feature .c-faq__item { padding: 18px 20px; }
	#container.feature .p-feature .c-faq__q { font-size: 16px; gap: 9px; }
	#container.feature .p-feature .c-faq__q::before { width: 24px; height: 30px; margin-top: calc((1.5em - 30px) / 2); }
	#container.feature .p-feature .c-faq__a { font-size: 15px; }

	#container.feature .p-feature .c-cta { margin-top: 60px; padding: 30px 20px; border-radius: 12px; }
	#container.feature .p-feature .c-cta__title { font-size: 20px; }
	#container.feature .p-feature .c-cta__flags { margin-top: 14px; }
	#container.feature .p-feature .c-cta__actions {
		flex-direction: column;
		align-items: center;
		gap: 14px;
		margin-top: 34px;
	}
	#container.feature .p-feature .c-cta__actions .c-btn { width: 100%; max-width: 320px; min-width: 0; font-size: 15px; }

	#container.feature .p-feature .c-back-to-list { margin-top: 40px; }
	#container.feature .p-feature .c-back-to-list a { min-width: 0; width: 100%; max-width: 320px; }
}
