/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
	box-sizing: border-box;
}
* {
	margin: 0;
	padding: 0;
	outline: none;
	min-height: 0vw;
}
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}
input,
button,
textarea,
select {
	font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}
#root,
#__next {
	isolation: isolate;
}
li {
	list-style-type: none;
}
/* ----------------------------------------------------------------
	Common
-----------------------------------------------------------------*/
:root {
	--easing: cubic-bezier(0.2, 1, 0.2, 1);
	--transition: 2s var(--easing);
	--color-base: #062c49;
	--color-darkblack: #000;
	--color-black: #111;
	--color-gray: #555;
	--color-darkgray: #444;
	--color-lightgray: #ccc;
	--color-xlightgray: #f8f8f8;
	--color-white: #fff;
	--color-link: #0b4e81;
	--color-linkhover: #666;
	--scrollbar: 0;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	background: var(--color-white);
	font-feature-settings: "palt";
	font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
	font-style: normal;
	font-size: 0.875rem;
	font-weight: 300;
	color: var(--color-black);
	letter-spacing: 0.02rem;
	line-height: 1.8;
	animation: fadeIn 2s ease-in-out 0s 1 normal;
	-webkit-animation: fadeIn 2s ease-in-out 0s 1 normal;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
body.nav_open {
	overflow: hidden;
	position: fixed;
	left: 0;
	width: 100%;
}
body.nav_open .header--wrap,
body.nav_open .header--nav,
body.nav_open .title--category,
body.nav_open .container--leaf,
body.nav_open .container {
	overflow: auto;
	scrollbar-gutter: stable;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}
img {
	width: 100%;
	height: auto;
	max-width: 100%;
	vertical-align: top;
	pointer-events: none;
}
a {
	text-decoration: none !important;
	color: var(--color-link);
}
a:hover {
	text-decoration: none !important;
	color: var(--color-linkhover);
	transition: var(--transition);
}
ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mb-none {
	margin-bottom: 0 !important;
}
.mb-xs {
	margin-bottom: 0.5rem !important;
}
.mb-s {
	margin-bottom: 1rem !important;
}
.mb-m {
	margin-bottom: 1.5rem !important;
}
.mb-l {
	margin-bottom: 2rem !important;
}
.mb-xl {
	margin-bottom: 3rem !important;
}
.mb-xxl {
	margin-bottom: 4rem !important;
}
.mb-xxxl {
	margin-bottom: 6rem !important;
}
.mt-s {
	margin-top: 1rem !important;
}
.mt-m {
	margin-top: 1.5rem !important;
}
.mt-l {
	margin-top: 2rem !important;
}
.mt-xl {
	margin-top: 3rem !important;
}
.mt-xxl {
	margin-top: 4rem !important;
}
.mt-xxxl {
	margin-top: 6rem !important;
}
.pb-none {
	padding-bottom: 0 !important;
}
.pb-xs {
	padding-bottom: 0.5rem !important;
}
.pb-s {
	padding-bottom: 1rem !important;
}
.pb-m {
	padding-bottom: 1.5rem !important;
}
.pb-l {
	padding-bottom: 2rem !important;
}
.pb-xl {
	padding-bottom: 3rem !important;
}
.pb-xxl {
	padding-bottom: 4rem !important;
}
.pt-s {
	padding-top: 1rem !important;
}
.pt-m {
	padding-top: 1.5rem !important;
}
.pt-l {
	padding-top: 2rem !important;
}
.pt-xl {
	padding-top: 3rem !important;
}
.pt-xxl {
	padding-top: 4rem !important;
}
.pt-none {
	padding-top: 0 !important;
}
.lineheight-s {
	line-height: 1.5;
}
.center {
	text-align: center !important;
}
.right {
	text-align: right !important;
}
.vtop {
	vertical-align: top;
}
.en {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 0.938rem;
}
@media screen and (max-width: 900px) {
	.en {
		font-size: 0.813rem;
		line-height: 1.6;
	}
}

/* ----------------------------------------------------------------
	header
-----------------------------------------------------------------*/
header {
	background: var(--color-white);
	z-index: 100;
	width: 100%;
	position: fixed;
	border-bottom: var(--color-lightgray) solid 1px;
}

header .inner {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 3%;
}

#global-nav {
	flex: 1;
}

