.c-entry__header {
  display: none;
}

.l-contents__inner {
  margin-top: 0;
  padding-bottom: 0!important;
}

.noto-serif-jp {
	font-family: "Noto Serif JP", serif;
}

/* Copyright band */
.c-copyright,
.c-copyright.c-copyright--inverse {
	background-color: #F4F5F2;
	color: #000;
}

.c-copyright a,
.c-copyright a:hover,
.c-copyright a:focus-visible {
	color: #000;
}

/* =========================
   共通ボタン｜色反転
========================= */

/* 通常時 */
.btn-reverse .smb-btn {
	background-color: #fff !important;
	color: #6FAE48 !important;
	border: 1px solid #6FAE48 !important;
	border-radius: 0 !important;
	opacity: 1 !important;
	filter: none !important;
	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease;
}

/* 通常時：内側の文字 */
.btn-reverse .smb-btn__label,
.btn-reverse .smb-btn span {
	color: #6FAE48 !important;
	opacity: 1 !important;
}

/* ホバー時 */
.btn-reverse .smb-btn:hover,
.btn-reverse .smb-btn:focus-visible {
	background-color: #6FAE48 !important;
	color: #fff !important;
	border-color: #6FAE48 !important;
	opacity: 1 !important;
	filter: none !important;
}

/* ホバー時：内側の文字 */
.btn-reverse .smb-btn:hover .smb-btn__label,
.btn-reverse .smb-btn:hover span,
.btn-reverse .smb-btn:focus-visible .smb-btn__label,
.btn-reverse .smb-btn:focus-visible span {
	color: #fff !important;
	opacity: 1 !important;
}

/* =========================
   TOP FV
========================= */

.top-fv {
	position: relative;
}

.top-fv h2 {
	font-family: "Noto Serif JP", serif;
}

.top-fv__vertical {
	position: absolute;
	top: 40px;
	right: 50px;
	z-index: 3;
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-family: "Noto Serif JP", serif;
	line-height: 2;
	letter-spacing: 0.15em;
	color: #315e2a;
	text-shadow:
		0 0 3px rgba(255, 255, 255, 1),
		0 0 6px rgba(255, 255, 255, 1),
		0 0 10px rgba(255, 255, 255, 1),
		0 0 16px rgba(255, 255, 255, 0.95);
}

.top-about h2 span {
	font-family: "Noto Serif JP", serif;
}

/* =========================
   Scroll Reveal
========================= */

.js-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.js-reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
}

.js-reveal-fade {
	opacity: 0;
	transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity;
}

.js-reveal-fade.is-inview {
	opacity: 1;
}

/* Stagger */

