@charset "UTF-8";

/*
 * Custom properties(variables):
 *
 */
:root {
	--main-color: #0c0806;
	--sub-color: #b0a3d4;
	--accent-color: #12adb3;
	--accent-color-red: #f3342c;
	--color-white: #fff;
	--color-gray: #65655e;
	--color-gray-10: #f8f8f8;
	--color-gray-20: #eee;
	--color-gray-30: #ccc;
	--color-gray-40: #aaa;
	--color-gray-50: #999;
	--color-gray-60: #777;
	--color-gray-70: #555;
	--color-gray-80: #333;
	--color-gray-90: #111;
	--color-black: #000;
	--color-red: #e30500;
	--color-orange: #e37800;
	--color-blue: #1f449e;
	--color-yellow: #efee0e;
	--color-beige: #e7c3b2;
	--color-purple: #3e1e54;
	--color-light-purple: #f2effc;
	--color-light-blue: DarkTurquoise;
	--color-dark-night: #2c233a;

	--bg-light-theme: #f6f5f5;
	--bg-dark-theme: #f6f5f5;
	--bg-main-color: var(--main-color);
	--bg-accent-color: var(--accent-color);
	--bg-white: var(--color-white);
	--bg-black: var(--color-black);
	--bg-gray: var(--color-gray);
	--bg-color: var(--color-gray-10);
	--bg-color-red: var(--color-red);
	--bg-color-blue: var(--color-blue);
	--bg-color-beige: var(--color-beige);
	--bg-color-light-pink: MistyRose;
	--bg-color-dark-night: var(--color-dark-night);

	--sp-width: 576px;
	/* smart phone size */
	--tb-width: 768px;
	/* tablet size */
	--pc-width: 1040px;
	/* pc size */
	--small-width: 420;
  --wrapper-width: 768px;
	--h-header: 100px;
	--sp-min-h-header: 42px;

	--xxx-small: 0.6875rem;
	/* 11px */
	--xx-small: 0.75rem;
	/* 12px */
	--x-small: 0.8125rem;
	/* 13px */
	--small: 0.875rem;
	/* 14px */
	--small-plus: 0.9375rem;
	/* 15px */
	--medium: 1rem;
	/* 16px */
	--large: 1.125rem;
	/* 18px */
	--x-large: 1.25rem;
	/* 20px */
	--xx-large: 1.5rem;
	/* 24px */
	--xxx-large: 2rem;
	/* 32px */

	--anime-duration: 1s;
	--anime-delay: 1s;
	--anime-repeat: 1;

	--d: " . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
}

/*
 * Fonts:
 *
 */
@font-face {
	font-family: "icons";
	src: url("/assets/font/icon_font.ttf") format("truetype");
}

[class^=icons] {
	font-family: "icons"
}

.icons__light::before {
	content: "\e902"
}

.icons__moon::before {
	content: "\e903";
}

.icons__arrow-before::before {
	content: "\e904";
}

.icons__arrow-upper::before {
	content: "\e905";
}

.icons__arrow-lower::before {
	content: "\e906";
}

.icons__arrow-next::before {
	content: "\e907";
}

.icons__send-email::before {
	content: "\e908";
}

.icons__external-link::before {
	content: "\e900";
}

.icons__pdf-icon::before {
	content: "\e901";
}

.icons__images::before {
	content: "\e90e";
}

.icons__camera::before {
	content: "\e90f";
}

.icons__music::before {
	content: "\e911";
}

.icons__play::before {
	content: "\e912";
}

.icons__spades::before {
	content: "\e917";
}

.icons__clubs::before {
	content: "\e918";
}

.icons__diamonds::before {
	content: "\e919";
}

.icons__mic::before {
	content: "\e91e";
}

.icons__file-empty::before {
	content: "\e925";
}

.icons__file-picture::before {
	content: "\e927";
}

.icons__file-music::before {
	content: "\e928";
}

.icons__folder::before {
	content: "\e92f";
}

.icons__creditcard::before {
	content: "\e93f";
}

.icons__phone::before {
	content: "\e942";
}

.icons__map-filled::before {
	content: "\e94b";
}

.icons__map::before {
	content: "\e94c";
}

.icons__calendar::before {
	content: "\e953";
}

.icons__keyboard::before {
	content: "\e955";
}

.icons__display::before {
	content: "\e956";
}

.icons__mobile::before {
	content: "\e958";
}

.icons__tablet::before {
	content: "\e959";
}

.icons__undo::before {
	content: "\e965";
}

.icons__redo::before {
	content: "\e966";
}

.icons__pubble::before {
	content: "\e96b";
}

.icons__search::before {
	content: "\e986";
}

.icons__zoom-in::before {
	content: "\e987";
}

.icons__zoom-out::before {
	content: "\e988";
}

.icons__lock::before {
	content: "\e98f";
}

.icons__unlocked::before {
	content: "\e990";
}

.icons__lab::before {
	content: "\e9aa";
}

.icons__switch::before {
	content: "\e9b6";
}

.icons__sphere::before {
	content: "\e9c9";
}

.icons__eye::before {
	content: "\e9ce";
}

.icons__eye-blocked::before {
	content: "\e9d1";
}

.icons__bookmark::before {
	content: "\e9d2";
}

.icons__star-empty::before {
	content: "\e9d7";
}

.icons__star-half::before {
	content: "\e9d8";
}

.icons__star-full::before {
	content: "\e9d9";
}

.icons__heart::before {
	content: "\e9da";
}

.icons__smile::before {
	content: "\e9e1";
}

.icons__smile_filled::before {
	content: "\e9e2";
}

.icons__plus::before {
	content: "\ea0a";
}

.icons__minus::before {
	content: "\ea0b";
}

.icons__cross::before {
	content: "\ea0f";
}

.icons__checkmark::before {
	content: "\ea10";
}

.icons__play::before {
	content: "\ea15";
}

.icons__pause::before {
	content: "\ea16";
}

.icons__stop::before {
	content: "\ea17";
}

.icons__volume-medium::before {
	content: "\ea27";
}

.icons__volume-mute::before {
	content: "\ea29";
}

.icons__volume-blocked::before {
	content: "\ea2a";
}

.icons__volume-increase::before {
	content: "\ea2b";
}

.icons__volume-decrease::before {
	content: "\ea2c";
}

.icons__arrow-up-left::before {
	content: "\ea39";
}

.icons__arrow-up::before {
	content: "\ea3a";
}

.icons__arrow-up-right::before {
	content: "\ea3d";
}

.icons__arrow-right::before {
	content: "\ea3c";
}

.icons__arrow-down-right::before {
	content: "\ea3d";
}