#global-nav ul {
	display: flex;
	justify-content: center;
	column-gap: 1.2rem;
}

#global-nav ul li {
	text-align: center;
	padding: 1rem 0;
	cursor: pointer;
}

#global-nav ul li a:hover,
#global-nav ul li:hover,
footer nav li a:hover {
	color: var(--color-black);
	transition: var(--transition);
}

#global-nav ul li.parent ul {
	display: flex;
	flex-direction: column;
	z-index: 200;
}

#global-nav ul li.parent ul {
	position: absolute;
	top: 69px;
	background-color: var(--color-white);
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s;
}
#global-nav ul li.parent:hover ul {
	visibility: visible;
	opacity: 1;
}
#global-nav ul li.parent ul li {
	width: 290px;
	padding: 0.8rem 1rem;
	text-align: left;
	border-bottom: var(--color-lightgray) solid 1px;
}
#global-nav ul li.parent ul li i {
	color: var(--color-base);
	margin: 5px 5px 0 0;
	font-size: 0.875rem;
}
#global-nav ul li.parent ul li a {
	display: block;
	line-height: 1;
	font-size: 1rem;
}
#global-nav ul li.parent ul li a:hover {
	color: var(--color-black);
}
#global-nav ul li.parent ul li:hover {
	background-color: var(--color-lightgray);
}
@keyframes fadedown {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

header #global-nav ul li a {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 0.875rem;
	text-decoration: none;
	letter-spacing: 0.02rem;
	text-transform: uppercase;
	text-decoration: none !important;
}
header #global-nav ul li a small,
header.fixed #global-nav ul li a small,
footer nav li a small {
	font-size: 0.752rem;
}

header.fixed #global-nav ul li:hover,
header.fixed #global-nav ul li a:hover {
	color: var(--color-base);
	text-decoration: none !important;
}
footer nav li a:hover {
	color: var(--color-gray);
	text-decoration: none !important;
}

/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 1.5em;
	top: 16px;
	width: 30px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}

#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: var(--color-black);
	left: 0;
	-webkit-transition: 0.35s ease-in-out;
	-moz-transition: 0.35s ease-in-out;
	transition: 0.35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}

#nav-toggle span:nth-child(2) {
	top: 11px;
}

