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

footer

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

.footer {
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--80);
	background-color: var(--wp--preset--color--base);
	position: relative;
}

.footer .sp-logo {
	display: none;
}

.footer .nav-wrap {
	padding-bottom: var(--wp--preset--spacing--60);
}

.footer .custom-logo-link {
	border: none !important;
}

.footer .custom-logo-link img {
	transition: all .4s;
}

.footer .nav-menu {
	gap: .5em;
}

.bottom-nav {
	gap: 2em;
	align-items: stretch;
	padding-right: 2em;
	border-right: solid 1px var(--wp--preset--color--light-gray);
}

.bottom-nav .menu-list {
	border-left: solid 1px var(--wp--preset--color--light-gray);
	padding-left: 2em;
}

.copyright {
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--12);
	padding-bottom: 130px;
}

.wp-block-template-part:has( #page-top ) {
	margin: 0;
}

body:has( .efo-form ) .btn-wrap:has( > #page-top ) {
	display: none;
}

.btn-wrap:has( > #page-top ) {
	position: absolute;
	top: 0;
	right: 0;
	color: var( --wp--preset--color--contrast);
	font-weight: 600;
	line-height: 1.5;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	transition: all .2s;
}

.btn-wrap:has( > #page-top ).active {
	opacity: 1;
	visibility: visible;
	z-index: 99;
}

.btn-wrap:has( > #page-top ).fixed {
	position: fixed;
	top: auto;
	bottom: 0;
}

#page-top {
	padding-top: 64px;
	position: relative;
	top: -125px;
	right: var(--wp--preset--spacing--40);
	cursor: pointer;
}

#page-top::before {
	font-family: "Material Symbols Outlined";
	font-variation-settings:
		'FILL' 0,
		'wght' 300;
	content: '\e5d8';
	display: inline-block;
	width: 56px;
	height: 56px;
	line-height: 54px;
	border: solid 2px var(--wp--preset--color--primary);
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--24);
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	transition: all .2s;
}

#page-top p {
	display: none;
}

.wp-block-template-part:has( #sp-fix ) {
	margin: 0;
}

#wpadminbar {
	display: none;
}

#bottom-fix {
	display: grid;
	place-content: center;
	height: 120px;
	background-color: var(--wp--preset--color--custom-purple);
	color: var(--wp--preset--color--base);
	margin: 0 !important;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	z-index: -99;
	transform: translateY( 100% );
	transition: all .2s;
}

#bottom-fix.active {
	opacity: 1;
	visibility: visible;
	z-index: 99;
	transform: none;
}

#bottom-fix .floating-bnr {
	gap: var(--wp--preset--spacing--30);
}

#bottom-fix .tel-block {
	gap: 0;
	font-size: var(--wp--preset--font-size--14);
	line-height: 1;
}

#bottom-fix .tel-block .mes em {
	font-size: var(--wp--preset--font-size--16);
	font-style: normal;
}

#bottom-fix .tel-block .mes strong {
	display: inline-block;
	color: var(--wp--preset--color--base);
	border: solid 1px var(--wp--preset--color--base);
	line-height: 1.5;
	padding: .1em .4em;
}

#bottom-fix .tel-block .is-style-tel-icon a {
	color: #ffe017;
	font-size: var(--wp--preset--font-size--48);
	font-weight: 500;
	line-height: .8;
	letter-spacing: 0;
	transform: translateY(-4px);
}

#bottom-fix .tel-block .is-style-tel-icon::before {
	width: 48px;
	height: 48px;
	background: url(../img/page/common/2x/phone.png) center center / contain no-repeat;
	margin-right: 8px;
	transform: translateY(1px);
}

#bottom-fix .tel-block .note em {
	font-size: var(--wp--preset--font-size--16);
	font-style: normal;
}

#bottom-fix .tel-block .note a {
	color: var(--wp--preset--color--base);
}

#bottom-fix .time-block {
	gap: 24px;
}

#bottom-fix .time-block .balloon {
	font-family: "Noto Serif JP", serif;
	line-height: 1.5;
	border: solid 2px var(--wp--preset--color--base);
	padding: .5em 1.5em;
	border-radius: 3em;
	position: relative;
}

#bottom-fix .time-block .balloon::before,
#bottom-fix .time-block .balloon::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border-style: solid;
	border-width: 8px 0 8px 12px;
}

