@charset 'UTF-8';

/*----------------------------------------

	- common
	- header
	- kv
	- links
	- contents
		- service
		- works
		- timeschedule
		- strength
		- prefecture
		- aside
		- pagetop
	- footer

-----------------------------------------*/

/*----------------------------------------
	common
-----------------------------------------*/
main {
	padding-bottom: 88px;
}

/* sp */
@media screen and (max-width: 768px) {
	main {
		padding-bottom: 83px;
	}
}

@media screen and (max-width: 374px) {
	main {
		padding-bottom: 143px;
	}
}

/*----------------------------------------
	header
-----------------------------------------*/
header {
	padding: 19px 20px 21px;
	background-color: var(--color_white);
}

header>a {
	display: flex;
	align-items: center;
	opacity: 1;
	width: fit-content;
	transition: opacity 0.3s ease-out;
}

/* hover */
@media (hover: hover) {
	header>a:hover {
		opacity: 0.4;
		transition: opacity 0.2s ease-out;
	}
}

header p:first-child {
	width: 61px;
}

header p:nth-of-type(n+2) {
	font-weight: 500;
	font-size: var(--font-size24);
	line-height: 1;
	letter-spacing: 0.07em;
}

header p:nth-of-type(2) {
	margin: 0 0 0 10px;
}

header p:nth-of-type(3) {
	margin: 0 0 0 8px;
}

/* sp */
@media screen and (max-width: 768px) {
	header {
		padding: 10px 0 10px 24px;
	}

	header>a {
		justify-content: flex-start;
	}

	header p:first-child {
		width: 50px;
	}

	header p:nth-of-type(n+2) {
		font-size: var(--font-size16);
		letter-spacing: 0.1em;
	}

	header p:nth-of-type(2) {
		margin: 0 0 0 0.4em;
	}

	header p:nth-of-type(3) {
		margin: 0 0 0 4px;
	}
}

@media screen and (max-width: 374px) {
	header p:nth-of-type(n+2) {
		font-size: var(--font-size12);
	}
}

/*----------------------------------------
	kv
-----------------------------------------*/
#kv {
	position: relative;
	width: 100%;
	max-height: 730px;
	height: calc(100dvh - 84px);
	overflow: hidden;
	background: url(../img/kv.webp) no-repeat center center;
	background-size: cover;
}

#kv #skew_lines {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: auto;
}

#kv .path1 {
	z-index: auto;
	position: absolute;
	bottom: 530px;
    right: calc(50% - 365px);
    width: 12px;
    height: 198px;
    background-color:#2069CB;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime1;
	animation-duration: 500ms;
	animation-delay: 0.7s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path2 {
	z-index: auto;
	position: absolute;
	bottom: 687px;
    right: calc(50% - 342px);
    width: 8px;
    height: 43px;
    background-color:#FCEE21;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime2;
	animation-duration: 700ms;
	animation-delay: 0.8s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path3 {
	z-index: auto;
	position: absolute;
	bottom: 395px;
    right: calc(50% - 290px);
    width: 9px;
    height: 148px;
    background-color: #fff;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime1;
	animation-duration: 800ms;
	animation-delay: 0.5s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path4 {
    z-index: auto;
    position: absolute;
    bottom: 168px;
    left: calc(50% - 253px);
    width: 143px;
    height: 282px;
    background-color: #2069CB;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime1;
	animation-duration: 800ms;
	animation-delay: 0.8s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path5 {
	z-index: auto;
    position: absolute;
    bottom: 0;
    left: calc(50% - 214px);
    width: 205px;
    height: 367px;
    background-color: #2069CB;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime2;
	animation-duration: 800ms;
	animation-delay: 0.6s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path6 {
	z-index: auto;
    position: absolute;
    bottom: 318px;
    left: calc(50% + 123px);
    width: 9px;
    height: 96px;
    background-color: #fff;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime1;
	animation-duration: 800ms;
	animation-delay: 0.3s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv .path7 {z-index: auto;
    position: absolute;
	bottom: 380px;
    left: calc(50% - 194px);
    width: 9px;
    height: 96px;
    background-color: #FCEE21;
    transform: skewX(-42deg);
	/* anime */
	animation-name: line-anime1;
	animation-duration: 1000ms;
	animation-delay: 0.5s;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

/* ラインアニメーション用 */
@keyframes line-anime1 {
	from {
		transform: translate(18vw,-20vw) skewX(-42deg);
		opacity: 0;
	}

	to {
		transform: translate(0,0) skewX(-42deg);
		opacity: 1;
	}
}

@keyframes line-anime1-rev {
	from {
		transform: translate(-18vw,20vw) skewX(-42deg);
		opacity: 0;
	}

	to {
		transform: translate(0,0) skewX(-42deg);
		opacity: 1;
	}
}

@keyframes line-anime2 {
	from {
		transform: translate(36vw,-40vw) skewX(-42deg);
		opacity: 0;
	}

	to {
		transform: translate(0,0) skewX(-42deg);
		opacity: 1;
	}
}

#kv #heading {
	z-index: 2;
	position: absolute;
	bottom: 8.63%;
	left: 6.5%;
	width: min(90%, 1532px);
}

#kv #heading h1 {
	width: 800px;
	color: var(--color_white);
	font-style: italic;
	line-height: 1;
}

:root {
	--delay: 0;
	--duration: 800ms;
	--iterations: 1;
}

#kv #heading div.masking {
	position: relative;
	width: fit-content;
	animation-name: clip-kvt1;
}

#kv #heading div.masking::after {
	content: '';
	z-index: 999;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform-origin: 0 50%;
	background-color: var(--color_white);
	pointer-events: none;
	animation-name: kvt1-revealer;
}

#kv #heading div.masking,
#kv #heading div.masking::after {
	animation-duration: 700ms;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

#kv #heading div.masking.delay1,
#kv #heading div.masking.delay1::after {
	animation-delay: 1.5s;
}

#kv #heading div.masking.delay2,
#kv #heading div.masking.delay2::after {
	animation-delay: 1.7s;
}

#kv #heading div.masking.delay3,
#kv #heading div.masking.delay3::after {
	animation-delay: 2.3s;
}

/* テキスト用 */
@keyframes clip-kvt1 {
	from {
		clip-path: inset(0 calc(100% + 27px) -10px -27px);
	}

	to {
		clip-path: inset(0 0 -10px -27px);
	}
}

