/*----- [ Initial Settings ] -----*/
:root {
	overflow-y: scroll;

	font-size: medium;
	scroll-behavior: auto;

	container-type: inline-size;

	--site-logo-large: 60px;
	--site-logo-small: 36px;

	--width-basic: 85vw;
	--width-minimum: 600px;
	--width-middle: 782px;
	--width-large: 1000px;
	--width-large-inner: 35rem;
	--width-full: 100%;
	--width-advertise: 336px;

	--color-main: #3f70e8;
	--color-main-a: #000000;
	--color-main-a-hover: #3f70e8;
	--color-main-button-text: #000000;
	--color-main-button-background: #ffffff;
	--color-main-input-background: #ffff99;
	--color-main-border-fieldset: #999999;

	--color-footer-text: #ffffff;
	--color-footer-background: #000000;

	--color-footer-button-text: #ffffff;
	--color-footer-button-background: #3f70e8;

	--color-footer-a: #ffffff;
	--color-footer-a-hover: #cccccc;

	--margin-footer-outline: 5px;

	--font-ryumin-medium: 'Ryumin Medium KL';
	--font-midashi-go: 'Midashi Go MB31';

	--font-h2-mobile: sans-serif;
	--font-h2-desktop: 'UD Shin Go Medium', sans-serif;

	--font-h3-mobile: sans-serif;
	--font-h3-desktop: 'UD Shin Go Medium', sans-serif;

	--font-weight-bold: 600;
}
body {
	font-size: unset;
}


/*----- [ Decoration ] -----*/
a {
	color: var(--color-main-a);
	text-decoration: none;
}
a:is(:hover, :focus) {
	color: var(--color-main-a-hover);
	text-decoration: underline;
}
.spacing-before{
	margin-left: 0.25rem;
}
.spacing-after {
	margin-right: 0.25rem;
}


/*----- [ Header ] -----*/
.header-content-outer {
	width: var(--width-full);
	padding-top: 10px; 
}
.header-content {
	width: var(--width-basic);
	margin: 0 auto;
}
@container (width > 600px) and (width <= 1000px) {
	.header-content {
		max-width: var(--width-minimum);
	}
}
@container (width > 1000px) {
	.header-content {
		max-width: var(--width-large); 
	}
}
.header-content-inner-top {
	display: flex;
	flex-direction: row;
	column-gap: 0;
	width: var(--width-full);
}
.header-content-inner-bottom {
	width: var(--width-full);
}
@container (width > 600px) and (width <= 1000px) {
	.header-content-inner-bottom {
		width: var(--width-full);
	}
}
@container (width > 1000px) {
	.header-content-inner-bottom {
		display: none; 
	}
}


/*----- [ Site Sticker ] -----*/
.container--site-sticker {
	flex: 1 1 50%;

	display: flex;
	flex-direction: row;
	justify-content: start;

	margin: 0;
	padding: 0;
}
.a--site-sticker {
	width: calc(var(--site-logo-small) + 12rem);
	border: solid 1px var(--color-main-button-background);
}
@container (width > 600px) and (width <= 1000px) {
	.a--site-sticker {
		width: calc(var(--site-logo-small) + 12rem);
	}
}
@container (width > 1000px) {
	.a--site-sticker {
		width: calc(var(--site-logo-large) + 12rem);
	}
}
.a--site-sticker:is(:hover, :focus) {
	cursor: pointer;
	text-decoration: none;
}
.container--site-sticker-inner {
	justify-content: start;
	column-gap: 10px;
}
.container--site-title-and-tagline {
	display: flex;
	flex-direction: column;
	row-gap: 0;

	text-align: left;
}
.img--site-logo {
	width: var(--site-logo-small);
	height: var(--site-logo-small);
}
.text--site-title {
	padding: 0;
	font-size: min(1.4rem, 18px);
}
.text--site-tagline {
	padding: 0;
	font-size: min(0.7rem, 10px);
}
@container (width > 600px) and (width <= 1000px) {
	.img--site-logo {
		width: var(--site-logo-small);
		height: var(--site-logo-small);
	}
	.text--site-title {
		padding: 0;
		font-size: min(1.4rem, 18px);
	}
	.text--site-tagline {
		padding: 0;
		font-size: min(0.7rem, 10px);
	}
}
@container (width > 1000px) {
	.img--site-logo {
		width: var(--site-logo-large);
		height: var(--site-logo-large);
	}
	.text--site-title {
		padding: 0;
		font-size: min(1.8rem, 40px);
	}
	.text--site-tagline {
		padding: 0;
		font-size: min(1rem, 20px);
	}
}