#bottom-fix .time-block .balloon::before {
	border-color: transparent transparent transparent var(--wp--preset--color--base);
	right: -12px;
	z-index: 1;
}

#bottom-fix .time-block .balloon::after {
	border-color: transparent transparent transparent var(--wp--preset--color--custom-purple);
	right: -8px;
	z-index: 2;
}

#bottom-fix .time-block .img {
	width: 80px;
}

#bottom-fix .btn-set {
	gap: var(--wp--preset--spacing--10) !important;
}

#bottom-fix .wp-block-buttons .wp-block-button__link {
	width: 200px;
	height: 80px;
	padding: .4em !important;
	font-family: "Roboto", sans-serif;
	/*font-size: var(--wp--preset--font-size--20);*/
	font-weight: 600;
	line-height: 1.5;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba( 0, 0, 0, .5 );
	border: none;
}

#bottom-fix .wp-block-buttons .wp-block-button__link strong {
	font-size: 1.2em;
	font-weight: 600;
	color: var(--wp--preset--color--base);
}

#bottom-fix .wp-block-buttons .wp-block-button.contact-btn .wp-block-button__link {
	background-color: #d64747;
}

#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
	font-size: var(--wp--preset--font-size--18);
	background-color: #00c254;
	padding: .7em !important;
}

@media screen and ( max-width: 1200px ) {

	#bottom-fix .tel-block {
		font-size: var(--wp--preset--font-size--12);
		letter-spacing: 0;
	}

	#bottom-fix .tel-block .mes em {
		font-size: inherit;
	}

	#bottom-fix .tel-block .is-style-tel-icon a {
		font-size: var(--wp--preset--font-size--40);
	}

	#bottom-fix .tel-block .is-style-tel-icon::before {
		width: 40px;
		height: 40px;
	}

	#bottom-fix .tel-block .note em {
		font-size: inherit;
	}

	#bottom-fix .time-block {
		gap: 20px;
	}

	#bottom-fix .time-block .balloon {
		font-size: var(--wp--preset--font-size--14);
	}

	#bottom-fix .wp-block-buttons .wp-block-button__link,
	#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
		width: 160px;
		font-size: var(--wp--preset--font-size--16);
	}

}

@media screen and ( max-width: 1000px ) {

	#page-top {
		top: -110px;
	}

	#bottom-fix {
		height: 100px;
	}

	#bottom-fix .time-block .balloon {
		font-size: var(--wp--preset--font-size--12);
	}

	#bottom-fix .time-block .balloon br.sp {
		display: block !important;
	}

	#bottom-fix .time-block .img {
		width: 64px;
	}

	#bottom-fix .wp-block-buttons .wp-block-button__link,
	#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
		width: 120px;
		font-size: var(--wp--preset--font-size--14);
	}

	.copyright {
		padding-bottom: 110px;
	}

}

@media screen and ( max-width: 800px ) {

	#page-top {
		top: -65px;
	}

	#bottom-fix {
		display: block;
		height: auto;
		background-color: transparent;
	}

	#bottom-fix .floating-bnr {
		width: 100%;
		gap: 2px;
		padding: 2px;
		background-color: var(--wp--preset--color--base);
		box-shadow: 0 0 12px rgba( 0, 0, 0, .25 );
	}

	#bottom-fix .tel-block {
		display: none;
	}

	#bottom-fix .time-block {
		flex: 1.3;
		height: 50px;
		padding: 2px 8px;
		gap: 2px;
		font-family: "Roboto", sans-serif;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.5;
		letter-spacing: 0;
		background-color: var(--wp--preset--color--custom-purple);
		color: var(--wp--preset--color--base);
		gap: var(--wp--preset--spacing--10);
	}

	#bottom-fix .time-block .img {
		width: 40px;
	}

	#bottom-fix .time-block strong {
		font-size: 1.2em;
		color: var(--wp--preset--color--base);
		font-weight: 600;
	}
	

	#bottom-fix .time-block .balloon {
		display: none;
	}

	#bottom-fix .time-block .sp {
		display: block !important;
		flex: 1;
	}

	#bottom-fix .btn-set {
		flex: 2;
		flex-wrap: nowrap;
		gap: 2px !important;
	}

	#bottom-fix .btn-set .wp-block-button {
		flex: 1.2;
	}

	#bottom-fix .wp-block-buttons .wp-block-button.line-btn {
		flex: 0.7;
	}

	#bottom-fix .wp-block-buttons .wp-block-button__link,
	#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
		width: 100%;
		height: 50px;
		border-radius: 0;
		box-shadow: none;
		font-size: 11px;
	}

	#bottom-fix .wp-block-buttons .wp-block-button.contact-btn .wp-block-button__link,
	#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
		background-size: 18px;
		background-position: left 8px center;
		background-repeat: no-repeat;
		/*padding-right: 0 !important;*/
		padding-left: 28px !important;
	}

	#bottom-fix .wp-block-buttons .wp-block-button.contact-btn .wp-block-button__link {
		background-image: url(../img/page/common/2x/icon-mail.png);		
	}

	#bottom-fix .wp-block-buttons .wp-block-button.line-btn .wp-block-button__link {
		background-image: url(../img/page/common/2x/icon-line.png);		
	}

}