@keyframes kvt1-revealer {
	0%,
	50% {
		left: -27px;
		transform: scaleX(1) scaleY(1.2);
		transform-origin: 0 0;
	}

	60%,
	100% {
		transform-origin: 100% 0;
	}


	60% {
		transform: scaleX(1) scaleY(1.2);
	}

	100% {
		transform: scaleX(0) scaleY(1.2);
	}
}

@media screen and (max-width: 768px) {
	@keyframes clip-kvt1 {
		from {
			clip-path: inset(0 100% -10px 0);
		}

		to {
			clip-path: inset(0 0 -10px 0);
		}
	}

	@keyframes kvt1-revealer {
		0%,
		50% {
			left: 0;
			transform: scaleX(1) scaleY(1.05);
			transform-origin: 0 -5%;
		}

		60%,
		100% {
			transform-origin: 100% -5%;
		}


		60% {
			transform: scaleX(1) scaleY(1.05);
		}

		100% {
		transform: scaleX(0) scaleY(1.05);
		}
	}
}

#kv #heading h1 div:nth-of-type(1) span {
	display: inline-block;
}

#kv #heading h1 div:nth-of-type(2) span {
	display: inline-block;
}

#kv #heading h1 span.t1 {
	font-weight: 900;
	font-size: var(--font-size96);
	letter-spacing: 0.07em;
}

#kv #heading h1 span.t2 {
	font-size: var(--font-size72);
	letter-spacing: 0.08em;
}

#kv #heading h1 span.t3 {
	transform: translateX(-27px) translateY(1px);
	font-weight: 900;
	font-size: var(--font-size96);
	letter-spacing: 0.04em;
}

#kv #heading h1 span.t4 {
	transform: translateX(-26px) translateY(1px);
	font-weight: 900;
	font-size: var(--font-size120);
	letter-spacing: 0.07em;
}

#kv #heading p {
	transform: translateX(-19px) translateY(6px);
	color: var(--color_white);
	font-weight: 700;
	font-size: var(--font-size39);
	letter-spacing: 0.06em;
}

@media screen and (min-width: 1532px) {
	#kv #heading {
		left: calc((100% - 1332px) / 2);
	}
}

@media screen and (max-width: 900px) {
	#kv #heading {
		transform-origin: left bottom;
		scale: 0.9;
	}
}

/* sp */
@media screen and (max-width: 768px) {
	#kv {
		max-height: unset;
		height: 100vw;
		aspect-ratio: 1 / 1;
		background-position: center center;
		background-size: cover;
	}

	#kv svg {
		right: unset;
		left: 0;
		width: 123%;
		margin: unset;
		transform: unset;
	}

	#kv .path1 {
        bottom: 74.5vw;
        right: calc(50% - 44.1vw);
        width: 1.7vw;
        height: 24vw;
	}

	#kv .path2 {
		bottom: 90vw;
        right: calc(50% - 39.2vw);
        width: 1.2vw;
        height: 10vw;
	}

	#kv .path3 {
        bottom: 54.6vw;
        right: calc(50% - 35.7vw);
        width: 1.3vw;
        height: 20vw;
	}

	#kv .path4 {
        bottom: 22.8vw;
        left: calc(50% - 20.3vw);
        width: 19.3vw;
        height: 37.6vw;
	}

	#kv .path5 {
        bottom: 0;
        left: calc(50% - 15.6vw);
        width: 27.7vw;
        height: 48.8vw;
	}

	#kv .path6 {
		visibility: hidden;
	}

	#kv .path7 {
        bottom: 51.8vw;
        left: calc(50% - 12.1vw);
        width: 1.2vw;
        height: 12vw;
	}

	#kv #heading {
		z-index: 1;
		position: absolute;
		bottom: 2.5%;
		left: 8%;
		scale: 1.6;
		width: 340px;
	}

	#kv #heading h1 {
		width: fit-content;
	}

	#kv #heading h1 div:nth-of-type(1) span {
		display: inline-block;
	}

	#kv #heading h1 div:nth-of-type(2) span {
		display: block;
	}

	#kv #heading h1 span.t1 {
		font-size: var(--font-size48);
	}

	#kv #heading h1 span.t2 {
		font-size: var(--font-size36);
	}

	#kv #heading h1 span.t3 {
		transform: translateX(-4px) translateY(2px);
		font-size: var(--font-size48);
		letter-spacing: 0.07em;
	}

	#kv #heading h1 span.t4 {
		transform: translateX(-2px) translateY(4px);
		font-size: var(--font-size60);
	}

	#kv #heading p {
		transform: translateX(0) translateY(2px);
		font-size: var(--font-size20);
	}
}

@media screen and (max-width: 600px) {
	#kv #heading {
		scale: 1.2;
	}
}

@media screen and (max-width: 425px) {
	#kv #heading {
		scale: 1;
	}
}

@media screen and (max-width: 374px) {
	#kv #heading {
		scale: 0.8;
	}
}



/*----------------------------------------
	links
-----------------------------------------*/
#links {
	z-index: 5;
	position: absolute;
	top: 40px;
	right: 40px;
}

#links dl {
	width: 237px;
	padding: 38px 40px;
	background-color: var(--color_sub);
}

#links dl dt {
	width: 110%;
	font-size: var(--font-size11);
	letter-spacing: 0.05em;
}

#links dl dd {
	margin-top: 15px;
}

#links dl dd+dd {
	margin-top: 8px;
}

#links dl dd a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	color: var(--color_primary);
	font-size: var(--font-size14);
	letter-spacing: 0.09em;
	transition: color 0.3s;
}

#links dl dd a::after {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
	background: transparent url(../img/ic_browser01.svg) no-repeat center center;
	background-size: cover;
	transition: transform 0.2s;
}

@media (hover: hover) {
	#links dl dd a:hover {
		color: rgba(13, 83, 177, 0.6);
		transition: color 0.2s;
	}

	#links dl dd a:hover::after {
		transform: translateX(0.25em);
	}
}

#links p {
	width: 237px;
	margin-top: 20px;
	padding: 20px;
	background-color: #73adfb;
}

#links p a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 21px 20px 19px;
	color: var(--color_white);
	font-size: var(--font-size14);
	line-height: 1.2;
	letter-spacing: 0.09em;
	transition: color 0.2s;
}

#links p a::after {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
	background: transparent url(../img/ic_browser02.svg) no-repeat center center;
	background-size: cover;
	transition: transform 0.3s;
}

@media (hover: hover) {
	#links p a:hover {
		color: rgba(255, 255, 255, 0.8);
		transition: color 0.2s;
	}

	#links p a:hover::after {
		transform: translateX(0.25em);
	}
}

