/*
Theme Name: Cookitem Classic
Theme URI: https://www.cookitem.net/
Description: 旧サイト（Manus版クックアイテム）のデザインを再現した、焼肉店・韓国料理店の店づくり・開業コンサルティング用ブロックテーマ。写真・文章はすべてブロックエディターから編集できます。
Author: クックアイテム
Version: 2.0.5
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: cookitem-classic
License: GNU General Public License v2 or later
*/

/* 配色・文字は theme.json で管理。ここは旧サイトの見た目を再現するための調整です。 */

html { scroll-behavior: smooth; }
/* セクション同士の間にすき間を作らない（旧サイトと同じ） */
.wp-block-post-content > .alignfull,
main > .alignfull,
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
body { min-width: 320px; }
img { max-width: 100%; }
.ck-svg { flex: 0 0 auto; }

/* ---------- 共通の見出しまわり ---------- */
.ck-eyebrow,
.ck-eyebrow a {
	margin: 0 0 8px;
	color: var(--wp--preset--color--brass);
	letter-spacing: .12em;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}
.ck-section {
	padding-top: 76px;
	padding-bottom: 76px;
}
.ck-bordered {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ck-section-heading {
	align-items: flex-end !important;
	gap: 24px;
	margin-bottom: 25px !important;
}
.ck-section-heading h2,
.ck-two-column h2,
.ck-lead-box h2 {
	margin: 0;
	font-size: 30px;
}
.ck-section-lead {
	color: var(--wp--preset--color--muted);
	margin: 8px 0 0;
}
.ck-text-link a,
.ck-card-more a,
.ck-panel-link a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	font-weight: 700;
	color: var(--wp--preset--color--brass-dark);
}
.ck-text-link a::after,
.ck-card-more a::after,
.ck-panel-link a::after,
.ck-read-more::after {
	content: "›";
	font-size: 17px;
	line-height: 1;
	margin-left: 4px;
}
.ck-text-link { margin: 0; }

/* ---------- ヘッダー ---------- */
.ck-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 254, 251, .94);
	border-bottom: 1px solid var(--wp--preset--color--line);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.admin-bar .ck-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ck-site-header { top: 0; position: relative; } }
