@charset "utf-8";
/* =========================================================================================
PAGE-LOADING
=========================================================================================*/
#loading {
	content: "";
	width: 100vw;
	height: 100vh;
	background: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: 50;
	mask-image: linear-gradient(#000, #000), url(../images/common/mask_circle.svg);
	mask-repeat: no-repeat;
	mask-position: 0 0, center center;
	mask-size: 100% 100%, 0 0;
	mask-composite: exclude;
	animation-timing-function: var(--ease-out-quart);
	animation-fill-mode: forwards;
	pointer-events: none;
	animation-name: maskAnimation;
	animation-duration: 1.3s;
	animation-delay: 0.5s;
}
@keyframes maskAnimation {
	0% {
		mask-size: 100% 100%, 0 0;
	}
	100% {
		mask-size: 100% 100%, 200vw 200vw;
	}
}
@media only screen and (max-width: 820px) {
	@keyframes maskAnimation {
		0% {
			mask-size: 100% 100%, 0 0;
		}
		100% {
			mask-size: 100% 100%, 200vh 200vh;
		}
	}
}
/* =========================================================================================
PAGE HEADER
=========================================================================================*/
.page-header {
	padding-block: 15vh 30px;
	margin: 0;
	position: relative;
}
.page-header .inner {
	height: 100%;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: left;
}
.page-header .page-title {
	font-weight: var(--bold-font-weight);
	display: flex;
	flex-direction: column-reverse;
	align-items: start;
	justify-content: center;
	gap: 2rem;
	margin: 0;
}
.page-header .page-title .jp {
	font-size: 1.375rem;
	font-weight: var(--normal-font-weight);
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-indent: 0.25em;
	margin: 0;
}
.page-header .page-title .en {
	font-family: "Montserrat", sans-serif;
	font-size: 9.5rem;
	font-weight: var(--semibold-font-weight);
	line-height: 1;
	letter-spacing: 0;
	word-break: keep-all;
}
.page-header .page-title .jp:only-child {
	font-size: 5rem;
	font-weight: var(--bold-font-weight);
	line-height: 1.4;
	text-indent: 0;
	margin: 0;
}
@media only screen and (max-width: 820px) {
	.page-header .inner {
		min-height: 150px;
	}
	.page-header .page-title .en {
		font-size: clamp(4rem, calc(2.315rem + 8.989vw), 6rem); /* min: 80px, max: 120px */
	}
	.page-header .page-title .jp:only-child {
		font-size: clamp(2rem, calc(0.315rem + 8.989vw), 4rem); /* min: 40px, max: 80px */
	}
}
@media only screen and (max-width: 468px) {
	.page-header .inner {
		min-height: auto;
	}
}

/* =========================================================================================
LAYOUT
=========================================================================================*/
.entry-content section:nth-of-type(1) /*ページの一番最初のsection*/ {
	padding-top: 50px;
}
.entry-content section:nth-last-of-type(1) /*ページの一番最最後のsection*/ {
	padding-bottom: 200px;
}
@media only screen and (max-width: 820px) {
	.entry-content section:nth-last-of-type(1) {
		padding-bottom: 150px;
	}
}
@media only screen and (max-width: 468px) {
	.entry-content section:nth-last-of-type(1) {
		padding-bottom: 100px;
	}
}

/* =========================================================================================
COMPANY
=========================================================================================*/
body.company {
	background: #efefef;
}
body.company .page-header {
	color: #fff;
	height: 70vh;
	min-height: 500px;
	background: url(../images/page/company_image.webp) no-repeat center;
	background-size: cover;
}
body.company .page-header .inner {
	align-items: end;
	justify-content: right;
}
body.company .page-header .page-title .jp {
	display: none;
}
body.company .page-header .page-title .en {
	font-size: clamp(2.375rem, calc(-1.825rem + 17.92vw), 9.375rem); /* min: 38px, max: 150px */
}
@media only screen and (max-width: 820px) {
	body.company .page-header {
		background: url(../images/page/company_image_mb.webp) no-repeat center;
		background-size: cover;
	}
}
@media only screen and (max-width: 468px) {
	body.company .page-header {
		max-height: 580px;
	}
	body.company .page-header .inner {
		align-items: start;
	}
}

