/*
Theme Name: Eco Media
Author: JNS建築事務所
Description: 省エネメディアサイト用カスタムテーマ
Version: 1.0.0
Text Domain: eco-media
*/

@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap");

/* ===== リセット・基本 ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html.navi-open {
	overflow: hidden;
}
body {
	font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	font-weight: 700;
	color: #1a3a1f;
	background: var(--bg);
	overflow-x: hidden;
}

:root {
	--blue: #1a5c2a;
	--blue-light: #e8f5e9;
	--blue-mid: #c8e6c9;
	--blue-dark: #134520;
	--text: #1a3a1f;
	--text-light: #5a7a60;
	--white: #ffffff;
	--bg: #e5f4e9;
	--teal: #1b9b8c;
}
.sp-none {
    display: none!important;
}
.pc-none {
    display: block!important;
}

@media (min-width: 768px) {
    .sp-none {
        display: block!important;
    }
    .pc-none {
        display: none!important;
    }
}

/*************************
/* header
/*************************/
.site-header {
	background: var(--white);
	border-bottom: 2px solid var(--blue-mid);
	padding: 8px 15px;
	position: fixed;
    width: 100%;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
	transform: translateZ(0);
}
.site-header .site-header_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}
.site-logo-img {
	width: 55px;
	height: auto;
	display: block;
	transform: translateY(-3px);
}
.site-logo-text {
	font-size: 22px;
	font-weight: 900;
	color: #4fbfc0;
	letter-spacing: 0.06em;
	font-family: "BIZ UDPGothic", sans-serif;
	line-height: 1;
}

@media (min-width: 768px) {
	.site-header {
		padding: 8px 20px;
	}
	.site-logo-text {
		font-size: 26px;
	}
}

@media (min-width: 1200px) {
	.site-header {
		padding: 8px 40px;
	}
	.site-header_inner {
		max-width: 1400px;
		margin: 0 auto;
	}
	.site-logo-img {
		width: 60px;
		transform: translateY(-6px);
	}
	.site-logo-text {
		font-size: 30px;
	}
}

.site-nav {
	position: fixed;
	right: -101vw;
	top: 0;
	z-index: 1;
	width: 100%;
	height: calc(100vh - 73px);
	background: var(--white);
	padding: 50px 15px;
	margin-top: 73px;
	transition: all 0.3s;
	text-align: center;
}
.navi-open .site-nav {
	right: 0;
	overflow-y: auto;
	z-index: 50;
}
.site-nav a {
	text-decoration: none;
	color: var(--text);
	font-size: 14px;
	margin-left: 24px;
	padding: 6px 12px;
	border-radius: 20px;
	transition: background 0.2s;
}
.site-nav a:hover {
	background: var(--blue-light);
}

@keyframes nav-cta-shake {
	0%,
	12%,
	100% {
		transform: translateX(0) rotate(0deg);
	}
	2% {
		transform: translateX(-5px) rotate(-2deg);
	}
	4% {
		transform: translateX(5px) rotate(2deg);
	}
	6% {
		transform: translateX(-4px) rotate(-1.5deg);
	}
	8% {
		transform: translateX(4px) rotate(1.5deg);
	}
	10% {
		transform: translateX(-2px) rotate(-0.5deg);
	}
}
.site-nav .nav-cta:hover {
	background: var(--blue-dark);
}
.nav-banner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;
	background: #e3f2fd;
	border: none;
	border-radius: 50px !important;
	padding: 6px 14px;
	text-decoration: none;
	line-height: 1.3;
	transition: background 0.2s;
	white-space: nowrap;
	font-family: "BIZ UDPGothic", sans-serif !important;
	font-weight: 700;
	font-size: 16px;
	color: #1976d2 !important;
}
.nav-banner:hover {
	background: #bbdefb;
}
.nav-banner-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(2000%)
		hue-rotate(205deg) brightness(80%);
}
.nav-banner-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.nav-banner-sub {
	font-size: 16px;
	font-weight: 700;
	color: #1976d2;
	text-shadow: 1px 1px 3px rgba(25, 118, 210, 0.25);
}
.nav-banner-main {
	font-size: 16px;
	font-weight: 700;
	color: #1976d2;
	text-shadow: 1px 1px 3px rgba(25, 118, 210, 0.25);
}
.header-cats {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
}
.header-cats a {
	text-decoration: none;
	color: #2e7d8f;
	font-size: 16px;
	font-weight: 700;
	margin-left: 0;
	padding: 10px 14px;
	border-radius: 20px;
	transition:
		background 0.2s,
		color 0.2s;
	white-space: nowrap;
}
.header-cats:first-of-type a {
	margin-left: 0;
}
.header-cats a:nth-child(1):hover {
	background: #f9e0e7;
	color: #1a3a1f;
}
.header-cats a:nth-child(2):hover {
	background: #2282a7;
	color: #ffffff;
}
.header-cats a:nth-child(3):hover {
	background: #eeecd6;
	color: #1a3a1f;
}