.ck-header-inner {
	min-height: 92px;
	gap: 24px;
}
.ck-brand img {
	max-height: 70px;
	width: auto;
	object-fit: contain;
}
.ck-brand-text {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: .02em;
}
.ck-header-actions { gap: 18px; }
.ck-main-nav {
	font-size: 13px;
	font-weight: 700;
	gap: 21px;
}
.ck-main-nav a { color: #4D4942; }
.ck-main-nav a:hover { color: var(--wp--preset--color--brass-dark); }
.ck-header-cta .wp-block-button__link {
	padding: 10px 16px;
	font-size: 12px;
	box-shadow: 0 4px 10px rgba(124, 83, 20, .16);
}
.ck-site-header .wp-block-shortcode,
.ck-site-header p:empty { margin: 0; }

/* ---------- ボタン ---------- */
.wp-block-button__link { transition: filter .16s ease, transform .16s ease; }
.wp-block-button__link:hover { filter: brightness(1.05); color: var(--wp--preset--color--white); }
.ck-button-line .wp-block-button__link {
	background: var(--wp--preset--color--line-green);
	box-shadow: 0 10px 20px rgba(6, 199, 85, .22);
}

/* ---------- ファーストビュー ---------- */
.ck-hero {
	padding: 52px var(--wp--style--root--padding-right, 20px) 52px var(--wp--style--root--padding-left, 20px) !important;
}
.ck-hero .wp-block-cover__inner-container {
	color: #FFFDF8;
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.ck-hero .wp-block-cover__inner-container > .ck-hero-grid {
	max-width: none !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	justify-content: space-between;
}
.ck-hero-grid { gap: 32px !important; }
.ck-hero-copy { flex: 1 1 auto !important; min-width: 0; }
.ck-hero-copy > * { max-width: 640px; }
.ck-hero-side { flex: 0 0 270px !important; max-width: 270px; }
.ck-hero h1 {
	margin: 0 0 18px;
	color: #FFFDF8;
	font-weight: 800;
}
.ck-hero-lead {
	font-size: 16px;
	margin: 0;
	color: #F1EDE6;
	line-height: 1.9;
}
.ck-hero-catchphrase {
	max-width: 590px;
	margin: 11px 0 0 !important;
	color: rgba(255, 253, 248, .76);
	font-size: 10px;
	line-height: 1.65;
	letter-spacing: .025em;
}
.ck-hero-cta {
	align-items: center;
	gap: 18px;
	margin-top: 26px !important;
}
.ck-hero-link { margin: 0; }
.ck-hero-link a {
	color: #fff;
	font-weight: 700;
	border-bottom: 1px solid rgba(255, 255, 255, .8);
}
.ck-hero-side { display: grid; gap: 12px; }
.ck-guide-prompt {
	padding: 18px;
	border-radius: 7px;
	background: #FFFEFA;
	color: var(--wp--preset--color--ink);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}
.ck-guide-prompt > * { margin: 0; }
.ck-panel-title strong,
.ck-panel-title span,
.ck-line-panel strong,
.ck-line-panel span { display: block; }
.ck-panel-title strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 15px;
	line-height: 1.5;
}
.ck-panel-title span { color: var(--wp--preset--color--muted); font-size: 11px; }
.ck-panel-link {
	margin-top: 8px !important;
	padding-top: 8px;
	border-top: 1px solid var(--wp--preset--color--line);
}
.ck-panel-link a { font-size: 12px; justify-content: space-between; width: 100%; color: var(--wp--preset--color--ink); }
.ck-line-panel { margin: 0; }
.ck-line-panel a {
	display: block;
	padding: 18px 40px 18px 18px;
	border-radius: 7px;
	background: var(--wp--preset--color--line-green);
	border: 1px solid #06B94F;
	color: #fff;
	position: relative;
	box-shadow: 0 10px 20px rgba(6, 199, 85, .22);
	transition: transform .18s ease, background .18s ease;
}
.ck-line-panel a::after {
	content: "›";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
}
.ck-line-panel a:hover { transform: translateY(-2px); background: #05B84D; color: #fff; }
.ck-line-panel strong { font-family: var(--wp--preset--font-family--heading); font-size: 16px; }
.ck-line-panel span { font-size: 11px; color: rgba(255, 255, 255, .88); }

/* ---------- カテゴリータイル ---------- */
.ck-category-strip {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 16px;
	padding-bottom: 16px;
}
.ck-category-strip .wp-block-shortcode { margin: 0; }
.ck-category-list {
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px;
}
.ck-category-tile {
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	border: 1px solid var(--wp--preset--color--line);
	background: #fff;
	border-radius: 5px;
	transition: box-shadow .18s ease, transform .18s ease;
}
.ck-category-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(40, 35, 25, .1); }
.ck-category-image {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	display: grid;
	place-items: center;
	color: var(--wp--preset--color--brass);
	border-radius: 50%;
	background: #F6F1E6;
	overflow: hidden;
}
.ck-category-image img { width: 100%; height: 100%; object-fit: cover; }
.ck-category-tile strong { font-size: 11px; line-height: 1.45; }
.ck-category-tile > .ck-svg { margin-left: auto; color: var(--wp--preset--color--brass); }

/* ---------- カード（旧サイトの商品カードの見た目） ---------- */
.ck-card-row { gap: 16px !important; }
.ck-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	background: var(--wp--preset--color--paper);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ck-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37, 35, 31, .1); }
.ck-card > * { margin: 0 !important; }
.ck-card-image img { display: block; width: 100%; }
.ck-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.ck-card-body > * { margin: 0; }
.ck-card-body h3 { margin: 0 0 4px; font-size: 16px; }
.ck-card-eyebrow {
	margin: 0 0 3px;
	font-size: 10px;
	color: #8F815F;
	letter-spacing: .12em;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
}
.ck-card-summary,
.ck-card-summary p {
	margin: 6px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 1.75;
}
.ck-card-more { margin-top: auto !important; padding-top: 12px; }

/* ---------- 取扱アイテム（商品グリッド） ---------- */
.ck-product-grid .wp-block-post-template { gap: 14px; }
.ck-product-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	background: var(--wp--preset--color--paper);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ck-product-grid .wp-block-post:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37, 35, 31, .1); }
.ck-product-image { margin: 0 !important; background: #F8F7F3; padding: 10px; }
.ck-product-image img { object-fit: contain !important; }
.ck-product-body { padding: 13px; display: flex; flex-direction: column; flex: 1; margin: 0 !important; }
.ck-product-body > * { margin: 0; }
.ck-product-cat,
.ck-product-cat a {
	font-size: 10px;
	color: #8F815F;
	font-weight: 700;
	margin-bottom: 3px;
}
.ck-product-body .wp-block-post-title {
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}
.ck-product-body .wp-block-post-title a:hover { color: var(--wp--preset--color--brass-dark); }
.ck-product-summary p {
	margin: 8px 0 12px;
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	line-height: 1.7;
}
.ck-read-more {
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--wp--preset--color--brass-dark);
}