.icons__arrow-down::before {
	content: "\ea40";
}

.icons__arrow-down-left::before {
	content: "\ea3f";
}

.icons__arrow-left::before {
	content: "\ea40";
}

.icons__circle-up::before {
	content: "\ea41";
}

.icons__circle-right::before {
	content: "\ea42";
}

.icons__circle-down::before {
	content: "\ea43";
}

.icons__circle-left::before {
	content: "\ea44";
}

.icons__command::before {
	content: "\ea4e";
}

.icons__shift::before {
	content: "\ea4f";
}

.icons__ctrl::before {
	content: "\ea50";
}

.icons__option::before {
	content: "\ea51";
}

.icons__bold::before {
	content: "\ea62";
}

.icons__underline::before {
	content: "\ea63";
}

.icons__italic::before {
	content: "\ea64";
}

.icons__paragraph-left::before {
	content: "\ea77";
}

.icons__paragraph-center::before {
	content: "\ea78";
}

.icons__paragraph-right::before {
	content: "\ea79";
}

.icons__google-drive::before {
	content: "\ea8f";
}

.icons__facebook::before {
	content: "\ea90";
}

.icons__facebook-squire::before {
	content: "\ea91";
}

.icons__instagram::before {
	content: "\ea92";
}

.icons__youtube::before {
	content: "\ea9d";
}

.icons__youtube-long::before {
	content: "\ea9e";
}

.icons__apple::before {
	content: "\eabe";
}

.icons__finder::before {
	content: "\eabf";
}

.icons__android::before {
	content: "\eac0";
}

.icons__windows::before {
	content: "\eac1";
}

.icons__windows8::before {
	content: "\eac2";
}

.icons__wikipedia::before {
	content: "\eac8";
}

.icons__linkdin-filled::before {
	content: "\eac9";
}

.icons__linkdin::before {
	content: "\eaca";
}

.icons__chrome::before {
	content: "\ead9";
}

.icons__file-pdf::before {
	content: "\eadf";
}

/*
 * Basics elements style:
 *
 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-height: 100vh;
	width: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	padding: 0;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

section+section {
	margin-top: 4rem;
	padding-bottom: 4rem;
}

b,
strong {
	font-weight: bolder;
}

small,
time {
	font-size: var(--xx-small);
}

time {
	display: inline-block;
	white-space: nowrap;
}

sub,
sup {
	position: relative;
	font-size: var(--xx-small);
	line-height: 0;
}

sub {
	vertical-align: text-bottom;
}

sup {
	vertical-align: super;
}

em:lang(ja) {
	font-style: inherit;
}

em:lang(ja)::before {
	content: '\201c';
	padding-inline-start: 0.4em;
}

em:lang(ja)::after {
	content: '\201d';
	padding-inline-end: 0.3em;
}

em.dot {
	text-emphasis: filled dot;
}

q:lang(ja) {
	quotes: '「' '」' '『' '』';
}

nav>ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul>li,
ol>li {
	margin-bottom: 0.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}

h1>span,
h2>span,
h3>span,
h4>span {
	font-size: 0.875em;
}

h1,
h2 {
	text-align: center;
}

h1 {
	font-size: 1.476rem;
	margin-bottom: 3.75rem;
	letter-spacing: 0.24em;
}

h2 {
	font-size: 1.383em;
}

h3 {
	font-size: 1.296em;
}

h4 {
	font-size: 1.215rem;
}

h5 {
	font-size: 1.138rem;
	font-weight: bold;
}

h6 {
	font-size: 1.067rem;
	font-weight: bold;
}

h1>span,
h2>span,
h3>span {
	font-size: 0.8em;
}

p {
	font-size: 1rem;
	max-width: 75ch;
	margin: 0;
	line-height: 1.8;
}

p+p {
	margin-top: 1rem;
	text-indent: 1em;
}

figure {
	margin: 0;
	text-align: center;
}

figure img {
	display: block;
	max-width: fit-content;
        width: 100%;
	margin: 0 auto;
}

figure figcaption {
	padding-block-start: 0.5rem;
	font-size: var(--xx-small);
}

pre,
table,
figure,
img,
svg {
	break-inside: avoid;
}

hr {
	border: 0;
	height: 1px;
	background: var(--accent-color);
}

a {
	color: currentColor;
	text-underline-offset: 0.3em;
}

a:hover {
	text-decoration-line: underline;
	color: var(--color-blue);
	opacity: .7;
}

nav a {
	text-decoration-line: none;
}

nav a:hover {
	opacity: 1;
}

address {
	font-style: normal;
	font-size: var(--small);
}

dl {
	margin: 0;
}

dl+dl {
	margin-top: 0.5rem;
}

dl>dd {
	margin: 0;
}

dl>dt,
dl>dd {
	display: inline;
}

dl>dt::after {
	content: '\3A';
	padding: 0 1em 0 0.2em;
	font-weight: bold;
}

dl>div {
	display: flex;
	gap: 1rem 3rem;
	margin-bottom: 1rem;
}

dl>div>dd {
	margin-left: 0;
}

@media screen and (max-width: 678px) {
	dl>div {
		flex-direction: column;
	}
}

dl>div>dt {
	font-weight: 700;
	white-space: nowrap;
}

button {
	cursor: pointer;
}

input,
select,
textarea {
	display: block;
	width: 100%;
	margin: 0 0 0.5em;
}

select {
	position: relative;
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 0.5rem;
        color: var(--color-black);
	font-size: 0.9rem;
	font-weight: 700;
	appearance: none;
	/* Chrome/Safari */
	-webkit-appearance: none;
	/* iOS Safari */
	-moz-appearance: none;
	/* Firefox */
	background-color: var(--color-white);
	border: 1px solid var(--color-gray-60);
	cursor: pointer;
	border-radius: 3px;
}

.scroll-table {
	overflow-x: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 1em;
	max-width: 100%;
	width: 100%;
	white-space: nowrap;
}

td,
th {
	border: 1px solid var(--color-gray-20);
	text-align: start;
	padding: 0.5rem;
	font-size: 0.825rem;
}

th {
	background-color: var(--color-light-purple);
        color: var(--color-gray-80);
	font-weight: bold;
}

tr:nth-child(even) {
	background-color: var(--color-gray-10);
}

table caption {
	font-weight: bold;
	margin-bottom: 0.5rem;
}

small.copy-right {
	vertical-align: middle;
	line-height: 1.4em;
}

small.copy-right::before {
	content: '\00a9';
	color: currentColor;
	font-size: 1.4em;
	vertical-align: middle;
}

