.chikuho-business-page .page-body,
.page-body:has(.cbp-shell) {
	max-width: none;
	padding: 0;
}

.chikuho-business-page .page-body > .entry-header,
.page-body:has(.cbp-shell) > .entry-header {
	display: none;
}

.chikuho-business-page .page-body .entry-content,
.page-body:has(.cbp-shell) .entry-content {
	margin: 0;
}

.chikuho-business-page .page-single,
.chikuho-business-page .entry-content {
	width: 100%;
	max-width: none;
}

.cbp-shell {
	--cbp-cyan: #58c7e7;
	--cbp-cyan-dark: #0f87ad;
	--cbp-ink: #101820;
	--cbp-muted: #5b6872;
	--cbp-line: #d9e7ec;
	--cbp-soft: #eef7fa;
	width: min(100%, 920px);
	margin: 0 auto;
	padding: 44px 20px 96px;
	color: var(--cbp-ink);
	font-family: 'Noto Sans JP', system-ui, sans-serif;
}

.cbp-heading {
	margin-bottom: 28px;
}

.cbp-heading--dashboard {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.cbp-eyebrow {
	margin: 0 0 8px;
	color: var(--cbp-cyan-dark);
	font: 800 11px/1.4 'Inter', sans-serif;
	letter-spacing: 0;
}

.cbp-heading h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.35;
	letter-spacing: 0;
}

.cbp-heading > p:last-child {
	margin: 10px 0 0;
	color: var(--cbp-muted);
	font-size: 14px;
	line-height: 1.8;
}

.cbp-form {
	padding: 28px;
	border: 1px solid var(--cbp-line);
	border-radius: 6px;
	background: #fff;
}

.cbp-form--login {
	max-width: 520px;
}

.cbp-form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.cbp-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
}

.cbp-field label span {
	margin-left: 6px;
	color: var(--cbp-cyan-dark);
	font-size: 10px;
}

.cbp-field input,
.cbp-field select,
.cbp-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #bfcfd6;
	border-radius: 4px;
	background: #fff;
	color: var(--cbp-ink);
	font: inherit;
	font-size: 16px;
}

.cbp-field textarea {
	min-height: 128px;
	line-height: 1.75;
	resize: vertical;
}

.cbp-field input:focus,
.cbp-field select:focus,
.cbp-field textarea:focus {
	outline: 3px solid rgba(88, 199, 231, .2);
	border-color: var(--cbp-cyan-dark);
}

.cbp-dashboard--portal {
	width: min(100%, 1080px);
}

.cbp-business-switcher {
	display: grid;
	grid-template-columns: auto minmax(220px, 1fr);
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 14px 16px;
	border: 1px solid var(--cbp-line);
	background: #fff;
}

.cbp-business-switcher label {
	font-size: 12px;
	font-weight: 800;
}

.cbp-business-switcher select {
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #bfcfd6;
	background: #fff;
	font: inherit;
}

.cbp-dashboard-nav {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 32px;
	border: 1px solid var(--cbp-line);
	background: #fff;
}

.cbp-dashboard-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 8px;
	border-right: 1px solid var(--cbp-line);
	color: var(--cbp-muted);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.cbp-dashboard-nav a:last-child {
	border-right: 0;
}

.cbp-dashboard-nav a.is-current {
	box-shadow: inset 0 -3px 0 var(--cbp-cyan-dark);
	background: var(--cbp-soft);
	color: var(--cbp-ink);
}

.cbp-dashboard-section--first {
	margin-top: 0;
}

.cbp-section-title > p:last-child {
	margin: -8px 0 20px;
	color: var(--cbp-muted);
	font-size: 13px;
	line-height: 1.75;
}

.cbp-status-text {
	font-family: inherit !important;
	font-size: 19px !important;
}

.cbp-action-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.cbp-action-grid a {
	display: block;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--cbp-line);
	border-radius: 6px;
	background: #fff;
	color: var(--cbp-ink);
}

.cbp-action-grid span {
	display: block;
	margin-bottom: 8px;
	color: var(--cbp-cyan-dark);
	font: 800 10px/1.4 'Inter', sans-serif;
}

.cbp-action-grid strong,
.cbp-action-grid small {
	display: block;
}

.cbp-action-grid strong {
	font-size: 16px;
	line-height: 1.5;
}

.cbp-action-grid small {
	margin-top: 6px;
	color: var(--cbp-muted);
	font-size: 11px;
	line-height: 1.65;
}