/*----- [ Global Search ] -----*/
.container--global-search {
	flex: 1 1 50%;

	margin: 0;
	padding: 0;

	display: flex;
	flex-direction: row;
	align-items: center;
}
@container (width > 600px) and (width <= 1000px) {
	.container--global-search {
		align-items: center;
	}
}
@container (width > 1000px) {
	.container--global-search {
		align-items: start;
	}
}

.global-search-inner-desktop {
	display: none;
}
@container (width > 600px) and (width <= 1000px) {
	.global-search-inner-desktop {
		display: none;
	}	
}
@container (width > 1000px) {
	.global-search-inner-desktop {
		flex: 0 0 100%;

		display: flex;
		text-align: right;

		margin: 0;
		padding: 0;
	}
}

.global-search-inner-mobile {
	flex: 0 0 100%;
	height: 100%;

	display: flex;
	justify-content: end;
	align-items: center;

	margin: 0;
	padding: 0;
}
@container (width > 600px) and (width <= 1000px) {
	.global-search-inner-mobile {
		display: flex;
		justify-content: end;
	}	
}
@container (width > 1000px) {
	.global-search-inner-mobile {
		display: none;
	}
}


/*----- [ Global Search Form : Desktop ] -----*/
.form--global-search {
	width: var(--width-full);
	justify-content: center;
}
@container (width > 600px) and (width <= 1000px) {
	.form--global-search {
		justify-content: center;
	}
}
@container (width > 1000px) {
	.form--global-search {
		justify-content: end;
	}
}
.input--global-search {
	height: min(2rem, var(--site-logo-small));
	outline: 0;	
}
@container (width > 600px) and (width <= 1000px) {
	.input--global-search {
		height: min(2rem, var(--site-logo-small));
	}
}
@container (width > 1000px) {
	.input--global-search {
		height: min(2rem, var(--site-logo-large));
	}
}
.input--global-search:focus {
	background-color: var(--color-main-input-background);
}

.button--global-search {
	width: 5rem;
	height: min(2rem, var(--site-logo-small));
	letter-spacing: 0.125rem;
	color: var(--color-main-button-text);
	background-color: var(--color-main-button-background);
}
@container (width > 600px) and (width <= 1000px) {
	.button--global-search {
		height: min(2rem, var(--site-logo-small));
	}
}
@container (width > 1000px) {
	.button--global-search {
		height: min(2rem, var(--site-logo-large));
	}
}

.button--global-search:is(:hover, :focus) {
	color: var(--color-main-button-background);
	background-color: var(--color-main-button-text);
	cursor: pointer;
}


/*----- [ Global Search Panel Opener ] -----*/
.button--global-search-panel-opener {
	width: calc(var(--site-logo-small) * 0.75);
	height: calc(var(--site-logo-small) * 0.75);
	border: none;

	margin: 0;
	padding: 0;

	background-color: var(--color-main-button-background);
}
@container (width > 600px) and (width <= 1000px) {
	.button--global-search-panel-opener {
		width: calc(var(--site-logo-small) * 0.75);
		height: calc(var(--site-logo-small) * 0.75);
	}
}
@container (width > 1000px) {
	.button--global-search-panel-opener {
		width: calc(var(--site-logo-large) * 0.75);
		height: calc(var(--site-logo-large) * 0.75);
	}
}

.button--global-search-panel-opener:hover {
	cursor: pointer;
}
.svg--global-search-panel-opener {
	width: var(--width-full);
	height: 100%;
}
.path--global-search-panel-opener-circle {
	fill: var(--color-main-button-background);
	stroke: var(--color-main-button-text);
}
.path--global-search-panel-opener-line1 {
	stroke: var(--color-main-button-text);
}
.path--global-search-panel-opener-line2 {
	stroke: var(--color-main-button-text);
}
.checkbox--global-search-panel-state {
	display: none;
}