@media screen and (min-width: 1532px) {
	#links {
		right: calc(50% - 726px);
	}
}

/* sp */
@media screen and (max-width: 768px) {
	#links {
		top: 66px;
		right: 10px;
	}

	#links dl {
		display: none;
	}

	#links p {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 150px;
		height: 77px;
		margin-top: 0;
		padding: 0;
	}

	#links p a {
		width: fit-content;
		height: fit-content;
		padding: 0;
		font-size: var(--font-size10);
		line-height: 1.8;
	}
}

/*----------------------------------------
	service
-----------------------------------------*/
#service {
	position: relative;
	width: 100%;
	height: fit-content;
	padding-bottom: 207px;
	overflow: hidden;
	background-color: var(--color_primary);
}

#service::before {
	content: '';
	display: block;
	z-index: 1;
	position: absolute;
	top: -3px;
	left: 0;
	width: 100%;
	height: 155px;
	background: var(--color_primary) url(../img/vector_service.svg) repeat-x center center;
	background-size: auto 100%;
	animation: scroll-bg 40s linear infinite;
}

.scrolled #service::before {
	position: fixed;
}

@keyframes scroll-bg {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: -4200px 0;
	}
}

/* service_lead */
#service>div#service_lead {
	z-index: 2;
	position: relative;
	width: min(65.6%, 1006px);
	margin: 200px auto 0;
}

#service>div#service_lead h1 {
	width: 110%;
	color: var(--color_white);
	font-style: italic;
	line-height: 1;
}

#service>div#service_lead h1 span {
	display: inline-block;
}

#service>div#service_lead h1 span.t1 {
	font-weight: 900;
	font-size: var(--font-size52);
	letter-spacing: 0.07em;
}

#service>div#service_lead h1 span.t2 {
	margin-left: 2px;
	font-weight: 900;
	font-size: var(--font-size42);
	letter-spacing: 0.08em;
}

#service>div#service_lead h1 span.t3 {
	transform: translateY(19px);
	font-weight: 900;
	font-size: var(--font-size80);
	letter-spacing: 0.07em;
}

#service>div#service_lead h1 span.t3 span {
	display: inline-block;
}

#service>div#service_lead h1 span.t3::before {
	content: '「';
	display: inline-block;
	transform: translateX(-4px) translateY(-28px);
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size48);
}

#service>div#service_lead h1 span.t3::after {
	content: '」';
	display: inline-block;
	transform: translateX(12px) translateY(9px);
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size48);
}

#service>div#service_lead p {
	margin: 77px auto auto 4px;
	color: var(--color_white);
	font-style: italic;
	font-weight: 700;
	font-size: var(--font-size24);
	line-height: 2.2;
	letter-spacing: 0.1em;
}

#service>div#service_lead p br.sp {
	display: none;
}

/* service_differences */
#service>div#service_differences {
	z-index: 3;
	position: relative;
	width: min(90%, 1000px);
	margin: 45px auto 0;
	padding: 42px 117px 55px;
	border: 1px solid var(--color_white);
}

#service>div#service_differences h2 {
	color: var(--color_white);
	font-style: italic;
	font-weight: 900;
	font-size: var(--font-size30);
	letter-spacing: 0.095em;
	text-align: center;
}

#service>div#service_differences ul {
	margin-top: 25px;
}

#service>div#service_differences ul li {
	display: flex;
	gap: 0;
	color: var(--color_white);
	font-weight: 700;
	font-size: var(--font-size18);
	letter-spacing: 0.095em;
	line-height: 1.78;
	font-feature-settings: 'pkna';
	counter-increment: listnum;
}

#service>div#service_differences ul li::before {
	content: counter(listnum) ".";
	display: inline-block;
}

#service>div#service_differences p.note {
	display: flex;
	color: var(--color_white);
	font-size: var(--font-size14);
	letter-spacing: 0.1em;
}

#service>div#service_differences p.note::before {
	content: '※';
	display: inline-block;
}

/* service_pics */
#service>div#service_pics {
	z-index: 4;
	display: grid;
	gap: 60px;
	grid-template-columns: 456px 1fr;
	align-items: center;
	position: relative;
	width: min(66%, 1006px);
	margin: 150px auto 0;
}

#service>div#service_pics>div {
	width: 450px;
}

#service>div#service_pics>div h2 {
	color: var(--color_white);
	line-height: 1;
}

#service>div#service_pics>div h2 span {
	display: inline-block;
}

#service>div#service_pics>div h2 span.t1 {
	margin: auto auto auto -4px;
	font-style: italic;
	font-weight: 900;
	font-size: var(--font-size30);
	font-feature-settings: initial;
	letter-spacing: 0.07em;
}

#service>div#service_pics>div h2 span.t2 {
	margin: 18px auto auto -4px;
	font-style: italic;
	font-weight: 900;
	font-size: var(--font-size59);
	letter-spacing: 0.06em;
}

#service>div#service_pics>div h2 span.t3 {
	width: 110%;
	margin: 15px auto auto -4px;
	font-style: italic;
	font-weight: 900;
	font-size: var(--font-size59);
	letter-spacing: 0.12em;
}

#service>div#service_pics>div h2 span.t4 {
	width: 99%;
	margin: 17px 0 auto auto;
	font-size: var(--font-size14);
	letter-spacing: 0.08em;
	text-align: right;
}

#service>div#service_pics>ul {
	z-index: 4;
	display: grid;
	gap: 25px 20px;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	position: relative;
}

#service>div#service_pics>ul figure figcaption {
	margin-top: 13px;
	color: var(--color_white);
	font-weight: 500;
	font-size: var(--font-size18);
	line-height: 1;
	text-align: center;
}

@media screen and (max-width: 1400px) {
	#service>div#service_pics>div {
		margin-top: unset;
	}
}

@media screen and (max-width: 1300px) {
	#service>div#service_pics {
		grid-template-columns: 1fr;
		margin: 135px auto 0;
	}
}

@media screen and (max-width: 1100px) {
	#service>div#service_lead p {
		width: 110%;
	}

	#service>div#service_lead p br.pc {
		display: none;
	}

	#service>div#service_lead p br.sp {
		display: inline;
	}
}

@media screen and (min-width: 425px) and (max-width: 1100px) {
	#service>div#service_differences ul li br.sp {
		display: none;
	}
}