/*aside*/
body.company aside {
	width: 300px;
	background: var(--accent-color);
	border-radius: 10px;
	padding: 35px;
	position: absolute;
	top: 25vh;
	left: 40px;
	z-index: 10;
}
body.company aside h2 {
	border-bottom: 1px solid;
	padding-bottom: 0.75em;
	margin-bottom: 1.25em;
}
body.company aside ul {
	display: flex;
	flex-direction: column;
	gap: 1em;
}
@media only screen and (max-width: 820px) {
	body.company aside {
		width: 30%;
		min-width: 200px;
		padding: 25px;
	}
	body.company aside h2 {
		font-size: 1rem;
	}
	body.company aside ul {
		font-size: 1rem;
		gap: 0.5em;
	}
}
@media only screen and (max-width: 468px) {
	body.company aside {
		top: 32.5vh;
	}
}

/*vision*/
body.company section.vision {
	padding-block: 15vh 20vh;
}
body.company section.vision .inner {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2em;
}
body.company section.vision strong {
	font-size: 2em;
}
body.company section.vision p {
	font-size: 0.9em;
	line-height: 3.5;
}
@media only screen and (max-width: 820px) {
	body.company section.vision strong {
		font-size: clamp(1.2rem, calc(0.863rem + 1.798vw), 1.6rem); /* min: 24px, max: 32px */
	}
	body.company section.vision p {
		line-height: 3;
		word-break: auto-phrase;
	}
}
@media only screen and (max-width: 468px) {
	body.company section.vision {
		padding-block: 10vh 15vh;
	}
}

/*outline*/
body.company section.outline {
	color: #fff;
	background: var(--main-color);
}
body.company section.outline .inner {
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: right;
}
body.company section.outline .mid-l {
	width: 100%;
	margin-bottom: 5em;
}
body.company section.outline table,
body.company section.outline .group {
	width: 100%;
	max-width: var(--minimum-contents-width);
	position: relative;
}
body.company section.outline .inner > table::before,
body.company section.outline .inner > table::after {
	content: "";
	width: 100%;
	height: 1px;
	background: #fff;
	position: absolute;
	left: 0;
	z-index: 1;
}
body.company section.outline .inner > table::before {
	top: -1.5em;
}
body.company section.outline .inner > table::after {
	bottom: -1.5em;
}
body.company section.outline th {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9em;
	font-weight: var(--normal-font-weight);
	padding-block: 1.375em;
	width: 120px;
	border: none;
}
body.company section.outline td {
	font-size: 1.1em;
	font-weight: var(--bold-font-weight);
	border: none;
}
body.company section.outline table td:has(table) {
	padding: 0;
}
body.company section.outline table table th,
body.company section.outline table table td {
	color: #fff;
	font-size: 1em;
	font-weight: var(--bold-font-weight);
	padding-block: 0.75em;
}
body.company section.outline table table th {
	width: 180px;
}
body.company section.outline .group {
	margin-top: 125px;
	border-bottom: 1px solid;
}
body.company section.outline .group .mid-s {
	margin-bottom: 50px;
}
body.company section.outline .group dl {
	margin-bottom: 50px;
}
body.company section.outline .group dl:nth-of-type(1) {
	margin-bottom: 100px;
}
body.company section.outline .group dt {
	font-size: 1.1em;
	font-weight: var(--bold-font-weight);
	width: 100%;
	margin-bottom: 0.5em;
}
body.company section.outline .group dd p {
	font-size: 0.9em;
	word-break: auto-phrase;
}
@media only screen and (max-width: 820px) {
	body.company section.outline .group dl {
		margin-bottom: 40px;
	}
	body.company section.outline .group dl:nth-of-type(1) {
		margin-bottom: 80px;
	}
}
@media only screen and (max-width: 468px) {
	body.company section.outline .mid-l {
		flex-direction: row-reverse;
		justify-content: space-between;
	}
	body.company section.outline th {
		width: 90px;
	}
	body.company section.outline th,
	body.company section.outline td {
		font-size: 1rem;
		padding-block: 0.75em;
	}
	body.company section.outline table table th {
		width: auto;
	}
	body.company section.outline .group {
		padding-left: 90px;
	}
}