small.licence {
	vertical-align: middle;
	line-height: 1.4em;
}

small.licence::before {
	content: '\00ae';
	color: currentColor;
	font-size: 1.2em;
	vertical-align: middle;
}


/*
 * Common style
 *
 */
html {
	background-color: var(--bg-main-color);
}

main {
	background-color: var(--bg-white);
	padding: 4rem 0;
}

@media screen and (max-width: 768px) {
  main { padding: 2.5rem 0; }
}

.separete-line-wave+main {
	padding-block: 4rem;
}

body {
	padding-top: 90px;
}

body>header {
	position: fixed;
	top: 0;
	width: 100%;
	background-image: linear-gradient(to right, var(--bg-main-color), #000000d1, var(--bg-main-color));
	padding-top: 1rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	z-index: 2;
	color: var(--color-white);
	backdrop-filter: blur(3px);
	transition: all 500ms ease-out;
	box-shadow: 0px 3px 15px -7px var(--color-black);
}

@media screen and (max-width: 768px) {
	[data-scrolled="true"] body>header {
		transform: translateY(calc(0px - 1rem - 52px));
	}
}

body>header .header__inner  {
  align-items: flex-end;
}

body>header .header__inner, 
body>footer .footer__inner {
	display: flex;
	justify-content: space-between;
	max-width: var(--pc-width);
	margin: auto;
}
.footer__inner > div:last-child {
  flex: 1;
}

body>footer {
	--bg-color: var(--bg-main-color);
	position: -webkit-sticky;
	position: sticky;
	top: 100vh;
	background-color: var(--bg-color);
	color: var(--color-white);
  padding: 4rem 1.5rem 5rem 1.5rem;
}

footer .footer-nav {
  max-width: calc(20em + 3 * 1rem);
  margin-left: auto;
  columns: auto 4;
  column-width: 5em;
  column-gap: 1rem;
}

footer .footer-nav a {
  font-size: var(--x-small);
  text-decoration: none;
}

footer .footer-nav a:hover {
  color: var(--sub-color);
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
	body {
		padding-top: 130px;
	}

	body>header .header__inner {
		display: block;
	}

  body>footer {
    padding-top: 2rem;
  }

  body>footer .footer__inner {
    flex-direction: column-reverse;
    row-gap: 40px;
  }

  body>footer .footer__inner > * {
    margin: 0 auto;
    text-align: center;
  }
}

a.logo {
	display: block;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	margin-bottom: 0.5rem;
}

a.logo:hover {
	opacity: 1;
}

.gnav .gnav__list {
	display: flex;
	justify-content: center;
	column-gap: clamp(0.5rem, -0.227rem + 3.64vw, 2.5rem);
}

.gnav .gnav__list>li {
	position: relative;
	text-align: center;
	height: 2.8em;
	text-shadow: 0px 0px 10px rgb(9 9 9), 0px 0px 15px rgb(20 20 20);
	margin-bottom: 0;
}

.gnav .gnav__list>li a {
	font-size: clamp(0.875rem, 0.6715rem + 0.7752vw, 1rem);
  cursor: pointer;
}

.gnav .gnav__list>li a.active {
	cursor: default;
	padding-bottom: calc(1.3em + 5px);
}

li a[aria-current="page"].active {
  pointer-events: none;
  cursor: default;
}

.gnav .gnav__list>li a.active+.bar {
	position: absolute;
	display: inline-block;
	width: 100%;
	height: 2px;
	background-color: var(--bg-color-blue);
	left: 0;
	bottom: 0;
}

.gnav .gnav__list>li>a:hover {
	text-decoration-line: none;
	color: var(--color-white);
	padding-bottom: calc(1.3em + 5px);
}

.gnav .gnav__list>li>a:hover::before {
	border-bottom: 4px solid currentColor;
}

.gnav .gnav__list>li>a {
	position: relative;
  display: inline-block;
  min-width: 4.5em;
	padding-bottom: calc(1.3em + 1px);;
	font-size: var(--x-small);
}

.gnav .gnav__list>li>a::before {
	display: block;
  width: 100%;
	content: attr(data-title-en);
	font-size: 0.75em;
	text-transform: capitalize;
	color: var(--sub-color);
	white-space: nowrap;
	overflow: hidden;
	position: absolute;
	bottom: 0;
	left: 50%;
	padding-bottom: 0.3em;
	transform: translateX(-50%);
}

.gnav .gnav__list>li>a.active::before {
	border-bottom: 4px solid currentColor;
}

.gnav .gnav__list>li>a::after {
	position: absolute;
	content: '';
	inset: 0;
}

.toc-list ol {
	padding-inline-start: 2ch;
}

.toc-list li>a {
	text-decoration: none;
	display: grid;
	grid-template-columns: auto max-content;
	align-items: end;
	margin-block-start: 1em;
}

.toc-list li>a>.page {
	min-width: 2ch;
	font-variant-numeric: tabular-nums;
	text-align: right;
	padding-left: 1ch;
}

.toc-list li>a>.title {
	position: relative;
	overflow: hidden;
}

.toc-list li>a .leaders::after {
	position: absolute;
	padding-left: .25ch;
	content: var(--d) var(--d) var(--d) var(--d) var(--d) var(--d) var(--d) var(--d) var(--d);
	text-align: right;
}

.hero {
	overflow: hidden;
}

.parallax-background {
	position: relative;
	display: flex;
	flex-direction: column;
	background-image: url("/assets/images/topvisual.jpg");
	height: min(90vw, 720px);
	width: 100%;
	align-self: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top center;
	background-color: var(--bg-main-color);
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
	z-index: -1;
	will-change: transform;
}

.parallax-content h1,
.parallax-content p {
    color: var(--color-white);
    line-height: 1.4;
    font-size: clamp(1.125rem, 0.6538rem + 1.7949vw, 2rem);
    text-shadow: 0px 0px  4px rgba(0, 0, 0, 1),
                 0px 0px  8px rgba(0, 0, 0, 1),
                 0px 0px 14px rgba(0, 0, 0, 1);
    margin-bottom: 0.5em;
}
.parallax-content hgroup {
  line-height: 1.2;
  text-align: center;
  padding-inline: 2em;
}
.parallax-content hgroup > span {
    letter-spacing: 0;
    text-shadow: none; 
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    color: var(--sub-color);
    line-height: 1.2em;
    padding: 0.2em 0.5em;
}

.separete-line-wave {
	overflow: hidden;
	position: relative;
	padding-top: 8rem;
	background-color: var(--color-white);
	filter: drop-shadow(0px -40px 10px var(--color-black)) drop-shadow(0px -80px 40px var(--color-black)) drop-shadow(0px -100px 80px var(--color-black));
	z-index: -1;
}

@media (max-width: 768px) {
	.separete-line-wave {
    padding-top: 4rem;
		filter: drop-shadow(0px -40px 20px var(--color-black)) drop-shadow(0px -60px 40px var(--color-black));
	}
}

.separete-line-wave::before {
	content: '';
	position: absolute;
	bottom: -1px;
	left: -1px;
	right: -1px;
	top: -1px;
	z-index: 1;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: 100% 60px;
	background-position: 50% 0%;
	background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23000000"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23000000"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23000000"/></svg>');
}

@media (min-width:768px) {
	.separete-line-wave::before {
		background-size: 100% 90px;
		background-position: 50% 0%;
	}
}

@media (min-width:1025px) {
	.separete-line-wave::before {
		bottom: -0.1vw;
		left: -0.1vw;
		right: -0.1vw;
		top: -0.1vw;
		background-size: 207% 139px;
		background-position: 50% 0%;
	}
}

._reverse {
	transform: scaleY(-1);
}


.breadcrumb {
	--bg-color: var(--bg-white);
	padding-block: 0.4rem;
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	font-size: 0.8125rem;
	color: var(--color-gray-80);
}

.breadcrumb li+li::before {
	content: '\e907';
	font-family: 'icons';
	font-weight: bold;
	font-size: 1em;
	padding: 0 0.6rem;
}

.breadcrumb li>span {
	display: inline-block;
	max-width: 24em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumb li>a {
	text-decoration-line: underline;
}

.banners {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
        align-items: stretch;
	gap: 0.5rem;
}

.banners__item {
	position: relative;
	flex: 0 0 calc((100% - 0.5rem * 2) / 3);
	background: var(--color-gray-20);
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
        aspect-ratio: 21/9;
}

.banners__item img {
	object-fit: contain;
	width: 100%;
}

.banners__item img[src$='.jpg'],
.banners__item img[src$='.png'],
.banners__item img[src$='.webp'] {
	mix-blend-mode: multiply;
}

.banners__item a {
	text-decoration: none;
	font-size: clamp(0.6785rem, 0.491rem + 0.7144vw, 1rem);
	font-weight: 700;
	white-space: nowrap;
}

.banners__item a::after,
.banners__item a[target="_blank"][rel="noopener"]::after {
	content: '';
	position: absolute;
	inset: 0;
}

@media screen and (max-width: 678px) {
   .banners__item {
   	padding: 0.4rem 0.8rem;
   }
}


[id] {
	scroll-margin-top: calc(var(--h-header) + 2.5em);
}

[hidden],
.hidden {
	display: none !important;
}

[href$=".pdf"]::after {
	content: '\2009\eadf';
	font-family: 'icons';
	font-size: 1.2em;
}

[target="_blank"][rel="noopener"]::after {
	content: "\2009\e900";
	font-family: 'icons';
	font-size: 1em;
	vertical-align: -0.1rem;
}

[data-domain][data-user]::before {
	content: attr(data-domain) "\0040" attr(data-user);
	unicode-bidi: bidi-override;
	direction: rtl;
}

[href^=tel]::after {
	content: " \e942";
	font-family: "icons";
}

.e-mail::after {
	content: " \e908";
	font-family: "icons";
	vertical-align: bottom;
	font-size: 1.4em;
}

main h1 {
	position: relative;
	line-height: 2;
}

main h1::after {
	position: absolute;
	display: inline-block;
	font-size: 0.6em;
	font-weight: bold;
	letter-spacing: 0em;
	color: var(--sub-color);
	content: attr(id);
	text-transform: capitalize;
	bottom: -1.2em;
	left: 50%;
	transform: translateX(-50%);
}

h2 [target="_blank"][rel="noopener"]::after {
	font-size: 1em;
}

.pagination {
	display: flow-root;
}

.pagination li {
	display: inline-block;
	border: solid 1px var(--main-color);
}

.pagination li+li {
	border-width: 1px 1px 1px 0;
}

.pagination li>a {
	padding: 0.5em;
}

/*
 * Utility class:
 *
 */
.wrapper {
	position: relative;
	max-width: var(--wrapper-width, 768px);
	margin: 0 auto;
	padding-inline: 2em;
}

.flex-container {
	display: flex;
	row-gap: 2rem;
        column-gap: 1rem;
}
.flex-container > * {
	max-width: 50%;
}

@media (max-width: 576px) {
	.flex-container {
		justify-content: center;
                flex-direction: column-reverse;
	}

        .flex-container > * {
        	max-width: 100%;
        }
}

.frame {
	background-color: var(--color-light-purple);
	border-radius: 1rem;
	margin: 2rem auto;
	width: fit-content;
	padding: 3em;
}

.video>iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin-left: auto;
	margin-right: auto;
}

.wide {
	background-color: var(--bg-color);
	margin-inline: calc(50% - 50vw + (var(--scrollbar-width)/2));
	padding-inline: calc(50vw - 50%);
}

.heading1 {
	position: relative;
	text-align: center;
}

.heading1::after {
	content: "";
	position: absolute;
	width: 3em;
	height: 3px;
	left: 50%;
	bottom: -0.6em;
	background-color: var(--sub-color);
	transform: translateX(-50%);
}

.heading2 {
	font-size: var(--large);
	font-weight: bold;
}

.heading3 {
	padding-left: 1em;
	border-left: solid 5px var(--sub-color);
}

small.annotation,
ul.annotation {
	display: block;
	text-indent: -1em;
	padding-left: 1em;
}

ul.annotation {
	list-style: none;
}

small.annotation::before {
	content: "※";
	padding-right: 0.1em;
}

ul.annotation>li::before {
	content: "※";
	padding-right: 0.1em;
}

.letter_4ch {
	/*  display: inline-block; */
	/*  width: 4em; */
	/*  text-align: justify; */
	/*  text-justify: inter-character; */
}

.letter-4ch,
.letter-4ch__for3 {
	display: inline-block;
	width: 6em;
}

.letter-4ch__for3 {
	letter-spacing: 0.5em;
}

.letter-4ch::after,
.letter-4ch__for3::after {
	content: "：";
}

.letter-4ch__for3::after {
	margin-left: -0.5em;
}

.center {
	display: grid;
	place-content: center;
}

.text-center {
	text-align: center !important;
}

.text-left {
	text-align: left !important;
}

.text-right {
	text-align: right !important;
}

.text-indent {
	text-indent: 1em;
}

.font-xxx-small {
	font-size: var(--xxx-small) !important;
}

.font-xx-small {
	font-size: var(--xx-small) !important;
}

.font-x-small {
	font-size: var(--x-small) !important;
}

.font-small {
	font-size: var(--small) !important;
}

.font-medium {
	font-size: var(--medium) !important;
}

.font-large {
	font-size: var(--large) !important;
}

.font-x-large {
	font-size: var(--x-large) !important;
}

.font-xx-large {
	font-size: var(--xx-large) !important;
}

.font-xxx-large {
	font-size: var(--xxx-large) !important;
}

.font-normal {
	font-weight: normal !important;
}

.font-thin {
	font-weight: lighter !important;
}

.font-bold {
	font-weight: bold !important;
}

.letter-wide {
	letter-spacing: 0.12em;
}

.text-black {
	color: var(--color-black);
}

.text-white {
	color: var(--color-white);
}

.text-gray {
	color: var(--color-gray);
}

.text-dark-gray {
	color: var(--color-gray-70);
}

.text-red {
	color: var(--color-red);
}

.text-purple {
	color: var(--color-purple);
}

.text-orange {
	color: var(--color-orange);
}

.visually-hidden {
	position: fixed !important;
	top: 0px !important;
	left: 0px !important;
	width: 4px !important;
	height: 4px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	visibility: visible !important;
}

.char2:first-letter {
	letter-spacing: 2em;
}

.char3 {
	width: 4em;
	letter-spacing: 0.5em;
	white-space: nowrap;
}

a.btn,
button.btn,
div.btn {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0.3rem 3rem;
	-webkit-appearance: none;
	margin: 0;
	border: solid 1px var(--bg-black);
	background-color: var(--bg-white);
	font-size: var(--x-small);
	font-weight: bold;
	color: var(--bg-color-black);
	text-decoration: none;
	cursor: pointer;
	transition: 0.5s ease-in-out;
}

.btn:hover {
	color: var(--color-white);
	background-color: var(--bg-black);
	text-decoration-line: none;
}

.btn[tabindex="-1"] {
	pointer-events: none;
	opacity: .5;
}

a.btn::before,
a.btn::after,
a[rel="noopener"].btn::before,
a[rel="noopener"].btn::after,
button.btn::before,
button.btn::after,
div.btn::before,
div.btn::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 2px;
	top: calc(50% - 1px);
	right: 1.2rem;
	border-radius: 9999px;
	background-color: currentColor;
	transform-origin: calc(100% - 1.5px) 50%;
}