/* sp */
@media screen and (max-width: 768px) {
	#service {
		padding-bottom: 81px;
	}

	#service::before {
		height: 81px;
		background-size: auto 81px;
		animation: scroll-bg 60s linear infinite;
	}

	#service>div#service_lead {
		width: 90%;
		margin: 77px auto 0;
	}

	#service>div#service_lead h1 {
		max-width: 600px;
		width: 105%;
	}

	#service>div#service_lead h1 span.t1 {
		margin-left: 2px;
		font-size: var(--font-size30);
	}

	#service>div#service_lead h1 span.t2 {
		margin-left: 0;
		font-size: var(--font-size22);
	}

	#service>div#service_lead h1 span.t3 {
		transform: translateY(9px);
		font-size: var(--font-size42);
	}

	#service>div#service_lead h1 span.t3::before {
		transform: translateX(-3px) translateY(-5px);
		font-size: var(--font-size29);
	}

	#service>div#service_lead h1 span.t3::after {
		transform: translateX(0px) translateY(4px);
		font-size: var(--font-size29);
	}

	#service>div#service_lead p {
		width: 86%;
		margin: 38px auto auto;
		font-size: var(--font-size18);
		line-height: 2.03;
		letter-spacing: 0.07em;
	}

	/* service_differences */
	#service>div#service_differences {
		margin: 43px auto 0;
		padding: 33px 18px 35px;
	}

	#service>div#service_differences h2 {
		font-size: var(--font-size185);
		letter-spacing: 0.26em;
	}

	#service>div#service_differences ul {
		margin-top: 23px;
	}

	#service>div#service_differences ul li {
		gap: 1em;
		font-size: var(--font-size11);
		font-feature-settings: 'palt';
	}

	#service>div#service_differences ul li+li {
		margin-top: 6px;
	}

	#service>div#service_differences p.note {
		margin-top: 6px;
		font-size: var(--font-size10);
		line-height: 1.5;
	}

	#service>div#service_pics {
		gap: 25px;
		width: 85%;
		margin: 78px auto 0;
	}

	#service>div#service_pics>div {
		transform-origin: center top;
		scale: 1.5;
		width: 100%;
		height: 170px;
	}

	#service>div#service_pics>div h2 {
		color: var(--color_white);
	}

	#service>div#service_pics>div h2 span.t1 {
		width: 100%;
		margin: auto auto auto -6px;
		font-size: var(--font-size18);
		letter-spacing: 0.02em;
		text-align: center;
	}

	#service>div#service_pics>div h2 span.t2 {
		width: 100%;
		margin: 9px auto auto -6px;
		font-size: var(--font-size30);
		letter-spacing: 0.06em;
		text-align: center;
	}

	#service>div#service_pics>div h2 span.t3 {
		width: 100%;
		margin: 4px auto auto -6px;
		font-size: var(--font-size30);
		letter-spacing: 0.06em;
		text-align: center;
	}

	#service>div#service_pics>div h2 span.t4 {
		display: block;
		width: 198px;
		margin: 8px auto auto auto;
		font-size: var(--font-size10);
		text-align: right;
	}

	#service>div#service_pics>ul {
		gap: 16px 14px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		width: 105%;
		margin-left: -2.5%;
	}

	#service>div#service_pics>ul figure figcaption {
		margin-top: 9px;
		font-size: var(--font-size14);
	}
}

@media screen and (max-width: 600px) {
	#service>div#service_lead h1 {
		max-width: 400px;
	}

	#service>div#service_lead h1 span.t1 {
		margin-left: 2px;
		font-size: var(--font-size21);
	}

	#service>div#service_lead h1 span.t2 {
		margin-left: 0;
		font-size: var(--font-size16);
	}

	#service>div#service_lead h1 span.t3 {
		transform: translateY(9px);
		font-size: var(--font-size30);
	}

	#service>div#service_lead h1 span.t3::before {
		transform: translateX(-3px) translateY(-5px);
		font-size: var(--font-size24);
	}

	#service>div#service_lead h1 span.t3::after {
		transform: translateX(0px) translateY(4px);
		font-size: var(--font-size24);
	}

	#service>div#service_lead p {
		width: 90%;
		margin: 38px auto auto 7%;
		font-size: var(--font-size14);
		line-height: 2.03;
		letter-spacing: 0.07em;
	}

	#service>div#service_pics>div {
		scale: 1;
		width: 100%;
		height: unset;
	}
}

@media screen and (max-width: 374px) {
	#service>div#service_lead h1 {
		max-width: 90%;
		margin-left: 20px;
	}

	#service>div#service_lead p {
		width: 90%;
	}

	#service>div#service_lead p br {
		display: none !important;
	}

	#service>div#service_differences ul li br.sp {
		display: none;
	}
}

/*----------------------------------------
	works
-----------------------------------------*/
#works {
	z-index: 10;
	position: relative;
	width: 100%;
	padding-bottom: 200px;
	overflow: hidden;
	background: var(--color_sub) url(../img/vector_works.svg) no-repeat right calc((100% - 755px) / 2) top -63px;
	background-size: auto 477px;

	grid-auto-flow: column dense;
}

#works>div.sec_heading {
	width: min(90%, 1006px);
	margin: 200px auto 0;
}

#works>div.sec_heading h1 {
	padding-right: 0.15em;
	color: var(--color_text);
	font-weight: 900;
	font-size: var(--font-size80);
	font-style: italic;
	line-height: 1;
	text-align: center;
	letter-spacing: 0.075em;
}

/* loop */
#works>div.loop {
	min-width: 1532px;
	width: 100%;
	margin: 98px 0 50px;
}

#works>div.loop .swiper-wrapper {
	transition-timing-function: linear !important;
}

/* task */
#works .task {
	display: grid;
	grid-template-columns: 194px 1fr;
	align-items: center;
	width: min(65.6%, 1006px);
	min-height: 121px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#works #task2 {
	min-height: 102px;
}

#works #task3 {
	min-height: 102px;
}

#works .task h2 {
	display: flex;
	align-items: center;
	padding: 20px 0 21px 23px;
}

#works #task2 h2,
#works #task3 h2 {
	padding: 30px 0 21px 23px;
}

#works .task h2 span:nth-of-type(1) {
	display: block;
	font-weight: 700;
	font-size: var(--font-size20);
	line-height: 1;
	font-family: var(--font-family-montserrat);
	letter-spacing: 0.07em;
}

#works .task h2 span:nth-of-type(2) {
	display: block;
	margin-left: 38px;
	font-weight: 700;
	font-size: var(--font-size32);
	line-height: 1;
	letter-spacing: 0.1em;
}

#works .task p {
	padding: 18px 18px 18px 0;
	font-size: var(--font-size18);
	line-height: 1.5;
	font-feature-settings: initial;
	letter-spacing: 0.065em;
}