.cbp-public-link {
	margin: 20px 0 0;
	font-size: 13px;
	font-weight: 800;
}

.cbp-public-link a {
	color: var(--cbp-cyan-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cbp-form--dashboard h4 {
	grid-column: 1 / -1;
	margin: 0 0 18px;
	font-size: 18px;
}

.cbp-form--spaced {
	margin-top: 26px;
}

.cbp-image-preview {
	width: min(100%, 320px);
	margin-bottom: 12px;
	background: var(--cbp-soft);
}

.cbp-image-preview img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: cover;
}

.cbp-submission-list,
.cbp-member-list {
	border-top: 1px solid var(--cbp-line);
}

.cbp-submission-list > div,
.cbp-member-list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 17px 4px;
	border-bottom: 1px solid var(--cbp-line);
}

.cbp-submission-list strong,
.cbp-submission-list small,
.cbp-member-list strong,
.cbp-member-list small {
	display: block;
}

.cbp-submission-list span,
.cbp-member-list span {
	display: inline-block;
	margin-bottom: 5px;
	color: var(--cbp-cyan-dark);
	font-size: 10px;
	font-weight: 800;
}

.cbp-submission-list small,
.cbp-member-list small {
	margin-top: 4px;
	color: var(--cbp-muted);
	font-size: 11px;
}

.cbp-submission-list a {
	flex: 0 0 auto;
	color: var(--cbp-cyan-dark);
	font-size: 12px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cbp-permissions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 22px 0;
	font-size: 13px;
}

.cbp-permissions > strong {
	width: 100%;
}

.cbp-permissions label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.cbp-permissions input {
	width: 18px;
	height: 18px;
	accent-color: var(--cbp-cyan-dark);
}

.cbp-operational-state {
	padding: 26px;
	border: 1px solid var(--cbp-line);
	background: #fff;
}

.cbp-operational-state > strong {
	display: block;
	font-size: 20px;
}

.cbp-operational-state > p {
	color: var(--cbp-muted);
	font-size: 13px;
	line-height: 1.8;
}

.cbp-operational-state dl {
	margin: 22px 0 0;
	border-top: 1px solid var(--cbp-line);
}

.cbp-operational-state dl > div {
	display: grid;
	grid-template-columns: 120px 1fr;
	padding: 12px 0;
	border-bottom: 1px solid var(--cbp-line);
	font-size: 12px;
}

.cbp-operational-state dt {
	color: var(--cbp-muted);
}

.cbp-operational-state dd {
	margin: 0;
	font-weight: 800;
}

.cbp-field small {
	display: block;
	margin-top: 7px;
	color: var(--cbp-muted);
	font-size: 11px;
	line-height: 1.6;
}

.cbp-password-field {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 60px;
}

.cbp-password-field input {
	border-radius: 4px 0 0 4px;
}

.cbp-password-field button {
	border: 1px solid #bfcfd6;
	border-left: 0;
	border-radius: 0 4px 4px 0;
	background: var(--cbp-soft);
	color: var(--cbp-ink);
	font-size: 12px;
	font-weight: 700;
}

.cbp-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 24px 0;
	color: var(--cbp-muted);
	font-size: 12px;
	line-height: 1.7;
}

.cbp-consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--cbp-cyan-dark);
	flex: 0 0 auto;
}

.cbp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid var(--cbp-ink);
	border-radius: 4px;
	background: var(--cbp-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.cbp-button--submit {
	width: 100%;
}

.cbp-button--secondary {
	background: #fff;
	color: var(--cbp-ink);
}

.cbp-notice {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-left: 4px solid var(--cbp-cyan-dark);
	background: var(--cbp-soft);
	font-size: 13px;
	line-height: 1.7;
}

.cbp-notice--error {
	border-color: #b42318;
	background: #fff1f0;
	color: #761d17;
}

.cbp-notice--success {
	border-color: #14805e;
	background: #edf9f4;
}

.cbp-notice a,
.cbp-auth-switch a,
.cbp-forgot,
.cbp-text-link {
	color: var(--cbp-cyan-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cbp-auth-switch {
	margin: 20px 0 0;
	text-align: center;
	color: var(--cbp-muted);
	font-size: 13px;
}

.cbp-forgot {
	display: block;
	margin-top: 18px;
	text-align: center;
	font-size: 12px;
}

.cbp-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.cbp-status-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--cbp-line);
	border-radius: 6px;
	background: #fff;
}

.cbp-status-strip > div {
	min-width: 0;
	padding: 18px;
	border-right: 1px solid var(--cbp-line);
}

.cbp-status-strip > div:last-child {
	border-right: 0;
}

.cbp-status-strip span {
	display: block;
	color: var(--cbp-muted);
	font-size: 11px;
}

.cbp-status-strip strong {
	display: block;
	margin-top: 4px;
	font: 800 28px/1.2 'Inter', sans-serif;
}

.cbp-dashboard-section {
	margin-top: 40px;
}

.cbp-section-title h3 {
	margin: 0 0 18px;
	font-size: 22px;
	letter-spacing: 0;
}

.cbp-business-list {
	border-top: 1px solid var(--cbp-line);
}

.cbp-business-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 4px;
	border-bottom: 1px solid var(--cbp-line);
}

