@charset "UTF-8";

/* --------------------------------------------
FIXED LINKS
--------------------------------------------- */
body:has( #fixedLinks ){
	@media screen and ( width <= 780px ){
		padding-bottom : calc( 64 * var( --remBase ) );
	}
}
#fixedLinks{
	@media screen and ( width <= 780px ){
		position : fixed;
		bottom : 0;
		left : 0;
		z-index : 5;
		display : grid;
		grid-template-rows : calc( 64 * var( --remBase ) );
		grid-template-columns : repeat( 2 , 50% );
		width : 100%;

		/* translate: 0 100%; */
		a{
			display : grid;
			grid-template-columns : auto auto;
			align-items : center;
			justify-content : center;
			width : 100%;
			height : 100%;
			font-family : source-han-sans-japanese;
			font-size : calc( 16 * var( --remBase ) );
			font-weight : 700;
			line-height : 1.2;
			text-align : center;
			&::before{
				display : block;
				width : auto;
				font-size : 0;
				content : "";
				background-repeat : no-repeat;
				background-position : 0 0;
				background-size : contain;
			}
		}
		a:nth-of-type( 1 ){
			column-gap : calc( 10 * 100% / 195 );
			color : white;
			background-color : #4fba2b;
			&::before{
				height : calc( 23.33 * var( --remBase ) );
				aspect-ratio : 24.48/23.33;
				background-image : url( "../images/ui/sns/line.svg" );
			}
		}
		a:nth-of-type( 2 ){
			column-gap : calc( 12 * 100% / 195 );
			color : #db5549;
			background-color : white;
			outline : solid 1px #db5549;
			outline-offset : -1px;
			&::before{
				height : calc( 23.25 * var( --remBase ) );
				aspect-ratio : 22.88/23.25;
				background-image : url( "../images/ui/icon/calendar.svg" );
			}
		}
	}
}

/* --------------------------------------------
FOOTER
--------------------------------------------- */
#footer{
	height : calc( 323 * var( --remBase ) );
	padding-top : calc( 56 * var( --remBase ) );
	color : white;
	background : image-set( url( "../images/parts/footer/bg@1x.avif" ) type( "image/avif" ) 1x , url( "../images/parts/footer/bg@2x.avif" ) type( "image/avif" ) 2x , url( "../images/parts/footer/bg@1x.webp" ) type( "image/webp" ) 1x , url( "../images/parts/footer/bg@2x.webp" ) type( "image/webp" ) 2x ) left top / 100% auto no-repeat;
	a{
		color : white;
	}
	.logo{
		display : block;
		width : fit-content;
		margin-inline : auto;
		img{
			height : calc( 39.95 * var( --remBase ) );
		}
	}
	dl{
		margin-top : calc( 25 * var( --remBase ) );
		dt , dd{
			text-align : center;
			text-indent : .04em;
			letter-spacing : .04em;
		}
		dt{
			margin-bottom : calc( 20 * var( --remBase ) );
			font-size : calc( 16 * var( --remBase ) );
			font-weight : 400;
			line-height : calc( 24 / 16 );
		}
		dd{
			font-size : calc( 14 * var( --remBase ) );
			line-height : calc( 24 / 14 );
		}
		dd + dd{
			margin-top : calc( 8 * var( --remBase ) );
		}
		dd:nth-of-type( 1 ){
			font-family : source-han-sans-japanese , sans-serif;
		}
		a{
			width : fit-content;
			margin-inline : auto;
			text-decoration : underline;
			text-underline-offset : .05em;
		}
	}
	ul{
		display : grid;
		grid-template-columns : repeat( 2 , 50% );
		margin-top : calc( 38 * var( --remBase ) );
		a{
			display : block;
			width : fit-content;
			margin-inline : auto;
			font-family : source-han-sans-japanese , sans-serif;
			font-size : calc( 14 * var( --remBase ) );
			font-weight : 500;
			line-height : calc( 24 / 14 );
		}
	}
}