@charset "UTF-8";

/* ==========================================================================
   SoLU common styles
   ========================================================================== */

:root {
	--color-navy: #0e172c;
	--color-navy-dark: #0a1424;
	--color-green: #2e693a;
	--color-green-dark: #256628;
	--color-green-bg: #3d8b41;
	--color-orange: #f5a623;
	--color-text: #222;
	--color-gray-bg: #eeeeee;
	--color-white: #fff;
	--font-base: "Noto Sans JP", sans-serif;
	--width-content: 1400px;
}

@media (min-width: 901px) and (max-width: 1114px) {
	.footer-cta__inner {
		flex-direction: column;
		align-items: stretch;
		max-width: 720px;
	}

	.footer-cta__intro {
		text-align: center;
	}

	.footer-cta__box {
		width: 100%;
	}
}

/* Reset
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
}

body {
	color: var(--color-text);
	font-family: var(--font-base);
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s;
}

a:hover {
	opacity: 0.8;
}

.sp-only {
	display: none !important;
}

@media (max-width: 900px) {
	.pc-only {
		display: none !important;
	}

	.sp-only {
		display: block !important;
	}
}

/* Layout
   ------------------------------------------------------------------ */
.l-inner {
	max-width: var(--width-content);
	margin-inline: auto;
	padding-inline: 20px;
}

/* Buttons
   ------------------------------------------------------------------ */
.c-btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.c-btn--green {
	background: var(--color-green);
	color: var(--color-white);
}

.c-btn--outline-white {
	border: 3px solid var(--color-white);
	color: var(--color-white);
}

/* Section title
   ------------------------------------------------------------------ */
.c-section-title {
	font-size: 26px;
	font-weight: 700;
	text-align: center;
}

.c-section-title::after {
	content: "";
	display: block;
	width: 100px;
	height: 7px;
	margin: 0 auto 0;
	background: var(--color-green);
}

.c-section-lead {
	margin-top: 20px;
	color: #868687;
	font-size: 14px;
	text-align: center;
}

/* 施工実績一覧（ショートコード [solu_works]）
   ------------------------------------------------------------------ */
.solu-works {
	display: grid;
	grid-template-columns: repeat(var(--solu-works-columns, 6), 1fr);
	gap: 16px;
}

.solu-works__item {
	aspect-ratio: 1 / 1;
	background: #9b9b9b;
	overflow: hidden;
}

.solu-works__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Header
   ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: rgba(36, 67, 58, 0.74);
}

.site-header__inner {
	display: flex;
	align-items: center;
	max-width: 1400px;
	height: 72px;
	margin-inline: auto;
	padding: 0 20px;
	gap: 24px;
}

/* ナビ以降を右寄せ */
.site-header__nav {
	margin-left: auto;
}

.site-header__logo a {
	display: flex;
	align-items: center;
}

.site-header__logo-type {
	width: 160px;
}

.site-header__nav ul {
	display: flex;
	align-items: stretch;
	gap: 32px;
}

.site-header__nav li {
	position: relative;
}

.site-header__nav a {
	position: relative;
	display: flex;
	align-items: center;
	height: 72px;
	color: var(--color-white);
	font-size: 15px;
	font-weight: 500;
}

.site-header__nav > ul > li:hover > a,
.site-header__nav .current-menu-item > a,
.site-header__nav .current-menu-ancestor > a,
.site-header__nav .current-menu-parent > a,
.site-header__nav .current_page_item > a,
.site-header__nav .current_page_ancestor > a,
.site-header__nav .current_page_parent > a {
	color: var(--color-green);
	opacity: 1;
}

.site-header__nav > ul > li:hover > a::after,
.site-header__nav > ul > .current-menu-item > a::after,
.site-header__nav > ul > .current-menu-ancestor > a::after,
.site-header__nav > ul > .current-menu-parent > a::after,
.site-header__nav > ul > .current_page_item > a::after,
.site-header__nav > ul > .current_page_ancestor > a::after,
.site-header__nav > ul > .current_page_parent > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: calc(100% + 12px);
	height: 5px;
	background: var(--color-green);
}

