@charset "utf-8";

/* =====================================
	hero
===================================== */
.hero {
	color: var(--color-white);
}
.hero__inner {
	display: grid;
	align-content: center;
	max-width: var(--inner-width-x-large);
	margin: 0 auto;
}
.hero__heading {
	margin: 0;
	text-shadow: 4px 4px 4px var(--color-blue), -4px -4px 4px var(--color-blue), -4px 4px 4px var(--color-blue), 4px -4px 4px var(--color-blue), 4px 0 4px var(--color-blue), -4px 0 4px var(--color-blue), 0 4px 4px var(--color-blue), 0 -4px 4px var(--color-blue);
	line-height: 1.3;
}
.hero__kana {
	margin: 0 2px;
	font-weight: 500;
	display: inline-block;
}
.hero__lead {
	margin: 0;
	text-shadow: 2px 2px 2px var(--color-blue), -2px -2px 2px var(--color-blue), -2px 2px 2px var(--color-blue), 2px -2px 2px var(--color-blue), 2px 0 2px var(--color-blue), -2px 0 2px var(--color-blue), 0 2px 2px var(--color-blue), 0 -2px 2px var(--color-blue);
}
@media (max-width: 768px) {
	.hero {
		background: var(--color-x-dark-blue) no-repeat url("../files/bg_home_hero_01_sp.png") right top;
		background-size: 100% auto;
	}
	.hero__inner {
		gap: 20px;
		grid-template-rows: 1fr auto;
		align-items: end;
		min-height: 500px;
		padding: 40px 30px 40px 30px;
	}
	.hero__heading {
		font-size: 3.4rem;
	}
	.hero__kana {
		font-size: 3.0rem;
	}
	.hero__lead {
		max-width: 30em;
	}
}
@media (min-width: 769px) {
	.hero {
		background: linear-gradient(90deg, rgba(13,77,158,1) 50%, rgba(10,62,139,1) 50%);
	}
	.hero__inner {
		gap: 40px;
		min-height: 695px;
		padding: 40px 40px 80px 40px;
		background: no-repeat url("../files/bg_home_hero_01_pc.png") right -460px top;
		background-size: auto 100%;
	}
	.hero__heading {
		font-size: 6.0rem;
	}
	.hero__kana {
		font-size: 5.2rem;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	@media (max-height: 760px) {
		.hero__heading {
			padding-right: 250px;
		}
	}
	.hero__lead {
		padding-right: 300px;
	}
}
@media (min-width: 1025px) {
	.hero__inner {
		background-position: center top;
	}
}


/* =====================================
	contents
===================================== */
.contents--case,
.contents--needs,
.contents--color {
	background-color: var(--color-x-light-gray);
}
.contents__inner--splide {
	max-width: calc(var(--inner-width) + 90px);
	padding: 0 10px;
}
@media (max-width: 768px) {
	.contents--service,
	.contents--needs {
		padding-top: 75px;
	}
	.contents__inner--splide {
		margin-top: 40px;
	}
	.contents__action {
		margin: 40px 0;
	}
}
@media (min-width: 769px) {
	.contents {
		padding: 75px 0;
	}
	.contents--service,
	.contents--needs {
		padding-top: 90px;
	}
	.contents__inner--splide {
		margin-top: 50px;
	}
	.contents__inner--news {
		display: grid;
		gap: 0 min(6.5vw, 90px);
		grid-template-columns: auto 1fr;
		align-items: start;
	}
	.contents__action--news {
		grid-column: 1 / 3;
		justify-content: end;
	}
}


/* =====================================
	heading-home
===================================== */
.heading-home {
	position: relative;
	z-index: 1;
	text-align: center;
}
.heading-home::before {
	position: absolute;
	z-index: -1;
	content: "";
	background-size: contain;
	line-height: 1;
}
.heading-home--outline::before,
.heading-home--news::before {
	background-image: url("../files/bg_home_heading_ring_blue_01.svg");
}
.heading-home--case::before {
	background-image: url("../files/bg_home_heading_ring_white_01.svg");
}
.heading-home--service::before {
	top: -45px;
	left: calc(50% - 23px);
	width: 45px;
	height: 45px;
	background-image: url("../files/bg_home_heading_service_01.png");
}
.heading-home--needs::before {
	top: -41px;
	left: calc(50% - 24px);
	width: 47px;
	height: 41px;
	background-image: url("../files/bg_home_heading_needs_01.png");
}
.heading-home::after {
	position: absolute;
	bottom: 0;
	left: calc(50% - 15px);
	width: 30px;
	height: 1px;
	content: "";
	background-color: var(--color-dark-gray);
}
.heading-home + * {
	margin-top: 0 !important;
}
.heading-home__supplement {
	display: block;
	font-weight: 500;
}
.heading-home__kana {
	margin: 0 2px;
}
@media (max-width: 768px) {
	.heading-home {
		margin: 40px 0;
		padding-bottom: 20px;
		font-size: 2.8rem;
	}
	.heading-home--outline::before,
	.heading-home--case::before,
	.heading-home--news::before {
		bottom: -10px;
		left: calc(50% - 67px);
		width: 133px;
		height: 109px;
	}
	.heading-home__kana {
		font-size: 2.5rem;
	}
	.heading-home__supplement {
		font-size: 1.3rem;
	}
}
@media (min-width: 769px) {
	.heading-home {
		margin: 50px 0;
		padding-bottom: 25px;
		font-size: 4.0rem;
	}
	.heading-home--news {
		font-size: 3.8rem;
	}
	.heading-home--outline::before,
	.heading-home--case::before,
	.heading-home--news::before {
		bottom: -20px;
		left: calc(50% - 99px);
		width: 198px;
		height: 164px;
	}
	.heading-home--news::before {
		left: calc(50% - 70px);
	}
	.heading-home--news::after {
		left: 0;
	}
	.heading-home__kana {
		font-size: 3.5rem;
	}
	.heading-home__supplement {
		font-size: 1.5rem;
	}
}


/* =====================================
	outline
===================================== */
.outline-point {
	margin: 0;
}


/* =====================================
	case
===================================== */
.post-case__link {
	background-color: var(--color-white);
}
.post-case__service {
	background-color: var(--color-x-light-gray);
}


/* =====================================
	service
===================================== */
.posts-service-home {
	display: flex;
	overflow: hidden;
	border: 1px solid var(--color-light-gray);
	border-radius: 10px;
	background-color: var(--color-x-light-gray);
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
}
.post-service-home {
	width: 100%;
	padding: 20px 20px 40px 20px;
}
.post-service-home__heading {
	display: grid;
	gap: 10px;
	grid-template-columns: 50px auto;
	align-items: center;
	justify-content: center;
	min-height: 3.2em;
	margin: 0;
	font-size: 2.0rem;
	font-weight: 500;
}
.post-service-home__image {
	mix-blend-mode: multiply;
}
.post-service-home__list {
	margin: 20px 0 0 0;
}
.post-service-home__link {
	color: inherit !important;
}
@media (max-width: 567px) {
	.post-service-home:not(:first-child) {
		border-top: 1px solid var(--color-light-gray);
	}
}
@media (min-width: 568px) and (max-width: 1024px) {
	.post-service-home {
		width: 50%;
	}
	.post-service-home:nth-child(odd) {
		border-right: 1px solid var(--color-light-gray);
	}
	.post-service-home:not(:nth-child(n+3)) {
		border-bottom: 1px solid var(--color-light-gray);
	}
}
@media (max-width: 1024px) {
	.posts-service-home {
		flex-wrap: wrap;
	}
}
@media (min-width: 1025px) {
	.post-service-home:not(:first-child) {
		border-left: 1px solid var(--color-light-gray);
	}
}


/* =====================================
	needs
===================================== */
.posts-needs-home {
	display: flex;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--color-light-gray);
	border-radius: 10px;
	background-color: var(--color-white);
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
}
.post-needs-home {
	width: 100%;
}
.post-needs-home__link {
	display: grid;
	gap: 25px;
	grid-template-rows: auto 1fr;
	justify-items: center;
	height: 100%;
	padding: 24px;
	transition: color 0.3s;
	text-decoration: none;
	color: inherit !important;
}
.post-needs-home__figure {
	overflow: hidden;
	border-radius: 5px;
}
.post-needs-home__image {
	object-fit: cover;
	aspect-ratio: 120 / 63;
	width: 100%;
	transition: transform 0.3s;
}
.post-needs-home__heading {
	position: relative;
	padding-left: 35px;
	font-size: 1.6rem;
}
.post-needs-home__heading:before {
	position: absolute;
	top: calc(0.8em - 13px);
	left: 0;
	width: 26px;
	height: 26px;
	content: "";
	background: no-repeat url("../files/ico_circle-arrow_01.svg");
}
@media (max-width: 567px) {
	.post-needs-home:not(:first-child) {
		border-top: 1px solid var(--color-light-gray);
	}
}
@media (min-width: 568px) and (max-width: 1024px) {
	.post-needs-home {
		width: 50%;
	}
	.post-needs-home:nth-child(odd) {
		border-right: 1px solid var(--color-light-gray);
	}
	.post-needs-home:not(:nth-child(n+3)) {
		border-bottom: 1px solid var(--color-light-gray);
	}
}
@media (max-width: 1024px) {
	.posts-needs-home {
		flex-wrap: wrap;
	}
}
@media (min-width: 1025px) {
	.post-needs-home:not(:first-child) {
		border-left: 1px solid var(--color-light-gray);
	}
}
@media (hover: hover) {
	.post-needs-home__link:hover {
		color: var(--color-blue) !important;
	}
	.post-needs-home__link:hover .post-needs-home__image {
		transform: scale(1.2);
	}
}