#works #task2 p,
#works #task3 p {
	padding: 26px 18px 18px 0;
}

#works .task p br.sp {
	display: none;
}

/* note */
#works .note {
	width: min(65.6%, 1006px);
	margin: 30px auto 0;
}

#works .note p {
	display: flex;
	justify-content: flex-end;
	font-size: var(--font-size18);
	letter-spacing: 0.1em;
}

#works .note p::before {
	content: '※';
	display: inline-block;
}

/* timeschedule */
#works .timeschedule {
	position: relative;
	width: min(65.6%, 1006px);
	margin: 50px auto 0;
	background-color: #e3e6eb;
}

#works .timeschedule .swiper>p {
	font-weight: 600;
	font-size: var(--font-size24);
	line-height: 1.3;
	font-feature-settings: initial;
	letter-spacing: 0.08em;
	text-align: center;
}

#works .timeschedule .swiper>p span {
	display: inline-block;
	font-size: var(--font-size20);
	text-align: center;
}

#works .timeschedule .swiper {
	padding: 45px 40px 50px;
}

#works .timeschedule .swiper-wrapper {
	margin-top: 46px;
}

#works .timeschedule .swiper-slide {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: start;
}

#works .timeschedule .swiper-slide figure {
	width: min(70%, 141px);
	user-select: none;

	-webkit-user-select: none;
}

#works .timeschedule .swiper-slide figure figcaption {
	width: 160%;
	margin-left: -30%;
	color: var(--color_primary);
	font-weight: 900;
	font-size: var(--font-size32);
	line-height: 1.8;
	font-family: var(--font-family-montserrat);
	letter-spacing: 0.05em;
	text-align: center;
}

#works .timeschedule .swiper-slide p {
	font-size: var(--font-size18);
	line-height: 1.5;
	letter-spacing: 0.05em;
	font-feature-settings: initial;
}

.swiper-button-prev {
	left: -43px !important;
	color: rgba(255, 255, 255, 0) !important;
	transition: opacity 0.15s ease-out;
	user-select: none;

	-webkit-user-select: none;
}

.swiper-button-next {
	right: -43px !important;
	transform: rotateZ(180deg);
	color: rgba(255, 255, 255, 0) !important;
	transition: opacity 0.15s ease-out;
	user-select: none;

	-webkit-user-select: none;
}

@media (hover: hover) {
	.swiper-button-prev:hover,
	.swiper-button-next:hover {
		opacity: 0.6 !important;
	}
}

.swiper-button-disabled {
	opacity: 0.1 !important;
}

.swiper-button-prev:active,
.swiper-button-next:active {
	opacity: 0.3 !important;
}

@media screen and (max-width: 900px) {
	#works>div.sec_heading {
		display: grid;
		gap: 50px;
		grid-template-columns: 1fr;
		margin: 200px auto 0;
	}

	#works>div.sec_heading h1 {
		text-align: center;
	}
}

/* sp */
@media screen and (max-width: 768px) {
	#works {
		padding-bottom: 75px;
		background: var(--color_sub) url(../img/vector_works.svg) no-repeat right calc((100% - 52px) / 2) top -32px;
		background-size: auto 15.8%;
	}

	#works>div.sec_heading {
		gap: 28px;
		grid-template-columns: 1fr;
		width: 79%;
		margin: 78px auto 0;
	}

	#works>div.sec_heading h1 {
		font-size: var(--font-size32);
	}

	/* loop */
	#works>div.loop {
		min-width: 100%;
		width: 100%;
		margin: 49px 0 25px;
	}

	/* task */
	#works .task {
		grid-template-columns: 1fr;
		align-items: center;
		width: 79%;
		min-height: unset;
		margin: auto;
	}

	#works #task2 {
		margin-top: 24px;
	}

	#works #task3 {
		margin-top: 24px;
	}

	#works .task h2 {
		display: block;
		padding: 0;
		text-align: center;
	}

	#works #task2 h2,
	#works #task3 h2 {
		padding: 0;
	}

	#works .task h2 span:nth-of-type(1) {
		font-size: var(--font-size15);
		letter-spacing: 0.07em;
	}

	#works .task h2 span:nth-of-type(2) {
		margin: 3px auto 0;
		font-size: var(--font-size21);
		letter-spacing: 0.07em;
	}

	#works .task p {
		padding: 10px 0 8px;
		font-size: var(--font-size15);
		line-height: 1.5;
		font-feature-settings: 'palt';
		letter-spacing: 0.065em;
	}

	#works #task2 p,
	#works #task3 p {
		padding: 10px 0 8px;
	}

	#works .task p span {
		display: inline-block;
	}

	#works .task p br.sp {
		display: inline;
	}

	/* note */
	#works .note {
		width: 79%;
		margin: 30px auto 0;
	}

	#works .note p {
		font-size: var(--font-size15);
		line-height: 1.5;
	}

	/* timeschedule */
	#works .timeschedule {
		width: 78.5%;
		margin: 40px auto 0;
	}

	#works .timeschedule .swiper>p {
		font-size: var(--font-size15);
		letter-spacing: 0.08em;
	}

	#works .timeschedule .swiper>p span {
		font-size: var(--font-size12);
	}

	#works .timeschedule .swiper {
		padding: 26px 25px;
	}

	#works .timeschedule .swiper-wrapper {
		margin-top: 24px;
	}

	#works .timeschedule .swiper-slide figure figcaption {
		width: 160%;
		margin-left: -30%;
		font-size: var(--font-size21);
		line-height: 1.8;
		letter-spacing: 0.05em;
	}

	#works .timeschedule .swiper-slide p {
		width: fit-content;
		font-size: var(--font-size12);
		letter-spacing: 0.05em;
	}

	.swiper-button-prev {
		left: -10px !important;
		width: 11px !important;
	}

	.swiper-button-next {
		right: -10px !important;
		width: 11px !important;
	}
}

/*----------------------------------------
	strength
-----------------------------------------*/
#strength {
	z-index: 11;
	position: relative;
	width: 100%;
	padding-bottom: 213px;
	overflow: hidden;
	background-color: var(--color_primary);
	background-image: url(../img/vector_strength01.svg), url(../img/vector_strength02.svg);
	background-repeat: no-repeat, no-repeat;
	background-position: right calc((100% - 794px) / 2) top -63px, left calc((100% - 264px) / 2) bottom -5px;
	background-size: auto 548px, auto 976px;
}

#strength>div {
	width: min(65.6%, 1006px);
	margin: 200px auto 0;
}