/* プルダウン（サブメニュー）
   ------------------------------------------------------------------ */
.site-header__nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, -8px);
	display: block;
	min-width: 200px;
	background: rgba(36, 67, 58, 0.95);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.site-header__nav li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.site-header__nav .sub-menu li {
	position: static;
}

.site-header__nav .sub-menu a {
	height: auto;
	padding: 12px 20px;
	font-size: 14px;
	white-space: nowrap;
}

.site-header__nav .sub-menu a:hover {
	color: var(--color-green);
}

.site-header__nav .sub-menu a::after {
	content: none;
}

.site-header__cta {
	flex-shrink: 0;
}

/* Footer CTA (green)
   ------------------------------------------------------------------ */
.footer-cta {
	background: #2d7a2d;
	color: var(--color-white);
	padding: 56px 0;
}

.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 20px;
}

.footer-cta__intro {
	text-align: center;
}

.footer-cta__label {
	font-size: 14px;
	font-weight: 500;
}

.footer-cta__title {
	margin-top: 8px;
	font-size: 26px;
	font-weight: 700;
}

.footer-cta__title em {
	color: var(--color-orange);
	font-style: normal;
}

.footer-cta__note {
	margin-top: 12px;
	font-size: 13px;
}

.footer-cta__box {
	width: 380px;
	padding: 28px 24px;
	border: none;
	border-radius: 8px;
	background: #448f43;
	text-align: center;
}

.footer-cta__box-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.footer-cta__box-label {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
}

.footer-cta__tel {
	display: inline-block;
	margin-top: 8px;
	color: var(--color-orange);
	font-size: 24px;
	font-weight: 700;
}

.footer-cta__hours {
	margin-top: 8px;
	font-size: 12px;
}

.footer-cta__form-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 24px;
	border-radius: 999px;
	background: var(--color-white);
	color: var(--color-green-dark);
	font-size: 13px;
	font-weight: 700;
}

.footer-cta__reception {
	margin-top: 12px;
	font-size: 12px;
}

/* Footer (navy)
   ------------------------------------------------------------------ */
.site-footer {
	background: var(--color-navy);
	color: var(--color-white);
	padding: 56px 0 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 3fr 1fr 2fr;
	gap: 40px;
	max-width: 880px;
	margin-inline: auto;
	padding-inline: 20px;
}

.site-footer__col a {
	display: inline-block;
	padding: 4px 0;
	font-size: 13px;
}

.site-footer__logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-footer__logo-mark {
	width: 36px;
	height: 36px;
}

.site-footer__logo-type {
	width: 150px;
}

.site-footer__address {
	margin-top: 24px;
	font-size: 13px;
	line-height: 2;
}

.site-footer__copyright {
	font-size: 12px;
	text-align: center;
}

.site-footer__bottom {
	margin-top: 48px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
}

@media (min-width: 901px) and (max-width: 1114px) {
	.footer-cta__inner {
		flex-direction: column;
		align-items: stretch;
		max-width: 720px;
	}

	.footer-cta__intro {
		text-align: center;
	}

	.footer-cta__box {
		width: 100%;
	}
}

/* Mobile header */
.site-header__menu-toggle,
.site-header__mobile-contact {
	display: none;
}