.btn::before {
	transform: rotate(45deg);
}

.btn::after {
	transform: rotate(-45deg);
}

.btn[disabled] {
	pointer-events: none;
	background-color: var(--bg-gray);
}

.fieldset {
	border: 1px solid var(--color-gray-70);
	border-top: none;
	margin: 2rem auto;
	padding: 0.5rem;
}

.fieldset > h2,
.fieldset > h3,
.fieldset > h4 {
	display: flow-root;
	margin: -1rem -0.6rem;
	padding-bottom: 1.5rem;
}

.fieldset > h2 span,
.fieldset > h3 span,
.fieldset > h4 span {
	font-size: var(--large);
	font-weight: bold;
	float: left;
	transform: translateY(-0.2em);
}

.fieldset > h2:before,
.fieldset > h3:before,
.fieldset > h4:before {
	border-top: 1px solid var(--color-gray-70);
	content: '';
	float: left;
	margin: 0.5rem 0rem 0 1px;
	width: 2rem;
}

.fieldset > h2:after,
.fieldset > h3:after,
.fieldset > h4:after {
	border-top: 1px solid var(--color-gray-70);
	content: ' ';
	display: block;
	height: 1.5rem;
	top: 0.5rem;
	left: 2px;
	margin: 0 3px 0 0;
	overflow: hidden;
	position: relative;
}

