/*
Theme Name: Takayama Dengyo
Description: 高山電業株式会社 コーポレートサイト用テーマ。フォームは Contact Form 7 を使用します。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: takayama
*/

/* ==========================================================================
   Base
   Page markup keeps the design's inline styles; this file holds the global
   rules plus everything that changes state (forms, tabs, stepper).
   ========================================================================== */

body {
	margin: 0;
}

a {
	color: #317053;
}

a:hover {
	color: #1F5039;
}

[hidden] {
	display: none !important;
}

input::placeholder,
textarea::placeholder {
	color: #8A988F;
}

.tk-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Generic page content (privacy policy etc.) */
.tk-content {
	font-size: 15px;
	line-height: 2;
}

.tk-content h2 {
	margin: 48px 0 16px;
	font-size: 22px;
	color: #1F5039;
}

.tk-content h3 {
	margin: 32px 0 12px;
	font-size: 18px;
}

.tk-content img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Form screens (input / confirm / done)
   The wrapper carries data-tk-state; JS switches it.
   ========================================================================== */

[data-tk-state] .tk-only-confirm,
[data-tk-state] .tk-only-done {
	display: none;
}

[data-tk-state="confirm"] .tk-only-input,
[data-tk-state="done"] .tk-only-input,
[data-tk-state="done"] .wpcf7 {
	display: none;
}

[data-tk-state="confirm"] .tk-only-confirm,
[data-tk-state="done"] .tk-only-done {
	display: block;
}