@media (max-width: 900px) {
	.site-header__inner {
		height: 72px;
		padding: 0 0 0 30px;
		gap: 0;
	}

	.site-header__logo-type {
		width: 155px;
	}

	.site-header__nav {
		position: absolute;
		top: 72px;
		left: 6px;
		right: 6px;
		z-index: 10;
		max-height: 0;
		overflow: hidden;
		margin-left: 0;
		background: rgba(49, 43, 43, 0.96);
		border: 2px solid var(--color-green);
		opacity: 0;
		visibility: hidden;
		transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.3s;
	}

	.site-header.is-menu-open .site-header__nav {
		max-height: calc(100vh - 72px);
		opacity: 1;
		visibility: visible;
		overflow-y: auto;
	}

	.site-header__nav > ul,
	.site-header__nav .sub-menu {
		display: block;
	}

	.site-header__nav > ul > li,
	.site-header__nav .sub-menu li {
		display: block;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.site-header__nav > ul > li.top-menu {
		display: block;
	}

	.site-header__nav > ul > li.top-menu > a {
		display: none;
	}

	.site-header__nav .sub-menu {
		position: static;
		top: auto;
		left: auto;
		right: auto;
		min-width: 0;
		transform: none;
		visibility: visible;
		opacity: 1;
		background: transparent;
		transition: none;
		box-shadow: none;
	}

	.site-header__nav .top-menu > .sub-menu,
	.site-header__nav .top-menu > .sub-menu li,
	.site-header__nav .top-menu > .sub-menu a {
		display: block !important;
		position: static !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.site-header__nav .top-menu > .sub-menu a {
		display: flex !important;
		align-items: center !important;
		height: 48px !important;
		line-height: 1.4;
	}

	.site-header__nav a,
	.site-header__nav .sub-menu a {
		display: flex;
		align-items: center;
		height: 44px;
		padding: 0 48px;
		color: var(--color-white);
		font-size: 16px;
		font-weight: 700;
	}

	.site-header__nav > ul > li:hover > a,
	.site-header__nav .current-menu-item > a,
	.site-header__nav .current-menu-ancestor > a,
	.site-header__nav .current-menu-parent > a,
	.site-header__nav .current_page_item > a,
	.site-header__nav .current_page_ancestor > a,
	.site-header__nav .current_page_parent > a {
		color: var(--color-white);
	}

	.site-header__nav > ul > li:hover > a::after,
	.site-header__nav > ul > .current-menu-item > a::after,
	.site-header__nav > ul > .current-menu-ancestor > a::after,
	.site-header__nav > ul > .current-menu-parent > a::after,
	.site-header__nav > ul > .current_page_item > a::after,
	.site-header__nav > ul > .current_page_ancestor > a::after,
	.site-header__nav > ul > .current_page_parent > a::after {
		content: none;
	}

	.site-header__cta {
		display: none;
	}

	.site-header__menu-toggle,
	.site-header__mobile-contact {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 60px;
		height: 72px;
		border: 0;
		background: var(--color-navy);
	}

	.site-header__menu-toggle {
		margin-left: auto;
		background: transparent;
		cursor: pointer;
	}

	.site-header__menu-toggle img,
	.site-header__mobile-contact img {
		width: 30px;
		height: 30px;
		object-fit: contain;
	}

	.site-header__mobile-contact {
		background: var(--color-green);
	}

	.footer-cta {
		padding: 40px 0;
	}

	.footer-cta__inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 24px;
		max-width: none;
		padding-inline: 20px;
	}

	.footer-cta__intro {
		text-align: center;
	}

	.footer-cta__label {
		font-size: 14px;
	}

	.footer-cta__title {
		font-size: 24px;
	}

	.footer-cta__note {
		font-size: 12px;
	}

	.footer-cta__box {
		width: 100%;
		padding: 22px 16px;
	}

	.footer-cta__box-icon img {
		width: 36px;
		height: 36px;
	}

	.footer-cta__tel {
		font-size: 22px;
	}

	.site-footer {
		padding: 40px 20px 0;
	}

	.site-footer__inner {
		display: block;
		max-width: none;
		padding: 0;
	}

	.site-footer__col {
		margin-top: 28px;
	}

	.site-footer__col--left {
		margin-top: 0;
	}

	.site-footer__col--right {
		margin-top: 0;
	}

	.site-footer__logo-type {
		width: 150px;
	}

	.site-footer__address {
		margin-top: 20px;
		font-size: 12px;
	}

	.site-footer__col a {
		font-size: 14px;
	}

	.site-footer__bottom {
		margin-top: 32px;
		margin-inline: -20px;
	}

	.width-70 {
		width: 100% !important;
	}

	.page-sealing .sealing-warning {
		width: 100%;
	}

	body.page .mobile-no-gap.wp-block-columns.is-layout-flex {
		gap: 0 !important;
	}
}