.important-notification {
	width: 100%;
	margin-block-end: 2rem;
	padding: 1rem 2rem;
	background-color: var(--bg-color-light-pink);
	border-radius: 8px;
	color: var(--color-red);
	font-size: var(--small);
}

.important-notification a {
	color: currentColor;
	text-decoration: underline;
}

.card {
	position: relative;
	display: inline-flex;
  width: 100%;
	flex-direction: row-reverse;
	justify-content: space-between;
	column-gap: 2vw;
	margin-bottom: 0.8rem;
	letter-spacing: normal;
}

@media screen and (max-width: 768px) {
	.card {
		justify-content: flex-start;
	}
}

.card h2,
.card h3 {
	text-align: left;
	font-size: var(--small-plus);
	font-weight: inherit;
	width: 100%;
}

.card img {
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1) inset;
}

.column-2 {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
}

.column-2>li {
	margin-bottom: 0.4rem;
}

.columns-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.2rem;
}

.inline {
	display: inline;
}

.inline-blk {
	display: inline-block;
}

.block {
	display: block;
}

.contents {
	display: contents;
}

.m0 {
	margin: 0em !important;
}

.m1 {
	margin: 1em;
}

.m2 {
	margin: 2em;
}

.m3 {
	margin: 3em;
}

.m4 {
	margin: 4em;
}

.m5 {
	margin: 5em;
}

.mt0 {
	margin-top: 0em !important;
}

.mt1 {
	margin-top: 1em;
}

.mt2 {
	margin-top: 2em;
}

.mt3 {
	margin-top: 3em;
}

.mt4 {
	margin-top: 4em;
}

.mt5 {
	margin-top: 5em;
}

.mr0 {
	margin-right: 0em !important;
}

.mr1 {
	margin-right: 1em;
}

.mr2 {
	margin-right: 2em;
}

.mr3 {
	margin-right: 3em;
}

.mr4 {
	margin-right: 4em;
}

.mr5 {
	margin-right: 5em;
}

.mb0 {
	margin-bottom: 0em !important;
}

.mb1 {
	margin-bottom: 1em;
}

.mb2 {
	margin-bottom: 2em;
}

.mb3 {
	margin-bottom: 3em;
}

.mb4 {
	margin-bottom: 4em;
}

.mb5 {
	margin-bottom: 5em;
}

.ml0 {
	margin-left: 0em !important;
}

.ml1 {
	margin-left: 1em;
}

.ml2 {
	margin-left: 2em;
}

.ml3 {
	margin-left: 3em;
}

.ml4 {
	margin-left: 4em;
}

.ml5 {
	margin-left: 5em;
}

.mx0 {
	margin-left: 0em !important;
	margin-bottom: 0em !important;
}

.mx1 {
	margin-left: 1em;
	margin-right: 1em;
}

.mx2 {
	margin-left: 2em;
	margin-right: 2em;
}

