/*
 * user.css
 *
 * Since:   2025-02-04
 * Update:  2026-03-30
 *
 */
#customfield_seo_page_description-field {
  margin-bottom: 2rem;
}
[id^="contentField"] + [id^="contentField"] {
  margin-top: 1.5rem;
}
#asset-field-187 .col-auto:has(img) {
  max-width: 100%;
}
#asset-field-187 .col-auto img {
  max-width: 100%;
  height: auto;
}

/* 全ページ共通 */
.l-header_logo {
	position: relative;
}
.l-header .l-header_logo .icon-nok_w {
	position: absolute;
	top: 50%;
	left: 0;
	transition: opacity 0.4s ease 0s;
	opacity: 0;
	translate: 0 -50%;
}
.l-header.is-scrolltop:not(:has(.js-gnavMenu.is-active)):has(+.p-home) .l-header_logo .icon-nok_w {
	opacity: 1.0;
}
.l-header_logo::after {
	content: "株式会社エストー";
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #000;
	width: 160px;
	position: absolute;
	top: 50%;
	left: 120%;
	translate: 0 -50%;
	transition: color 0.3s ease 0s;
}
.en_header .l-header_logo::after {
	content: "ESTOH Co., Ltd.";
}

@media (min-width: 1272px) {
	.l-header .l-header_logo svg {
        width: 120px;
        height: 52px;
    }
	.l-header .l-header_logo .icon-nok_w {
		top: 0;
		translate: 0 0;
	}
	.l-header_logo::after {
    	font-size: 22px;
    	width: 190px;
	}
    .l-header.is-scrolltop:not(:has(.js-gnavMenu.is-active)):has(+.p-home) .l-header_logo::after {
        color: #fff;
    }
}

@media (max-width: 1271px) {
    .l-header.is-scrolltop:not(:has(.js-gnavSP.is-active)):has(+.p-home) .l-header_logo::after {
        color: #fff;
    }
}

.l-gnavmenu_content:where(.-aboutus) .l-gnavmenu_inner-content {
	grid-template-columns: 1fr 2fr;
}

/* TOP */
@media (min-width: 768px) {
	.p-top-business-card::before,.p-top-business-card::after {
    	content: "";
		display: block;
		width: 40%;
		height: 1px;
		background-color: #fff;
		position: absolute;
		top: 50%;
		z-index: 1;
	}
	.p-top-business-card::before {
		left: 5%;
	}
	.p-top-business-card::after {
		right: 5%;
	}
}

.p-research {
	background-image: url(/estoh/assets/images/home/bg_research-technology_sp.jpg);
}

@media (min-width: 768px) {
    .p-research {
        background-image: url(/estoh/assets/images/home/bg_research-technology_pc.jpg);
    }
}


/* About ESTOH */
.p-company {
	height: -moz-fit-content;
    height: fit-content;
    background-image: url(/estoh/assets/images/aboutus/bg_company_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
	color: #fff;
}

@media (min-width: 768px) {
	.p-company {
    	background-image: url(/estoh/assets/images/aboutus/bg_company_pc.jpg);
	}
}


/* ESNA */
.esna_body .l-header_logo::after {
	left: 0;
}
.esna_body .l-header .l-header_logo svg {
	display: none;
}
.esna_body .l-footer_info {
	margin-top: 0;
}
.esna_body .l-footer_logo {
	display: none;
}