@charset "UTF-8";

/* --------------------------------------------
FONTS
--------------------------------------------- */
:root{
	--fontFamily : "Zen Kaku Gothic New" , sans-serif;
}
.barlow{
	font-family : Barlow , sans-serif;
}

/* --------------------------------------------
UNIT
--------------------------------------------- */
@media screen and ( width <= 768px ){
	:root{
		--breakPoint : 402;
		--contentWidth : 320;
		--gutter : 41;
		--remBase : 100vw / 402;
		--viewportBase : 100% / var( --breakPoint );
	}
}
@media print , screen and ( width > 768px ){
	:root{
		--breakPoint : 1228;
		--contentWidth : 1188;
		--gutter : 20;
		--remBase : min( 1px , 100vw / 1228 );
		--viewportBase : min( 1px , 100% / var( --breakPoint ) );
	}
}
:root{
	--contentBase : 100% / var( --contentWidth );
}

/* --------------------------------------------
COLOR
--------------------------------------------- */
@property --base{
	syntax : "<color>";
	inherits : false;
	initial-value : #0064d2;
}

/* --------------------------------------------
FILTER COLOR
--------------------------------------------- */
@property --filterWhite{
	syntax : "*";
	inherits : false;
	initial-value : invert( 99% ) sepia( 28% ) saturate( 2% ) hue-rotate( 3deg ) brightness( 108% ) contrast( 100% );
}
@property --filterBase{
	syntax : "*";
	inherits : false;
	initial-value : invert( 22% ) sepia( 41% ) saturate( 5321% ) hue-rotate( 201deg ) brightness( 101% ) contrast( 101% );
}

/* --------------------------------------------
TRANSITION
--------------------------------------------- */
:root{
	--transitionBaseDuration : .3s;
	--transitionBaseFunction : linear;
	--transitionBase : var( --transitionBaseDuration ) var( --transitionBaseFunction )
;
}

/* --------------------------------------------
REGULATE
--------------------------------------------- */
*{
	padding : 0;
	margin : 0;
}
* , *::before , *::after{
	box-sizing : border-box;
}
*:not(fieldset, progress, meter){
	background-repeat : no-repeat;
	background-origin : border-box;
	border-style : solid;
	border-width : 0;
}
:root{
	color-scheme : light;
}
:where( html ){
	block-size : 100%;
	-webkit-text-size-adjust : none;
	tab-size : 2;
	scrollbar-gutter : stable;
}
@media ( prefers-reduced-motion : no-preference ){
	html{
		scroll-behavior : smooth;
	}
}
:is( body:has( dialog[open] ) ){
	overflow : clip;
}
body{
	overflow-x : clip;
	overflow-y : auto;
	font-family : var( --fontFamily );
	font-weight : 500;
	font-feature-settings : "palt" on;
	font-optical-sizing : auto;
	line-height : 1;
	color : var( --base );
	word-break : normal;
	overflow-wrap : anywhere;
	text-rendering : optimizeLegibility;
	min-block-size : 100%;
	scrollbar-gutter : stable;
	line-break : strict;
}
main{
	overflow-x : clip;
}
:where( p , h1 , h2 , h3 , h4 , h5 , h6 ){
	overflow-wrap : break-word;
}
:where( ul, ol ){
	list-style : none;
}
:where( a ){
	color : var( --base );
	text-decoration : none;
	text-underline-offset : calc( ( 1lh - 1em ) / 2 );
	touch-action : manipulation;
	cursor : pointer;
	text-decoration-skip-ink : auto;
}
:where( picture ){
	display : block;
	font-size : 0;
}
:where( img ){
	image-rendering : -webkit-optimize-contrast;
}
:where( p , h1 , h2 , h3 , h4 , h5 , h6 , a , span ){
	&:has( > img:only-child ){
		font-size : 0;
		line-height : 1;
	}
}
:where( svg , video , canvas , audio , iframe , embed , object ){
	display : block;
}
:where( svg ){
	fill : currentColor;
	stroke : none;
}
:where( svg:not( [fill] ) ){
	fill : none;
	stroke : currentColor;
	stroke-linecap : round;
	stroke-linejoin : round;
}
:where( img , svg , video ){
	max-width : inherit;
	font-size : 0;
	vertical-align : top;
	inline-size : auto;
}
:where( button ){
	font : inherit;
	font-size : inherit;
	color : inherit;
	letter-spacing : inherit;
	touch-action : manipulation;
	cursor : pointer;
	background-color : transparent;
	&:focus , &:focus-visible{
		outline : none;
	}
}
:where( dialog , [popover] ){
	inset : unset;
	max-width : unset;
	max-width : 100%;
	max-height : unset;
	max-height : 100%;
	color : inherit;
	background : none;
	border : none;
}
:where( dialog:not( [open] ), [popover]:not( :popover-open ) ){
	display : none;
}
:where( details ){
	cursor : pointer;
	&::details-content{
		interpolate-size : allow-keywords;
		height : 0;
		overflow : clip;
	}
	&[open]::details-content{
		height : auto;
	}
}
:where( summary  ){
	display : block;
	list-style : none;
}
:where( summary  ){
	&::-webkit-details-marker{
		display : none;
	}
}
:where( table ){
	border-collapse : collapse;
}
:where( em ,dfn ){
	font-style : normal;
}

/* @mixin regulateForms; */
/* --------------------------------------------
VIEW TRANSITION
--------------------------------------------- */
@view-transition{
	navigation : auto;
}
::view-transition-old( root ){
	animation : fade-out .3s ease-out;
}
::view-transition-new( root ){
	animation : fade-in .3s ease-out;
}
@keyframes fade-out{
	from{
		opacity : 1;
	}
	to{
		opacity : 0;
	}
}
@keyframes fade-in{
	from{
		opacity : 0;
	}
	to{
		opacity : 1;
	}
}

/* --------------------------------------------
PRINT
--------------------------------------------- */
@media print{
	body{
		width : 100%;
		overflow-x : hidden;
	}
	@page{
		margin : .5cm;
		margin-top : .4cm;
		size : a4 portrait;
	}
	.no-print{
		display : none;
	}
}