/*----- [ Global Search Panel : Mobile ] -----*/
.fieldset--global-search-panel {
	width: min(var(--width-full), 25rem);
	padding: 0;
	margin: 0 auto;

	border: solid 1px var(--color-main-border-fieldset);
	border-radius: 10px;
}
.legend--global-search-panel {
	margin-left: 20px; 
	font-size: 0.8rem;
	color: var(--color-main-border-fieldset);
}
.global-search-panel-inner-top {
	width: var(--width-full);
	height: 30px;

	display: flex;
	flex-direction: row;
	justify-content: end;
	align-items: start;
}
.button--global-search-panel-closer {
	width: var(25px + 4.25rem);
	height: 25px;
	border: solid 1px var(--color-main-border-fieldset);
	border-radius: 10px;

	display: flex;
	flex-direction: row;
	justify-items: center;
	align-items: center;
	column-gap: 0;

	margin-right: 10px; 

	background-color: var(--color-main-border-fieldset);
}
.button--global-search-panel-closer:is(:hover, :focus) {
	cursor: pointer;
}
.svg--close-panel {
	width: 20px;
	height: 20px;
}
.path--close-panel {
	fill: none;
	stroke: #ffffff;
}
.text--global-search-panel-closer {
	font-size: 0.7rem;
	font-family: sans-serif;
	color: #ffffff;
}

.global-search-panel-inner-bottom {
	width: var(--width-basic);
	max-width: calc(var(--width-minimum) * 0.5);

	margin: 10px auto 20px;

	display: flex;
	flex-direction: row;
	justify-content: center;
}
.input--global-search-panel {
	flex: 0 10rem;

	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: solid 1px auto;

	font-family: sans-serif;	
}
.input--global-search-panel:focus {
	background-color: var(--color-main-input-background);
}
.button--global-search-panel-submit {
	flex: 0 5rem;
	margin: 0 10px;

	letter-spacing: 0.125rem;
	color: var(--color-main-button-text);
	background-color: var(--color-main-button-background);
}
.button--global-search-panel-submit:is(:hover, :focus) {
	color: var(--color-main-button-background);
	background-color: var(--color-main-button-text);

	cursor: pointer;
}


/*----- [ Page Title ] -----*/
.header-page-title {
	font-size: 1.5rem;
	font-family: serif;
	font-weight: var(--font-weight-bold);
}
@container (width > 600px) and (width <= 1000px) {
	.header-page-title {
		font-family: serif;
	}
}
@container (width > 1000px) {
	.header-page-title {
		font-size: 3rem;
/*		font-family: var(--font-ryumin-medium), serif;*/
		font-family: serif;
		margin: 2rem auto 1.5rem;
	}
}



/*----- [ Singular : Main Content ] -----*/
.main-content {
	width: var(--width-basic);
	margin: 0 auto;
}
@container (width > 600px) and (width <= 1000px) {
	.main-content {
		max-width: var(--width-middle);
	}
}
@container (width > 1000px) {
	.main-content {
		max-width: var(--width-large); 
	}
}


/*----- [ Footer ] -----*/
.footer-content {
	width: var(--width-basic);
	margin: 0 auto;
}
@container (width > 600px) and (width <= 1000px) {
	.footer-content {
		max-width: var(--width-middle);
	}
}
@container (width > 1000px) {
	.footer-content {
		max-width: var(--width-large); 
	}
}


/*----- [ Layer ] -----*/
.container--back-to-pagetop {
	z-index: 1;
}
.footer-cookie-alert-outer {
	z-index: 2
}
.footer-credit-outer {
	z-index: 3
}