.mx3 {
	margin-left: 3em;
	margin-right: 3em;
}

.mx4 {
	margin-left: 4em;
	margin-right: 4em;
}

.mx5 {
	margin-left: 5em;
	margin-right: 5em;
}

.my0 {
	margin-top: 0em !important;
	margin-bottom: 0em !important;
}

.my1 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.my2 {
	margin-top: 2em;
	margin-bottom: 2em;
}

.my3 {
	margin-top: 3em;
	margin-bottom: 3em;
}

.my4 {
	margin-top: 4em;
	margin-bottom: 4em;
}

.my5 {
	margin-top: 5em;
	margin-bottom: 5em;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.p0 {
	padding: 0em !important;
}

.p1 {
	padding: 1em;
}

.p2 {
	padding: 2em;
}

.p3 {
	padding: 3em;
}

.p4 {
	padding: 4em;
}

.p5 {
	padding: 5em;
}

.pt0 {
	padding-top: 0em !important;
}

.pt1 {
	padding-top: 1em;
}

.pt2 {
	padding-top: 2em;
}

.pt3 {
	padding-top: 3em;
}

.pt4 {
	padding-top: 4em;
}

.pt5 {
	padding-top: 5em;
}

.pr0 {
	padding-right: 0em !important;
}

.pr1 {
	padding-right: 1em;
}

.pr2 {
	padding-right: 2em;
}

.pr3 {
	padding-right: 3em;
}

.pr4 {
	padding-right: 4em;
}

.pr5 {
	padding-right: 5em;
}

.pb0 {
	padding-bottom: 0em !important;
}

.pb1 {
	padding-bottom: 1em;
}

.pb2 {
	padding-bottom: 2em;
}

.pb3 {
	padding-bottom: 3em;
}

.pb4 {
	padding-bottom: 4em;
}

.pb5 {
	padding-bottom: 5em;
}

.pl0 {
	padding-left: 0em;
}

.pl1 {
	padding-left: 1em;
}

.pl2 {
	padding-left: 2em;
}

.pl3 {
	padding-left: 3em;
}

.pl4 {
	padding-left: 4em;
}

.pl5 {
	padding-left: 5em;
}

.px0 {
	padding-inline: 0em;
}

.px1 {
	padding-inline: 1em;
}

.px2 {
	padding-inline: 2em;
}

.px3 {
	padding-inline: 3em;
}

.px4 {
	padding-inline: 4em;
}

.px5 {
	padding-inline: 5em;
}

.py0 {
	padding-block: 0em;
}

.py1 {
	padding-block: 1em;
}

.py2 {
	padding-block: 2em;
}

.py3 {
	padding-block: 3em;
}

.py4 {
	padding-block: 4em;
}

.py5 {
	padding-block: 5em;
}

.v-align-top {
	vertical-align: top;
}

.show-pc {
	display: block;
}

.show-tb {
	display: block;
}

.show-sp {
	display: none;
}

/*
 * Doc page:
 *
 */

.toc-hamburger {
	display: none;
	appearance: none;
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 9;
	width: 3rem;
	height: 1.4rem;
	border: none;
	background-color: transparent;
	border-radius: 4px;
	cursor: pointer;
	padding: 0 0.5rem;
	line-height: 0.5;
}

.toc-hamburger>div {
	position: relative;
	width: 100%;
	height: 2px;
	background: var(--color-gray-70);
	transition: all 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.toc-hamburger>div:before,
.toc-hamburger>div:after {
	content: "";
	position: absolute;
	z-index: 1;
	top: calc((2px / 2) + (2px / 2) - (1.4rem / 2));
	left: 0;
	width: 100%;
	height: 2px;
	background: inherit;
	transition: all 0.4s ease;
}

.toc-hamburger>div:after {
	top: calc((1.4rem - 2px - 2px) / 2);
}

.toc-hamburger[aria-expanded="true"]>div {
	transform: rotate(135deg);
}

.toc-hamburger[aria-expanded="true"]>div::before,
.toc-hamburger[aria-expanded="true"]>div::after {
	top: 0;
	transform: rotate(90deg);
}

.toc-hamburger[aria-expanded="true"]>div::after {
	opacity: 0;
}

.toc-nav__inner {
	padding: 4rem 1.5rem 2rem;
}

.toc-nav__title {
	font-size: var(--large);
	margin-bottom: 1.5rem;
	text-align: left;
}

[data-show-toc="true"] .toc-hamburger {
	display: block;
}

[data-toc-opened="true"]>body {
	overflow: hidden;
}

[data-toc-opened="true"] .toc-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--bg-white);
	transition: all 500ms ease-out;
	z-index: 9;
	overflow-y: auto;
}

[id^=code] {
	position: relative;
	background: var(--bg-white);
	margin: 0;
	padding: 3rem 1.5rem 1rem 1.5rem;
	border-radius: 0.4rem;
}

.window {
	background-color: var(--bg-white);
	padding: 2rem 0.2rem 0.2rem;
	border-radius: 0.4rem;
	box-shadow: 0 0 8px 5px #00000020;
}

.window__header {
	position: absolute;
	width: 100%;
	height: 2.4rem;
	top: 0;
	left: 0;
	background-color: var(--bg-light-theme);
	border-radius: 0.4rem 0.4rem 0 0;
}

.window__buttons {
	height: 2.4rem;
	display: inline-flex;
	align-items: center;
	margin: 0 0.4rem;
}

.window__buttons>span {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	margin: 0 0.2rem;
	cursor: pointer;
}

.window__buttons>.close,
.window__buttons>.hide,
.window__buttons>.full {
	position: relative;
}

.window__buttons>.close {
	background: #ff5f57;
	border: 1px solid #e45952;
}

.window__buttons>.hide {
	background: #ffbd2d;
	border: 1px solid #e1a73e;
}

.window__buttons>.full {
	background: #27c93f;
	border: 1px solid #2bac2d;
}

.close>i,
.hide>i,
.full>i {
	position: absolute;
	inset: 0;
	left: 0.5px;
	bottom: 0.5px;
	line-height: 1;
	font-size: 0.6rem;
	font-style: normal;
	vertical-align: top;
	font-weight: bold;
	text-align: center;
	opacity: 0;
}

.close:hover>i,
.hide:hover>i,
.full:hover>i {
	opacity: 1;
}

.window__title {
	display: inline-block;
	margin: 0 auto;
	line-height: 2.4rem;
	font-weight: bold;
	font-size: 0.875rem;
	color: var(--color-gray-70);
}

.copy__button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	vertical-align: middle;
	position: absolute;
	font-weight: bold;
	color: var(--color-gray);
	top: 0.6rem;
	right: 0.2rem;
}