/* ---------- 強みの帯 ---------- */
.ck-service-band { color: #FFFDF8; padding-top: 0; padding-bottom: 0; }
.ck-service-grid { gap: 0 !important; margin: 0 !important; }
.ck-service-grid > .wp-block-column {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 27px 15px;
	border-right: 1px solid rgba(255, 255, 255, .15);
}
.ck-service-grid > .wp-block-column:last-child { border-right: 0; }
.ck-band-item {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	display: flex;
	align-items: center;
	gap: 12px;
}
.ck-band-item::before {
	content: "";
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	background: #D3AE60;
	-webkit-mask: var(--ck-icon) center / contain no-repeat;
	mask: var(--ck-icon) center / contain no-repeat;
}
.ck-icon-shop { --ck-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); }
.ck-icon-check { --ck-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ck-icon-spark { --ck-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.94 15.5A2 2 0 0 0 8.5 14.06l-6.14-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0L14.06 8.5A2 2 0 0 0 15.5 9.94l6.14 1.58a.5.5 0 0 1 0 .96L15.5 14.06a2 2 0 0 0-1.44 1.44l-1.58 6.14a.5.5 0 0 1-.96 0z'/%3E%3C/svg%3E"); }

/* ---------- 支援の流れ ---------- */
.ck-flow { gap: 12px !important; }
.ck-flow-step {
	padding: 18px 16px;
	border: 1px solid var(--wp--preset--color--line);
	border-top: 3px solid var(--wp--preset--color--brass);
	border-radius: 6px;
	background: var(--wp--preset--color--paper);
}
.ck-flow-step > * { margin: 0; }
.ck-flow-step h3 { font-size: 15px; margin: 2px 0 4px; }

/* ---------- 動画 ---------- */
.ck-video-section { color: #FFFDF8; }
.ck-video-section .ck-eyebrow { color: #DEC27E; }
.ck-video-section h2 { color: #FFFDF8; }
.ck-video-note {
	max-width: 360px;
	margin: 0;
	color: var(--wp--preset--color--on-dark);
	font-size: 12px;
	line-height: 1.8;
}
.ck-video-grid { gap: 18px !important; }
.ck-video-card {
	overflow: hidden;
	border: 1px solid rgba(232, 214, 169, .32);
	border-radius: 7px;
	background: #1F1D19;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}
.ck-video-card > * { margin: 0 !important; }
.ck-video-card .wp-block-embed { background: #151411; }
.ck-video-card h3 {
	min-height: 56px;
	padding: 13px 15px 15px;
	color: #F6F1E7;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: 0;
}

/* ---------- 開業ガイド ---------- */
.ck-guide-grid .wp-block-post-template { gap: 16px; }
.ck-guide-grid .wp-block-post {
	overflow: hidden;
	display: grid;
	grid-template-columns: 125px 1fr;
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	transition: transform .18s ease;
}
.ck-guide-grid .wp-block-post:hover { transform: translateY(-3px); }
.ck-guide-thumb { margin: 0 !important; height: 100%; min-height: 190px; background: var(--wp--preset--color--warm); }
.ck-guide-thumb a,
.ck-guide-thumb img { height: 100% !important; width: 100%; object-fit: cover; }
.ck-guide-body { padding: 17px; margin: 0 !important; display: flex; flex-direction: column; }
.ck-guide-body > * { margin: 0; }
.ck-guide-body .wp-block-post-title { font-size: 15px; margin: 3px 0 7px; line-height: 1.5; }
.ck-guide-body .ck-card-summary p { font-size: 11px; line-height: 1.65; margin: 0 0 10px; }
.ck-guide-body .ck-read-more { font-size: 11px; }
.ck-guide-archive .wp-block-post { grid-template-columns: 1fr; }
.ck-guide-archive .ck-guide-thumb { min-height: 0; aspect-ratio: 16 / 9; }

/* ---------- よくある質問 ---------- */
.ck-two-column { gap: 70px !important; }
.ck-faq-list { border-top: 1px solid var(--wp--preset--color--line); }
.ck-faq-list .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin: 0;
}
.ck-faq-list summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 17px 4px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	cursor: pointer;
}
.ck-faq-list summary::-webkit-details-marker { display: none; }
.ck-faq-list summary::after {
	content: "›";
	font-size: 20px;
	color: var(--wp--preset--color--muted);
	transition: transform .16s ease;
}
.ck-faq-list details[open] summary::after { transform: rotate(90deg); }
.ck-faq-list .wp-block-details p {
	margin: 0;
	padding: 0 4px 18px;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}

/* ---------- ご相談の案内（ダークボックス） ---------- */
.ck-lead-section { padding-top: 0; padding-bottom: 76px; }
.ck-lead-box {
	gap: 50px !important;
	padding: 42px 52px;
	background: #2C2923;
	color: #FFFDF8;
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(40, 35, 28, .18);
}
.ck-lead-box h2 { color: #FFFDF8; margin: 0 0 9px; }
.ck-lead-box p:not(.ck-eyebrow) { color: #D6D0C8; margin: 0; }
.ck-lead-buttons { flex-direction: column; gap: 12px; }

/* ---------- 下層ページの見出し ---------- */
.ck-page-hero {
	padding-top: 6px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-bottom: 0;
}
.ck-page-hero > * { max-width: var(--wp--style--global--wide-size) !important; }
.ck-page-hero h1,
.ck-page-hero .wp-block-query-title { margin: 0 0 10px; font-size: 38px; }
.ck-page-hero .ck-section-lead { margin: 0; max-width: 760px; }
.ck-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #837D73;
	padding: 19px 0;
	margin: 0;
	font-size: 11px;
}
.ck-breadcrumbs a::after { content: "/"; margin-left: 8px; color: #BAB4AA; }
.ck-breadcrumbs a:hover { color: var(--wp--preset--color--brass-dark); }

/* ---------- アイテム一覧 ---------- */
.ck-catalog-page { padding-bottom: 76px; }
.ck-catalog-layout { gap: 34px !important; padding-top: 32px; }
.ck-filter { display: flex; flex-direction: column; }
.ck-filter-heading {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0 8px 10px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ck-filter a {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 8px;
	border-bottom: 1px solid #E3DFD6;
	color: #5E594F;
	transition: color .16s, background .16s;
}
.ck-filter a span { color: #9A9387; font-size: 12px; }
.ck-filter a.is-active,
.ck-filter a:hover {
	color: var(--wp--preset--color--brass-dark);
	background: #EEEADF;
	font-weight: 700;
}

/* ---------- アイテム詳細 ---------- */
.ck-product-detail { padding-bottom: 62px; }
.ck-detail-grid { gap: 58px !important; padding: 22px 0 0; }
.ck-detail-image {
	border-radius: 7px;
	background: #F8F7F3;
	overflow: hidden;
}
.ck-detail-image img { object-fit: contain !important; }
.ck-detail-copy > * { margin-top: 0; }
.ck-detail-copy h1 { margin: 0 0 18px; font-size: 34px; }
.ck-detail-lead p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 17px;
	line-height: 1.8;
	margin: 0;
}
.ck-detail-description { color: var(--wp--preset--color--muted); line-height: 1.9; }
.ck-detail-description h2 { font-size: 16px; color: var(--wp--preset--color--ink); margin: 24px 0 8px; }
.ck-detail-description ul { padding-left: 1.2em; }
.ck-detail-description .wp-block-gallery { margin-top: 18px; gap: 8px; }
.ck-detail-description .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: calc(33.333% - 6px) !important;
	flex-grow: 0 !important;
}
.ck-detail-description .wp-block-gallery img { border-radius: 4px; background: #F8F7F3; }
.ck-quote-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 13px;
	margin-top: 24px;
	padding: 17px;
	border: 1px solid #DDC38C;
	background: #FFF8E9;
	color: #6D5525;
	border-radius: 5px;
}
.ck-quote-text { display: flex; gap: 13px; flex: 1 1 260px; }
.ck-quote-text div { display: grid; gap: 2px; }
.ck-quote-text strong { font-family: var(--wp--preset--font-family--heading); }
.ck-quote-text span { font-size: 11px; color: #85714E; }
.ck-quote-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-quote-button,
.ck-quote-line {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	border-radius: 3px;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 12px;
	color: #fff;
}
.ck-quote-button { background: #B88B39; }
.ck-quote-line { background: var(--wp--preset--color--line-green); }
.ck-quote-button:hover,
.ck-quote-line:hover { color: #fff; filter: brightness(1.06); }

/* ---------- スタイル別ページ ---------- */
.ck-style-row { gap: 48px !important; }
.ck-style-photo img { border-radius: 7px; }
.ck-item-list { padding-left: 1.2em; }
.ck-item-list a { color: var(--wp--preset--color--brass-dark); font-weight: 700; }
.ck-point {
	padding: 17px;
	border: 1px solid #DDC38C;
	background: #FFF8E9;
	color: #6D5525;
	border-radius: 5px;
	font-size: 13px;
}

/* ---------- ガイド記事 ---------- */
.ck-article-page { padding-bottom: 76px; }
.ck-article-page .wp-block-post-title { margin: 0 0 15px; font-size: 39px; }
.ck-article-lead p { color: var(--wp--preset--color--muted); font-size: 16px; }
.ck-article-cover img { width: 100%; height: 330px; object-fit: cover; border-radius: 6px; }
.ck-article-body { font-size: 15px; }
.ck-article-note { color: var(--wp--preset--color--muted); }

/* ---------- お問い合わせ ---------- */
.ck-contact-page { padding-top: 56px; }
.ck-contact-intro { max-width: 720px !important; margin-left: auto; margin-right: auto; margin-bottom: 26px !important; }
.ck-contact-intro h1 { margin: 0 0 10px; }
.ck-contact-card {
	gap: 42px !important;
	padding: 36px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background: var(--wp--preset--color--paper);
}
.ck-contact-card h2 { margin: 0 0 10px; font-size: 26px; }
.ck-contact-card .ck-line-panel { margin-top: 20px; }
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #D1CABD;
	border-radius: 3px;
	padding: 10px;
	background: #FFFEFA;
	font: inherit;
	font-weight: 400;
	outline-color: var(--wp--preset--color--brass);
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 .wpcf7-list-item { margin: 4px 16px 4px 0; font-weight: 400; }
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: linear-gradient(135deg, #D6B05F, #A87828);
	border: 0;
	border-radius: 3px;
	padding: 13px 22px;
	color: #FFFDF8;
	font-weight: 700;
	box-shadow: 0 9px 22px rgba(0, 0, 0, .2);
	cursor: pointer;
}
.ck-admin-note { background: #FFF4E5; padding: 10px 14px; border-radius: 4px; font-size: 12px; }

/* ---------- フッター ---------- */
.ck-site-footer {
	color: #DDD7CC;
	padding-top: 42px;
	padding-bottom: 20px;
}
.ck-footer-inner { gap: 30px; }
.ck-footer-brand > * { margin: 0 0 12px; }
.ck-footer-logo img { filter: brightness(0) invert(1); }
.ck-site-footer p { font-size: 12px; color: #ACA69C; }
.ck-footer-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 10px 35px;
	margin: 0;
}
.ck-footer-links a { color: #DDD7CC; }
.ck-footer-links a:hover { color: #E1BD70; }
.ck-footer-copy {
	max-width: var(--wp--style--global--wide-size) !important;
	padding-top: 28px;
	margin-top: 28px !important;
	border-top: 1px solid #454039;
	color: #8F8A80 !important;
	font-size: 11px !important;
}

/* ---------- タブレット ---------- */
@media (max-width: 980px) {
	.ck-main-nav { gap: 12px; font-size: 11px; }
	.ck-product-grid-5 .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.ck-guide-grid:not(.ck-guide-archive) .wp-block-post-template { grid-template-columns: 1fr !important; }
	.ck-guide-grid:not(.ck-guide-archive) .wp-block-post { grid-template-columns: 180px 1fr; }
	.ck-product-grid-3 .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ck-flow { flex-wrap: wrap !important; }
	.ck-flow > .wp-block-column { flex-basis: calc(50% - 6px) !important; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 781px) {
	body { font-size: 13px; }
	.ck-section { padding-top: 54px; padding-bottom: 54px; }
	.ck-header-inner { min-height: 78px; }
	.ck-brand img { max-height: 54px; }
	.ck-header-cta { display: none; }
	.ck-hero { min-height: auto !important; padding-top: 50px !important; padding-bottom: 25px !important; }
	.ck-hero h1 { font-size: 30px !important; }
	.ck-hero-side { flex-basis: 100% !important; max-width: none; }
	.ck-category-list { grid-template-columns: repeat(2, 1fr); }
	.ck-product-grid-5 .wp-block-post-template,
	.ck-product-grid-3 .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ck-guide-grid .wp-block-post { grid-template-columns: 110px 1fr !important; }
	.ck-guide-archive .wp-block-post { grid-template-columns: 1fr !important; }
	.ck-service-grid > .wp-block-column { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 18px 15px; }
	.ck-flow > .wp-block-column { flex-basis: 100% !important; }
	.ck-two-column { gap: 24px !important; }
	.ck-lead-box { padding: 30px 22px; gap: 24px !important; }
	.ck-detail-grid { gap: 24px !important; }
	.ck-detail-copy h1 { font-size: 26px; }
	.ck-page-hero h1,
	.ck-page-hero .wp-block-query-title { font-size: 28px; }
	.ck-contact-card { padding: 22px; gap: 22px !important; }
	.ck-article-page .wp-block-post-title { font-size: 28px; }
	.ck-article-cover img { height: 220px; }
}