#strength>div h1 {
	width: 440px;
}

#strength>div h1 span {
	display: inline-block;
	color: var(--color_white);
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	font-feature-settings: initial;
	letter-spacing: 0.07em;
}

#strength>div h1 span.t1 {
	margin-left: 4px;
	font-size: var(--font-size52);
}

#strength>div h1 span.t2 {
	font-size: var(--font-size42);
}

#strength>div h1 span.t3 {
	margin: 16px auto auto 8px;
	font-weight: 700;
	font-size: var(--font-size80);
	font-family: var(--font-family-montserrat);
}

#strength>div h1 span.t4 {
	margin-left: -7px;
	font-size: var(--font-size80);
}

#strength>div h1 span.t5 {
	margin-left: -4px;
	font-size: var(--font-size70);
}

#strength>div h1 span.t6 {
	font-size: var(--font-size80);
}

/* strength_grid */
#strength .strength_grid {
	display: grid;
	gap: 66px min(10%, 100px);
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
	align-items: start;
	margin: 100px auto 0;
}

#strength .strength_grid .strength_item {
	display: grid;
	gap: 20px 0;
	grid-template-rows: auto auto 1fr;
	grid-row: span 3;
	align-self: stretch;
}

#strength .strength_grid .strength_item:nth-of-type(5) {
	grid-column: span 2 / span 2;
	max-width: 453px;
	margin: auto;
}

#strength .strength_grid .strength_item h2 {
	width: 120%;
	margin-left: -10%;
}

#strength .strength_grid .strength_item h2 span {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	color: var(--color_white);
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

#strength .strength_grid .strength_item h2 span>span {
	display: inline-block;
}

#strength .strength_grid .strength_item h2 span.t1 {
	margin-top: -3px;
	font-size: var(--font-size38);
	font-family: var(--font-family-montserrat);
}

#strength .strength_grid .strength_item h2 span.t2 {
	margin-top: 17px;
	font-size: var(--font-size30);
	letter-spacing: 0.1em;
}

#strength .strength_grid .strength_item figure {
	z-index: 10;
	position: relative;
	transform: translateY(25px);
	width: auto;
	height: 96px;
	height: fit-content;
	margin: auto;
}

#strength .strength_grid .strength_item p {
	transform: translateY(-15px);
	padding: 2.5em 2.7em;
	background-color: var(--color_primary2);
	color: var(--color_white);
	font-size: var(--font-size18);
	line-height: 1.5;
	letter-spacing: 0.1em;
}

/* sp */
@media screen and (max-width: 768px) {
	#strength {
		width: 100%;
		padding-bottom: 89px;
		overflow: hidden;
		background-color: var(--color_primary);
		background-image: url(../img/vector_strength01_sp.svg), url(../img/vector_strength02.svg);
		background-repeat: no-repeat, no-repeat;
		background-position: right calc((100% - 32px) / 2) top -32px, left calc((100% + 197px) / 2) bottom -2px;
		background-size: auto 273px, auto 490px;
	}

	#strength>div {
		width: 79%;
		margin: 73px auto 0;
	}

	#strength>div h1 {
		width: fit-content;
		margin: auto;
	}

	#strength>div h1 span {
		letter-spacing: 0.07em;
	}

	#strength>div h1 span.t1 {
		margin-left: -2px;
		font-size: var(--font-size22);
	}

	#strength>div h1 span.t2 {
		font-size: var(--font-size17);
	}

	#strength>div h1 br.sp {
		display: inline;
	}

	#strength>div h1 span.t3 {
		transform: translateY(-2px);
		margin: 0 auto auto 0;
		font-size: var(--font-size39);
	}

	#strength>div h1 span.t4 {
		transform: translateY(-2px);
		margin-left: -3px;
		font-size: var(--font-size36);
	}

	#strength>div h1 span.t5 {
		transform: translateY(-2px);
		margin-left: 0;
		font-size: var(--font-size31);
	}

	#strength>div h1 span.t6 {
		transform: translateY(-2px);
		margin-left: -1px;
		font-size: var(--font-size36);
	}

	/* strength_grid */
	#strength .strength_grid {
		display: block;
		margin: 45px auto 0;
	}

	#strength .strength_grid .strength_item {
		display: block;
	}

	#strength .strength_grid .strength_item:nth-of-type(n+2) {
		margin-top: 44px;
	}

	#strength .strength_grid .strength_item:nth-of-type(5) {
		max-width: 100%;
		margin: unset;
		margin-top: 44px;
	}

	#strength .strength_grid .strength_item h2 {
		width: 120%;
		margin-left: -10%;
	}

	#strength .strength_grid .strength_item h2 span.t1 {
		margin-top: -3px;
		font-size: var(--font-size24);
	}

	#strength .strength_grid .strength_item h2 span.t2 {
		margin-top: 9px;
		font-size: var(--font-size20);
		letter-spacing: 0.1em;
	}

	#strength .strength_grid .strength_item figure {
		transform: translateY(0);
		width: 60px;
		height: 48px;
	}

	#strength .strength_grid .strength_item figure img {
		transform: translateY(25px);
		width: auto;
		height: 100%;
	}

	#strength .strength_grid .strength_item p {
		transform: translateY(14px);
		padding: 1.6em 1.5em 1.4em;
		font-size: var(--font-size15);
		letter-spacing: 0.1em;
	}
}


/*----------------------------------------
	prefecture
-----------------------------------------*/
#prefecture {
	z-index: 12;
	position: relative;
	width: 100%;
	padding-bottom: 314px;
	overflow: hidden;
	background-color: var(--color_sub);
	background-image: url(../img/vector_prefenture.svg), url(../img/japan.svg);
	background-repeat: no-repeat, no-repeat;
	background-position: right calc((100% - 782px) / 2) top -64px, right calc((100% - 285px) / 2) bottom 200px;
	background-size: auto 478px, auto 815px;
}

#prefecture>div {
	width: min(65.6%, 1006px);
	margin: 198px auto 0;
}

#prefecture>div h1 {
	width: 640px;
}

#prefecture>div h1 span {
	display: inline-block;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.07em;
}

#prefecture>div h1 span.t1 {
	margin-left: -1px;
	font-size: var(--font-size61);
}

#prefecture>div h1 span.t2 {
	font-size: var(--font-size51);
}

#prefecture>div h1 span.t3 {
	margin: 10px auto auto -1px;
	font-size: var(--font-size61);
}

#prefecture>div h1 span.t4 {
	margin-left: -1px;
	font-size: var(--font-size51);
}