.copy__button::after {
	content: "\e925";
	font-family: "icons";
	font-size: 1.2rem;
	vertical-align: middle;
}

.copy__button>span {
	padding-inline-end: 0.4em;
}

.window .code {
	padding: 1.5rem 2rem;
}

.window code {
	display: inline-block;
	word-break: break-all;
	counter-increment: line-number;
	font-size: 1rem;
	text-indent: -1em;
}

.window code::before {
	content: counter(line-number)" ";
	font-family: initial;
	font-size: 0.9em;
	color: var(--color-gray);
}

.controle-panel {
	display: inline-flex;
	align-items: center;
	column-gap: 0.4rem;
	padding: 1rem;
}

.controle-panel img {
	vertical-align: bottom;
	width: 1.5em;
	height: auto;
}

.toggle-button {
	margin-right: 2rem;
	display: inline-block;
	position: relative;
	width: 50px;
	height: 25px;
	border-radius: 12.5px;
	background-color: #dddddd;
	cursor: pointer;
	transition: background-color .4s;
}

.toggle-button:has(:checked) {
	background-color: var(--color-gray-60);
}

.toggle-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	box-shadow: 0 0 5px rgb(0 0 0 / 20%);
	background-color: var(--color-white);
	transition: left .36s;
}

.toggle-button:has(:checked)::after {
	left: 25px;
}

.toggle-button input {
	display: none;
}

.darkmode-label {
	line-height: 1.6em;
	color: var(--color-gray-70);
}

.darkmode-label::after {
	content: "\e903";
	font-family: "icons";
	padding-left: 0.3em;
	font-size: 1.6em;
	vertical-align: middle;
}



/*
 * Publication:
 *
 */
#PublicationNav {
	position: sticky;
	margin-bottom: 2rem;
	top: var(--h-header);
	z-index: 1;
	background: linear-gradient(to bottom,
			rgba(255, 255, 255, 0.92) 70%,
			rgba(255, 255, 255, 0.78) 78%,
			rgba(255, 255, 255, 0.6) 86%,
			rgba(255, 255, 255, 0));
}

#PublicationNav ul {
	display: flex;
	justify-content: center;
	list-style: none;
}

#PublicationNav ul li {
	margin: 0;
	text-align: center;
}

#PublicationNav ul li a {
	display: inline-block;
	font-size: var(--medium);
	font-weight: 700;
	color: black;
	text-decoration: none;
	padding: 0.5em 1em;
	border-right: 1px solid var(--color-dark-night);
}

#PublicationNav ul li a:hover {
	color: var(--color-white);
  font-weight: 400;
	background-color: var(--color-dark-night);
}

#PublicationNav ul li a>span {
	display: block;
	font-size: 0.8em;
	font-weight: 400;
}

#PublicationNav ul li:last-child a {
	border-right: none;
}

.wrapper .researchmap-link {
	position: absolute;
	top: 0.4rem;
	right: 0;
	padding-right: 1rem;
	font-size: 0.875rem;
	text-align: right;
}


.publications section {
	margin-bottom: 2rem;
}

.publications>div>section,
#Paper>div>section {
	margin-bottom: 0;
}

.publications section+section {
	margin: 0;
	padding: 1rem 0;
}

#Paper>div>section+section {
	margin-top: 1em;
	padding: 0;
}

#Conference ul.conf-list {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}

#Conference ul.conf-list>li {
        padding: 0 0 0 1.2em;
	border-left: solid 4px var(--sub-color);
}

.publications section[id] {
	scroll-margin-top: calc(var(--h-header) + 4.5rem);
}

.publications section>* {
	text-align: left;
}

.publications section h2 {
  position: relative;
	font-size: var(--midium);
	margin-bottom: 2em;
	position: relative;
	border-bottom: solid 1px var(--color-gray-60);
	padding-bottom: 0.5em;
	padding-right: 0.5em;
}

.publications h2::after {
	display: inline-block;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0em;
	color: var(--sub-color);
	content: attr(data-title);
	text-transform: capitalize;
}

.publications section h2 > span {
  position: absolute;
  right: 0;
  top: 50%;
  font-weight: 400;
  font-size: var(--x-small);
  transform: translateY(-50%);
}

.publications section h3 {
	font-size: var(--small-plus);
	margin-bottom: 0.2rem;
}

.publications section hgroup>h3 {
	font-size: 0.92em;
}

.publications section hgroup>h4 {
	font-size: 0.85em;
}

.publications section p {
	font-size: var(--small);
	color: var(--color-gray-70);
	margin-left: 0;
	margin-bottom: 0.2rem;
}

.publications section span {
	font-size: var(--x-small);
	font-weight: bold;
}

.year>span,
.year>a {
	font-size: var(--x-small);
}

.publications [id^="2"],
.publications .section-container {
	position: relative;
	margin-left: 6em;
}

.publications #Conference .section-container,
.publications #Fund .section-container,
.publications #OtherActivities .section-container {
	margin-left: 1em;
}

.publications [id^="2"]::before {
	content: attr(id);
	position: absolute;
	top: 0;
	left: -6em;
	font-weight: bold;
	font-size: var(--small);
}

.publications .publication-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em;
}

.publications .publication-tags._full {
	gap: 0.1em;
	margin-top: 0.5em;
}

.publications .publication-tags._full>[class^="publication-tags"] {
	flex-basis: 100%;
	font-weight: 400;
}

.publications .publication-tags._full>[class^="publication-tags"] span {
	font-weight: 400;
}

.publications .publication-tags>._full {
	flex-basis: 100%;
}

.publications h3+.publication-tags {
	margin-top: 0.5em;
}

.publication-tags__type::after {
	content: attr(data-type);
	display: inline-block;
	font-weight: 400;
	line-height: calc(1em + .2em);
	padding: 2px 5px 1px 5px;
	background-color: var(--color-gray-70);
	color: var(--color-white);
	border: solid 1px var(--color-gray-70);
	margin-bottom: 0.2em;
}

.publication-tags__type[data-type="国内"]::after {
	background-color: var(--color-white);
	color: var(--color-gray-70);
}

.publication-tags .publication-tags__style {
        font-weight: 400;
        padding-inline: 4px;
	background-color: var(--color-gray-20);
}

.publication-tags .publication-tags__style.highlight {
	background-color: #f6ebdf;
        text-decoration: none;
}

.publication-tags .publication-tags__status {
	color: var(--accent-color-red);
}