/*----- [ Button: Back To Pagetop ] -----*/
.container--back-to-pagetop {
	display: flex;
	justify-content: center;
	width: var(--width-full);
	background-color: rgba(255, 255, 255, 0.8);

	position: fixed;
	bottom: 0;
	padding-top: 5px;
	padding-bottom: calc(3rem + var(--margin-footer-outline) * 2);
}
@container (width > 600px) and (width <= 1000px) {
	.container--back-to-pagetop {
		justify-content: center;
		width: var(--width-full);
	}
}
@container (width > 1000px) {
	.container--back-to-pagetop {
		width: var(--site-logo-large);
		height: var(--site-logo-large);
		bottom: calc(2rem + var(--margin-footer-outline) * 2);
		left: calc(100% - 60px);
		padding-bottom: 0;
	}
}

.a--back-to-pagetop {
	display: flex;
	width: var(--site-logo-small);
	height: var(--site-logo-small);
	justify-content: center;
	align-items: center;

	background-color: var(--color-footer-button-background);
	border: solid 1px var(--color-footer-button-background);
	border-radius: 10px;
}
@container (width > 600px) and (width <= 1000px) {
	.a--back-to-pagetop {
		width: var(--site-logo-small);
		height: var(--site-logo-small);
	}
}
@container (width > 1000px) {
	.a--back-to-pagetop {
		width: var(--site-logo-large);
		height: var(--site-logo-large);
	}
}

.path--back-to-pagetop {
	fill: var(--color-footer-button-background);
	stroke: var(--color-footer-button-text);
}
.a--back-to-pagetop:is(:hover, :focus) {
	cursor: pointer;
}
.a--back-to-pagetop-svg {
	display: block;
	width: calc(var(--site-logo-small) - 8px);
	height: calc(var(--site-logo-small) - 8px);
}
@container (width > 600px) and (width <= 1000px) {
	.a--back-to-pagetop-svg {
		display: block;
		width: calc(var(--site-logo-small) - 8px);
		height: calc(var(--site-logo-small) - 8px);
	}
}
@container (width > 1000px) {
	.a--back-to-pagetop-svg {
		display: block;
		width: calc(var(--site-logo-large) - 8px);
		height: calc(var(--site-logo-large) - 8px);
	}
}


/*----- [ Global Navi ] -----*/
.global-navi.in-singular {
	margin: 5rem auto calc(2.5rem + var(--margin-footer-outline) * 2 + var(--site-logo-small) + 20px);
}
@container (width > 600px) and (width <= 1000px) {
	.global-navi.in-singular {
		margin: 5rem auto calc(2.5rem + var(--margin-footer-outline) * 2 + var(--site-logo-small) + 20px);
	}
}
@container (width > 1000px) {
	.global-navi.in-singular {
		margin: 5rem auto calc(2.5rem + var(--margin-footer-outline) * 2 + var(--site-logo-large) + 20px);
	}
}
.global-navi-list {
	display: flex;
	flex-direction: column;
	row-gap: 2px;
	padding: 0;

	font-family: sans-serif;
}
.global-navi-list-item {
	display: inline-block;
	width: var(--width-full);
	border: solid 1px var(--color-main-button-text);
}
@container (width > 600px) and (width <= 1000px) {
	.global-navi-list {
		flex-direction: column;
		row-gap: 2px;
	}
	.global-navi-list-item {
		width: var(--width-full);
	}
}
@container (width > 1000px) {
	.global-navi-list {
		flex-direction: row;
		column-gap: 2px;
	}
	.global-navi-list-item {
		width: calc(var(--width-full) / 5);
	}
}
.global-navi-list-item a {
	display: inline-block;
	width: var(--width-full);
	height: 100%;

	text-align: center;
}
.global-navi-list-item a:is(:hover, :focus) {
	color: var(--color-main-button-background);
	background-color: var(--color-main-button-text);
	text-decoration: none;
}