.cbp-business-row h4 {
	margin: 8px 0 4px;
	font-size: 18px;
	line-height: 1.5;
}

.cbp-business-row p {
	margin: 0;
	color: var(--cbp-muted);
	font-size: 12px;
}

.cbp-status,
.cbp-member-role {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 800;
}

.cbp-status--pending {
	background: #fff5d9;
	color: #7d5600;
}

.cbp-status--approved {
	background: #e8f7f1;
	color: #14654b;
}

.cbp-status--changes,
.cbp-status--suspended {
	background: #fff0ef;
	color: #8a2820;
}

.cbp-member-role {
	background: var(--cbp-soft);
	color: var(--cbp-cyan-dark);
	white-space: nowrap;
}

.cbp-review-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 44px;
	border-top: 1px solid var(--cbp-line);
}

.cbp-review-flow div {
	position: relative;
	padding: 22px 8px 0;
	color: var(--cbp-muted);
	text-align: center;
}

.cbp-review-flow span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: -37px auto 10px;
	border: 1px solid var(--cbp-line);
	border-radius: 50%;
	background: #fff;
	font: 700 11px/1 'Inter', sans-serif;
}

.cbp-review-flow strong {
	display: block;
	font-size: 11px;
}

.cbp-review-flow .is-current {
	color: var(--cbp-cyan-dark);
}

.cbp-review-flow .is-current span {
	border-color: var(--cbp-cyan-dark);
	background: var(--cbp-cyan-dark);
	color: #fff;
}

.cbp-auth-choice {
	padding: 34px;
	border: 1px solid var(--cbp-line);
	border-radius: 6px;
	text-align: center;
}

.cbp-auth-choice h2 {
	margin: 0;
	font-size: 24px;
}

.cbp-auth-choice p {
	color: var(--cbp-muted);
}

.cbp-auth-choice > div {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.cbp-empty {
	padding: 22px 0;
	border-top: 1px solid var(--cbp-line);
	border-bottom: 1px solid var(--cbp-line);
	color: var(--cbp-muted);
	font-size: 13px;
}

@media (min-width: 720px) {
	.cbp-shell {
		padding: 64px 44px 110px;
	}

	.cbp-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbp-field--wide {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.cbp-shell {
		padding: 32px 20px 112px;
	}

	.cbp-heading h2 {
		font-size: 25px;
	}

	.cbp-form {
		padding: 20px 16px;
	}

	.cbp-heading--dashboard {
		align-items: flex-start;
		flex-direction: column;
	}

	.cbp-status-strip > div {
		padding: 14px 10px;
	}

	.cbp-status-strip strong {
		font-size: 23px;
	}

	.cbp-review-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 36px;
	}

	.cbp-review-flow div:nth-child(3),
	.cbp-review-flow div:nth-child(4) {
		border-top: 1px solid var(--cbp-line);
	}

	.cbp-auth-choice > div {
		flex-direction: column;
	}

	.cbp-business-switcher {
		grid-template-columns: 1fr;
	}

	.cbp-dashboard-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cbp-dashboard-nav a {
		border-bottom: 1px solid var(--cbp-line);
	}

	.cbp-dashboard-nav a:nth-child(3n) {
		border-right: 0;
	}

	.cbp-dashboard-nav a:nth-last-child(-n + 3) {
		border-bottom: 0;
	}

	.cbp-action-grid {
		grid-template-columns: 1fr;
	}

	.cbp-submission-list > div,
	.cbp-member-list > div {
		align-items: flex-start;
	}
}