/*
#sp-fix {
	display: none;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	z-index: -99;
	transform: translateY( 100% );
	transition: all .2s;
}

#sp-fix .is-style-mail-btn .wp-element-button,
#sp-fix .is-style-tel-btn .wp-element-button {
	display: block;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
}

#sp-fix .btn-hurry {
	height: 60px;
	background-size: 10px;
	padding: 0 2em 0 .8em;
}

#sp-fix .btn-hurry br {
	display: none !important;
}

#sp-fix .link-to-cover-and-group-blocks:has( .btn-hurry ) {
	width: 56vw;
}

#sp-fix .btn-hurry .wp-block-image img {
	width: 24px !important;
}

#sp-fix .btn-contact .wp-block-button__link {
	width: 44vw;
	height: 60px;
	background-position: left 1em center;
	background-size: 24px;
	place-content: center start;
	padding-left: 3.2em;
	font-size: var(--wp--preset--font-size--16);
}
*/

@media screen and ( max-width: 1000px ) {

	footer .has-global-padding > .alignfull {
		gap: 1em;
	}

	.bottom-nav {
		gap: 1em;
		padding-right: 1em;
	}

	.bottom-nav .menu-list {
		padding-left: 1em;
	}

}


@media screen and ( max-width: 750px ) {

	footer {
		padding-top:
	}

	footer > .wp-block-group {
		padding:  var(--wp--preset--spacing--20) 0 0 !important;
	}

	footer .has-global-padding > .alignfull {
		margin-right: 0;
		margin-left: 0;
		gap: 0;
	}

	footer .sp-logo {
		display: block;
		padding: var(--wp--preset--spacing--20) !important;
		margin-bottom: var(--wp--preset--spacing--20);
	}

	footer .btn-set > div {
		flex: 1;
	}

	footer .btn-set .tel-link {
		padding: var( --wp--preset--spacing--20) var( --wp--preset--spacing--20) var(--wp--preset--spacing--20);
		border: solid 1px var( --wp--preset--color--primary );
		background: var( --wp--preset--color--base );
		position: relative;
		transition: all .2s;
	}

	footer .btn-set .wp-block-button {
		width: 100%;
		height: 100%;
	}

	footer .btn-set .is-style-mail-btn .wp-block-button__link {
		display: flex;
		width: 100%;
		height: 100%;
		justify-content: center;
		align-items: center;
	}

	footer .btn-set .is-style-mail-btn .wp-block-button__link::before {
		transform: translateY( 0 );
	}

	.nav-wrap {
		gap: var(--wp--preset--spacing--20) !important;
	}

	.bottom-nav > .wp-block-group {
		gap: 0;
	}

	footer .has-global-padding > .alignfull {
		margin-top: var(--wp--preset--spacing--20);
	}

	.copyright {
		padding-bottom: 64px !important;
	}

	/*
	#sp-fix {
		display: block;
	}

	#sp-fix.active {
		opacity: 1;
		visibility: visible;
		z-index: 99;
		transform: none;
	}
	*/

	#page-top {
		display: none;
		/*
		width: 56px;
		overflow: hidden;
		padding-top: 56px;
		top: -80px;
		right: 1em;
		*/
	}

	#page-top p {
		position: absolute;
		left: -9999px;
	}

}