#nav-toggle span:nth-child(3) {
	top: 22px;
}
/* ----------------------------------------------------------------
	992以下
-----------------------------------------------------------------*/
@media screen and (max-width: 900px) {
	header {
		border-bottom: none;
	}

	header.open {
		height: 100vh;
		background: rgba(255, 255, 255, 1);
		transition: 0.5s;
	}

	header {
		top: 0;
		position: fixed;
		margin-top: 0;
		transition: 0.5s ease-out;
	}
	#mobile-head {
		background: var(--color-white);
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}
	#global-nav {
		position: absolute;
		top: -100vh;
		width: 100%;
		-webkit-transition: 0.5s ease-in-out;
		-moz-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out;
		z-index: -10;
	}

	#global-nav ul {
		width: 80%;
		list-style: none;
		position: relative;
		margin: 0 auto;
		flex-direction: column;
	}

	#global-nav ul li {
		text-align: center;
	}
	#header.fixed #global-nav ul li:hover {
		color: var(--color-black);
	}

	#global-nav ul li:last-child {
		margin-bottom: 1.5rem;
	}

	#global-nav ul li:after {
		display: none;
	}
	#global-nav ul li.parent {
		position: relative;
		border-top: var(--color-lightgray) solid 1px;
	}
	#global-nav ul li.parent::before {
		content: "";
		position: absolute;
		right: 15px;
		top: 28px;
		width: 8px;
		height: 8px;
		border-top: 2px solid var(--color-base);
		border-right: 2px solid var(--color-base);
		transform: rotate(135deg);
		z-index: -1;
	}
	#global-nav ul li.parent.active::before {
		transform: rotate(-45deg);
	}
	#global-nav ul li.parent ul {
		position: relative;
		background-color: var(--color-white);
		top: 0;
	}
	#global-nav ul li.parent ul {
		visibility: visible;
		opacity: 1;
		border-bottom: none;
		display: none;
		transition: none;
		margin: 1rem 0 0;
	}
	#global-nav ul li.parent ul li {
		width: 100%;
		margin-bottom: 0;
		border: none;
		padding: 0.5rem 0.8rem 1rem;
	}
	header #global-nav ul li a,
	header.fixed #global-nav ul li a {
		font-weight: 400;
		font-size: 1.12rem;
		width: 100%;
		display: block;
	}

	#nav-toggle {
		display: block;
	}
	#global-nav ul li a:hover,
	#global-nav ul li:hover {
		color: var(--color-black);
	}
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}

	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}

	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}

	.open #global-nav {
		-moz-transform: translateY(100vh);
		-webkit-transform: translateY(100vh);
		transform: translateY(100vh);
		overscroll-behavior-y: contain;
		overflow-y: auto;
		height: 100vh;
		display: flex;
		align-items: center;
	}
}
/* ----------------------------------------------------------------
	Content
-----------------------------------------------------------------*/
.content {
	max-width: 900px;
	padding: 1rem;
	margin: 0 auto;
	padding-top: 60px;
}
.inner--wrap {
	max-width: 800px;
	padding: 1rem;
	margin: 0 auto;
	display: flex;
}
h1 {
	font-family: "Roboto", sans-serif;
	font-weight: 100;
	font-size: clamp(2.25rem, 1.625rem + 2.667vw, 3.125rem);
	padding: 3rem 0;
	text-transform: uppercase;
	text-align: center;
}
h2 {
	font-weight: 600;
	font-size: 1.125rem;
	padding: 0 0 0.5rem;
	text-align: center;
}
.border-title {
	position: relative;
	margin-bottom: 30px;
}
.border-title h3 {
	font-family: "Roboto", sans-serif;
	font-size: clamp(1.25rem, 1.027rem + 0.952vw, 1.563rem);
	font-weight: 300;
	position: relative;
	display: inline-block;
	padding: 0 15px 0 20px;
	margin-bottom: 0;
	background: #fff;
	text-transform: uppercase;
}
.border-title.title-border:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 0;
	border-top: 3px double #e5e5e5;
	left: auto;
	top: 46%;
	right: 0;
}
.border-title.title-border:before {
	top: 49%;
	border-top: 1px solid #ddd;
}
.title-block {
	padding: 2px 0 3px 0px;
	border-left: 5px solid var(--color-link);
	margin-bottom: 30px;
}
.title-block > span {
	display: block;
	margin-top: 0px;
	padding-left: 22px;
	color: var(--color-link);
	font-weight: 400;
	font-size: 0.875rem;
}
.nobgcolor {
	background-color: transparent !important;
}

/* ----------------------------------------------------------------
	Media
-----------------------------------------------------------------*/
.inner--wrap.media {
	flex-direction: column;
	row-gap: 1rem;
}
.media--box {
	width: 340px;
	border: var(--color-lightgray) solid 1px;
	text-align: center;
	position: relative;
	transition: var(--transition);
}
.media--box a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.media--box:hover {
	background: var(--color-xlightgray);
	text-decoration: none !important;
	transition: var(--transition);
}
.media--box p {
	color: var(--color-black);
	text-decoration: none;
	font-size: 0.875rem;
}