/* =====================================
	popup
===================================== */
.popup {
	display: flex;
	flex-direction: row-reverse;
	position: fixed;
	right: 0;
	z-index: 10;
	overflow: hidden;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	border: 1px solid var(--color-blue);
	border-right: none;
	border-radius: 10px 0 0 10px;
	background-color: var(--color-blue);
	gap: 1px;
}
.popup:has([aria-expanded="false"]) {
	right: -261px;
}
.popup__link {
	display: block;
	color: var(--color-blue) !important;
	background-color: var(--color-light-blue);
	text-decoration: none;
	padding: 15px;
	width: 260px;
}
.popup__link:has(+ [aria-expanded="false"]) {
	visibility: hidden;
}
.popup__figure {
	margin: -15px -15px 15px -15px;
}
.popup__image {
	width: 100%;
}
.popup__heading {
	font-size: 1.2rem;
	margin-bottom: 15px;
}
.popup__button {
	width: 100%;
}
.popup__toggler {
	appearance: none;
	padding: 30px 0;
	border: none;
	color: var(--color-blue);
	background-color: var(--color-white);
	line-height: 1;
	writing-mode: vertical-rl;
	font-size: 1.3rem;
	font-weight: bold;
	width: 35px;
}
[aria-expanded="false"] .popup__close {
	display: none;
}
[aria-expanded="true"] .popup__open {
	display: none;
}
@media (max-width: 768px) {
	.popup {
		display: none;
	}
}
@media (max-width: 1024px) {
	.popup {
		top: min(calc(100vh - 375px), 430px);
	}
}
@media (min-width: 1025px) {
	.popup {
		top: min(calc(100vh - 320px), 500px);
	}
}
@media (hover: hover) {
	.popup__link:hover .popup__button {
		background-position: 25px center;
		background-color: var(--color-dark-blue);
	}
}

/* fadeRight */
.fadeRight {
	animation-name: fadeRightAnime;
	animation-duration: 1.5s;
	opacity: 0;
	animation-fill-mode: forwards;
}
@keyframes fadeRightAnime {
	75% {
		transform: translateX(100px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}