.js-reveal-group > * {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-group.is-inview > * {
	opacity: 1;
	transform: translateY(0);
}

.js-reveal-group.is-inview > *:nth-child(1) {
	transition-delay: 0s;
}

.js-reveal-group.is-inview > *:nth-child(2) {
	transition-delay: 0.1s;
}

.js-reveal-group.is-inview > *:nth-child(3) {
	transition-delay: 0.2s;
}

.js-reveal-group.is-inview > *:nth-child(4) {
	transition-delay: 0.3s;
}

.js-reveal-group.is-inview > *:nth-child(5) {
	transition-delay: 0.4s;
}

/* アニメーションを減らす設定 */

@media (prefers-reduced-motion: reduce) {
	.js-reveal,
	.js-reveal-fade,
	.js-reveal-group > * {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* =========================
   Snow Monkey Forms
========================= */

.snow-monkey-form .smf-form {
	margin-top: 0;
}

.snow-monkey-form .smf-item {
	border-color: var(--wp--preset--color--sm-light-gray);
}

.snow-monkey-form .smf-item__label__text {
	font-weight: 700;
}

.snow-monkey-form .sme-badge {
	border-radius: 0;
	font-size: 0.72em;
	letter-spacing: 0;
}

.snow-monkey-form .smf-text-control__control,
.snow-monkey-form .smf-textarea-control__control,
.snow-monkey-form .smf-select-control__control {
	width: 100%;
	border: 1px solid #d7e4cf;
	border-radius: 0;
	background-color: #fff;
	font-size: 16px;
}

.snow-monkey-form .smf-text-control__control:focus,
.snow-monkey-form .smf-textarea-control__control:focus,
.snow-monkey-form .smf-select-control__control:focus {
	border-color: #6FAE48;
	box-shadow: 0 0 0 1px #6FAE48;
	outline: none;
}

.snow-monkey-form .smf-checkbox-control__label {
	line-height: 1.8;
}

.snow-monkey-form .smf-action {
	margin-top: var(--wp--preset--spacing--70);
	text-align: center;
}

.snow-monkey-form .smf-button-control__control {
	min-width: min(100%, 260px);
	border: 1px solid #315e2a;
	border-radius: 0;
	background-image: none;
	background-color: #315e2a;
	color: #fff !important;
	font-weight: 700;
}

.snow-monkey-form .smf-button-control__control:hover,
.snow-monkey-form .smf-button-control__control:focus-visible {
	background-color: #fff;
	color: #315e2a !important;
}

.snow-monkey-form .smf-progress-tracker {
	margin-bottom: var(--wp--preset--spacing--70);
}

/* Shared contact CTA and tappable footer phone. */
.gw-common-cta .gw-cta-phone .smb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	max-width: 100%;
	padding: 16px 24px;
	border: 2px solid #315e2a;
	border-radius: 0;
	background-color: #fff;
	color: #315e2a;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}
.gw-common-cta .gw-cta-phone .smb-btn__label {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}
.gw-common-cta .gw-cta-phone .smb-btn:hover,
.gw-common-cta .gw-cta-phone .smb-btn:focus-visible {
	background-color: #315e2a;
	color: #fff;
}
.gw-common-footer a[href^="tel:"] {
	color: inherit;
	font: inherit;
	white-space: nowrap;
}
#contact-form {
	scroll-margin-top: 120px;
}
@media (max-width: 767px) {
	.gw-common-cta .gw-cta-phone .smb-btn {
		font-size: 26px;
	}
}

/* Top-page cleaning concerns. */
.gw-top-concerns .gw-concerns-list {
	margin: 0;
	padding-left: 1.4em;
}
.gw-top-concerns .gw-concerns-list > li {
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid #d9ddd7;
}
.gw-top-concerns .gw-concerns-list > li::marker {
	color: var(--accent-color);
}
.gw-top-concerns .wp-block-image img {
	width: 100%;
	height: auto;
}
.gw-top-concerns .wp-block-group.has-background {
	padding-inline: var(--wp--preset--spacing--50);
}

/* Top-page service links: subtle image zoom within the original frame. */
.page-id-79 .smb-items__item--block-link {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.page-id-79 .smb-items__item--block-link .smb-items__item__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}
.page-id-79 .smb-items__item--block-link .smb-items__item__action {
	margin-top: 0;
	padding-top: 16px;
}
@media (min-width: 1024px) {
	.page-id-79 .smb-items:has(.smb-items__item--block-link) > .c-row {
		row-gap: 40px;
	}
}
.page-id-79 .smb-items__item--block-link .smb-items__item__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 160px;
	padding: 12px 24px;
	font-size: 16px;
}
.page-id-79 .smb-items__item--block-link .smb-items__item__figure {
	overflow: hidden;
}
.page-id-79 .smb-items__item--block-link .smb-items__item__figure img {
	transform: scale(1);
	transition: transform 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
	.page-id-79 .smb-items__item--block-link:hover .smb-items__item__figure img,
	.page-id-79 .smb-items__item--block-link:focus-within .smb-items__item__figure img {
		transform: scale(1.04);
	}
}
@media (prefers-reduced-motion: reduce) {
	.page-id-79 .smb-items__item--block-link .smb-items__item__figure img {
		transform: none !important;
		transition: none;
	}
}

.gw-estimate-guidance {
	scroll-margin-top: 120px;
}
#price-simulator {
	scroll-margin-top: 120px;
}

/* Original service illustrations and descriptions. */
.gw-service-intro .smb-items__item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 24px;
	padding-block: 24px;
	border-top: 1px solid #d9ddd7;
	height: 100%;
}
.gw-service-intro .smb-items__item__figure {
	margin: 0;
}
.gw-service-intro .smb-items__item__figure img {
	width: 100%;
	height: 140px;
	object-fit: contain;
}
.gw-service-intro .smb-items__item__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.gw-service-intro .smb-items__item__title {
	font-family: "Noto Serif JP", serif;
	font-size: 20px;
	color: #315e2a;
}
.gw-service-intro .smb-items__item__action {
	margin-top: auto;
	padding-top: 24px;
}
.gw-service-intro .smb-items__item:not(:has(.smb-items__item__figure)) .smb-items__item__body {
	grid-column: 1 / -1;
}
@media (max-width: 991px) {
	.gw-service-intro .smb-items__item {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 16px;
	}
	.gw-service-intro .smb-items__item__figure img {
		height: 110px;
	}
}

/* Full-width set-plan feature. */
.gw-set-feature {
	border-top: 3px solid var(--accent-color);
	scroll-margin-top: 120px;
}
.gw-set-feature > .wp-block-columns {
	margin-bottom: 0;
	gap: var(--wp--preset--spacing--60);
}
.gw-set-feature .gw-set-feature-photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.gw-set-feature .gw-set-feature-photos > .wp-block-image {
	margin: 0;
}
.gw-set-feature .gw-set-feature-photos img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.gw-set-feature h3 {
	color: #315e2a;
	font-size: 28px;
}
.gw-set-feature .smb-btn {
	background-color: #315e2a;
	color: #fff;
}
.gw-set-feature .smb-btn:hover,
.gw-set-feature .smb-btn:focus-visible {
	background-color: #1e412b;
	color: #fff;
}
@media (max-width: 781px) {
	.gw-set-feature .smb-btn {
		font-size: 14px;
	}
}