/*message*/
body.company section.message {
	padding-bottom: 5vh;
}
body.company section.message .bg-white {
	background: #fff;
	border-radius: 30px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, auto);
	align-items: start;
	gap: 2em 5%;
	padding-block: 125px;
	padding-inline: 5%;
}
body.company section.message .bg-white .mid-l {
	grid-area: 1 / 1 / 2 / 2;
	margin: 0;
}
body.company section.message .bg-white .mid-l .en {
	font-size: clamp(3.75rem, calc(-1.944rem + 11.111vw), 5rem); /* min: 60px, max: 80px */
	word-wrap: normal;
}
body.company section.message .bg-white .image {
	grid-area: 1 / 2 / 3 / 3;
}
body.company section.message .bg-white .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.company section.message .bg-white .catchphrase {
	grid-area: 2 / 1 / 3 / 2;
	padding-block: 2em;
}
body.company section.message .bg-white .text {
	grid-area: 3 / 1 / 4 / 3;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
@media only screen and (max-width: 820px) {
	body.company section.message .bg-white .mid-l .en {
		font-size: clamp(1rem, calc(-1.528rem + 13.483vw), 4rem);
	}
	body.company section.message .bg-white {
		display: flex;
		flex-direction: column;
		gap: 30px;
		padding-block: 12.5% 15%;
		padding-inline: 7.5%;
		translate: 40px 0;
	}
	body.company section.message .bg-white .catchphrase {
		padding: 0;
	}
}
@media only screen and (max-width: 468px) {
	body.company section.message .inner {
		width: calc(100% - 40px);
		margin-inline: auto 0;
	}
	body.company section.message .bg-white {
		translate: 0;
	}
}

body.company .grid-box {
	width: calc(100% - 40px - 40px);
	max-width: var(--main-contents-width);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, auto);
	align-items: center;
	gap: 7.5% 4%;
	padding-bottom: 20vh;
	margin: auto;
}
body.company .grid-box section {
	width: 100%;
	padding-block: 0;
}
body.company .grid-box section:nth-of-type(1) {
	/*news*/
	grid-area: 1 / 2 / 2 / 3;
}
body.company .grid-box section:nth-of-type(2) {
	/*sdgs*/
	grid-area: 1 / 1 / 3 / 2;
}
body.company .grid-box section:nth-of-type(3) {
	/*access*/
	grid-area: 2 / 2 / 3 / 3;
}
body.company .grid-box .inner {
	width: 100%;
}
body.company .grid-box .inner .bg-white {
	width: 100%;
	max-width: var(--minimum-contents-width);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 30px;
	padding-block: 75px;
	padding-inline: 7.5%;
	margin: auto;
}
body.company .grid-box .inner .bg-white p {
	font-size: 0.9em;
}
@media only screen and (max-width: 820px) {
	body.company .grid-box {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 5vh;
		padding-inline: 40px;
	}
	body.company .grid-box section:nth-of-type(1) {
		/*news*/
		order: 2;
	}
	body.company .grid-box section:nth-of-type(2) {
		/*sdgs*/
		order: 1;
	}
	body.company .grid-box section:nth-of-type(3) {
		/*access*/
		order: 3;
	}
	body.company .grid-box .inner .bg-white {
		max-width: 100%;
		padding-block: 40px;
		padding-inline: 40px;
	}
	body.company .grid-box .inner .bg-white .mid-l {
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-between;
	}
}
@media only screen and (max-width: 468px) {
	body.company .grid-box .inner .bg-white .mid-l {
		margin-bottom: 1.25em;
	}
	body.company .grid-box .inner .bg-white .mid-l .jp {
		font-size: 0.8rem;
	}
}
/*news*/
body.company section.news .image {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	align-items: center;
	gap: 15px 2.5%;
	margin-bottom: 2em;
}
@media only screen and (max-width: 820px) {
	body.company section.news {
		translate: 40px;
	}
}
@media only screen and (max-width: 468px) {
	body.company section.news .image {
		padding-inline: 5%;
	}
}

/*sdgs*/
body.company section.sdgs .image {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: left;
	gap: 10px;
	margin-bottom: 2em;
}
body.company section.sdgs .image img {
	max-width: 25%;
}
@media only screen and (max-width: 820px) {
	body.company section.sdgs {
		translate: -40px;
	}
}
@media only screen and (max-width: 468px) {
	body.company section.sdgs .image {
		margin-bottom: 1.5em;
	}
}