.tk-main {
	max-width: 1040px;
	margin: 0 auto;
	padding: 56px 24px 96px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.tk-main.is-estimate {
	padding-top: 40px;
}

.tk-stack {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Honeypot */
.tk-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Cards ---------------------------------------------------------------- */

.tk-card {
	background: #ffffff;
	border-radius: 24px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 2px 0 #E3EEE6;
}

.tk-card-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
}

.tk-step-badge {
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: #ffffff;
	background: #317053;
	padding: 6px 14px;
	border-radius: 999px;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

.tk-card-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.tk-card > .tk-card-title {
	margin-bottom: 8px;
}

.tk-card-lead {
	margin: 0 0 28px;
	font-size: 14px;
	color: #4F6158;
}

.tk-card-lead.is-tight {
	margin-bottom: 24px;
}

/* --- Field rows ----------------------------------------------------------- */

.tk-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 20px 0;
	border-bottom: 1px dashed #DCE8DF;
	align-items: center;
}

.tk-row:last-child {
	border-bottom: 0;
}

.tk-row.is-top {
	align-items: flex-start;
}

.tk-row.is-top .tk-row-head {
	padding-top: 14px;
}

.tk-row-head {
	flex: 0 0 200px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tk-row-body {
	flex: 1 1 360px;
	min-width: 0;
}

.tk-group .tk-row {
	padding: 18px 0;
}

.tk-group .tk-row-body {
	flex-basis: 320px;
}

.tk-label {
	font-weight: 700;
	font-size: 15px;
}

.tk-req,
.tk-opt {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.tk-req {
	color: #9A4A00;
	background: #FDEBD3;
}

.tk-opt {
	color: #4F6158;
	background: #EEF3F0;
}

/* --- Text inputs ---------------------------------------------------------- */

.tk-form .wpcf7-form-control-wrap {
	display: block;
}

.tk-form input[type="text"],
.tk-form input[type="email"],
.tk-form input[type="tel"],
.tk-form select,
.tk-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid #C9DACE;
	border-radius: 10px;
	font: inherit;
	font-size: 16px;
	background: #ffffff;
	color: #2B3A33;
}

.tk-form select {
	padding: 0 12px;
}

.tk-form textarea {
	padding: 14px 16px;
	line-height: 1.8;
	resize: vertical;
}

.tk-form input:focus,
.tk-form select:focus,
.tk-form textarea:focus {
	outline: 3px solid rgba(49, 112, 83, 0.25);
	border-color: #317053;
}

/* Width modifiers: element + class to outrank the generic input rule above. */
.tk-form input.tk-w-zip {
	width: 160px;
}

.tk-form input.tk-w-tel {
	max-width: 320px;
}

.tk-form select.tk-w-pref {
	width: 200px;
}

.tk-form input.tk-w-years {
	width: 72px;
	min-height: 44px;
	padding: 0 12px;
	text-align: right;
}

.tk-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tk-form .tk-inline > .wpcf7-form-control-wrap,
.tk-form .tk-years .wpcf7-form-control-wrap,
.tk-form .tk-zip-line .wpcf7-form-control-wrap {
	display: inline-block;
}

.tk-years {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
}

/* Address block */
.tk-addr {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tk-addr-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tk-addr-line > label {
	flex: 0 0 120px;
	font-size: 14px;
	color: #4F6158;
}

.tk-addr-line > .wpcf7-form-control-wrap {
	flex: 1 1 240px;
}

.tk-addr-line.is-pref > .wpcf7-form-control-wrap {
	flex: 0 0 auto;
}

.tk-zip-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tk-zip-line > label {
	font-size: 15px;
}

.tk-zip-btn {
	min-height: 44px;
	padding: 0 16px;
	border-radius: 8px;
	border: 1px solid #317053;
	background: #ffffff;
	color: #317053;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.tk-zip-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.tk-zip-msg {
	font-size: 13px;
	color: #9A4A00;
}

/* --- Choice controls (CF7 checkbox / radio, restyled) -------------------- */

.tk-tiles .wpcf7-list-item,
.tk-pills .wpcf7-list-item,
.tk-kinds .wpcf7-list-item {
	margin: 0;
	display: block;
}

.tk-tiles input,
.tk-pills input,
.tk-kinds input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.tk-tiles label:has(input:focus-visible),
.tk-pills label:has(input:focus-visible),
.tk-kinds label:has(input:focus-visible) {
	outline: 3px solid #E08A10;
	outline-offset: 2px;
}

/* Answer pills (exclusive checkboxes) */
.tk-pills {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tk-pills label {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 22px;
	box-sizing: border-box;
	border-radius: 999px;
	font-size: 15px;
	cursor: pointer;
	background: #ffffff;
	color: #2B3A33;
	border: 1px solid #C9DACE;
}

.tk-pills label:has(input:checked) {
	background: #317053;
	color: #ffffff;
	border-color: #317053;
	font-weight: 700;
}

/* Contact "ご希望項目" cards (radio) */
.tk-kinds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.tk-kinds label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 88px;
	height: 100%;
	box-sizing: border-box;
	padding: 16px 24px;
	border-radius: 18px;
	cursor: pointer;
	background: #ffffff;
	border: 2px solid #DCE8DF;
	color: #2B3A33;
	box-shadow: 0 4px 0 #EEF3EF;
}

.tk-kinds label::before {
	content: "";
	flex: 0 0 26px;
	height: 26px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #C9DACE;
}

.tk-kinds label:has(input:checked) {
	background: #EEF7EA;
	border-color: #317053;
	color: #1F5039;
	box-shadow: 0 4px 0 #CFE3D4;
}

.tk-kinds label:has(input:checked)::before {
	background: #317053 radial-gradient(circle at center, #ffffff 0 4.5px, transparent 5px);
	border-color: #317053;
}

.tk-kinds .wpcf7-list-item-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 18px;
	font-weight: 700;
}

.tk-kinds .wpcf7-list-item-label::after {
	font-size: 12px;
	font-weight: 400;
	color: #4F6158;
}

.tk-kinds .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::after {
	content: "サービスや工事についてのご質問・ご相談";
}

.tk-kinds .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::after {
	content: "実施中のキャンペーンへのお申し込み";
}

/* Estimate STEP 1 tiles (checkboxes) */
.tk-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.tk-tiles label {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	box-sizing: border-box;
	padding: 28px 12px 22px;
	border-radius: 16px;
	cursor: pointer;
	text-align: center;
	color: #2B3A33;
	background: #ffffff;
	border: 2px solid #DCE8DF;
	box-shadow: 0 4px 0 #EEF3EF;
}

/* check badge (top right) */
.tk-tiles label::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #C9DACE;
}

.tk-tiles label:has(input:checked) {
	border-color: #317053;
	background: #EEF7EA;
	box-shadow: 0 4px 0 #CFE3D4;
}

.tk-tiles label:has(input:checked)::after {
	border-color: #317053;
	background: #317053 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tk-tiles .wpcf7-list-item-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 16px;
	font-weight: 700;
}

/* icon circle */
.tk-tiles .wpcf7-list-item-label::before {
	content: "";
	width: 72px;
	height: 72px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #F0F7F1 center / 44px no-repeat;
}

.tk-tiles .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23317053' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h28l4 14H6z'/%3E%3Cpath d='M8 29h32M18 22l-2 14M30 22l2 14M24 36v6M18 42h12'/%3E%3Ccircle cx='24' cy='10' r='4' stroke='%23E08A10'/%3E%3Cpath d='M24 2v2M34 10h-2M14 10h2' stroke='%23E08A10'/%3E%3C/svg%3E");
}

