/* TryKOREA開業ナビ テーマ */
:root {
	--tk-primary: var(--wp--preset--color--primary, #EE6A3C);
	--tk-primary-dark: var(--wp--preset--color--primary-dark, #D9542A);
	--tk-primary-soft: var(--wp--preset--color--primary-soft, #FDF0EA);
	--tk-navy: var(--wp--preset--color--secondary, #1E293B);
	--tk-accent: var(--wp--preset--color--accent, #F2C94C);
	--tk-muted: var(--wp--preset--color--muted, #F4F6F9);
	--tk-border: var(--wp--preset--color--border, #E3E7EE);
	--tk-text: var(--wp--preset--color--contrast, #333B48);
	--tk-subtle: var(--wp--preset--color--subtle, #667085);
	--tk-radius: 14px;
	--tk-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .06);
	--tk-shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
}

body { -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
.tk-main { margin-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.tk-main > .wp-block-post-content > * { margin-block-start: 0; }

/* ---------- ヘッダー ---------- */
.tk-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tk-border); padding-block: 6px; }
.admin-bar .tk-header { top: var(--wp-admin--admin-bar--height, 32px); }
.tk-header__inner { min-height: 60px; gap: 1rem; }
.tk-logo img { width: 200px; height: auto; display: block; }
.tk-nav { gap: 1.6rem; font-size: .95rem; }
.tk-nav a:hover { color: var(--tk-primary); }
.tk-nav .tk-nav-cta > a,
.tk-nav .tk-nav-cta .wp-block-navigation-item__content { background: var(--tk-primary); color: #fff !important; padding: .55em 1.2em; border-radius: 10px; font-weight: 700; }
.tk-nav .tk-nav-cta > a:hover { background: var(--tk-primary-dark); }
.tk-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.tk-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; font-size: 1.05rem; }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* ---------- セクション ---------- */
.tk-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.tk-section > * + * { margin-block-start: 1.25rem; }
.tk-section .wp-block-heading.has-text-align-center + .tk-lead { margin-top: .75rem; }
.tk-section > .tk-grid,
.tk-section > .wp-block-trykorea-model-cases,
.tk-section > .tk-cases { margin-top: 2.75rem; }
.tk-lead { color: var(--tk-subtle); max-width: 46rem; margin-inline: auto !important; }
.has-secondary-background-color .tk-lead,
.has-primary-background-color .tk-lead { color: rgba(255, 255, 255, .85); }
.tk-muted { color: var(--tk-subtle); }
.has-secondary-background-color .tk-muted { color: rgba(255, 255, 255, .7); }
.tk-small { font-size: .9rem; line-height: 1.85; }
.tk-xs { font-size: .8rem; }
.tk-mt { margin-top: 3.5rem !important; }
.tk-center { text-align: center; }
.tk-em { color: var(--tk-primary); }
.tk-border-top { border-top: 1px solid var(--tk-border); }
.tk-narrow { max-width: 960px !important; margin-inline: auto !important; }
.tk-narrow-sm { max-width: 720px !important; margin-inline: auto !important; margin-top: 2rem !important; }
.tk-h-sm { font-size: 1.35rem !important; }

/* バッジ */
.tk-badge { display: table; margin-inline: auto; background: var(--tk-primary); color: #fff; font-size: .8rem; font-weight: 700; padding: .3em 1em; border-radius: 999px; line-height: 1.6; }
.tk-badge:not(.has-text-align-center) { margin-inline: 0; }
.tk-chip { display: inline-block; background: var(--tk-navy); color: #fff; font-size: .75rem; padding: .2em .8em; border-radius: 999px; margin: 0 0 .5rem !important; }
.tk-solve { display: table; margin: 3rem auto 0 !important; background: var(--tk-accent); color: var(--tk-navy); font-weight: 700; font-size: 1.15rem; padding: .5em 1.6em; border-radius: 999px; }

/* グリッド */
.tk-grid { gap: 1.5rem; }
/* 列数はテーマ側で固定（WordPressの自動計算に依存しない）
   既定3列／カードが2枚のグリッド・tk-narrow は2列／料金は4列 */
.tk-section .tk-grid.is-layout-grid,
.tk-section .tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.5rem; }
.tk-section .tk-grid.tk-narrow,
.tk-section .tk-grid.tk-cols-2,
.tk-section .tk-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.tk-section .tk-grid.tk-cols-4,
.tk-section.tk-pricing .tk-grid.is-layout-grid,
.tk-section.tk-pricing .tk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* カード */
.is-style-card,
.tk-section .tk-grid > .wp-block-group:not(.is-style-plain) { background: #fff; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: 1.6rem 1.5rem; box-shadow: var(--tk-shadow); color: var(--tk-text); }
.is-style-card > * + *, .tk-grid > .wp-block-group > * + * { margin-top: .6rem; }
.tk-hover { transition: box-shadow .2s, transform .2s; }
.tk-hover:hover { box-shadow: var(--tk-shadow-lg); transform: translateY(-2px); }
.tk-card__sub { color: var(--tk-subtle); font-size: .88rem; }
.tk-card--primary { background: var(--tk-primary) !important; color: #fff !important; border-color: var(--tk-primary) !important; margin-top: 1.5rem !important; }
.tk-card--primary h3 { color: #fff; }
.tk-note { background: var(--tk-primary-soft); border: 1px solid rgba(238, 106, 60, .25); border-radius: var(--tk-radius); padding: 1.5rem; max-width: 900px; margin-inline: auto !important; }
.tk-note + .tk-cases, .tk-note + * { margin-top: 2.5rem !important; }

/* アイコン（CSSマスク） */
.tk-ic::before { content: ""; display: block; width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 1rem; background: var(--tk-primary-soft) var(--tk-icon) center / 26px no-repeat; }
.tk-ic:not(.has-text-align-center)::before { margin-left: 0; }
.tk-ic--sm::before { width: 42px; height: 42px; background-size: 21px; margin-bottom: .75rem; }
.tk-ic--doc { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); }
.tk-ic--pin { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.tk-ic--users { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.tk-ic--check { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.tk-ic--trend { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E"); }
.tk-ic--phone { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.tk-ic--building { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M12 14h.01M16 10h.01M16 14h.01M8 10h.01M8 14h.01'/%3E%3C/svg%3E"); }
.tk-ic--mail { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.tk-ic--clock { --tk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.tk-ic-line { position: relative; padding-left: 2.2rem; font-size: .92rem; line-height: 1.7; }
.tk-ic-line::before { content: ""; position: absolute; left: 0; top: .15rem; width: 22px; height: 22px; background: var(--tk-icon) center / contain no-repeat; }

/* 番号付き見出し */
.tk-numbered { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.15rem !important; }
.tk-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--tk-primary); color: #fff; font-family: var(--wp--preset--font-family--sans); font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem; }

/* チェックリスト */
.tk-checks { list-style: none; padding-left: 0; }
.tk-checks li { position: relative; padding-left: 1.6rem; font-size: .92rem; margin: .4rem 0; }
.tk-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tk-check-item { position: relative; padding-left: 1.8rem; font-size: .92rem; margin: 0; }
.tk-check-item::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6A3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tk-area { padding: 1.1rem 1.2rem !important; }

/* ---------- ヒーロー ---------- */
.tk-hero { padding-block: clamp(4.5rem, 10vw, 8rem) !important; padding-inline: var(--wp--style--root--padding-left, clamp(20px, 5vw, 64px)) !important; }
.tk-hero .wp-block-cover__inner-container { color: #fff; }
.tk-hero .wp-block-cover__inner-container { width: 100%; max-width: 1200px; margin-inline: auto; }
.tk-hero .wp-block-cover__inner-container > * { max-width: 800px; margin-left: 0 !important; margin-right: auto !important; }
.tk-hero__title { font-size: clamp(2rem, 5.4vw, 3.75rem) !important; line-height: 1.3 !important; margin-top: 1rem !important; }
.tk-hero__lead { font-size: clamp(1.02rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.tk-hero__text { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.tk-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem !important; }
.tk-pills li { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); border-radius: 999px; padding: .25em 1em .25em 2.1em; font-size: .85rem; position: relative; }
.tk-pills li::before { content: "✓"; position: absolute; left: .9em; }
.tk-hero .wp-block-buttons { margin-top: 2rem !important; }

/* ---------- ボタン ---------- */
.wp-block-button.is-style-ghost .wp-block-button__link { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .2); }
.wp-block-button.is-style-white .wp-block-button__link { background: #fff; color: var(--tk-primary); }
.wp-block-button.is-style-white .wp-block-button__link:hover { background: rgba(255, 255, 255, .9); }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--tk-navy); border: 1px solid var(--tk-border); padding: .85em 1.8em; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--tk-primary); color: var(--tk-primary); }
.wp-block-button__link { transition: background .2s, color .2s, border-color .2s; }
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--tk-primary); color: #fff !important; font-weight: 700; padding: .8em 1.8em; border-radius: 10px; border: 1px solid var(--tk-primary); text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.4; }
.tk-btn:hover { background: var(--tk-primary-dark); }
.tk-btn--outline { background: #fff; color: var(--tk-navy) !important; border-color: var(--tk-border); }
.tk-btn--outline:hover { background: var(--tk-muted); }
.tk-btn[disabled] { opacity: .45; cursor: default; }

/* ---------- 動画 ---------- */
.tk-videos .wp-block-embed { margin: 0; }
.tk-videos .wp-block-embed__wrapper { border-radius: 12px; overflow: hidden; box-shadow: var(--tk-shadow); }
.tk-videos figcaption { font-size: .85rem; color: var(--tk-subtle); margin-top: .6rem; }

/* ---------- 料金 ---------- */
.tk-plan { position: relative; display: flex; flex-direction: column; }
.tk-plan .wp-block-buttons { margin-top: auto !important; padding-top: 1rem; }
.tk-plan .wp-block-button { width: 100%; }
.tk-plan .wp-block-button__link { width: 100%; }
.tk-plan.is-popular { border: 2px solid var(--tk-primary) !important; box-shadow: var(--tk-shadow-lg) !important; }
.tk-plan__flag { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--tk-primary); color: #fff; font-size: .78rem; font-weight: 700; padding: .2em 1em; border-radius: 999px; margin: 0 !important; white-space: nowrap; }
.tk-plan__name { font-family: var(--wp--preset--font-family--sans) !important; font-size: 1.3rem !important; }
.tk-plan__price { font-size: 1.9rem; font-weight: 800; color: var(--tk-primary); line-height: 1.3; margin-top: .2rem !important; }
.tk-plan__desc { color: var(--tk-subtle); font-size: .88rem; min-height: 3.2em; }

/* ---------- FAQ ---------- */
.tk-faq__box { max-width: 820px; margin: 2.5rem auto 0 !important; background: #fff; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: .5rem 1.75rem; }
.tk-faq__box .wp-block-details:last-child { border-bottom: 0; }
.wp-block-details summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 2rem; line-height: 1.6; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: .25rem; top: .35em; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(-135deg); top: .6em; }
.wp-block-details summary:hover { color: var(--tk-primary); }
.wp-block-details > p { color: var(--tk-subtle); font-size: .92rem; margin-top: .75rem; }

/* ---------- CTA ---------- */
.tk-cta { text-align: center; }
.tk-cta .wp-block-buttons { margin-top: 2rem !important; }

/* ---------- ページ上部 ---------- */
.tk-page-hero { padding-block: clamp(3rem, 7vw, 4.5rem); }
.tk-page-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem) !important; }

/* ---------- 会社概要 ---------- */
.tk-dl__k { font-size: .8rem; color: var(--tk-subtle); margin: 1rem 0 0 !important; }
.tk-dl__v { font-weight: 600; margin: .1rem 0 0 !important; line-height: 1.7; }
.tk-office__name { font-family: var(--wp--preset--font-family--sans) !important; font-size: 1.1rem !important; margin-top: 0 !important; }
.tk-office__addr { font-size: .9rem; }

/* ---------- お問い合わせ ---------- */
.tk-contact-cols { gap: 2rem; margin-top: 0 !important; }
.tk-contact-cols > .wp-block-column > .wp-block-group { background: #fff; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: 1.75rem; box-shadow: var(--tk-shadow); }
.tk-contact-cols .tk-ic-line { margin-top: 1.1rem; }
.tk-form-card { max-width: 760px; margin-inline: auto !important; }
.tk-form-card + .tk-form-card { margin-top: 1.5rem !important; }

/* ---------- モデルケース ---------- */
.tk-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.tk-case { background: #fff; color: var(--tk-text); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); display: flex; flex-direction: column; transition: box-shadow .2s; }
.tk-case:hover { box-shadow: var(--tk-shadow-lg); }
.tk-case__img { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--tk-muted); overflow: hidden; }
.tk-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-case__img figcaption { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0, 0, 0, .6); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 4px; }
.tk-case__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.tk-case__body p { margin: 0; }
.tk-case__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tk-badge-outline { border: 1px solid rgba(238, 106, 60, .45); color: var(--tk-primary); font-size: .72rem; font-weight: 700; padding: .1rem .6rem; border-radius: 999px; }
.tk-case__type { font-size: .82rem; color: var(--tk-subtle); }
.tk-case__title { font-size: 1.2rem !important; margin: .2rem 0 0 !important; }
.tk-case__loc { font-size: .85rem; color: var(--tk-subtle); padding-left: 1.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") left .3em / .9rem no-repeat; }
.tk-case__desc { font-size: .9rem; line-height: 1.8; color: var(--tk-subtle); }
.tk-case__budget { background: var(--tk-primary-soft); border-radius: 8px; padding: .7rem .9rem; font-size: .88rem; }
.tk-case__points { border-top: 1px solid var(--tk-border); padding-top: .8rem; font-size: .88rem; color: var(--tk-subtle); }
.tk-case__label { font-size: .78rem; font-weight: 700; color: var(--tk-primary); margin-bottom: .2rem !important; }
.tk-case__points .tk-case__label { color: var(--tk-text); }
.tk-cases + .wp-block-buttons { margin-top: 2.75rem !important; }

/* ---------- フォーム ---------- */
.tk-form { display: grid; gap: 1.4rem; }
.tk-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.tk-form legend { font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; padding: 0; }
.tk-step__num { display: block; font-family: var(--wp--preset--font-family--sans); font-size: .8rem; color: var(--tk-primary); font-weight: 700; margin-bottom: .2rem; }
.tk-form:not(.is-steps) .tk-step + .tk-step { border-top: 1px solid var(--tk-border); padding-top: 1.4rem; }
.tk-field { display: grid; gap: .4rem; }
.tk-label { font-weight: 700; font-size: .92rem; margin: 0; }
.tk-req { display: inline-block; background: var(--tk-primary); color: #fff; font-size: .68rem; font-weight: 700; padding: .05rem .45rem; border-radius: 4px; margin-left: .4rem; vertical-align: .1em; }
.tk-form input[type=text], .tk-form input[type=email], .tk-form input[type=tel], .tk-form input[type=number], .tk-form input[type=datetime-local], .tk-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--tk-text); background: #fff; border: 1px solid #CDD4DE; border-radius: 8px; padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s;
}
.tk-form input:focus, .tk-form textarea:focus { outline: none; border-color: var(--tk-primary); box-shadow: 0 0 0 3px rgba(238, 106, 60, .18); }
.tk-choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.tk-choice { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--tk-border); border-radius: 8px; padding: .65rem .85rem; cursor: pointer; font-size: .92rem; background: #fff; }
.tk-choice:has(input:checked) { border-color: var(--tk-primary); background: var(--tk-primary-soft); }
.tk-choice input { accent-color: var(--tk-primary); width: 1.05rem; height: 1.05rem; margin: 0; flex: 0 0 auto; }
.tk-agree { border: 0; padding: 0; background: none !important; }
.tk-form__nav { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.tk-form.is-js .tk-form__nav { justify-content: space-between; }
.tk-form__note { font-size: .8rem; color: var(--tk-subtle); margin: 0; }
.tk-progress { height: 8px; background: var(--tk-muted); border-radius: 99px; overflow: hidden; }
.tk-progress__bar { display: block; height: 100%; width: 0; background: var(--tk-primary); transition: width .3s; }
.tk-form:not(.is-js) .tk-progress, .tk-form:not(.is-js) [data-tk-prev], .tk-form:not(.is-js) [data-tk-next] { display: none; }
.tk-form [hidden] { display: none !important; }
.tk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-form-done { text-align: center; padding: 2rem 1rem; outline: none; }
.tk-form-done__title { font-family: var(--wp--preset--font-family--serif); font-size: 1.6rem; font-weight: 700; color: var(--tk-primary); }
.tk-form-error { background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; border-radius: 8px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.tk-contact-line { font-size: .9rem; }
.has-secondary-background-color .tk-contact-line a, .tk-footer a { color: inherit; }

/* ---------- フッター ---------- */
.tk-footer { padding-block: 2.5rem 6rem; font-size: .88rem; }
.tk-footer__brand { font-weight: 700; font-size: 1.05rem; padding-left: 1.7rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2M7 2v20M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3zm0 0v7'/%3E%3C/svg%3E") left center / 1.2rem no-repeat; margin: 0; }
.tk-footer-nav { gap: 1.5rem; }
.tk-footer-nav a:hover { color: var(--tk-primary) !important; }
.tk-footer__about { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; margin-top: 1.5rem !important; color: rgba(255, 255, 255, .75); }
.tk-footer .tk-contact-line { color: rgba(255, 255, 255, .75); margin-top: .3rem; }
.tk-footer .tk-contact-line a { text-decoration: underline; text-underline-offset: 2px; }
.tk-footer__copy { color: rgba(255, 255, 255, .5); font-size: .78rem; }
@media (min-width: 782px) { .tk-footer { padding-bottom: 2.5rem; } }

/* ---------- スマホ固定ボタン ---------- */
.tk-fixed-cta { position: fixed; inset: auto 0 0 0; z-index: 40; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--tk-border); padding: .7rem; box-shadow: 0 -8px 24px rgba(15, 23, 42, .12); }
.tk-fixed-cta .tk-btn { width: 100%; box-sizing: border-box; }
@media (min-width: 782px) { .tk-fixed-cta { display: none; } }

/* ---------- LINE ---------- */
.tk-line { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 18rem; max-width: calc(100vw - 2.5rem); background: #fff; border: 1px solid #eee; border-radius: 18px; padding: 1.2rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); animation: tk-up .45s ease; }
.tk-line[hidden] { display: none; }
@media (max-width: 781px) { .tk-line { bottom: 5.25rem; right: .75rem; } }
@keyframes tk-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tk-line__close { position: absolute; top: .4rem; right: .6rem; border: 0; background: none; font-size: 1.3rem; color: #999; cursor: pointer; line-height: 1; padding: .25rem; }
.tk-line__head { display: flex; align-items: center; gap: .75rem; }
.tk-line__icon { width: 40px; height: 40px; border-radius: 50%; background: #06C755; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tk-line__title { font-weight: 700; font-size: .9rem; margin: 0; }
.tk-line__sub { font-size: .75rem; color: #888; margin: 0; }
.tk-line__text { font-size: .85rem; color: #555; margin: .8rem 0 1rem; line-height: 1.7; }
.tk-line__btn { display: block; text-align: center; background: #06C755; color: #fff !important; font-weight: 700; font-size: .9rem; padding: .75rem; border-radius: 12px; text-decoration: none; }
.tk-line__btn:hover { opacity: .9; }

/* ---------- 汎用ページ ---------- */
.tk-page { padding-block: 3rem 5rem; }
.tk-page h2 { font-size: 1.4rem; margin-top: 2.5rem; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
	.tk-section.tk-pricing .tk-grid.is-layout-grid, .tk-section.tk-pricing .tk-grid, .tk-section .tk-grid.tk-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
	.tk-section .tk-grid, .tk-section .tk-grid.is-layout-grid, .tk-cases { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
	.tk-section .tk-grid, .tk-section .tk-grid.is-layout-grid, .tk-section .tk-grid.tk-narrow, .tk-section.tk-pricing .tk-grid.is-layout-grid, .tk-section .tk-grid:has(> :nth-child(2):last-child), .tk-cases { grid-template-columns: 1fr !important; }
}
@media (max-width: 781px) {
	.tk-logo img { width: 160px; }
	.tk-hero__lead br, .tk-hero__title br + br { display: none; }
	.tk-contact-cols { flex-direction: column; }
	.tk-faq__box { padding: .25rem 1.1rem; }
	.tk-plan__desc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