/*access*/
body.company section.access .box {
	display: grid;
	grid-template-columns: 1fr minmax(100px, 30%);
	align-items: center;
	gap: 20px 10%;
	margin-top: 2em;
}
body.company section.access .box p {
	word-break: auto-phrase;
}
body.company section.access .box .btn {
	width: 100%;
	justify-content: center;
}
body.company section.access .box .btn a {
	width: 100%;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
	body.company section.access b {
		display: block;
	}
	body.company section.access .box {
		display: flex;
		flex-direction: column;
		align-items: start;
		gap: 15px;
	}
	body.company section.access .box .btn a {
		max-width: 50%;
	}
}

/* =========================================================================================
SERVICE
=========================================================================================*/
body.service {
	background: var(--main-color);
}
body.service #main,
body.service #main a {
	color: #fff;
}
body.service .page-header .page-title .jp {
	font-family: "Montserrat", sans-serif;
	font-size: 9.5rem;
	font-weight: var(--semibold-font-weight);
	line-height: 1;
	letter-spacing: 0;
	word-break: keep-all;
}
@media only screen and (max-width: 820px) {
	body.service .page-header .page-title .jp {
		font-size: clamp(4rem, calc(1.051rem + 12.584vw), 7.5rem); /* min: 64px, max: 120px */
	}
}
@media only screen and (max-width: 468px) {
}

/*service*/
body.service section.service .inner {
	padding-block: 75px;
}
body.service section.service .inner p {
	line-height: 2.5;
}
body.service section.service .inner:has(.image) {
	display: grid;
	grid-template-columns: minmax(400px, 39%) 1fr;
	gap: 6.5%;
}
body.service section.service .inner:has(.image):nth-of-type(even) {
	grid-template-columns: 1fr minmax(400px, 39%);
}
body.service section.service .inner:has(.image):nth-of-type(even) .text {
	order: 2;
}
body.service section.service .inner:has(.image):nth-of-type(even) .image {
	order: 1;
}
body.service section.service .inner .image {
	border-radius: 30px;
	overflow: hidden;
}
body.service section.service .inner .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.service section.service .inner:nth-last-of-type(1) {
	text-align: center;
}
@media only screen and (max-width: 820px) {
	body.service section.service .inner:nth-of-type(1) {
		padding-block: 25px;
	}
	body.service section.service .inner p {
		line-height: 2.25;
	}
	body.service section.service .inner:has(.image):nth-of-type(even),
	body.service section.service .inner:has(.image) {
		display: flex;
		flex-direction: column;
		gap: 1em;
	}
	body.service section.service .inner:has(.image) .text {
		order: 2 !important;
		width: 90%;
		max-width: 600px;
	}
	body.service section.service .inner:has(.image) .image {
		order: 1 !important;
		width: calc(90% + 40px);
		max-width: 640px;
	}
	body.service section.service .inner:has(.image):nth-of-type(even) {
		align-items: start;
	}
	body.service section.service .inner:has(.image):nth-of-type(even) .image {
		margin-left: -40px;
		border-radius: 0 30px 30px 0;
	}
	body.service section.service .inner:has(.image):nth-of-type(odd) {
		align-items: end;
	}
	body.service section.service .inner:has(.image):nth-of-type(odd) .image {
		margin-right: -40px;
		border-radius: 30px 0 0 30px;
	}
}
@media only screen and (max-width: 468px) {
	body.service section.service .inner {
		padding-block: 30px;
	}
	body.service section.service .inner:nth-last-of-type(1) {
		padding-block: 100px 60px;
	}
}