/*----- [ Cookie Alert ] -----*/
.footer-cookie-alert-outer {
	position: fixed;
	bottom: 0;
	width: var(--width-full);
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: calc(5px + 2.5rem + var(--margin-footer-outline) * 2);

	color: var(--color-footer-text);
	background-color: var(--color-footer-background);
}
@container (width > 600px) and (width <= 1000px) {
	.footer-cookie-alert-outer {
		padding-bottom: calc(5px + 2.5rem + var(--margin-footer-outline) * 2);
	}
}
@container (width > 1000px) {
	.footer-cookie-alert-outer {
		padding-bottom: calc(5px + 1.5rem + var(--margin-footer-outline) * 2);
	}
}
.footer-cookie-alert-inner-top {
	font-size: 0.8rem;
	margin: 0 auto;
}
@container (width > 600px) and (width <= 1000px) {
	.footer-cookie-alert-inner-top {
		font-size: 1rem;
	}
}
@container (width > 1000px) {
	.footer-cookie-alert-inner-top {
		font-size: 1rem;
	}
}
.footer-cookie-alert-inner-top a {
	color: var(--color-footer-a);
	text-decoration: underline;
}
.footer-cookie-alert-inner-top a:is(:hover, :focus) {
	color: var(--color-footer-a-hover);
}

.footer-cookie-alert-inner-bottom {
	font-size: 0.8rem;
	margin: 0.8rem auto 0;
	padding-bottom: 3px;

	display: flex;
	flex-direction: column;
	justify-content: center;
}
@container (width > 600px) and (width <= 1000px) {
	.footer-cookie-alert-inner-bottom {
		font-size: 1rem;
		margin: 1rem auto 0;

		flex-direction: row;
		justify-content: end;
	}
}
@container (width > 1000px) {
	.footer-cookie-alert-inner-bottom {
		font-size: 1rem;
		margin: 1rem auto 0;

		flex-direction: row;
		justify-content: end;
	}
}
.container--accept-policy-left {
	padding-left: 0.5rem;
}
.accept-policy-left-inner {
	justify-content: center;
	column-gap: 0;
}
@container (width > 600px) and (width <= 1000px) {
	.accept-policy-left-inner {
		justify-content: center;
	}	
}
@container (width > 1000px) {
	.accept-policy-left-inner {
		justify-content: end;
	}
}
.container--accept-policy-right {
	text-align: center;
	margin: 0;
}
@container (width > 600px) and (width <= 1000px) {
	.container--accept-policy-right {
		text-align: right;
	}	
}
@container (width > 1000px) {
	.container--accept-policy-right {
		text-align: right;
	}
}
.button--accept-policy {
	color: var(--color-footer-button-text);
	background-color: var(--color-footer-button-background);
	border: none;
	font-size: 0.8rem;
	width: 5rem;
}
@container (width > 600px) and (width <= 1000px) {
	.button--accept-policy {
		font-size: 1rem;
		width: 7rem;
	}
}
@container (width > 1000px) {
	.button--accept-policy {
		font-size: 1rem;
		width: 7rem;
	}
}
.button--accept-policy:is(:hover, :focus) {
	cursor: pointer;
}





/*----- [ Credit ] -----*/
.footer-credit-outer {
	position: fixed;
	bottom: 0;
	width: var(--width-full);
	margin-bottom: 0;
	padding-top: var(--margin-footer-outline);
	padding-bottom: var(--margin-footer-outline);

	color: var(--color-footer-text);
	background-color: var(--color-footer-background);
}
.footer-credit-inner {
	display: flex;
	flex-direction: column;
	row-gap: 0;
}
:is(
	.footer-credit-inner-left,
	.footer-credit-inner-right
) {
	flex: 0 0 100%;
	font-size: 0.85rem;
	text-align: center;
	padding: 0;
	margin: 0;
}
@container (width > 600px) and (width <= 1000px) {
	.footer-credit-inner {
		flex-direction: column;
	}
	:is(
		.footer-credit-inner-left,
		.footer-credit-inner-right
	) {
		flex: 0 0 100%;
		text-align: center;
	}
}
@container (width > 1000px) {
	.footer-credit-inner {
		flex-direction: row;
	}
	.footer-credit-inner-left {
		flex: 0 0 50%;
		text-align: left;
	}
	.footer-credit-inner-right {
		flex: 0 0 50%;
		text-align: right;
	}

}
.footer-credit-inner a {
	color: var(--color-footer-a);
	text-decoration: none;
}
.footer-credit-inner a:is(:hover, :focus) {
	color: var(--color-footer-a-hover);
}
