@charset "utf-8";
/* common.css — chrome shared by every page */

:root {
	--paper: #f4f7fb;
	--white: #ffffff;
	--ink: #0f2748;
	--ink_soft: #4d5f78;
	--ink_faint: #8095b0;
	--rule: #dbe4f0;
	--blue: #1b4f9c;
	--blue_dark: #0c2b57;
	--blue_wash: #e8eff8;
	--serif: "Lora", "Times New Roman", serif;
	--latin: "IBM Plex Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 15px;
	line-height: 1.95;
	-webkit-font-smoothing: antialiased;
}

img { border: 0; max-width: 100%; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.inner {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 22px;
}

.pc_only { display: none; }
.sp_only { display: block; }
.mb0 { margin-bottom: 0; }
.pc-mb0 { margin-bottom: 24px; }

/* ---- header ---- */

header {
	padding: 18px 0 10px;
}

header .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo img {
	width: 112px;
	-webkit-filter: brightness(0);
	filter: brightness(0);
}

header .sns {
	display: flex;
	gap: 10px;
	align-items: center;
}

header .sns a {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rule);
	border-radius: 50%;
	color: var(--blue);
}

header nav {
	position: relative;
}

.hamburger {
	display: block;
	position: relative;
	width: 30px;
	height: 22px;
	z-index: 60;
}

.hamburger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--ink);
	transition: transform .25s ease, opacity .25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.is_open span:nth-child(1) { -webkit-transform: translateY(10px) rotate(45deg); -moz-transform: translateY(10px) rotate(45deg); transform: translateY(10px) rotate(45deg); }
.hamburger.is_open span:nth-child(2) { opacity: 0; }
.hamburger.is_open span:nth-child(3) { -webkit-transform: translateY(-10px) rotate(-45deg); -moz-transform: translateY(-10px) rotate(-45deg); transform: translateY(-10px) rotate(-45deg); }

.hamburger_menu {
	display: none;
	position: absolute;
	top: 40px;
	right: 0;
	min-width: 230px;
	padding: 18px 24px 20px;
	background: var(--white);
	border: 1px solid var(--rule);
	z-index: 55;
}

.hamburger_menu.is_open { display: block; }

.dd_menu li + li { margin-top: 2px; }

.dd_menu a {
	display: block;
	padding: 8px 0;
	font-family: var(--latin);
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink);
}

.dd_menu a:hover { color: var(--blue); }

.sns_menu {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--rule);
	font-family: var(--latin);
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--blue);
}

/* ---- vertical section labels. the one pattern the whole layout hangs on ---- */

.white_mark {
	font-family: var(--latin);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--ink_faint);
	line-height: 2.4;
}

.white_mark span { display: inline-block; }

/* ---- back to top ---- */

#go_top {
	position: fixed;
	right: 14px;
	bottom: 16px;
	z-index: 40;
	font-family: var(--latin);
	font-size: 10px;
	letter-spacing: .24em;
	color: var(--ink_soft);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}

#go_top.shown { opacity: 1; pointer-events: auto; }
#go_top:before { content: "\2191"; display: block; text-align: center; margin-bottom: 2px; }

/* ---- footer ---- */

footer {
	margin-top: 90px;
	padding: 46px 0 40px;
	background: var(--blue_dark);
	color: #cfd9e8;
}

footer small { display: block; font-size: 100%; }

footer .ft_logo img {
	width: 112px;
	-webkit-filter: brightness(0) invert(1);
	filter: brightness(0) invert(1);
}

.ft_company {
	margin-top: 26px;
	font-size: 13px;
	line-height: 2.1;
}

.ft_company strong {
	display: block;
	font-family: var(--latin);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ffffff;
	font-weight: 500;
}

.ft_company a { color: #ffffff; border-bottom: 1px solid rgba(255,255,255,.35); }

.ft_links {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.16);
	font-family: var(--latin);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ft_links a { display: inline-block; margin: 0 14px 8px 0; color: #cfd9e8; }
.ft_links a:hover { color: #ffffff; }

.ft_note {
	margin-top: 18px;
	font-size: 11.5px;
	line-height: 2;
	color: #9fb2ca;
}

@media screen and (min-width: 768px) {
	body { font-size: 16px; }

	.inner { padding: 0 40px; }

	.pc_only { display: block; }
	.sp_only { display: none; }
	.pc-mb0 { margin-bottom: 0; }

	header { padding: 30px 0 14px; }

	header .inner {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	header nav { order: 1; flex: 1 1 auto; }
	.logo { order: 2; }
	header .sns { order: 3; margin-left: 22px; }

	.hamburger_menu {
		display: block;
		position: static;
		min-width: 0;
		padding: 0;
		background: none;
		border: 0;
	}

	.dd_menu ul { display: flex; gap: 26px; }
	.dd_menu li + li { margin-top: 0; }
	.dd_menu a { padding: 6px 0; font-size: 11px; }

	.logo img { width: 140px; }

	/* the labels only turn on their side once there is room beside a column */
	.white_mark {
		writing-mode: vertical-rl;
		text-orientation: mixed;
		letter-spacing: .34em;
		line-height: 1.9;
	}

	#go_top { right: 26px; bottom: 30px; }

	footer { margin-top: 130px; padding: 62px 0 56px; }

	footer .ft_inner { display: flex; justify-content: space-between; gap: 60px; }
	.ft_company { margin-top: 0; max-width: 420px; }
	.ft_links { margin-top: 0; padding-top: 0; border-top: 0; text-align: right; }
	.ft_links a { display: block; margin: 0 0 10px 0; }
}

@media screen and (min-width: 1100px) {
	.white_mark { font-size: 12px; }
	footer .ft_logo img { width: 130px; }
}
