@charset "UTF-8";
/* CSS Document */

html {
	font-size: 62.5%;
	/* sets the base font to 10px for easier math */
	line-break: strict;
	/*
	scroll-behavior: smooth;
	*/
}

body {
	text-align: left;
	background-color: #fff;
	font-family: "motiva-sans", 'Hiragino Sans', YuGothic, "kozuka-gothic-pro", Meiryo, 'sans-serif';
	font-size: 14px;
	font-size: 1.4rem;
	font-feature-settings: "pkna";
	/* sets the default sizing to make sure nothing is actually 10px */
	font-weight: 300;
	color: #000;
	line-height: 1.6;
	padding: 0 3vw;
	min-height: 100vh;
	/*overflow: scroll;*/
}

h1, h2, h3, h4, h5 {
	font-family: alternate-gothic-atf, 'Hiragino Sans', YuGothic, "kozuka-gothic-pro", Meiryo, 'sans-serif';
}

h1, h2, h3 {
	text-align: center;
}

h1:first-child {
	margin-top: 0;
}

a {
	text-decoration: none;
	color: #000;
	cursor: pointer;
	position: relative;
	transition: opacity ease-out 0.3s;
}

a.inline-link {
	border-bottom: dotted 1px #666;
	position: relative;
	bottom: 0;
	transition: all ease-in 0.1s;
	font-weight: bolder;
}

a.inline-link:hover {
	bottom: 1px;
	padding-bottom: 1px;
	border-bottom: solid 1px #000;
	opacity: 1;
}

a.linkmarker {
	display: inline-flex;
}

a.linkmarker .fa {
	align-self: center;
}

a.linkmarker .fa-caret-right {
	color: rgb(212, 112, 78);
}

a .fa-angle-right::before {
	font-size: 1.3em;
	position: relative;
	bottom: -0.07em;
	padding-left: 0.3em;
}

a.linkmarker::after {
	content: "";
	display: block;
	position: absolute;
	left: -0.25em;
	bottom: -3px;
	width: calc(100% + 0.5em);
	height: 0;
	background: rgba(255, 185, 0, 0.8);
	transition: all ease-out 0.25s;
	z-index: -1;
}

.touch a.linkmarker::after {
	content: none;
}

a:hover {
	opacity: 0.7;
}

a.linkmarker:hover {
	opacity: 1;
}

a:hover::after {
	height: .7em;
	bottom: -1px;
}

img {
	max-width: 100%;
}

ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
}

.uppercase {
	text-transform: uppercase;
}

.nowrap {
	white-space: nowrap;
}

.bodyfont {
	font-family: "motiva-sans";
	font-size: 1.07em;
	letter-spacing: 0.03em;
}

.headline {
	font-size: clamp(3.2rem, calc(3vw / 0.8), 4.2rem);
	margin: 1em 0;
}

.headline > a > span {
	display: block;
}

.headline strong {
	display: block;
	font-weight: 400;
	line-height: 0.8;
	margin-bottom: 0.14em;
	z-index: 5;
}

.headline small {
	display: block;
	font-size: 0.44em;
	font-weight: 300;
	line-height: 1.2;
	z-index: 5;
}

.inner {
	margin: 0 1.5em;
}

#main {
	margin-left: 10rem;
	padding: 0 3.6rem;
	min-height: calc(100vh - 11.8rem - 17.9rem)
	/* (100vh - header全高 - footer全高) */;
	font-weight: 200;
}

.pageback {
	margin-top: 8rem;
}

.pageback a,
.ex-link a {
	display: inline-block;
	font-weight: 300;
	line-height: 1.4;
	margin: 0;
	color: #fff;
	position: relative;
	z-index: 0;
}

.pageback a {
	padding: 1.5em 1.25em 1.5em 2.5em;
	background: #979797;
	line-height: 1;
}

.ex-link a {
	padding: 1.5em 3.5em 1.5em 1.2em;
	background: #484848;
}

.pageback a:hover {
	opacity: 0.85;
}

.pageback a:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0.9em;
	height: 0;
	border-right: solid 2em #979797;
	border-top: solid 2em #aeaeae;
	border-bottom: solid 2em #aeaeae;
	z-index: -1;
	transition: width ease-out 0.2s;
}

.pageback a:hover:after {
	width: 0.5em;
}

.ex-link {
	margin-top: 2.5em;
}

.ex-link a:after {
	content: "";
	position: absolute;
	top: 0.6em;
	right: 0.6em;
	width: 2.3em;
	height: 2.3em;
	clip-path: polygon(0 0, 100% 100%, 100% 0);
	background: rgb(212, 112, 78);
	z-index: -1;
	transition: all ease-in-out 0.15s;
}

.ex-link a:hover:after {
	top: 0;
	right: 0;
}



@media screen and (max-width: 1000px) {

	/*html {
		font-size: 56.25%;
	}*/

	body {
		padding: 0 2vw;
	}

	#main {
		padding: 0 0.7vw;
		min-height: calc(100vh - 9.389rem - 15.9rem)
		/* (100vh - header全高 - footer全高) */;
	}
}


@media screen and (max-width: 800px) {

	#main {
		min-height: calc(100vh - 9.389rem - 20rem)
		/* (100vh - header全高 - footer全高) */;
	}
}


@media screen and (max-width: 640px) {

	#main {
		min-height: calc(100vh - (3.2rem + 5.4vw) - 22rem)
		/* (100vh - header全高 - footer全高) */;
	}
}