@charset "UTF-8";

/*
 * Custom properties (variables)
 */
:root {
	/* Main colors */
	--main-color: #0c0806;
	--sub-color: #b0a3d4;
	--accent-color: #12adb3;
	--accent-color-red: #f3342c;
	
	/* Grayscale */
	--color-white: #fff;
	--color-black: #000;
	--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;
	
	/* Theme colors */
	--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;
	
	/* Background aliases */
	--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);
	
	/* Breakpoints */
	--sp-width: 576px;
	--tb-width: 768px;
	--pc-width: 1040px;
	--small-width: 420px;
	--wrapper-width: 768px;
	
	/* Layout sizes */
	--h-header: 100px;
	--sp-min-h-header: 42px;
	
	/* Font sizes */
	--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 */
	
	/* Animation */
	--anime-duration: 1s;
	--anime-delay: 1s;
	--anime-repeat: 1;
	
	/* Misc */
	--d: " . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
}

/*
 * Icon 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__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"; }

/*
 * Basic element styles
 */
*,
*::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;
}

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

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,
h4 > span {
	font-size: 0.875em;
}

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

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

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;
}

/* Japanese typography */
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: '「' '」' '『' '』';
}

/* Links */
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;
}

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

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

/* Definition lists */
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;
}

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

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

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

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

/* Figure */
figure {
	margin: 0;
	text-align: center;
}

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

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

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

/* Forms */
button {
	cursor: pointer;
}

input:not([type="radio"]),
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 1.25rem 0.5rem 0.5rem;
	color: var(--color-black);
	font-size: 0.9rem;
	font-weight: 700;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: var(--color-white);
	border: 1px solid var(--color-gray-60);
	cursor: pointer;
	border-radius: 3px;
}

/* Tables */
.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;
}

/* Special characters */
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;
}

/* Section spacing */
section + section {
	margin-top: 4rem;
	padding-bottom: 4rem;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeOut {
	from { opacity: 1; }
	to { opacity: 0; }
}

@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;
	}
}