@media screen and ( max-width: 640px ) {

	.bottom-head {
		flex-direction: column;
		gap: var(--wp--preset--spacing--40);
	}

	.bottom-head > .wp-block-template-part {
		width: 100%;
	}

	.link-to-cover-and-group-blocks:has( .btn-hurry ) {
		width: calc( 100% - 100px );
	}

	.bottom-nav > .wp-block-group > * {
		width: 100%;
		border-bottom: solid 1px var( --wp--preset--color--light-gray );
	}

	.bottom-nav {
		flex-direction: column;
		gap: 0;
		padding: 0;
		border: none;
	}

	.bottom-nav .menu-list {
		padding: 0 !important;
		border: none;
	}

	.bottom-nav a {
		display: block;
		width: 100%;
		padding: var(--wp--preset--spacing--30) !important;
		background: var( --wp--preset--color--base );
		position: relative;
	}

	.bottom-nav a::after {
		display: inline-block;
		width: 32px;
		font-family: 'Material Symbols Outlined';
		content: '\e5cc';
		font-variation-settings:
			'FILL' 0,
			'wght' 200;
		font-size: 1.6em;
		text-align: center;
		color: var(--wp--preset--color--custom-purple);
		line-height: 20px;
		position: absolute;
		top: calc( 50% - 10px );
		right: 5px;
		transition: all .2s;
	}

	.footer-02 .parent a::after {
		content: '\e145';
	}

	.footer-02 .parent a.active::after {
		content: '\e15b';
	}
	
	.footer-02 .sub-menu {
		display: none;
	}

	#sp-fix .btn-hurry br {
		display: block !important;
	}

	#sp-fix .btn-hurry br.sp {
		display: none !important;
	}

}

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

footer-02

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

.footer-02 .menu-list {
	flex: 1;
	gap: .5em;
}

.footer-02 .group {
	pointer-events: none;
}

.footer-02 .sub-menu {
	list-style: none;
	padding-left: var(--wp--preset--spacing--10);
}

.footer-02 .sub-menu li {
	font-size: var(--wp--preset--font-size--14);
	padding-left: var(--wp--preset--spacing--20);
	position: relative;
}

.footer-02 .sub-menu li::before {
	content: '';
	width: var(--wp--preset--spacing--10);
	height: 2px;
	background: var( --wp--preset--color--primary );
	position: absolute;
	top: .8em;
	left: 0;
}

.footer-02 .sub-menu li + li {
	margin-top: 2px;
}

@media screen and ( max-width: 750px ) {

	.footer-02 .group {
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}

	.footer-02 .group {
		pointer-events: auto;
	}

	.footer-02 .group a {
		background: var( --wp--preset--color--primary );
		color: var( --wp--preset--color--base );
	}

	.footer-02 .group a::after {
		content: '\e145';
		color: var( --wp--preset--color--base );
	}

	.footer-02 .group a.open {
		background: var( --wp--preset--color--contrast) !important;
	}

	.footer-02 .group a.open::after {
		content: '\e15b';
	}

	.footer-02 .nav-menu {
		display: none;
		padding: 0 !important;
		gap: 0 !important;
		font-size: var(--wp--preset--font-size--16) !important;
	}

	.footer-02 .parent a {
		text-align: left;
	}

}

@media screen and ( max-width: 640px ) {

	.footer-02 .sub-menu {
		border: none;
	}

	.footer-02 .sub-menu li {
		padding-left: 0;
	}

	.footer-02 .sub-menu {
		width: 100%;
		padding-left: 0;
		background-color: var(--wp--preset--color--light-gray);
	}

	.footer-02 .sub-menu li::before {
		left: var(--wp--preset--spacing--30);
		top: calc( 50% - 1px );
		z-index: 99;
	}

	.footer-02 .sub-menu li + li {
		margin-top: 0;
	}

	.footer-02 .sub-menu a {
		text-align: left;
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--60) !important;
		background-color: transparent;
	}

}

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

hover

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

@media screen and ( min-width: 780px ) {

	footer .custom-logo-link:hover img {
		transform: scale( 1.05 );
	}

	footer a:where(:not(.wp-element-button)):hover {
		border-color: var( --wp--preset--color--contrast);
	}

	#page-top:hover {
		color: var(--wp--preset--color--primary);
	}

	#page-top:hover::before {
		background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--primary);
		line-height: 48px;
	}

}