/*flow*/
body.service section.flow {
	background: var(--sub-color);
	overflow: initial !important;
}
body.service section.flow ol {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 100px;
	counter-reset: listnum; /* カウンターをリセット */
	list-style: none; /* 標準のスタイルは消す */
	position: relative;
}
body.service section.flow li {
	min-height: 560px;
	background: #fff;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 10%;
	border-radius: 10px;
	padding: 50px 10% 50px 50px;
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 100px;
}
body.service section.flow li::before {
	counter-increment: listnum;
	content: counter(listnum, decimal-leading-zero);
	color: var(--accent-color);
	font-family: "Montserrat", sans-serif;
	font-weight: var(--bold-font-weight);
	font-size: 5rem;
	line-height: 1;
	position: absolute;
	top: 12.5%;
	left: 50px;
	z-index: 2;
}
body.service section.flow li::after {
	content: "";
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	background: #000;
	border-radius: 6px;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: 1;
}
body.service section.flow li .box {
	width: 60%;
	max-width: 450px;
	position: relative;
	z-index: 10;
}
body.service section.flow li .box h3 {
	font-size: 3rem;
	line-height: 1.4;
	margin-bottom: 1em;
}
body.service section.flow li .box p {
	font-size: 0.9em;
}
body.service section.flow li .image {
	width: 30%;
	max-width: 250px;
	margin: auto;
	position: relative;
	z-index: 10;
}
@media only screen and (max-width: 820px) {
	body.service section.flow li {
		min-height: 400px;
		padding: 100px 7.5% 5%;
	}
	body.service section.flow li::before {
		font-size: 4rem;
		top: 10%;
		left: 7.5%;
	}
	body.service section.flow li .box h3 {
		font-size: clamp(1.25rem, calc(0.197rem + 4.494vw), 2.5rem); /* min: 20px, max: 40px */
	}
}
@media only screen and (max-width: 468px) {
	body.service section.flow li {
		min-height: 350px;
		align-items: start;
		padding: 120px 30px 50px;
	}
	body.service section.flow li::before {
		font-size: 3.5rem;
		top: 40px;
		left: 30px;
	}
	body.service section.flow li .box {
		width: 100%;
		max-width: 100%;
	}
	body.service section.flow li .box h3 {
		text-align: left;
		min-height: 80px;
		display: flex;
		align-items: center;
		justify-content: left;
		padding-left: 40%;
		margin-bottom: 1em;
	}
	body.service section.flow li .image {
		width: 80px;
		position: absolute;
		top: 120px;
		left: 30px;
		z-index: 10;
	}
}

/* =========================================================================================
CONTACT
=========================================================================================*/
body.contact {
	background: var(--sub-color);
}
body.contact #main,
body.contact #main a {
	color: #fff;
}
body.contact #main section,
body.contact #main section a {
	color: var(--base-font-color);
}
body.contact .entry-content section .inner {
	background: #fff;
	border-radius: 10px;
	padding: 100px 7.5%;
}
@media only screen and (max-width: 820px) {
	body.contact .entry-content section .inner {
		padding: 75px 7.5%;
	}
}
@media only screen and (max-width: 468px) {
	body.contact .entry-content section .inner {
		padding: 50px 7.5%;
	}
}

/* =========================================================================================
PRIVACY
=========================================================================================*/
body.privacy-policy {
	background: #efefef;
}
body.privacy-policy #main {
	max-width: var(--small-contents-width);
}
body.privacy-policy .page-header {
	color: var(--sub-color);
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
SINGLE-CUSTOM
=========================================================================================*/
/*slider-area*/
body.single .slider-area {
	padding-bottom: 0;
}
body.single .slide-contents {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}
body.single .slider-main .swiper-wrapper,
body.single .slider-thumbnail .swiper-wrapper {
	overflow: hidden;
	width: 100%;
}
body.single .slider-main .swiper-slide img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
}
body.single .slider-thumbnail .swiper-wrapper {
	width: 100%;
	display: flex;
	align-items: start;
	justify-content: start;
}
body.single .slider-thumbnail .swiper-slide {
	width: auto; /*表示数と余白はcommon.jsで管理*/
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.5s;
}
body.single .slider-thumbnail .swiper-slide img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	object-position: center;
}
body.single .slider-thumbnail .swiper-slide.swiper-slide-thumb-active {
	opacity: 1;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
404
=========================================================================================*/
body.error404 .entry-header {
	text-align: center;
	padding: 40px 20px;
	margin: 0;
}
body.error404 .entry-content .error-message {
	padding: 20px;
	margin-bottom: 30px;
	text-align: center;
}
body.error404 .entry-content .error-message p img {
	margin: 0 auto 50px;
	max-width: 300px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
********
=========================================================================================*/
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}