.tk-tiles .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23317053' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='14' width='30' height='20' rx='3'/%3E%3Cpath d='M37 20h4v8h-4'/%3E%3Cpath d='M24 17l-5 8h6l-4 7' stroke='%23E08A10'/%3E%3C/svg%3E");
}

.tk-tiles .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23317053' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='8' width='18' height='32' rx='3'/%3E%3Crect x='13' y='13' width='10' height='8' rx='1'/%3E%3Cpath d='M27 18h4a4 4 0 0 1 4 4v10a3 3 0 0 0 6 0V19l-3-4'/%3E%3Cpath d='M6 40h24'/%3E%3Cpath d='M19 25l-3 5h4l-3 5' stroke='%23E08A10'/%3E%3C/svg%3E");
}

.tk-tiles .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23317053' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='6' width='18' height='36' rx='4'/%3E%3Cpath d='M8 15h18M13 36h8'/%3E%3Cpath d='M36 18c3 4 4.5 6.5 4.5 9a4.5 4.5 0 0 1-9 0c0-2.5 1.5-5 4.5-9z' stroke='%23E08A10'/%3E%3C/svg%3E");
}

.tk-tiles .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23317053' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 23L24 8l19 15'/%3E%3Cpath d='M10 19v21h28V19'/%3E%3Cpath d='M20 40V29h8v11'/%3E%3Cpath d='M33 9v6' stroke='%23E08A10'/%3E%3C/svg%3E");
}

/* "その他" sub text */
.tk-tiles .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::after {
	content: "オール電化・住宅リフォーム\A電気工事 など";
	white-space: pre-line;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: #4F6158;
}

/* --- Estimate STEP 2 groups ---------------------------------------------- */

.tk-groups {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tk-empty {
	border: 2px dashed #CFE0D4;
	border-radius: 16px;
	padding: 40px 24px;
	text-align: center;
	color: #4F6158;
	font-size: 15px;
}

.tk-group {
	border: 1px solid #DCE8DF;
	border-radius: 16px;
	overflow: hidden;
}

.tk-group-title {
	margin: 0;
	padding: 14px 24px;
	background: #F0F7F1;
	font-size: 16px;
	font-weight: 700;
	color: #1F5039;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tk-group-title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #E08A10;
}

.tk-group-body {
	padding: 4px 24px 8px;
}

/* --- Agreement + buttons -------------------------------------------------- */

.tk-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding-top: 8px;
}

.tk-actions-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.tk-agree .wpcf7-list-item {
	margin: 0;
}

.tk-agree label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 15px;
	cursor: pointer;
}

.tk-agree input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #317053;
}

.tk-btn-primary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-width: min(320px, 100%);
	min-height: 68px;
	padding: 0 12px 0 40px;
	box-sizing: border-box;
	border: none;
	border-radius: 999px;
	background: #317053;
	color: #ffffff;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.1em;
	cursor: pointer;
}

.tk-btn-primary:hover {
	background: #2A6148;
}

.tk-btn-arrow {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #E08A10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* CF7 [submit] renders an <input>, which cannot hold the arrow; the wrapper draws it. */
.tk-submit-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.tk-submit-wrap .wpcf7-submit {
	padding-right: 68px;
	text-align: left;
}

.tk-submit-wrap::after {
	content: "";
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	pointer-events: none;
	background: #E08A10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.tk-submit-wrap .wpcf7-spinner {
	position: absolute;
	left: 100%;
	margin-left: 12px;
}

.tk-submit-wrap .wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.tk-btn-outline {
	min-width: min(240px, 100%);
	min-height: 68px;
	padding: 0 32px;
	box-sizing: border-box;
	border: 2px solid #E08A10;
	border-radius: 999px;
	background: #ffffff;
	color: #2B3A33;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.tk-btn-outline:hover {
	background: #FFF7EC;
}

/* --- Confirm list --------------------------------------------------------- */

.tk-confirm {
	margin: 0;
	border-top: 1px solid #DCE8DF;
}

.tk-confirm > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	padding: 18px 0;
	border-bottom: 1px solid #DCE8DF;
}

