/* ==========================================================================
   Kitchen Bee blocks  (フロント・エディター共通)
   元デザイン kitchen_bee_top_page.tsx の Tailwind クラスを 1:1 で変換。
   ブレイクポイント: sm 640px / md 768px / lg 1024px
   セレクタは Arkhe 本体の CSS（.c-postContent h1 等）より優先させるため
   ルート要素は .kb-block.kb-xxx、内側は .kb-block .kb-xxx__yyy の形で書く。
   ========================================================================== */

/* --- 市松模様（元デザインの customStyles をそのまま） --- */
.kb-ichimatsu {
	background-color: transparent;
	background-image:
		linear-gradient(45deg, #b91c1c 25%, transparent 25%, transparent 75%, #b91c1c 75%, #b91c1c),
		linear-gradient(45deg, #b91c1c 25%, transparent 25%, transparent 75%, #b91c1c 75%, #b91c1c);
	background-size: 16px 16px;
	background-position: 0 0, 8px 8px;
}
.kb-ichimatsu-dark {
	background-color: transparent;
	background-image:
		linear-gradient(45deg, #3f0000 25%, transparent 25%, transparent 75%, #3f0000 75%, #3f0000),
		linear-gradient(45deg, #3f0000 25%, transparent 25%, transparent 75%, #3f0000 75%, #3f0000);
	background-size: 32px 32px;
	background-position: 0 0, 16px 16px;
}

/* --- ベース（Tailwind preflight 相当をスコープ内に限定）
   .kb-block.kb-block :where(x) = 詳細度 (0,2,0)。Arkhe の .c-postContent li 等 (0,1,1) に勝ち、
   後続のコンポーネント規則 (0,2,0)〜 には順序で負ける。 --- */
.kb-block {
	--kb-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--kb-font-serif: "Playfair Display", Georgia, serif;
	--kb-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--kb-transition-props: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
	box-sizing: border-box;
	font-family: var(--kb-font-sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: normal; /* Arkhe の letter-spacing を打ち消す */
	color: #171717;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}
.kb-block.kb-block :where(*, *::before, *::after) { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e5e5; }
.kb-block.kb-block :where(h1, h2, h3, h4, p, ul, li, figure) { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.kb-block.kb-block :where(ul) { list-style: none; }
.kb-block.kb-block :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
.kb-block.kb-block :where(a) { color: inherit; text-decoration: none; }
.kb-block.kb-block :where(a):hover, .kb-block.kb-block :where(a):focus { text-decoration: none; }
.kb-block.kb-block :where(strong) { font-weight: 700; }
.kb-block.kb-block :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.kb-block.kb-block :where(svg) { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.kb-block [hidden] { display: none !important; }

.kb-block .kb-container { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px)  { .kb-block .kb-container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .kb-block .kb-container { padding-left: 32px;   padding-right: 32px; } }

/* 見出し下の赤ライン（w-16 h-1 bg-red-700） */
.kb-block .kb-bar { width: 64px; height: 4px; background-color: #b91c1c; }

/* セクション見出し（text-4xl font-bold font-serif-en mb-4） */
.kb-block .kb-section-title { font-family: var(--kb-font-serif); font-size: 36px; line-height: 40px; font-weight: 700; color: #171717; margin-bottom: 16px; }

/* テキストリンク型ボタン（View Details / View All Posts 等） */
.kb-block .kb-textlink {
	display: flex; width: fit-content; align-items: center; gap: 8px; /* 元は <button>（shrink-to-fit）なので幅は内容に合わせる。inline-flex だと行ボックス分 3px 高くなる */
	color: #b91c1c; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
	font-size: 14px; line-height: 20px;
	transition-property: all; transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-textlink:hover { gap: 16px; color: #b91c1c; }

/* ==========================================================================
   Header（全ページ共通）
   ========================================================================== */
.kb-block.kb-header {
	position: sticky; top: var(--ark-adminbar_height, 0px); left: 0; width: 100%; z-index: 50;
	background-color: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
/* 本番サイトの共通CSS（Arkhe CSS Editor の arkhe_css_common）・追加CSS が、テーマを替えても #header に当たるのを打ち消す。
   本番の共通CSS 自体は書き換えない前提。ID セレクタ（詳細度 1,0,1）で書かれているので、こちらは 1,3,1 で勝つ（!important 不要）。
   - header#header { background-image: url(…); background-size: cover; height: 200px; } とそのスマホ版
     （@media max-width:999px → height:15vw ／ max-width:480px → height:26vw）… ここで全幅まとめて打ち消す
   - 追加CSS(ID317) #header { border-top: 6px solid transparent; 市松 background-image } … テーマが違えば効かないが念のため */
header#header.kb-block.kb-header {
	height: auto; min-height: 0;
	background-image: none; background-repeat: repeat; background-position: 0 0; background-size: auto;
	border-top-width: 0;
}
.kb-block .kb-header__line { height: 6px; width: 100%; opacity: 0.9; }
.kb-block .kb-header__row { display: flex; justify-content: space-between; align-items: center; height: 96px; }
.kb-block .kb-header__logo { flex-shrink: 0; display: flex; align-items: center; padding-right: 32px; height: 64px; }
.kb-block .kb-header__logo a { display: flex; align-items: center; height: 100%; }
.kb-block .kb-header__logo img { height: 64px; width: auto; object-fit: contain; }
.kb-block .kb-header__sitename { font-weight: 700; font-size: 20px; color: #171717; }
.kb-block .kb-header__nav { display: none; }
.kb-block .kb-header__nav a {
	color: #262626; font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: 0.05em; text-transform: uppercase;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-header__nav a:hover { color: #b91c1c; }
.kb-block .kb-header__cta { display: none; }
.kb-block .kb-btn-dark {
	display: flex; align-items: center; gap: 8px; flex-shrink: 0;
	background-color: #171717; color: #fff; padding: 10px 24px; border-radius: 2px;
	font-weight: 700; letter-spacing: 0.05em; font-size: 14px; line-height: 20px; text-transform: uppercase;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-btn-dark:hover { background-color: #b91c1c; color: #fff; }
/* 元デザインは md(768px) で PC ナビ表示だが、1100px 未満では Book Now が収まらず横スクロールになるため 1100px に変更 */
@media (min-width: 1100px) {
	.kb-block .kb-header__logo { border-right: 1px solid #e5e5e5; }
	.kb-block .kb-header__nav { display: flex; flex: 1 1 0%; padding-left: 32px; column-gap: 24px; align-items: center; }
	.kb-block .kb-header__cta { display: flex; align-items: center; margin-left: 16px; padding-left: 16px; border-left: 1px solid #e5e5e5; height: 64px; }
	.kb-block .kb-header__burger { display: none !important; }
	.kb-block .kb-header__mobile { display: none !important; }
}
@media (min-width: 1024px) {
	.kb-block .kb-header__nav { column-gap: 32px; }
	.kb-block .kb-header__cta { margin-left: 32px; padding-left: 32px; }
}
/* モバイルメニュー（元デザインには無いため追加。1100px 未満のみ表示。ヘッダー直下にオーバーレイ） */
.kb-block .kb-header__burger {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	color: #171717; border-radius: 2px; background: none; border: 0;
}
.kb-block .kb-header__burger .kb-icon--x { display: none; }
.kb-block.kb-header.is-open .kb-header__burger .kb-icon--menu { display: none; }
.kb-block.kb-header.is-open .kb-header__burger .kb-icon--x { display: inline-block; }
.kb-block .kb-header__mobile { position: absolute; top: 100%; left: 0; width: 100%; border-top: 1px solid #e5e5e5; background-color: #fff; padding: 16px 0 24px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.kb-block .kb-header__mobile ul { display: flex; flex-direction: column; }
.kb-block .kb-header__mobile ul a {
	display: block; padding: 14px 0; color: #262626; font-weight: 700; font-size: 14px; line-height: 20px;
	letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 1px solid #f5f5f5;
}
.kb-block .kb-header__mobile .kb-btn-dark { display: inline-flex; margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.kb-block.kb-hero {
	position: relative; overflow: hidden; background-color: #171717; color: #fff;
	/* 元: pt-32 / lg:pt-48。ヘッダーを fixed ではなく sticky にしているため、ヘッダー高 103px 分を差し引いて見た目を一致させる */
	padding-top: 25px; padding-bottom: 80px;
}
@media (min-width: 1024px) { .kb-block.kb-hero { padding-top: 89px; padding-bottom: 128px; } }
.kb-block .kb-hero__bg { position: absolute; inset: 0; z-index: 0; }
.kb-block .kb-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.kb-block .kb-hero__overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 10; }
.kb-block .kb-hero__accent { position: absolute; top: 0; right: 0; width: 33.3333%; height: 100%; opacity: 0.2; z-index: 0; mix-blend-mode: overlay; }
.kb-block .kb-hero__content { position: relative; z-index: 10; }
.kb-block .kb-hero__inner { max-width: 768px; }
.kb-block .kb-hero__badge {
	display: inline-block; padding: 6px 16px; margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 9999px;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
}
.kb-block .kb-hero__title { font-family: var(--kb-font-serif); font-size: 48px; line-height: 1.25; font-weight: 700; margin-bottom: 24px; color: #fff; }
/* lg:text-7xl は line-height:1 も含む（leading-tight より後に出力されるため上書きされる） */
@media (min-width: 1024px) { .kb-block .kb-hero__title { font-size: 72px; line-height: 1; } }
.kb-block .kb-hero__title .kb-accent { color: #ef4444; }
.kb-block .kb-hero__text { font-size: 20px; line-height: 1.625; color: #d4d4d4; margin-bottom: 40px; max-width: 672px; }
.kb-block .kb-hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.kb-block .kb-btn-red {
	display: flex; align-items: center; gap: 8px;
	background-color: #b91c1c; color: #fff; padding: 16px 32px; border-radius: 2px;
	font-weight: 500; font-size: 18px; line-height: 28px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-btn-red:hover { background-color: #991b1b; color: #fff; }

/* ==========================================================================
   Divider
   ========================================================================== */
.kb-block.kb-divider { height: 16px; width: 100%; opacity: 0.8; }

/* ==========================================================================
   About
   ========================================================================== */
.kb-block.kb-about { padding-top: 96px; padding-bottom: 96px; background-color: #fff; }
.kb-block .kb-about__row { display: flex; flex-direction: column; gap: 64px; align-items: center; }
.kb-block .kb-about__media { width: 100%; position: relative; }
.kb-block .kb-about__deco { position: absolute; top: -24px; left: -24px; width: 128px; height: 128px; opacity: 0.1; z-index: 0; }
.kb-block .kb-about__img {
	position: relative; z-index: 10; width: 100%; height: 500px; object-fit: cover; border-radius: 2px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	filter: grayscale(100%);
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 700ms;
}
.kb-block .kb-about__img:hover { filter: grayscale(0); }
.kb-block .kb-about__card {
	position: absolute; bottom: -32px; right: -32px; z-index: 20; max-width: 320px;
	background-color: #171717; color: #fff; padding: 32px; border-left: 4px solid #b91c1c;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.kb-block .kb-about__card .kb-icon { color: #ef4444; margin-bottom: 16px; display: block; }
.kb-block .kb-about__card h3 { font-size: 20px; line-height: 28px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.kb-block .kb-about__card p { font-size: 14px; line-height: 20px; color: #a3a3a3; }
.kb-block .kb-about__body { width: 100%; }
.kb-block .kb-about__title { font-family: var(--kb-font-serif); font-size: 36px; line-height: 40px; font-weight: 700; margin-bottom: 24px; color: #171717; }
.kb-block .kb-about__body .kb-bar { margin-bottom: 32px; }
.kb-block .kb-about__lead { font-size: 18px; line-height: 1.625; color: #525252; margin-bottom: 24px; }
.kb-block .kb-about__text { color: #525252; margin-bottom: 32px; line-height: 1.625; }
.kb-block .kb-about__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kb-block .kb-about__features li { display: flex; align-items: flex-start; gap: 12px; }
.kb-block .kb-about__features .kb-icon { color: #b91c1c; margin-top: 2px; }
.kb-block .kb-about__features span { font-weight: 500; color: #262626; }
@media (min-width: 768px) {
	.kb-block .kb-about__row { flex-direction: row; }
	.kb-block .kb-about__media, .kb-block .kb-about__body { width: 50%; }
}

/* ==========================================================================
   Programs
   ========================================================================== */
.kb-block.kb-programs { padding-top: 96px; padding-bottom: 96px; background-color: #f5f5f5; position: relative; }
.kb-block .kb-programs__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #f5f5f5; z-index: 0; }
.kb-block .kb-programs__pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.03; z-index: 0; }
.kb-block.kb-programs > .kb-container { position: relative; z-index: 10; }
.kb-block .kb-programs__head { text-align: center; margin-bottom: 64px; }
.kb-block .kb-programs__head .kb-bar { margin-left: auto; margin-right: auto; }
.kb-block .kb-programs__grid { display: grid; gap: 32px; }
@media (min-width: 768px)  { .kb-block .kb-programs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .kb-block .kb-programs__grid { gap: 48px; } }
.kb-block .kb-card {
	position: relative; overflow: hidden; padding: 40px;
	/* 元デザインではカードに z-index が無く、-z-10 の角飾り（kb-card__corner）はカード背景の裏に隠れて見えない。
	   元の見た目に合わせてそのまま。角飾りを見せたい場合はここに isolation: isolate; を足す */
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 300ms;
}
.kb-block .kb-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.kb-block .kb-card--light { background-color: #fff; border: 1px solid #e5e5e5; color: #171717; }
.kb-block .kb-card--dark  { background-color: #171717; color: #fff; }
.kb-block .kb-card__corner {
	position: absolute; top: 0; right: 0; width: 128px; height: 128px; border-bottom-left-radius: 9999px; z-index: -10;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-card--light .kb-card__corner { background-color: #fef2f2; }
.kb-block .kb-card--light:hover .kb-card__corner { background-color: #fee2e2; }
.kb-block .kb-card--dark .kb-card__corner { background-color: rgba(127, 29, 29, 0.2); }
.kb-block .kb-card--dark:hover .kb-card__corner { background-color: rgba(127, 29, 29, 0.4); }
.kb-block .kb-card > .kb-icon { margin-bottom: 24px; display: block; }
.kb-block .kb-card--light > .kb-icon { color: #b91c1c; }
.kb-block .kb-card--dark  > .kb-icon { color: #ef4444; }
.kb-block .kb-card__title { font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: 16px; }
.kb-block .kb-card--light .kb-card__title { color: #171717; }
.kb-block .kb-card--dark  .kb-card__title { color: #fff; }
.kb-block .kb-card__text { margin-bottom: 32px; line-height: 1.625; min-height: 96px; }
.kb-block .kb-card--light .kb-card__text { color: #525252; }
.kb-block .kb-card--dark  .kb-card__text { color: #d4d4d4; }
.kb-block .kb-card__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.kb-block .kb-card__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.kb-block .kb-card--light .kb-card__list li { color: #404040; }
.kb-block .kb-card--dark  .kb-card__list li { color: #d4d4d4; }
.kb-block .kb-card__dot { width: 6px; height: 6px; border-radius: 9999px; flex-shrink: 0; }
.kb-block .kb-card--light .kb-card__dot { background-color: #b91c1c; }
.kb-block .kb-card--dark  .kb-card__dot { background-color: #ef4444; }
.kb-block .kb-card--dark .kb-textlink, .kb-block .kb-card--dark .kb-textlink:hover { color: #ef4444; }
.kb-block .kb-card:hover .kb-textlink { gap: 16px; }
.kb-block .kb-card__line {
	position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; opacity: 0;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 300ms;
}
.kb-block .kb-card:hover .kb-card__line { opacity: 1; }

/* ==========================================================================
   Journal（最新投稿）
   ========================================================================== */
.kb-block.kb-journal { padding-top: 96px; padding-bottom: 96px; background-color: #fff; position: relative; }
.kb-block .kb-journal__head { display: flex; flex-direction: column; margin-bottom: 48px; }
.kb-block .kb-journal__heading { margin-bottom: 24px; }
.kb-block .kb-journal__all { display: none; }
.kb-block .kb-journal__grid { display: grid; gap: 32px; }
.kb-block .kb-post { display: block; }
.kb-block .kb-post__media { overflow: hidden; border-radius: 2px; margin-bottom: 16px; position: relative; background-color: #e5e5e5; }
.kb-block .kb-post__media img, .kb-block .kb-post__media .kb-post__noimg {
	width: 100%; height: 256px; object-fit: cover; transform: scale(1);
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 700ms;
}
.kb-block .kb-post:hover .kb-post__media img { transform: scale(1.05); }
.kb-block .kb-post__cat { position: absolute; top: 16px; left: 16px; background-color: #fff; color: #171717; padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.kb-block .kb-post__date { font-size: 14px; line-height: 20px; color: #737373; margin-bottom: 8px; }
.kb-block .kb-post__title {
	font-size: 20px; line-height: 28px; font-weight: 700; color: #171717; margin-bottom: 12px;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-post:hover .kb-post__title { color: #b91c1c; }
.kb-block .kb-post__excerpt { color: #525252; font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-block .kb-journal__all-sp { margin-top: 32px; display: flex; justify-content: center; }
.kb-block .kb-journal__empty { color: #737373; }
@media (min-width: 768px) {
	.kb-block .kb-journal__head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
	.kb-block .kb-journal__heading { margin-bottom: 0; }
	.kb-block .kb-journal__all { display: flex; }
	.kb-block .kb-journal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kb-block .kb-journal__all-sp { display: none; }
}

/* ==========================================================================
   Access
   ========================================================================== */
.kb-block.kb-access { padding-top: 96px; padding-bottom: 96px; background-color: #f5f5f5; position: relative; }
.kb-block .kb-access__row { display: flex; flex-direction: column; gap: 64px; align-items: center; }
.kb-block .kb-access__body { width: 100%; }
.kb-block .kb-access__body .kb-bar { margin-bottom: 32px; }
.kb-block .kb-access__lead { font-size: 18px; line-height: 1.625; color: #525252; margin-bottom: 32px; }
.kb-block .kb-access__list { display: flex; flex-direction: column; gap: 32px; }
.kb-block .kb-access__list li { display: flex; align-items: flex-start; gap: 20px; }
.kb-block .kb-access__icon {
	background-color: #fff; padding: 12px; border-radius: 9999px; color: #b91c1c; margin-top: 4px; flex-shrink: 0;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); border: 1px solid #e5e5e5; display: flex;
}
.kb-block .kb-access__item h4 { font-size: 20px; line-height: 28px; font-weight: 700; color: #171717; margin-bottom: 8px; }
.kb-block .kb-access__item p { color: #525252; line-height: 1.625; }
.kb-block .kb-access__item strong { color: #262626; }
.kb-block .kb-access__note { font-size: 14px; line-height: 20px; color: #737373; margin-top: 8px; display: block; border-left: 2px solid #b91c1c; padding-left: 12px; }
.kb-block .kb-access__media { width: 100%; position: relative; }
.kb-block .kb-access__deco { position: absolute; top: 16px; right: 16px; width: 128px; height: 128px; opacity: 0.1; z-index: 0; }
.kb-block .kb-access__img {
	position: relative; z-index: 10; width: 100%; height: 400px; object-fit: cover; border-radius: 2px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
	.kb-block .kb-access__row { flex-direction: row; }
	.kb-block .kb-access__body, .kb-block .kb-access__media { width: 50%; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.kb-block.kb-cta { position: relative; padding-top: 96px; padding-bottom: 96px; background-color: #b91c1c; color: #fff; overflow: hidden; }
.kb-block .kb-cta__pattern { position: absolute; inset: 0; opacity: 0.1; mix-blend-mode: multiply; }
.kb-block .kb-cta__inner { max-width: 896px; margin: 0 auto; padding-left: 16px; padding-right: 16px; position: relative; z-index: 10; text-align: center; }
.kb-block .kb-cta__title { font-family: var(--kb-font-serif); font-size: 36px; line-height: 40px; font-weight: 700; margin-bottom: 24px; color: #fff; }
.kb-block .kb-cta__text { font-size: 20px; line-height: 28px; margin-bottom: 40px; color: #fee2e2; font-weight: 500; }
.kb-block .kb-cta__buttons { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .kb-block .kb-cta__buttons { flex-direction: row; } }
.kb-block .kb-btn-white, .kb-block .kb-btn-outline {
	display: inline-block; text-align: center; padding: 16px 32px; border-radius: 2px; font-weight: 700;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-btn-white { background-color: #fff; color: #991b1b; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.kb-block .kb-btn-white:hover { background-color: #f5f5f5; color: #991b1b; }
.kb-block .kb-btn-outline { border: 2px solid #fff; color: #fff; }
.kb-block .kb-btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); color: #fff; }

/* ==========================================================================
   Footer（全ページ共通）
   ========================================================================== */
.kb-block.kb-footer { background-color: #0a0a0a; color: #a3a3a3; padding-top: 64px; padding-bottom: 64px; position: relative; border-top: 4px solid #991b1b; }
.kb-block .kb-footer__grid { display: grid; gap: 48px; margin-bottom: 48px; }
@media (min-width: 768px) { .kb-block .kb-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kb-block .kb-footer__logo { height: 48px; width: auto; margin-bottom: 24px; object-fit: contain; }
.kb-block .kb-footer__desc { margin-bottom: 24px; max-width: 384px; font-size: 14px; line-height: 1.625; }
.kb-block .kb-footer__heading { color: #fff; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; line-height: 16px; }
.kb-block .kb-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 20px; }
.kb-block .kb-footer__links a, .kb-block .kb-footer__legal a {
	color: inherit;
	transition-property: var(--kb-transition-props); transition-timing-function: var(--kb-ease); transition-duration: 150ms;
}
.kb-block .kb-footer__links a:hover { color: #ef4444; }
.kb-block .kb-footer__contact { display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 20px; }
.kb-block .kb-footer__contact li { display: flex; gap: 12px; }
.kb-block .kb-footer__contact li.kb-footer__address { align-items: flex-start; }
.kb-block .kb-footer__contact li.kb-footer__hours { align-items: center; }
.kb-block .kb-footer__contact .kb-icon { color: #dc2626; flex-shrink: 0; }
.kb-block .kb-footer__address .kb-icon { margin-top: 2px; }
.kb-block .kb-footer__bottom { border-top: 1px solid #262626; padding-top: 32px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; font-size: 12px; line-height: 16px; }
.kb-block .kb-footer__legal { margin-top: 16px; display: flex; column-gap: 24px; }
.kb-block .kb-footer__legal a:hover { color: #fff; }
@media (min-width: 768px) {
	.kb-block .kb-footer__bottom { flex-direction: row; }
	.kb-block .kb-footer__legal { margin-top: 0; }
}

/* ==========================================================================
   Arkhe との調整（フロント）
   ========================================================================== */
/* トップページ: Arkhe のコンテナ幅・余白を外して全幅にする */
body.kb-top-page .l-content__body { max-width: none; width: 100%; padding: 0; margin: 0; }
body.kb-top-page .l-main, body.kb-top-page .l-main.l-article { max-width: none; width: 100%; margin: 0; }
body.kb-top-page .l-main__body, body.kb-top-page .c-postContent { max-width: none; width: 100%; margin: 0; padding: 0; }
body.kb-top-page .c-postContent > .kb-block { margin-top: 0; margin-bottom: 0; }
/* 他ページ: 本文中にブロックを置いた場合も上下マージンなし */
.c-postContent > .kb-block + .kb-block { margin-top: 0; }
/* アンカーリンク時に追従ヘッダーの下に隠れないようにする */
html { scroll-padding-top: calc(var(--ark-header_height, 103px) + var(--ark-adminbar_height, 0px)); }

/* トップページ: 本文に置いたグループ（Latest Journal＋Instagram 等）の上下マージンを外し、ブロック同士をすき間なくつなげる（1.0.2） */
body.kb-top-page .c-postContent > .wp-block-group { margin-top: 0; margin-bottom: 0; }
body.kb-top-page .c-postContent > .wp-block-group > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 0; }
/* Instagram（Smash Balloon の [instagram-feed]）: 幅と左右の余白を .kb-container にそろえる。スマホ 2列・タブレット 3列・PC 6列、写真は正方形
   プラグインの #sb_instagram に style 属性（padding・gap）が付くので、その2つだけ !important */
/* 本文の見出しブロック（h2）を Latest Journal と同じ見出しにする（inc/template.php で .kb-heading に包む）（1.0.4） */
body.kb-top-page .c-postContent .kb-block.kb-heading { background-color: #fff; }
body.kb-top-page .c-postContent .kb-block.kb-heading .kb-journal__heading { margin-bottom: 0; }
body.kb-top-page .c-postContent #sb_instagram.sbi { max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0 16px 96px !important; box-sizing: border-box; }
body.kb-top-page .c-postContent #sb_instagram.sbi #sbi_images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
body.kb-top-page .c-postContent #sb_instagram.sbi .sbi_photo { display: block; aspect-ratio: 1 / 1; height: auto !important; overflow: hidden; }
body.kb-top-page .c-postContent #sb_instagram.sbi .sbi_photo img { width: 100%; height: 100% !important; object-fit: cover; }
body.kb-top-page .c-postContent #sb_instagram.sbi #sbi_load { margin-top: 24px; }
@media (min-width: 640px) {
	body.kb-top-page .c-postContent #sb_instagram.sbi { padding-left: 24px !important; padding-right: 24px !important; }
	body.kb-top-page .c-postContent #sb_instagram.sbi #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	body.kb-top-page .c-postContent #sb_instagram.sbi { padding-left: 32px !important; padding-right: 32px !important; }
	body.kb-top-page .c-postContent #sb_instagram.sbi #sbi_images { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px !important; }
}