#prefecture>div h1 span.t5 {
	font-size: var(--font-size61);
}

/* prefecture_grid */
.prefecture_grid {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 35px 32px;
	align-content: flex-start;
	max-width: 514px;
	max-height: 900px;
	margin: 100px auto 0 3px;
}

.prefecture_grid>div {
	width: calc((100% - 64px)/3);
}

.prefecture_grid>div.mb100 {
	margin-bottom: 200px;
}

.prefecture_grid h2 {
	font-weight: 700;
	font-size: var(--font-size18);
	line-height: 2.4;
	letter-spacing: 0.1em;
}

.prefecture_grid h2 a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	transition: color 0.3s;
}

.prefecture_grid h2 a::after {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	background: transparent url(../img/btn_pc.svg) no-repeat center center;
	background-size: 15px 15px;
	transition: transform 0.3s;
}

@media (hover: hover) {
	.prefecture_grid h2 a:hover {
		color: rgba(46, 46, 46, 0.4);
	}

	.prefecture_grid h2 a:hover::after {
		transform: translateX(0.25em);
	}
}

.prefecture_grid p {
	font-weight: 700;
	font-size: var(--font-size11);
	line-height: 1;
	letter-spacing: 0.18em;
}

.prefecture_grid ul {
	display: grid;
	gap: 5px;
	grid-template-columns: 1fr 1fr;
	width: 150px;
	margin-top: 8px;
	padding-top: 15px;
	border-top: 1px solid var(--color_primary);
}

.prefecture_grid h2+ul {
	margin-top: 3px;
}

.prefecture_grid p+ul {
	margin-top: 8px;
}

.prefecture_grid ul li {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px;
	background-color: var(--color_white);
	font-size: var(--font-size12);
	line-height: 1;
}

@media screen and (max-width: 1100px) {
	#prefecture {
		background-size: auto 478px, auto 68vw;
	}
}

@media screen and (max-width: 900px) {
	#prefecture {
		padding-bottom: 160px;
		background-position: right calc((100% - 782px) / 2) top -64px, right calc((100% - 340px) / 2) bottom 86px;
	}

	.prefecture_grid {
		gap: 35px 32px;
	}
}

/* sp */
@media screen and (max-width: 768px) {
	#prefecture {
		padding-bottom: 288px;
		background-image: url(../img/vector_prefenture.svg), url(../img/japan_sp.svg);
		background-repeat: no-repeat, no-repeat;
		background-position: right calc((100% - 24px) / 2) top -32px, center bottom 76px;
		background-size: auto 237px, auto min(102.3vw, 390px);
	}

	#prefecture>div {
		width: 89.3%;
		margin: 79px auto 0;
	}

	#prefecture>div h1 {
		width: 278px;
		margin: auto;
		line-height: 1.5;
	}

	#prefecture>div h1 span.t1 {
		margin-left: -1px;
		font-size: var(--font-size27);
	}

	#prefecture>div h1 span.t2 {
		font-size: var(--font-size22);
	}

	#prefecture>div h1 span.t3 {
		margin: 9px auto auto 1px;
		font-size: var(--font-size27);
	}

	#prefecture>div h1 span.t4 {
		margin-left: 0;
		font-size: var(--font-size22);
	}

	#prefecture>div h1 span.t5 {
		font-size: var(--font-size27);
	}

	/* prefecture_grid */
	.prefecture_grid {
		flex-direction: row;
		gap: 26px 20px;
		align-content: flex-start;
		max-width: 500px;
		width: 100%;
		max-height: 1200px;
		margin: 37px auto 0;
	}

	.prefecture_grid>div {
		width: calc((100% - 20px)/2);
	}

	/* 微調整 */
	.prefecture_grid>div:nth-of-type(3) {
		margin-top: -27px;
	}

	.prefecture_grid>div:nth-of-type(5) {
		margin-top: -27px;
	}

	.prefecture_grid>div:nth-of-type(14) {
		margin-top: -52px;
	}

	.prefecture_grid>div.mb100 {
		margin-bottom: 0;
	}

	.prefecture_grid h2 {
		font-size: var(--font-size17);
	}

	.prefecture_grid h2 a::after {
		width: 17px;
		height: 17px;
		background-size: 17px 17px;
	}

	.prefecture_grid p {
		margin-top: 5px;
		font-size: var(--font-size105);
		letter-spacing: 0.18em;
	}

	.prefecture_grid ul {
		display: grid;
		gap: 4px 5px;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		padding-top: 15px;
		border-top: 1px solid var(--color_primary);
	}

	.prefecture_grid h2+ul {
		margin-top: 3px;
	}

	.prefecture_grid p+ul {
		margin-top: 13px;
	}

	.prefecture_grid ul li {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 5px;
		background-color: var(--color_white);
		font-size: var(--font-size12);
		line-height: 1;
	}
}

/* sp */
@media screen and (max-width: 500px) {
	.prefecture_grid {
		flex-direction: row;
		background-position: right calc((100% - 22px) / 2) top -32px, center bottom 76px;
		background-size: auto 14.6%, auto min(102.3vw, 390px);
	}
}

/*----------------------------------------
	aside
-----------------------------------------*/
aside {
	z-index: 13;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	position: relative;
	margin: auto;
	padding: 97px 0 99px;
	background-color: var(--color_white);
}

aside p {
	font-size: var(--font-size11);
	letter-spacing: 0.1em;
}

aside ul {
	display: flex;
	gap: 1.5em;
}

aside ul li {
	color: var(--color_primary);
	font-size: var(--font-size14);
	letter-spacing: 0.1em;
}

aside ul li:nth-of-type(3) {
	display: none;
}

aside ul li a {
	display: flex;
	align-items: center;
	transition: color 0.3s ease-out;
}

aside ul li a::after {
	content: '';
	display: block;
	opacity: 1;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
	background: transparent url(../img/ic_browser01.svg) no-repeat center center;
	transition: transform 0.2s ease-out;
}

@media (hover: hover) {
	aside ul li a:hover {
		color: rgba(13, 83, 177, 0.6);
		transition: color 0.2s ease-out;
	}

	aside ul li a:hover::after {
		transform: translate(0.25em);
	}
}

aside small {
	font-size: var(--font-size11);
	letter-spacing: 0.1em;
}