.tk-confirm > div.is-sub {
	background: #FAFCFA;
}

.tk-confirm dt {
	flex: 0 0 200px;
	font-weight: 700;
	font-size: 15px;
	color: #1F5039;
}

.tk-confirm.is-wide dt {
	flex-basis: 240px;
}

.tk-confirm dd {
	flex: 1 1 320px;
	margin: 0;
	font-size: 15px;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

/* --- CF7 messages --------------------------------------------------------- */

.tk-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #C0392B;
}

.tk-form .wpcf7-not-valid {
	border-color: #C0392B !important;
}

/* A required tile group with nothing ticked (お見積もり STEP 1). */
.tk-form .tk-tiles.wpcf7-not-valid label {
	border-color: #C0392B;
}

.tk-form .tk-tiles + .wpcf7-not-valid-tip {
	margin-top: 12px;
}

.tk-form .wpcf7 form .wpcf7-response-output,
.tk-form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 16px 20px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.8;
	background: #ffffff;
}

/* ==========================================================================
   Estimate stepper
   ========================================================================== */

.tk-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.tk-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.tk-step-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 18px;
	background: #ffffff;
	color: #5E6E66;
	border: 2px solid #C9DACE;
}

.tk-step-text {
	font-size: 13px;
	font-weight: 700;
	color: #5E6E66;
}

.tk-step-check {
	display: none;
}

/* current */
[data-tk-state="input"] .tk-step[data-phase="1"] .tk-step-circle,
[data-tk-state="confirm"] .tk-step[data-phase="2"] .tk-step-circle {
	background: #317053;
	color: #ffffff;
	border-color: #317053;
}

[data-tk-state="input"] .tk-step[data-phase="1"] .tk-step-text,
[data-tk-state="confirm"] .tk-step[data-phase="2"] .tk-step-text {
	color: #1F5039;
}

/* completed */
[data-tk-state="confirm"] .tk-step[data-phase="1"] .tk-step-circle,
[data-tk-state="done"] .tk-step .tk-step-circle {
	background: #E0F2E6;
	color: #317053;
	border-color: #9CC9AA;
}

[data-tk-state="confirm"] .tk-step[data-phase="1"] .tk-step-n,
[data-tk-state="done"] .tk-step .tk-step-n {
	display: none;
}

[data-tk-state="confirm"] .tk-step[data-phase="1"] .tk-step-check,
[data-tk-state="done"] .tk-step .tk-step-check {
	display: inline;
}

/* ==========================================================================
   Works tabs
   ========================================================================== */

.tk-tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 120px;
	padding: 20px 28px;
	box-sizing: border-box;
	border-radius: 24px;
	text-decoration: none;
	cursor: pointer;
	background: #ffffff;
	color: #2B3A33;
	border: 2px solid #CFE0D4;
	box-shadow: 0 6px 0 #E3EEE6;
}

.tk-tab:hover {
	color: #2B3A33;
	border-color: #9CC9AA;
}

.tk-tab.is-on,
.tk-tab.is-on:hover {
	background: #317053;
	color: #ffffff;
	border-color: #317053;
	box-shadow: 0 6px 0 #1F5039;
}

.tk-tab-icon {
	flex: 0 0 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EEF7EA;
	color: #317053;
}

.tk-tab.is-on .tk-tab-icon {
	background: #ffffff;
}

.tk-tab-sub {
	color: #4F6158;
}

.tk-tab.is-on .tk-tab-sub {
	color: #D6EEDD;
}

.tk-tab-count {
	flex: 0 0 auto;
	display: flex;
	align-items: baseline;
	gap: 2px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: #F0F5F2;
	color: #317053;
}

.tk-tab.is-on .tk-tab-count {
	background: #ffffff;
}

.tk-tab-pointer {
	display: none;
	position: absolute;
	left: 50%;
	bottom: -12px;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	background: #317053;
	transform: rotate(45deg);
	border-radius: 4px;
}

.tk-tab.is-on .tk-tab-pointer {
	display: block;
}

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 600px) {
	.tk-row-head,
	.tk-confirm dt,
	.tk-confirm.is-wide dt {
		flex-basis: 100%;
	}

	.tk-step-text {
		font-size: 11px;
	}

	.tk-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.tk-tiles .wpcf7-list-item:last-child {
		grid-column: 1 / -1;
	}

	.tk-tab {
		flex-wrap: wrap;
	}
}