.media--box p.en {
	font-size: 0.75rem;
	color: var(--color-black);
	padding-bottom: 0.8rem;
	letter-spacing: 0;
	line-height: 1.3;
}
.media--box p.en a {
	position: relative;
}
@media (max-width: 500px) {
	.media--box {
		width: 325px;
	}
}
/* ----------------------------------------------------------------
	Client
-----------------------------------------------------------------*/
.inner--wrap.client li {
	margin-bottom: 0.5rem;
}
/* ----------------------------------------------------------------
	Book
-----------------------------------------------------------------*/
.inner--wrap.pub {
	flex-direction: column;
	row-gap: 1rem;
}
.leaf--book-multi {
	width: 100%;
	display: flex;
	border: var(--color-lightgray) solid 1px;
	position: relative;
	text-align: left;
}

.leaf--book-multi:hover {
	background-color: var(--color-xlightgray);
	transition: 0.5s;
}

.leaf--book-multi a {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.book--desc-multi {
	display: flex;
	flex-direction: column;
	align-content: center;
	padding: 1rem;
	width: 100%;
}

.book--desc-multi h2 {
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 600;
	text-align: left;
	margin-bottom: 1rem;
	padding: 0.3rem 0 0 0;
}

.book--desc-multi p {
	line-height: 1.5;
	margin-bottom: 0.5rem;
}
.book--desc-multi p a {
	position: relative;
}

.book--image {
	padding: 1rem;
}
.book--image img {
	width: 150px;
	border: var(--color-lightgray) solid 1px;
	filter: grayscale(1);
}

.book--desc-multi a {
	width: 180px;
	text-decoration: none;
}
@media (max-width: 500px) {
	.leaf--book {
		display: flex;
		flex-direction: column;
		margin: 0 1.5rem 3rem;
	}

	.book--desc {
		padding: 1.5rem;
		width: 100%;
	}
	.book--desc-multi h2 {
		font-size: 1rem;
	}
	.leaf--book-multi {
		display: flex;
		flex-direction: column;
		margin: 0 auto 3rem;
	}

	.book--image {
		width: 100%;
		padding-bottom: 0;
	}

	.book--image img {
		width: 100px;
		margin: 0 auto;
	}

	.book--desc-multi {
		width: 100%;
	}
}
/* ----------------------------------------------------------------
	Profile
-----------------------------------------------------------------*/
.company dl {
	width: 800px;
	display: flex;
	flex-flow: row wrap;
	border-top: 1px solid var(--color-lightgray);
}
.company dt {
	width: 155px;
	font-weight: 400;
	padding: 0.5rem 1rem;
	background-color: var(--color-xlightgray);
	border-bottom: 1px solid #ccc;
}
.company dd {
	width: calc(100% - 155px);
	padding: 0.5rem 1rem;
	background-color: #fff;
	border-bottom: 1px solid var(--color-lightgray);
}
@media screen and (max-width: 559px) {
	.company dl {
		flex-flow: column;
	}
	.company dt {
		width: 100%;
	}
	.company dd {
		width: 100%;
	}
}
/* ----------------------------------------------------------------
	Privacy
-----------------------------------------------------------------*/
.iframe--wrap {
	height: 460px;
	padding: 1rem;
	border: var(--color-lightgray) solid 1px;
	overflow-y: scroll;
}
.iframe--wrap p {
	margin-bottom: 1rem;
}
.iframe--wrap h3 {
	font-size: 1.12rem;
	color: var(--color-link);
	margin: 1.5rem 0;
}
.iframe--wrap h4 {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}
.iframe--wrap ul {
	list-style-type: disc;
	margin: 1rem 1rem 1.5rem 2rem;
}
.iframe--wrap li {
	list-style-type: disc;
}
/* ----------------------------------------------------------------
	Fotter
-----------------------------------------------------------------*/
footer {
	border-top: var(--color-lightgray) solid 1px;
	padding: 1.5rem;
}
footer p {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	text-align: center;
}