.publication-tags .publication-tags__date {
	font-weight: 300;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.fadeIn {
	animation-name: fadeIn;
}

.fadeOut {
	animation-name: fadeOut;
}

.animated.slower {
	animation-duration: calc(var(--anime-duration) * 3);
	animation-delay: var(--anime-delay);
}

/*
 * Tablet and DesktopPC size:
 * 577 <= width
 */

@media (min-width: 769px) {
	#PublicationNavSP {
		display: none;
	}
}

@media (min-width: 577px) {
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
		color: inherit;
	}
}

/*
 * Tablet(sideways) size:
 * width <= 1024px 
 */
@media (max-width: 1024px) {
	.banners__item {
		flex: 0 0 calc((100% - 0.5rem * 2) / 3);
	}
}

/*
 * Tablet size:
 * width <= 768px 
 */
@media (max-width: 768px) {
	br.show-tb {
		display: none;
	}

	p {
		max-width: 45ch;
		margin-left: auto;
		margin-right: auto;
	}

	[data-scrolled="true"] body>header .header__inner {
		display: block;
	}

	.card-list {
		display: flex;
		flex-wrap: wrap;
		gap: 2vw;
	}

  .card-list > .card:nth-last-child(-n+2) {
    margin: 0;
  }

	li.card {
		flex-direction: column;
		align-items: center;
		row-gap: 0.4rem;
		max-width: calc((100% - 2vw * 2) / 3);
	}

	li.card .card__thumbnail {
		order: 1;
		width: 100%;
	}

	li.card .card__thumbnail>img {
		width: 100%;
		max-width: 100%;
	}

	li.card .card__title+.infogroup {
    flex-direction: row;
    column-gap: 8px;
		order: 2;
		width: 100%;
	}

	li.card .card__title a {
		font-size: var(--small);
	}

	li.card .card__title {
		order: 3;
	}

	li.card .card__thumbnail {
		min-width: auto;
	}

	#PublicationNav {
		display: none;
	}

	#PublicationNavSP {
		position: sticky;
		padding: 1rem 0 2rem 0;
		text-align: center;
		top: calc(var(--sp-min-h-header) + 0.5rem);
		z-index: 1;
		background: linear-gradient(to bottom,
				rgba(255, 255, 255, 0.92) 70%,
				rgba(255, 255, 255, 0.78) 78%,
				rgba(255, 255, 255, 0.6) 86%,
				rgba(255, 255, 255, 0));
	}

	.section-wrapper {
		position: relative;
		display: inline-block;
	}

	.section-wrapper::after {
		position: absolute;
		top: 25%;
		right: 0.8rem;
		transform: translateY(-50%);
		content: '';
		display: inline-block;
		width: 12px;
		height: 12px;
		border-top: 2px solid var(--color-gray-60);
		border-left: 2px solid var(--color-gray-60);
		border-right: 0px solid var(--color-gray-60);
		border-bottom: 0px solid var(--color-gray-60);
		transform: rotate(225deg);
		pointer-events: none;
	}

	.publications section[id] {
		scroll-margin-top: calc(var(--sp-min-h-header) + 4.5rem);
	}
}

/*
 * SmartPhone size:
 * width <= 576px
 */
@media (max-width: 576px) {
	img {
		width: 100%;
	}

	img[src$="main_logo.svg"],
  img[src$="main_logo.png"] {
		max-width: 220px;
	}

	br.show-pc {
		display: none;
	}

	br.show-sp {
		display: block;
	}

	.separete-line-wave+main {
		padding: 0;
	}

	.wrapper {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.frame {
		padding: 1.5em;
		border-radius: 0.5rem;
	}

	li.card {
		max-width: calc((100% - 2vw * 1) / 2);
		margin-bottom: 1.5rem;
	}

.card-list > .card:last-child {
  margin: 0;
}

	.banners__item {
		flex: 0 0 calc((100% - 0.5rem * 1) / 2);
	}

	.publications [id^="2"] {
		position: relative;
		margin-left: 4em;
	}

	.publications [id^="2"]::before {
		left: -4em;
	}

	.publications .section-container {
		margin-left: 2em;
	}
}

@media print,
(prefers-reduced-motion: reduce) {
	.animated {
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
		animation-iteration-count: 1 !important;
	}

	.animated[class*='Out'] {
		opacity: 0;
	}
}

@media print {
	header {
		display: none;
	}

	footer {
		display: none;
	}

	.separete-line-wave {
		display: none;
	}

	main {
		padding: 0
	}

	main::before {
		display: block;
		content: 'SyncMEMS Lab. 髙田グループ';
		text-align: center;
		color: var(--color-black);
		font-size: 0.875em;
		font-weight: 700;
		margin-bottom: 1em;
	}

	tr,
	td,
	th {
		page-break-inside: avoid
	}

	thead {
		display: table-header-group
	}

	.NoPrint {
		visibility: hidden;
		display: none
	}

	a {
		color: #000000
	}

	a[href^="http"]:after {
		content: " (" attr(href) ") ";
	}
}

/*
 * Member:
 *
 */
table.member-table {
	border: none;
	white-space: normal;
	word-break: break-all;
}

table.member-table :is(th, td) {
	position: relative;
	border: none;
	padding: 0.75rem;
	background: none;
	word-break: break-all;
}

table.member-table th {
	width: 140px;
}

table.member-table tr {
	position: relative;
	background: none;
	overflow: hidden;
}

table.member-table tr+tr:not(.noborder)> :is(th, td)::after {
	content: "";
	display: block;
	width: calc(100% - 1px);
	height: 1px;
	position: absolute;
	top: 0;
	right: 1px;
	border-top: dotted 1px var(--color-gray-60);
}

table.member-table td>ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

table.member-table td>ul>li:last-child {
	margin-bottom: 0;
}

table.member-table th>h2 {
	text-align: left;
	margin-top: -0.4em;
}

@media screen and (max-width: 768px) {
	table.member-table thead {
		display: none;
		/* ヘッダーを非表示 */
	}

table.member-table th {
	width: 100%;
}

	table.member-table,
	table.member-table tbody,
	table.member-table tr,
	table.member-table td {
		display: block;
		width: 100%;
	}

	table.member-table tr {
		margin-bottom: 1em;
		border: 1px solid #ddd;
		border-radius: 6px;
		padding: 8px;
	}

	table.member-table tr+tr:not(.noborder) :is(th, td)::after {
		content: none;
	}

	table.member-table td {
		border: none;
		position: relative;
	}

	table.member-table td::before {
		content: attr(data-label);
		/* thの内容を表示 */
		position: absolute;
		left: 10px;
		width: 45%;
		font-weight: bold;
		white-space: nowrap;
	}
}
