/* CSS Document */

#pagePath{
	display: none;
}

#hero{
	grid-column: 1 / 4;
	display: grid;
	&>*{
		grid-column: 1;
		grid-row: 1;
	}
	& h1{
		align-self: center;
		justify-self: center;
		aspect-ratio: 284 / 150;
		width: 80%;
		background: url("../images/heroLogo.svg") center no-repeat;
		background-size: contain;
		font-size: 0;
		z-index: 1;
		@media (min-width: 576px){
			width: min(60%, 800px);
		}
	}
	& figure{
		display: grid;
		&:after{
			content: "";
			grid-column: 1;
			grid-row: 1;
			background: rgba(0, 0, 0, 0.32);
			mix-blend-mode: multiply;
		}
		& img{
			grid-column: 1;
			grid-row: 1;
			aspect-ratio: 3 / 2;
			object-fit: cover;
			@media (min-width: 576px){
				aspect-ratio: 2 / 1;
			}
			@media (min-width: 1440px){
				aspect-ratio: unset;
				height: 600px;
			}
		}
	}
}

#concept{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	@media (min-width: 576px){
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	& header{
		justify-self: center;
		display: grid;
		justify-content: center;
		width: min(var(--wrap-fit), 980px);
		padding: 32px 0;
		@media (min-width: 576px){
			grid-column: 1 / 3;
			grid-template-columns: auto 1fr;
			column-gap: 40px;
		}
		& h2{
			display: none;
		}
		& p{
			-ms-writing-mode: tb-rl;
			writing-mode: vertical-rl;
			font-family: var(--font-min);
			font-size: 4vw;
			line-height: 2.4;
			letter-spacing: 0.1em;
			@media (min-width: 576px){
				margin: 40px 0;
				font-size: min(2.4vw, 20px);
				line-height: 2.5;
			}
			@media (min-width: 768px){
			}
			@media (min-width: 992px){
				margin: 72px 0;
				font-size: 20px;
				line-height: 3;
			}
		}
		& figure{
			justify-self: center;
			width: 50%;
			@media (min-width: 576px){
				order: -1;
				justify-self: stretch;
				width: min(100%, 320px);
			}
		}
	}
	& section{
		display: grid;
		grid-template-rows: 1fr auto 1fr;
		&>*{
			grid-column: 1;
			z-index: 1;
		}
		&:nth-of-type(1){
			&:before{
				-webkit-mask-image: var(--type-noto);
			}
			& h3 span{
				color: var(--color-noto);
			}
		}
		&:nth-of-type(2){
			&:before{
				-webkit-mask-image: var(--type-kanazawa);
			}
			& h3 span{
				color: var(--color-kanazawa);
			}
		}
		&:nth-of-type(3){
			&:before{
				-webkit-mask-image: var(--type-hakusan);
			}
			& h3 span{
				color: var(--color-hakusan);
			}
		}
		&:nth-of-type(4){
			&:before{
				-webkit-mask-image: var(--type-kaga);
			}
			& h3 span{
				color: var(--color-kaga);
			}
		}
		&:before{
			content: "";
			grid-column: 1;
			grid-row: 1;
			align-self: center;
			justify-self: center;
			height: min(80%, 64px);
			aspect-ratio: 280 / 64;
			background: #fff;
			pointer-events: none;
			z-index: 1;
			-webkit-mask-position: center;
			-webkit-mask-repeat: no-repeat;
			-webkit-mask-size: contain;
		}
		& h3{
			grid-row: 2;
			align-self: center;
			justify-self: center;
			padding: 0.125em;
			-ms-writing-mode: tb-rl;
			writing-mode: vertical-rl;
			font-family: var(--font-min);
			font-size: 6vw;
			background: #fff;
			letter-spacing: 0.1em;
			line-height: 1;
			pointer-events: none;
			@media (min-width: 576px){
				font-size: min(2.8vw, 24px);
			}
			@media (min-width: 1200px){
				font-size: 42px;
			}
		}
		& p{
			grid-row: 3;
			align-self: center;
			justify-self: center;
			color: #fff;
			font-family: var(--font-min);
			font-size: 3.4vw;
			letter-spacing: 0.1em;
			pointer-events: none;
			@media (min-width: 576px){
				font-size: min(1.6vw, 18px);
			}
			@media (min-width: 1200px){
				font-size: 20px;
			}
		}
		& figure{
			grid-row: 1 / 4;
			display: grid;
			z-index: unset;
			&:after{
				content: "";
				grid-column: 1;
				grid-row: 1;
				display: grid;
				align-items: center;
				background: rgba(0, 0, 0, 0.32);
				color: #fff;
				font-size: min(10vw, 40px);
				font-family: var(--font-min);
				text-align: center;
				letter-spacing: 0.1em;
				mix-blend-mode: multiply;
				pointer-events: none;
			}
			& a{
				grid-column: 1;
				grid-row: 1;
				display: block;
			}
			& img{
				aspect-ratio: 720 / 500;
				background: #fcc;
			}
		}
	}
	& footer{
		justify-self: center;
		display: grid;
		justify-content: center;
		width: var(--wrap-wide);
		grid-gap: 16px;
		padding: 40px 0;
		@media (min-width: 576px){
			grid-column: 1 / 3;
		}
		@media (min-width: 992px){
			grid-template-columns: repeat(3, 1fr);
			padding: 72px 0;
		}
		& a{
			display: grid;
			grid-template-columns: 40px 1fr;
			align-items: center;
			min-height: 64px;
			padding: 4px 24px;
			background: #fff;
			border: 1px solid var(--color-border);
			border-radius: 32px;
			color: currentColor;
			text-align: center;
			text-decoration: none;
			@media (min-width: 992px){
				min-height: 80px;
				padding: 16px 24px;
				border-radius: 40px;
				font-size: 18px;
			}
			&:nth-child(2){
				&:before{
					background: #9566b2;
					-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M28.7,9.41l-15.52-3.42v3.47h15.52v-.05ZM11,10.55v23.46h18V10.55H11ZM25.89,19.41h-11.78v-4.48h11.78v4.48Z"/></svg>');
				}
			}
			&:nth-child(3){
				&:before{
					background: #cb8d46;
					-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M13.44,36.27h0,0s-.24.06-.24.06c.14.66.33,1.31.55,1.97.06.16.23.22.58.22h0c.6,0,.68-.17.71-.26.22-.63.4-1.28.53-1.93l.06-.3h-2.2v.25ZM26.52,11.61c-.65-.01-1.31,0-2.01,0h-.91c0-.48,0-.96,0-1.43,0-1.32-.01-2.56.02-3.82.03-.78.12-1.55.26-2.29.06-.21.09-.42.08-.63-.02-.53-.24-1.03-.62-1.39-.39-.37-.87-.58-1.41-.54-1.22-.03-2.54-.04-3.86,0-.29,0-.57.05-.83.16-1.01.44-1.48,1.62-1.05,2.61.03.08.06.15.1.22.04.08.08.17.08.22,0,2.26,0,4.53,0,6.89h-2.61c-1.79,0-2.37.59-2.37,2.39,0,6.47,0,12.95,0,19.42,0,1.73.6,2.35,2.3,2.35,2.46,0,4.91.02,7.32.02,1.8,0,3.58,0,5.34,0,1.64,0,2.25-.63,2.25-2.3,0-6.57,0-13.14,0-19.71,0-1.47-.64-2.13-2.09-2.16ZM22.44,10.08c0,.49,0,.98,0,1.48h-4.85s0-.08,0-.08c-.02-.21-.03-.41-.03-.61v-1.14c-.01-1.49-.02-3.03.01-4.54.03-.61.14-1.22.29-1.75.08-.13.22-.22.36-.23.61-.02,1.19-.02,1.74-.02.63,0,1.22,0,1.79.03.16.02.3.12.38.26.16.84.26,1.7.3,2.55.03,1.33.03,2.65.02,4.04ZM23.35,11.86h0s0,0,0,0h0ZM24.63,36.26l-.24.06c.18.68.41,1.35.67,2.01.07.15.23.19.44.19.04,0,.08,0,.13,0,.64-.03.7-.22.73-.31.18-.63.31-1.28.4-1.92l.04-.28h-2.16v.25Z"/></svg>');
				}
			}
			&:before{
				content: "";
				aspect-ratio: 1;
				background: #f4d142;
				-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M12.54,4.12c.35.1.72.16,1.08.2.87.18,1.71.47,2.51.85,1.41.7,2.9,1.2,4.44,1.49,1.41.23,2.84.3,4.26.21,1.67-.1,3.32-.38,4.92-.83,1.11-.32,2.29-.24,3.35.2,1.25.5,2.52.94,3.84,1.43-.38.06-.7.08-1.01.16-1.01.28-1.94.79-2.72,1.48-.92.76-1.75,1.63-2.72,2.33-1.2.85-2.55,1.44-3.99,1.75-.92.21-1.87.3-2.82.26-1.28-.07-2.55-.35-3.74-.84-.86-.39-1.77-.69-2.7-.88-1.25-.21-2.53-.07-3.69.41-.95.45-1.84,1.03-2.63,1.73-.84.76-1.81,1.37-2.85,1.81-.36.14-.74.24-1.12.31-.29.04-.31.16-.26.4.25,1.07.49,2.15.74,3.23.52,2.24,1.07,4.47,1.64,6.7.67,2.61,1.37,5.22,2.11,7.81.09.33.16.67.23,1.01.01.08.02.16,0,.24-.02.28-.17.36-.41.21-.39-.3-.72-.66-.99-1.07-.53-.77-.91-1.63-1.13-2.53-.68-2.16-1.26-4.35-1.81-6.55-.81-3.23-1.52-6.48-2.14-9.76-.42-2.22-.83-4.44-1.2-6.67-.2-1.2-.42-2.4-.63-3.6,0-.05-.02-.09-.06-.12v-.27c.22-.21.51-.12.76-.16.58-.09.58-.07.7.52.04.21.07.42.12.63.06.26.07.27.27.11.61-.48,1.27-.88,1.97-1.21,1.14-.58,2.4-.91,3.68-.97.03,0,.05,0,.07-.03h.16c.14.04.29.04.43,0h.8c.14.04.29.04.43,0h.11Z"/></svg>') center no-repeat;
				-webkit-mask-size: contain;
			}
		}
	}
}