.site-nav .nav-cta {
	background: #79d3d3;
	color: #fff;
	margin-top: 30px;
	margin-left: 0;
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 16px;
	font-weight: 700;
	animation: nav-cta-shake 5s ease-in-out infinite;
	display: inline-block;
}
@media (min-width: 768px) {
	.site-nav {
		margin-top: 74px;
	}
}
@media (min-width: 992px) {
	.site-nav {
		margin-top: 0;
		width: fit-content;
		height: auto;
		position: static;
		max-width: none;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	.header-cats {
		flex-direction: row;
	}
	.header-cats a {
		padding: 6px 14px;
		border-radius: 20px;
		margin-left: 24px;
	}
	.site-nav .nav-cta {
		font-size: 14px;
		margin-top: 0;
		margin-left: 24px;
	}
}

/* hamber-btn */
.hamburger-wrap {
	width: 40px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	cursor: pointer;
}
.navi-open .hamburger-wrap {
	right: 20px;
	top: 20px;
}
.hamburger {
	width: 30px;
	height: 30px;
	position: relative;
}
.hamburger .line {
	background-color: var(--text);
	width: 30px;
	height: 2px;
	display: block;
	position: absolute;
	transition: 0.3s;
}
.hamburger .line:nth-child(1) {
	top: 0;
}
.hamburger .line:nth-child(2) {
	top: 0;
	bottom: 0;
	margin: auto;
}
.hamburger .line:nth-child(3) {
	bottom: 0;
}
.navi-open .hamburger .line:nth-child(1) {
	transform: rotate(-45deg);
	top: 50%;
}
.navi-open .hamburger .line:nth-child(2) {
	opacity: 0;
}
.navi-open .hamburger .line:nth-child(3) {
	transform: rotate(45deg);
	top: 50%;
}
@media (min-width: 768px) {
	.hamburger-wrap {
		width: 60px;
	}
}
@media (min-width: 992px) {
	.hamburger-wrap {
		display: none;
	}
}



/*************************
/* footer
/*************************/
.site-footer {
	background: #2e7d8f;
	color: #f5f0e8;
	padding: 30px 15px 0;
	margin-top: 0;
	position: relative;
	z-index: 20;
}

.ft-txt {
	text-align: center;
	background: #fff;
	max-width: 800px;
	margin: 0 auto 30px;
	color: #2e7d8f;
	border-radius: 15px;
	padding: 15px;
    font-size: 14px;
	line-height: 1.5;
}
.footer-inner {
	gap: 48px;
	max-width: 1100px;
	margin: 0 auto;
	padding-bottom: 48px;
	align-items: start;
}
.footer-brand-box {
	background: #fff;
	padding: 15px 18px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.footer-brand-img {
	width: 48px;
	height: auto;
	display: block;
}
.footer-brand-text {
	font-size: 26px;
	font-weight: 900;
	color: #4fbfc0;
	letter-spacing: 0.05em;
	font-family: "BIZ UDPGothic", sans-serif;
	line-height: 1;
	transform: translateY(6px);
}
.footer-brand {
	width: fit-content;
	min-width: 260px;
	margin: 0 auto;
}
.footer-logo-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: white;
	border-radius: 8px;
	padding: 5px 14px;
	margin-bottom: 8px;
	width: 100%;
	box-sizing: border-box;
	min-height: 72px;
}
.footer-logo-link {
	display: block;
}
.footer-logo-img {
	height: 62px;
	width: auto;
	display: block;
	margin: 0 auto;
}
.footer-tagline {
	font-size: 13px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 0;
}
.footer-col + .footer-col {
    margin-top: 25px;
}
.footer-col-title {
	font-size: 14px;
	font-weight: 700;
	color: #f5f0e8;
	letter-spacing: 0.05em;
	padding-bottom: 12px;
	border-bottom: 2px solid #f5f0e8;
	font-family: "BIZ UDPGothic", sans-serif;
}

.footer-links {
	list-style: none;
}
.footer-links li {
	border-bottom: 1px solid rgba(245, 240, 232, 0.2);
}
.footer-links a {
	color: #f5f0e8;
	text-decoration: none;
	font-size: 13px;
	display: block;
	padding: 10px 0;
	transition: color 0.2s;
}
.footer-links a:hover {
	color: #fff;
}
.footer-operator {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 14px 16px;
	margin-top: 20px;
}
.footer-operator-title {
	font-size: 13px;
	font-weight: 700;
	color: white;
	margin-bottom: 4px;
	font-family: "BIZ UDPGothic", sans-serif;
}
.footer-operator-sub {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer-bottom p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}
.footer-center-illust-wrap {
	width: 100%;
	background: linear-gradient(
		to bottom,
		var(--bg) 113px,
		var(--blue-dark) 113px
	);
	height: 300px;
	position: relative;
	z-index: 10;
}
.footer-center-illust {
	position: absolute;
	top: -101px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: auto;
}
.footer-presented {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	color: #ffffff;
	margin: 0;
	background: #1a1a1a;
	border-radius: 8px;
	padding: 8px 14px;
	width: 100%;
	box-sizing: border-box;
	min-height: 72px;
}
.footer-jns-logo {
	height: 36px;
	width: auto;
}



@media (min-width: 768px) {
	.site-footer {
        padding: 56px 40px 0;
    }
    .ft-txt {
        font-size: 16px;
        padding: 20px;
        margin: 0 auto 50px;
    }
    .footer-menu_box {
        display: flex;
        gap: 0 30px;
    }
    .footer-menu_box .footer-col {
        width: calc(100% / 2 - 15px);
    }
    .footer-col + .footer-col {
        margin-top: 0;
    }
    .footer-col-title {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
}
@media (min-width: 1200px) {
    .footer-inner {
        display: flex;
    }
    .footer-brand {
        padding-top: 34px;
    }
	.footer-brand-box {
        max-width: 350px;
        padding: 18px 22px;
    }
    .footer-menu_box {
        width: 100%;
        max-width: calc(100% - 400px);
    }
}


/* 2607.公開調整対応 */
.wpcf7-spinner {
	display: none;
}
.contact-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}


/* ===== セクション共通 ===== */
.section-header {
	text-align: center;
	margin-bottom: 44px;
}
.section-header h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
	font-family: "BIZ UDPGothic", sans-serif;
}
.title-en {
	font-size: 72px;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 2px var(--blue);
	paint-order: stroke fill;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1;
	display: block;
	margin-bottom: 8px;
}
.title-line {
	width: 40px;
	height: 3px;
	background: var(--blue);
	border-radius: 2px;
	margin: 12px auto 0;
}