/* sp */
@media screen and (max-width: 768px) {
	aside {
		gap: 10px;
		width: 84.3%;
		padding: 48px 0 48px;
	}

	aside p {
		font-size: var(--font-size11);
		letter-spacing: 0.05em;
	}

	aside ul {
		display: flex;
		flex-wrap: wrap;
		gap: 2px 1em;
		justify-content: center;
	}

	aside ul li {
		font-size: var(--font-size14);
	}

	aside ul li:nth-of-type(3) {
		display: block;
		width: 100%;
		padding-top: 2px;
		border-top: 1px solid rgba(0, 0, 0, 0.3);
	}

	aside ul li:nth-of-type(3) a {
		justify-content: center;
	}

	aside small {
		font-size: var(--font-size10);
	}
}

/*----------------------------------------
	pagetop
-----------------------------------------*/
.pagetop {
	z-index: 14;
	display: flex;
	justify-content: flex-end;
	position: relative;
	width: 100%;
	height: 0;
	margin: auto;
}

.pagetop span {
	display: block;
	transform: translateX(-30px) translateY(-104px);
	width: 74px;
	height: 74px;
	background-color: var(--color_primary);
	cursor: pointer;
	caret-color: transparent;
	transition: background-color 0.3s ease-out;
}

/* hover */
@media (hover: hover) {
	.pagetop span:hover {
		background-color: var(--color_sub2);
		transition: background-color 0.2s ease-out;
	}
}

@media screen and (max-width: 768px) {
	.pagetop span {
		transform: translateX(-15px) translateY(-52px);
		width: 37px;
		height: 37px;
	}
}


/*----------------------------------------
	footer
-----------------------------------------*/
footer {
	z-index: 1000;
	position: fixed;
	bottom: -200px;
	width: 100%;
	background-color: var(--color_primary);
	transition: bottom 0.6s ease-out;
}

.scrolled footer {
	bottom: 0;
}

footer>div {
	display: grid;
	gap: 0 1.1em;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: 1fr 1fr;
	align-items: center;
	position: relative;
	width: min(70%, 1006px);
	height: 88px;
	margin: auto;
}

footer>div>p {
	color: var(--color_white);
	font-size: var(--font-size15);
	letter-spacing: 0.05em;
}

footer>div p#comment {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	letter-spacing: 0.11em;
}

footer>div p#tel {
	display: flex;
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	align-items: center;
	margin-top: 17px;
	margin-left: 0.05em;
	color: var(--color_white);
	font-weight: 900;
	font-size: var(--font-size29);
	line-height: 1;
	font-family: var(--font-family-montserrat);
	letter-spacing: 0.05em;
}

footer>div p#tel::before {
	content: '';
	display: block;
	width: 17px;
	height: 19px;
	margin-right: 0.3em;
	background: transparent url(../img/ic_tel.svg) no-repeat center center;
	background-size: contain;
	line-height: 1;
}

footer>div p#time {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	margin-bottom: 16px;
	color: var(--color_white);
	font-size: var(--font-size14);
	letter-spacing: 0.1em;
}

footer>div p#time span {
	display: inline-block;
}

footer>div p#time span+span {
	margin-left: 1em;
}

footer>div #inquiry {
	grid-column: 3 / 4;
	grid-row: 1 / 3;
}

footer>div #inquiry a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 254px;
	height: 54px;
	background-color: var(--color_sub);
	color: var(--color_primary);
	font-weight: 700;
	font-size: var(--font-size18);
	letter-spacing: 0.1em;
	transition: background-color 0.3s ease-out;
}

footer>div #inquiry a::after {
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
	background: transparent url(../img/ic_browser01.svg) no-repeat center center;
	background-size: contain;
}

@media (hover: hover) {
	footer>div #inquiry a:hover {
		background-color: var(--color_sub2);
		transition: background-color 0.2s ease-out;
	}
}

@media screen and (max-width: 1200px) {
	footer>div {
		display: grid;
		gap: 0 1.1em;
		align-items: center;
		height: fit-content;
		padding: 12px 0;
	}

	footer>div p#comment {
		font-size: var(--font-size12);
	}

	footer>div p#tel {
		margin-top: initial;
		font-size: var(--font-size24);
	}

	footer>div p#time {
		margin-bottom: initial;
		font-size: var(--font-size12);
	}

	footer>div p#time span+span {
		margin-left: 1em;
	}

	footer>div #inquiry a {
		display: flex;
		justify-content: center;
		align-items: center;
		/*width: 254px;
		height: 54px;*/
		background-color: var(--color_sub);
		color: var(--color_primary);
		font-weight: 700;
		/*font-size: var(--font-size18);*/
		letter-spacing: 0.1em;
		transition: background-color 0.3s ease-out;
		width: 154px;
		height: 39px;
		font-size: var(--font-size14);
	}

	footer>div #inquiry a::after {
		content: '';
		display: block;
		width: 1em;
		height: 1em;
		margin-left: 0.5em;
		background: transparent url(../img/ic_browser01.svg) no-repeat center center;
		background-size: contain;
	}
}

@media screen and (max-width: 900px) {
	footer>div {
		width: min(80%, 630px);
	}
}

/* sp */
@media screen and (max-width: 768px) {
	footer>div {
		gap: 0 15px;
		width: fit-content;
		padding: 6px 0 5px;
	}

	footer>div p#comment {
		grid-column: 1 / 3;
		grid-row: 1 / 2;
		font-size: var(--font-size12);
	}

	footer>div p#tel {
		grid-column: 1 / 3;
		grid-row: 2 / 3;
		margin-top: 0;
		font-size: var(--font-size20);
		letter-spacing: 0.02em;
	}

	footer>div p#tel::before {
		width: 12px;
		height: 14px;
		margin-right: 0.3em;
	}

	footer>div p#time {
		grid-column: 1 / 4;
		grid-row: 3 / 4;
		margin-bottom: 0;
		font-size: var(--font-size12);
		text-align: center;
	}

	footer>div #inquiry {
		grid-column: 3 / 4;
		grid-row: 1 / 3;
	}

	footer>div #inquiry a {
		width: 154px;
		height: 39px;
		font-size: var(--font-size14);
	}

	footer>div #inquiry a::after {
		content: '';
		display: block;
		width: 1em;
		height: 1em;
		margin-left: 0.5em;
		background: transparent url(../img/ic_browser01.svg) no-repeat center center;
		background-size: contain;
	}
}

@media screen and (max-width: 374px) {
	footer>div {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 6px 0 5px;
	}

	footer>div p#comment {
		order: 1;
	}

	footer>div p#tel {
		order: 2;
		margin-top: 5px;
	}

	footer>div p#time {
		order: 4;
	}

	footer>div #inquiry {
		order: 3;
		margin: 10px 0;
	}
}
