/*
Theme Name: 御豆屋 (Omameya)
Theme URI: https://omameya.jp/
Author: 株式会社INDIGO COFFEE WORKS
Description: 御豆屋 公式サイト用のブロックテーマ。ここは、コーヒーの道の駅。
Version: 0.10.3
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omameya
*/

/* ------------------------------------------------------------
   トークン
   色は6色だけ: インディゴ / ターコイズ / オレンジ / 茶 / 黒 / 白
   補足文字・罫線は、黒または白を薄めたもの(新しい色は足さない)
------------------------------------------------------------ */
:root {
	--omy-indigo: var(--wp--preset--color--indigo, #1F4A6E);
	--omy-indigo-deep: #17324D;
	--omy-turquoise: var(--wp--preset--color--turquoise, #2AA5A8);
	--omy-orange: var(--wp--preset--color--orange, #E8792E);
	--omy-brown: var(--wp--preset--color--brown, #5C3B28);
	--omy-black: var(--wp--preset--color--black, #1A1A1A);
	--omy-white: var(--wp--preset--color--white, #FFFFFF);
	--omy-section: 72px;
	--bg: var(--omy-white);
	--fg: var(--omy-black);
	--sub: #595959;
	--rule: #DDDDDD;
	--link: var(--omy-indigo);
}
@media (min-width: 768px) {
	:root { --omy-section: 104px; }
	:root body { --wp--style--root--padding-left: 40px; --wp--style--root--padding-right: 40px; }
}
@media (min-width: 1024px) {
	:root { --omy-section: 128px; }
	body { font-size: 17px; }
}

/* 色の面(グループブロックの「スタイル」で選ぶ)
   藍・茶・黒の面は白文字 / ターコイズ・オレンジ・白の面は黒文字 */
.is-style-white     { --bg: var(--omy-white);     --fg: var(--omy-black); --sub: #595959;               --rule: #DDDDDD;               --link: var(--omy-indigo); }
.is-style-indigo    { --bg: var(--omy-indigo);    --fg: var(--omy-white); --sub: rgba(255,255,255,.82); --rule: rgba(255,255,255,.35); --link: var(--omy-white); }
.is-style-turquoise { --bg: var(--omy-turquoise); --fg: var(--omy-black); --sub: rgba(26,26,26,.85);    --rule: rgba(26,26,26,.3);     --link: var(--omy-black); }
.is-style-orange    { --bg: var(--omy-orange);    --fg: var(--omy-black); --sub: rgba(26,26,26,.85);    --rule: rgba(26,26,26,.3);     --link: var(--omy-black); }
.is-style-brown     { --bg: var(--omy-brown);     --fg: var(--omy-white); --sub: rgba(255,255,255,.82); --rule: rgba(255,255,255,.3);  --link: var(--omy-white); }
.is-style-black     { --bg: var(--omy-black);     --fg: var(--omy-white); --sub: rgba(255,255,255,.78); --rule: rgba(255,255,255,.25); --link: var(--omy-white); }
[class*="is-style-"]:is(.wp-block-group, .wp-block-column, .wp-block-cover) { background: var(--bg); color: var(--fg); }
[class*="is-style-"] a:where(:not(.wp-element-button)) { color: var(--link); }

/* ------------------------------------------------------------
   基本
------------------------------------------------------------ */
body { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
:where(h1, h2, h3, .wp-block-post-title) { word-break: auto-phrase; text-wrap: balance; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wp-site-blocks > * { margin-block-start: 0; }
main.wp-block-group { margin-top: 0; }

.section { padding-top: var(--omy-section) !important; padding-bottom: var(--omy-section) !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.section + .section.is-style-white,
.is-style-white + .section.is-style-white { border-top: 1px solid #DDDDDD; }

/* ラベル(小さな欧文 + 線) */
.label {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
	margin-bottom: 16px !important; color: var(--fg);
}
.label::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.is-style-white .label { color: var(--omy-indigo); }

.lead { color: var(--sub); max-width: 38em; }
.is-layout-constrained > .lead { margin-left: 0 !important; }
@media (min-width: 1024px) {
	.rows.is-grid .ratio-11 .omy-ph { aspect-ratio: 3 / 2; }
}
.more a, a.more {
	display: inline-flex; align-items: center; gap: .5em; font-weight: 700; min-height: 48px; color: var(--link);
}
.more a::after, a.more::after { content: "→"; transition: transform .2s; }
.more a:hover::after, a.more:hover::after { transform: translateX(3px); }
.more a[target="_blank"]::after { content: "↗"; }

/* 4色の帯 */
.band { height: 8px; display: flex; margin: 0 !important; }
.band i { flex: 1; }
.band i:nth-child(1) { background: var(--omy-indigo); }
.band i:nth-child(2) { background: var(--omy-turquoise); }
.band i:nth-child(3) { background: var(--omy-orange); }
.band i:nth-child(4) { background: var(--omy-brown); }
.band--thin { height: 5px; }

/* 写真の比率 */
.ratio-11 img, .ratio-11 .omy-ph { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.ratio-32 img, .ratio-32 .omy-ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ratio-45 img, .ratio-45 .omy-ph { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.wp-block-image { margin-bottom: 0; }

/* 写真がまだない所 */
.omy-ph {
	box-sizing: border-box;
	display: flex; align-items: flex-end; padding: 10px; border: 1.5px dashed var(--rule);
	font-size: 12px; line-height: 1.6; color: var(--fg); min-height: 120px;
}
.omy-ph span { background: var(--omy-white); color: var(--omy-black); padding: 4px 8px; }
.omy-todo {
	display: inline-block; font-size: 11px; color: var(--omy-black); background: var(--omy-white);
	border: 1px solid var(--omy-black); padding: 0 6px; line-height: 1.8; letter-spacing: 0; font-weight: 400; vertical-align: middle;
}

/* ボタンのスタイル */
.wp-block-button.is-style-white .wp-block-button__link { background: var(--omy-white); color: var(--omy-indigo); }
.wp-block-button.is-style-white .wp-block-button__link:hover { background: var(--omy-black); color: var(--omy-white); }
.wp-block-button.is-style-black .wp-block-button__link { background: var(--omy-black); color: var(--omy-white); }
.wp-block-button.is-style-black .wp-block-button__link:hover { background: var(--omy-indigo-deep); }
.wp-block-button.is-style-orange .wp-block-button__link { background: var(--omy-orange); color: var(--omy-black); }
@media (max-width: 767px) {
	.btn-block-sp, .btn-block-sp .wp-block-button { width: 100%; }
	.btn-block-sp .wp-block-button__link { display: block; width: 100%; text-align: center; }
}

/* チップ(カテゴリ札) */
.omy-chip, .chip-terms a {
	display: inline-block; font-size: 11px; letter-spacing: .1em; font-weight: 700; padding: 1px 8px;
	text-decoration: none; background: var(--omy-white); color: var(--omy-black);
}
.is-style-white .chip-terms a { background: var(--omy-turquoise); color: var(--omy-black); }
.omy-chip--orange { background: var(--omy-orange); color: var(--omy-black); }
.omy-chip--turquoise { background: var(--omy-turquoise); color: var(--omy-black); }
.omy-chip--indigo { background: var(--omy-indigo); color: var(--omy-white); }
.omy-chip--brown { background: var(--omy-brown); color: var(--omy-white); }
.omy-chip--black { background: var(--omy-black); color: var(--omy-white); }
.chip-terms { margin-bottom: 4px !important; }
.chip-terms .wp-block-post-terms__separator { display: none; }

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */
/* ヘッダーは茶の面。ロゴ・メニューは白 */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--omy-brown); color: var(--omy-white); }
.site-header .omy-logo img { filter: brightness(0) invert(1); }
.site-header .wp-block-navigation,
.site-header .wp-block-navigation a,
.site-header .wp-block-navigation__responsive-container-open { color: var(--omy-white); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .hdr { min-height: 60px; gap: 12px; }
.omy-logo { display: block; line-height: 0; }
.omy-logo img { height: 34px; width: auto; }
@media (min-width: 1024px) { .site-header .hdr { min-height: 72px; } .omy-logo img { height: 40px; } }
.site-header .hdr-right { gap: 8px; }
.omy-shop-chip {
	display: inline-block; background: var(--omy-orange); color: var(--omy-black) !important; font-size: 12px; font-weight: 700;
	letter-spacing: .06em; text-decoration: none; padding: 8px 12px; border-radius: 2px; white-space: nowrap; line-height: 1.4;
}
.omy-shop-chip:hover { background: var(--omy-black); color: var(--omy-white) !important; }
.site-header .wp-block-navigation { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.site-header .wp-block-navigation a { text-decoration: none; }
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
.omy-shop-chip:hover { outline: 1px solid var(--omy-white); }
.site-header .wp-block-navigation__submenu-container { background: var(--omy-indigo) !important; color: var(--omy-white) !important; border: 0 !important; padding: 8px 6px !important; min-width: 200px !important; }
.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px 20px; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,.25); padding: 14px 0; font-size: 16px; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding: 8px 0 0 18px !important; border-bottom: 0; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; padding: 8px 0; font-weight: 400; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------
   TOP
------------------------------------------------------------ */
.hero { padding-top: 40px !important; padding-bottom: 40px !important; }
.hero .hero-title { font-size: 32px; line-height: 1.4; letter-spacing: .06em; margin-top: 0; }
.hero .lead { margin-bottom: 24px; }
.hero .hero-cols { gap: 32px; margin-bottom: 0; }
@media (min-width: 1024px) {
	.hero { padding-top: 24px !important; padding-bottom: 48px !important; }
	.hero .hero-cols { min-height: calc(100vh - 180px); gap: 64px; }
	.hero .hero-title { font-size: 48px; }
}

.signs { gap: 8px !important; margin-top: 32px; }
.signs > .wp-block-group { padding: 20px 16px 18px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; margin: 0 !important; }
.signs .n { font-size: 11px; letter-spacing: .14em; font-weight: 700; margin: 0; }
.signs .sign-title { font-family: var(--wp--preset--font-family--mincho); font-size: 20px; font-weight: 800; line-height: 1.4; margin: 0; }
.signs .sign-sub { font-size: 13px; line-height: 1.6; color: var(--sub); margin: 6px 0 0; }
@media (min-width: 1024px) {
	.signs { margin-top: 0; gap: 12px !important; }
	.signs > .wp-block-group { min-height: 180px; padding: 24px; }
	.signs .sign-title { font-size: 24px; }
}

.steps { margin-top: 36px; gap: 0 !important; }
.steps > .wp-block-column {
	display: grid; grid-template-columns: 104px 1fr; column-gap: 18px; align-items: center;
	padding: 18px 0; border-top: 1.5px solid var(--rule); margin: 0 !important;
}
.steps > .wp-block-column:last-child { border-bottom: 1.5px solid var(--rule); }
.steps > .wp-block-column > .wp-block-image { grid-row: 1 / span 3; }
.steps > .wp-block-column > * { margin: 0 !important; }
.steps .num { font-family: var(--wp--preset--font-family--mincho); font-weight: 800; font-size: 34px !important; line-height: 1; }
.steps h3 { font-size: 18px; line-height: 1.5; font-family: var(--wp--preset--font-family--gothic); font-weight: 700; }
.steps p:not(.num) { font-size: 14px; color: var(--sub); line-height: 1.7; }
@media (min-width: 782px) {
	.steps { gap: 28px !important; }
	.steps > .wp-block-column, .steps > .wp-block-column:last-child { display: block; border: 0; border-top: 1.5px solid var(--rule); padding: 20px 0 0; }
	.steps > .wp-block-column > .wp-block-image { margin-bottom: 20px !important; }
	.steps .num { font-size: 48px !important; margin-bottom: 8px !important; }
}

.way .mission { font-size: 34px; line-height: 1.5; letter-spacing: .08em; margin: 0 0 28px; }
.way .bar { width: 56px; height: 4px; background: var(--omy-orange); margin: 0 0 28px !important; }
.way .lead { color: var(--sub); }
@media (min-width: 1024px) {
	.way { text-align: center; padding-top: 160px !important; padding-bottom: 160px !important; }
	.way .mission { font-size: 64px; }
	.way .bar { margin-left: auto !important; margin-right: auto !important; }
	.way .lead { margin-left: auto !important; margin-right: auto !important; }
}

/* 一覧(行) */
.rows { border-top: 1.5px solid var(--rule); margin-top: 28px !important; gap: 0 !important; }
.rows > li { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1.5px solid var(--rule); margin: 0 !important; }
.rows > li > .wp-block-post-featured-image { grid-row: 1 / span 2; margin: 0; }
.rows > li > .wp-block-post-featured-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.rows > li > * { margin: 0 !important; }
.rows .wp-block-post-title { font-family: var(--wp--preset--font-family--gothic); font-size: 16px; font-weight: 700; line-height: 1.6; }
.rows .wp-block-post-title a { color: var(--fg); text-decoration: none; }
.rows .wp-block-post-title a:hover { text-decoration: underline; }
.rows .wp-block-post-date { font-size: 13px; color: var(--sub); }
@media (min-width: 1024px) {
	.rows.is-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0 32px !important; border-top: 0; }
	.rows.is-grid > li { display: block; border-top: 1.5px solid var(--rule); border-bottom: 0; padding-top: 20px; }
	.rows.is-grid > li > .wp-block-post-featured-image { margin-bottom: 14px !important; }
	.rows.is-grid > li > .wp-block-post-featured-image img { aspect-ratio: 3 / 2; }
}
.omy-empty { color: var(--sub); font-size: 14px; }

/* 店舗 */
.omy-stores { list-style: none; margin: 32px 0 12px; padding: 0; display: grid; gap: 40px; }
.omy-stores a { color: var(--fg); text-decoration: none; display: block; }
.omy-stores a:hover h3 { text-decoration: underline; }
.omy-stores figure { margin: 0 0 16px; }
.omy-stores h3 { font-size: 24px; margin: 6px 0 4px; letter-spacing: .08em; }
.omy-stores p { margin: 0; font-size: 14px; color: var(--sub); line-height: 1.8; }
@media (min-width: 768px) { .omy-stores { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* イベント */
.omy-events { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1.5px solid var(--rule); }
.omy-event { border-bottom: 1.5px solid var(--rule); }
.omy-event a { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 24px 0; color: var(--fg); text-decoration: none; align-items: center; }
.omy-date { background: var(--omy-orange); color: var(--omy-black); text-align: center; padding: 12px 0 10px; }
.omy-date .m { display: block; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.omy-date .d { display: block; font-family: var(--wp--preset--font-family--mincho); font-weight: 800; font-size: 36px; line-height: 1.1; }
.omy-event .t { display: block; font-weight: 700; font-size: 17px; margin-top: 6px; }
.omy-event .meta { display: block; font-size: 14px; color: var(--sub); }
.omy-status { display: inline-block; font-size: 11px; font-weight: 700; background: var(--omy-black); color: var(--omy-white); padding: 1px 8px; letter-spacing: .08em; }
.omy-status--full, .omy-status--closed, .omy-status--cancelled { background: var(--omy-white); color: var(--omy-black); border: 1px solid var(--omy-black); }

/* 採用 */
.powers { list-style: none; padding: 0 !important; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.powers li { border: 1.5px solid var(--omy-white); padding: 4px 12px; font-size: 14px; font-weight: 700; margin: 0; }
.powers li:nth-child(3n+1) { background: var(--omy-orange); color: var(--omy-black); border-color: var(--omy-orange); }
.recruit-cols { gap: 32px; }
@media (min-width: 1024px) { .recruit-cols { gap: 72px; } }

/* 事業の2面 */
.biz { gap: 0 !important; margin: 0 !important; }
.biz > .wp-block-column { padding: 48px var(--wp--style--root--padding-left, 20px) !important; margin: 0 !important; }
.biz .k { font-size: 12px; letter-spacing: .16em; font-weight: 700; margin: 0; }
.biz h3 { font-size: 26px; margin: 8px 0 10px; }
.biz p { color: var(--sub); font-size: 15px; }
@media (min-width: 782px) { .biz > .wp-block-column { padding: 88px 56px !important; } .biz h3 { font-size: 32px; } }

/* ------------------------------------------------------------
   記事・個別ページ
------------------------------------------------------------ */
.page-head { padding-top: 64px !important; padding-bottom: 48px !important; }
.page-head .wp-block-post-title, .page-head .wp-block-query-title { margin-top: 0; }
.entry-body { padding-top: 48px; padding-bottom: 96px; }
.entry-body h2 { margin-top: 2.4em; padding-top: .4em; border-top: 3px solid var(--omy-indigo); font-size: clamp(22px, 2.6vw, 28px); }
.entry-body h3 { margin-top: 2em; }
.entry-body .wp-block-details { border-top: 1.5px solid #DDDDDD; padding: 14px 0; margin: 0; }
.entry-body .wp-block-details:last-of-type { border-bottom: 1.5px solid #DDDDDD; }
.entry-body .wp-block-details summary { font-weight: 700; cursor: pointer; }
.omy-info { border-top: 3px solid var(--omy-indigo); margin: 0 0 40px; }
.omy-info dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; }
.omy-info dt, .omy-info dd { padding: 12px 0; border-bottom: 1px solid #DDDDDD; margin: 0; }
.omy-info dt { font-weight: 700; font-size: 14px; }
.omy-related { margin-top: 56px; }
.omy-related h2 { border: 0; padding: 0; font-size: 22px; margin-top: 0; }
.omy-products { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid #DDDDDD; }
.omy-products li { border-bottom: 1.5px solid #DDDDDD; }
.omy-products a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; text-decoration: none; }
.omy-terms { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.omy-terms a { display: inline-block; padding: 4px 12px; border: 1.5px solid currentColor; font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: .08em; }
.omy-terms a.is-current { background: var(--omy-black); color: var(--omy-white); border-color: var(--omy-black); }
.wp-block-query-pagination { margin-top: 40px; font-weight: 700; }

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */
.site-footer { font-size: 14px; line-height: 1.8; }
.site-footer .footer-inner { padding-top: 56px; padding-bottom: 32px; }
.site-footer a { color: var(--omy-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .omy-logo img { height: 40px; filter: brightness(0) invert(1); }
.site-footer h4 { font-family: var(--wp--preset--font-family--gothic); font-size: 11px; letter-spacing: .16em; margin: 0 0 10px; color: var(--sub); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.omy-footer-stores p { margin: 0 0 14px; color: var(--sub); }
.omy-footer-stores strong { color: var(--omy-white); }
.site-footer .copy { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--sub); }

/* ------------------------------------------------------------
   レイアウトの補正(ブロックテーマの既定の余白を整える)
------------------------------------------------------------ */
main.wp-block-group > * { margin-block-start: 0 !important; }
.site-header .hdr, .site-footer .footer-inner {
	padding-left: var(--wp--style--root--padding-left); padding-right: var(--wp--style--root--padding-right);
}
.site-header .hdr { max-width: none; }
.site-header .hdr-right .omy-shop-chip { order: -1; }
@media (min-width: 600px) { .site-header .hdr-right .omy-shop-chip { order: 2; } }
.signs > .wp-block-group > * { margin: 0 !important; }
.signs > .wp-block-group > .wp-block-group { margin-top: 12px !important; }
.signs > .wp-block-group > .wp-block-group > .sign-sub { margin-top: 6px !important; }
.way .bar.wp-block-separator { border: 0; height: 4px; width: 56px; max-width: 56px; background: var(--omy-orange); opacity: 1; }
.page-head .wp-block-post-date { color: var(--sub); font-size: 14px; }
.page-head .lead { margin-bottom: 0; }
.entry-body > .wp-block-post-featured-image { margin-bottom: 40px; }
.creed-en { font-size: 13px; letter-spacing: .08em; color: var(--sub); }
.rows--text > li { display: block; }
.rows--text .wp-block-post-title { font-size: 18px; }
.omy-toc { border: 1.5px solid #DDDDDD; padding: 16px 20px; margin: 0 0 40px; }
.omy-toc__title { font-weight: 700; margin: 0 0 6px; font-size: 14px; letter-spacing: .1em; }
.omy-toc ol { margin: 0; padding-left: 1.4em; }
.omy-toc a { text-decoration: none; }
.omy-toc a:hover { text-decoration: underline; }
.entry-body .wp-block-table { overflow-x: auto; margin: 24px 0 32px; }
.entry-body .wp-block-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.6; }
.entry-body .wp-block-table th, .entry-body .wp-block-table td { border: 1px solid #DDDDDD; padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-body .wp-block-table th { background: var(--omy-indigo); color: #FFFFFF; font-weight: 700; white-space: nowrap; }
.entry-body h3.wp-block-heading { margin-top: 32px; }
.site-footer .f-cols { margin-top: 32px; gap: 24px 32px; }
.site-footer .f-cols h4 + * { margin-top: 0; }
.site-footer .lead { margin-top: 8px; }
.biz-wrap, .wp-block-columns.biz { margin-top: 0 !important; }

/* ------------------------------------------------------------
   ABOUT / RECRUIT
------------------------------------------------------------ */
.page-hero { padding-top: 48px !important; padding-bottom: 56px !important; }
.page-hero h1 { font-size: clamp(26px, 4.2vw, 52px); line-height: 1.4; margin-top: 0; letter-spacing: .06em; }
.page-hero .hero-cols { gap: 32px; }
@media (min-width: 1024px) { .page-hero .hero-cols { gap: 64px; } }

.tiles { gap: 12px !important; margin-top: 32px !important; }
.tiles > .wp-block-group { padding: 28px 24px; margin: 0 !important; }
.tiles > .wp-block-group > * { margin: 0 0 10px !important; }
.tiles .n { font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.tiles h3 { font-size: 22px; margin-bottom: 12px !important; }
.tiles .tile-lead { font-weight: 700; }
.tiles p { font-size: 15px; line-height: 1.8; }

.timeline, .principles, .flow, .career, .checks { list-style: none; padding: 0 !important; margin: 32px 0 24px; counter-reset: n; }
.timeline > li { position: relative; padding: 0 0 24px 28px; border-left: 2px solid var(--rule); margin: 0; }
.timeline > li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; background: var(--omy-orange); }
.timeline strong, .principles strong, .career strong { display: block; font-size: 17px; margin-bottom: 2px; }
.timeline > li, .principles > li, .career > li { color: var(--sub); }
.timeline strong, .principles strong, .career strong { color: var(--fg); }
.principles > li { counter-increment: n; position: relative; padding: 20px 0 20px 64px; border-top: 1.5px solid var(--rule); margin: 0; }
.principles > li:last-child { border-bottom: 1.5px solid var(--rule); }
.principles > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--wp--preset--font-family--mincho); font-weight: 800; font-size: 32px; line-height: 1; color: var(--fg); }
.career > li { padding: 20px 0 20px 20px; border-left: 4px solid var(--omy-turquoise); margin: 0 0 12px; }
.career > li:last-child { border-left-color: var(--omy-orange); }
.flow > li { padding: 14px 0; border-bottom: 1.5px solid var(--rule); font-weight: 700; margin: 0; }
.flow > li::after { content: "↓"; display: block; color: var(--omy-orange); font-weight: 700; margin-top: 6px; }
.flow > li:last-child::after { content: "↻ ふたたび、最初へ"; font-size: 13px; color: var(--fg); }
.checks > li { padding: 12px 0; border-bottom: 1.5px solid var(--rule); font-weight: 700; margin: 0; }
.checks > li::before { content: "— "; }
.branches { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 14px 0 0; }
.branches > li { border: 1.5px solid currentColor; padding: 4px 12px; font-size: 14px; font-weight: 700; margin: 0; color: var(--fg); }
.chips-list > li { background: var(--omy-white); color: var(--omy-black); border-color: var(--omy-white); }
.note { font-size: 14px; color: var(--sub); border-left: 3px solid currentColor; padding-left: 12px; margin-top: 24px; }
.faq .wp-block-details { border-top: 1.5px solid var(--rule); padding: 16px 0; margin: 0 !important; max-width: 720px; }
.faq .wp-block-details:last-of-type { border-bottom: 1.5px solid var(--rule); }
.faq .wp-block-details summary { font-weight: 700; cursor: pointer; }
.faq .wp-block-details p { color: var(--sub); margin: 10px 0 0; }
.creed-en { margin-top: -8px; }

/* 条件・仕様の表(リスト) */
.spec { list-style: none; padding: 0 !important; margin: 28px 0; border-top: 1.5px solid var(--rule); max-width: 760px; }
.spec > li { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1.5px solid var(--rule); margin: 0; color: var(--sub); }
.spec > li strong { color: var(--fg); }
@media (max-width: 599px) { .spec > li { grid-template-columns: 1fr; gap: 2px; } }
.spec--stack > li { grid-template-columns: 1fr; gap: 2px; }

/* ------------------------------------------------------------
   コンサルの LP(ナビを減らした1枚ページ)
   いちばんの行動=インディゴの塗りボタン / メルマガ=線・テキストリンク(一段弱く)
------------------------------------------------------------ */
.hdr-lp .lp-nav { display: none; gap: 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.hdr-lp .lp-nav a { color: var(--omy-white); text-decoration: none; }
.hdr-lp .lp-nav a:hover { text-decoration: underline; text-underline-offset: .5em; }
.omy-cta--header { display: none; background: var(--omy-indigo); color: var(--omy-white) !important; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 10px 16px; text-decoration: none; border-radius: 2px; border: 1.5px solid var(--omy-white); white-space: nowrap; }
.omy-cta--header:hover { background: var(--omy-black); }
@media (min-width: 782px) { .hdr-lp .lp-nav, .omy-cta--header { display: inline-flex; } }

.omy-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #DDDDDD; }
.omy-sticky-cta a { display: block; text-align: center; background: var(--omy-indigo); color: var(--omy-white); font-weight: 700; padding: 12px; text-decoration: none; border-radius: 2px; font-size: 15px; }
@media (min-width: 782px) { .omy-sticky-cta { display: none; } }
@media (max-width: 781px) { body:has(.omy-sticky-cta) { padding-bottom: 72px; } }

.lp-hero h1 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.35; margin-top: 0; letter-spacing: .04em; }
.lp-hero { padding-top: 56px !important; }
.lp-promise { font-family: var(--wp--preset--font-family--mincho); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); color: var(--omy-indigo); border-left: 4px solid var(--omy-indigo); padding-left: 14px; margin: 28px 0 !important; }
.lp-cta-wrap { margin-top: 28px !important; }
.lp-cta .wp-block-button__link { font-size: 16px; padding: 18px 32px; background: var(--omy-indigo); color: var(--omy-white); }
.lp-cta .wp-block-button__link:hover { background: var(--omy-black); }
.lp-cta--large .wp-block-button__link { font-size: 18px; padding: 22px 44px; }
.lp-sub { font-size: 14px; color: var(--sub); margin-top: 18px !important; }
.lp-sub a { font-weight: 700; color: var(--link); }
.lp-statement { font-family: var(--wp--preset--font-family--mincho); font-weight: 800; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.5; letter-spacing: .04em; margin: 40px 0 !important; color: var(--fg); }
.nb { display: inline-block; }
.lp-statement--small { font-size: clamp(19px, 2.2vw, 26px); }
.lp-kicker { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--sub); margin-bottom: 0 !important; }
.lp-level h2 { font-size: clamp(36px, 6vw, 80px); margin-top: 8px; }

.lp-items { display: grid; grid-template-columns: 1fr; gap: 0 48px; margin-top: 32px !important; border-top: 1.5px solid var(--rule); }
@media (min-width: 900px) { .lp-items { grid-template-columns: 1fr 1fr; } }
.lp-item { padding: 28px 0; border-bottom: 1.5px solid var(--rule); margin: 0 !important; }
.lp-item > * { margin: 0 0 8px !important; }
.lp-item h3 { font-size: 22px; display: flex; gap: 12px; align-items: baseline; }
.lp-num { font-family: var(--wp--preset--font-family--mincho); color: var(--omy-indigo); font-size: 28px; }
.lp-tags { font-size: 13px; color: var(--sub); letter-spacing: .04em; }

.lp-pair { padding: 24px 0; border-top: 1.5px solid var(--rule); margin: 0 !important; max-width: 900px; }
.lp-pair + .lp-statement { border-top: 1.5px solid var(--rule); padding-top: 40px; }
.lp-not { color: var(--sub); margin: 0 0 6px !important; }
.lp-do { font-size: clamp(17px, 1.8vw, 21px); margin: 0 !important; }
.lp-do strong { color: var(--omy-indigo); }

.lp-checks > li::before { content: "✓ "; color: var(--omy-indigo); }
.lp-support { list-style: none; padding: 0 !important; columns: 2; column-gap: 32px; margin-top: 24px; }
@media (min-width: 782px) { .lp-support { columns: 4; } }
.lp-support li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 700; margin: 0; }
.lp-role { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--omy-indigo); margin-top: -8px !important; }
.lp-assure { border-left: 3px solid var(--omy-indigo); padding-left: 14px; color: var(--fg); max-width: 38em; }
.is-layout-constrained > .lp-assure, .is-layout-constrained > .lp-pair { margin-left: 0 !important; }
.lp-final h2 { font-size: clamp(26px, 3.6vw, 46px); }
.lp-news-btn .wp-block-button__link { background: transparent; color: var(--omy-white); border: 1.5px solid var(--omy-white); }
.lp-news-btn .wp-block-button__link:hover { background: var(--omy-white); color: var(--omy-black); }
.footer-lp .footer-links a { margin-right: 20px; }
.photo-strip { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 32px 0 8px !important; }
.photo-strip > * { margin: 0 !important; }
@media (min-width: 782px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
.photo-strip--2, .photo-strip--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 782px) { .photo-strip--2 { grid-template-columns: 1fr 1fr; } .photo-strip--4 { grid-template-columns: repeat(4, 1fr); } }
.is-layout-constrained > .wp-block-image.size-full { margin-top: 32px; margin-bottom: 8px; }
.lp-items--single { grid-template-columns: 1fr !important; }
.lp-items--single .lp-item { max-width: 860px; }
.lp-cta--onindigo .wp-block-button__link { background: var(--omy-white); color: var(--omy-indigo); }
.lp-cta--onindigo .wp-block-button__link:hover { background: var(--omy-black); color: var(--omy-white); }

/* ------------------------------------------------------------
   フォーム
------------------------------------------------------------ */
.omy-form { max-width: 720px; margin: 24px 0 0; }
.omy-field { margin: 0 0 22px; }
.omy-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.omy-field input[type="text"], .omy-field input[type="email"], .omy-field input[type="tel"], .omy-field input[type="number"], .omy-field select, .omy-field textarea {
	box-sizing: border-box; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #BBBBBB; border-radius: 2px; background: var(--omy-white); color: var(--omy-black);
}
.omy-field input:focus, .omy-field select:focus, .omy-field textarea:focus { outline: 2px solid var(--omy-indigo); outline-offset: 1px; border-color: var(--omy-indigo); }
.omy-field--check label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.omy-req, .omy-opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.omy-req { background: var(--omy-orange); color: var(--omy-black); }
.omy-opt { border: 1px solid #BBBBBB; color: #595959; }
.omy-help { display: block; font-size: 13px; color: #595959; margin-top: 4px; }
.omy-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.omy-turnstile { margin: 8px 0 16px; min-height: 65px; }
.omy-submit button { font-size: 16px; padding: 16px 40px; border: 0; cursor: pointer; }
.omy-form-errors { border-left: 4px solid var(--omy-orange); padding: 12px 16px; margin-bottom: 24px; background: var(--omy-white); color: var(--omy-black); }
.omy-form-errors p { font-weight: 700; margin: 0 0 6px; }
.omy-form-done { border-left: 4px solid var(--omy-indigo); padding: 16px 20px; margin: 24px 0; }
.omy-form-done__title { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.omy-apply { margin-top: 56px; }

/* 動き: 1回だけ、控えめに */
@media (prefers-reduced-motion: no-preference) {
	.js .omy-reveal { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
	.js .omy-reveal.is-in { opacity: 1; transform: none; }
}