/* Service price tabs and editable tables. */
.gw-service-prices {
	--smb-tabs--border-color: #d9ddd7;
	--smb-tabs--tab-border-radius: 0;
}
.gw-service-prices .smb-tabs__tab[aria-selected="true"] {
	background-color: var(--accent-color);
	color: #fff;
	font-weight: 700;
}
.gw-service-prices .smb-tab-panel {
	text-align: left;
}
.gw-service-prices .gw-price-table table {
	border-collapse: collapse;
}
.gw-service-prices .gw-price-table th,
.gw-service-prices .gw-price-table td {
	border: 0;
	border-bottom: 1px solid #d9ddd7;
	padding: 16px 12px;
	vertical-align: middle;
}
.gw-service-prices .gw-price-table thead {
	border: 0;
	background-color: #f4f5f2;
	color: #315e2a;
}
.gw-service-prices .gw-price-table th {
	background-color: #f4f5f2;
	color: #315e2a;
}
.gw-service-prices .gw-price-table th:last-child,
.gw-service-prices .gw-price-table td:last-child {
	width: 35%;
	text-align: right;
	white-space: nowrap;
}
.gw-service-prices .gw-price-table td:last-child {
	color: #315e2a;
	font-weight: 700;
}
.gw-service-prices .gw-price-estimate td:last-child {
	white-space: normal;
}
@media (max-width: 767px) {
	.gw-service-prices .smb-tab-panel {
		padding: 20px 12px;
	}
	.gw-service-prices .gw-price-table th,
	.gw-service-prices .gw-price-table td {
		padding: 12px 6px;
		font-size: 14px;
	}
	.gw-service-prices .gw-price-table th:last-child,
	.gw-service-prices .gw-price-table td:last-child {
		width: 44%;
	}
}

/* Mobile headings: only punctuation may introduce a line break. */
.gw-heading-break {
	display: none;
}

/* Keep service photos first when the two-column rows stack. */
@media (max-width: 781px) {
	.page-id-81 .wp-block-columns:has(> .wp-block-column h2):has(> .wp-block-column:last-child > .wp-block-image) > .wp-block-column:last-child {
		order: -1;
	}
}

@media (max-width: 767px) {
	.c-entry__content .gw-fit-heading {
		white-space: nowrap;
		word-break: normal;
		overflow-wrap: normal;
		letter-spacing: 0;
	}
	.c-entry__content .gw-fit-heading,
	.c-entry__content .gw-fit-heading .gw-fit-text {
		font-size: calc(var(--gw-heading-base) * var(--gw-heading-scale, 1)) !important;
	}
	.gw-fit-heading .gw-heading-break {
		display: initial;
	}
	.gw-fit-heading .gw-heading-invalid-break {
		display: none;
	}
	.top-fv__vertical {
		position: static;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		margin-top: 24px;
		letter-spacing: 0;
	}
	.top-fv .smb-section__body > .wp-block-group.is-layout-flex {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	.top-fv .is-layout-flex > .wp-block-group {
		padding-left: 0 !important;
		border-left: 0;
	}
	.top-fv a[href^="tel:"] {
		white-space: nowrap;
	}
	/* Override the block's intentional mobile image/text overlay. */
	.top-about .smb-section__contents-wrapper {
		padding: 0 !important;
	}
	.top-about .smb-section__contents-wrapper > .c-row {
		flex-direction: column-reverse;
		gap: 32px;
	}
	.top-about .smb-section__contents-wrapper > .c-row > .c-row__col {
		width: 100%;
		max-width: 100%;
		flex: 0 0 auto;
		min-width: 0;
	}
	.top-about .smb-section-break-the-grid__content {
		margin: 0 !important;
		width: auto;
	}
	.top-about .smb-section-break-the-grid__figure {
		position: relative !important;
		inset: auto !important;
		margin: 0 !important;
		width: 100%;
	}
	.top-about .smb-section-break-the-grid__figure img,
	.top-about .smb-section-break-the-grid__figure picture {
		height: auto !important;
	}
	.top-about .smb-section-break-the-grid__shadow {
		transform: translate(2%, 2%);
	}
	.c-entry__content .smb-buttons,
	.c-entry__content .smb-btn-wrapper,
	.c-entry__content .smb-btn {
		max-width: 100%;
		min-width: 0;
	}
	.c-entry__content .smb-btn {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}
