
:root {
	--max-width: 1200px;
	--narrow-maxWidth: 650px;
	--wfix-width: 90%;
	--gap-width: 3em;
	--margin-bottom: 1em;
	--a-color: rgba(0, 110, 210, 1);
	--hover-color: rgba(235, 95, 0, 1);
}
/*-------------------*/
*,
:after,
:before {
	margin: 0;
	padding: 0;
	position: relative;
	box-sizing: border-box;
	border: none;
}

html {
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	min-width: 360px;
	scroll-behavior: smooth;
}

header,
nav,
main,
aside,
footer,
section,
article {
	margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
	margin-bottom: var(--margin-bottom);
}

p {
	margin-bottom: var(--margin-bottom);
}

ol,
ul {
	list-style-position: outside;
	margin-left: 2em;
	line-height: 1.4;
	margin-bottom: var(--margin-bottom);
}

li~li,
li~p {
	margin-top: 0.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin-left: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border-top-width: 1px;
	clear: both;
	color: inherit;
}

pre {
	font-family: monospace;
	font-size: inherit;
}

address {
	font-style: inherit;
}

a {
	background-color: transparent;
	text-decoration: none;
	color: var(--a-color);
}

a:hover {
	text-decoration: underline;
	color: var(--hover-color);
}

small {
	font-size: 80%;
}

embed,
iframe,
img,
object,
svg {
	vertical-align: bottom;
}

embed,
img,
object,
svg {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

img[src$=".svg"] {
	width: 100%;
}

table {
	border-color: inherit;
	border-collapse: collapse;
	margin-bottom: var(--margin-bottom);
}

table.border {
	border-color: rgba(0, 0, 0, 0.2);
}

td,
th {
	vertical-align: middle;
}

th {
	text-align: center;
}

td {
	text-align: left;
}

div>*:last-child,
th>*:last-child,
td>*:last-child {
	margin-bottom: 0;
}

span {
	display: inline-block;
}

.photo {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
}

.photo img {
	width: auto;
	height: auto;
}

/*----------------------------------*/
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.8;
	font-weight: lighter;
}

#container {
	margin: auto;
}

.wfix {
	margin: auto;
	width: var(--wfix-width);
	max-width: var(--max-width);
}

@media screen and (max-width: 799px) {
	body {
		font-size: 1.3em;
	}

	.wfix {
		max-width: var(--narrow-maxWidth);
	}
}

@media screen and (min-width: 800px) {
	body {
		font-size: 1.5em;
	}
}

@media screen and (max-height: 450px) {
	body {
		font-size: 1.3em;
	}
}

/* ------------------------------
header
--------------------------------*/
header {
	overflow: hidden;
}

header * {
	margin: 0;
}

#visual {
	width: 100%;
	background-image: url("../img/visual_a.webp");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	height: clamp(600px, 80vh, 800px);
}

#visual.b {
	background-image: url("../img/visual_b.webp");
}

#header_content {
	padding: 10px;
	width: 100%;
}

#header_content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-content: flex-start;
}

#name {
	width: 35%;
	max-width: 350px;
	filter: drop-shadow(0px 6px 1px rgba(0, 0, 0, 0.4));
}

#copy {
	width: 35%;
	max-width: 350px;
	filter: drop-shadow(0px 6px 1px rgba(0, 0, 0, 0.4));
}

@media screen and (max-width: 1199px) {
	#visual {
		background-size: 1200px auto;
	}
}

@media screen and (min-width: 1920px) {
	#visual {
		aspect-ratio: 2.5;
		height: inherit;
	}
}

@keyframes anime_flare {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.7;
	}

	100% {
		opacity: 1;
	}
}

#word {
	display: none;
}

@media screen and (min-width: 800px) {
	#word {
		display: block;
		width: fit-content;
		position: absolute;
		top: 54%;
		left: 50%;
		transform: translateX(-50%);
		font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
			"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
			"ＭＳ 明朝", serif;
		text-align: center;
		color: rgba(255, 255, 255, 1);
		font-size: clamp(8px, 0.7vw, 20px);
	}

	#word::before {
		content: "";
		display: block;
		width: 10em;
		height: auto;
		aspect-ratio: 1.2;
		background-image: url("../img/flare.webp");
		background-repeat: no-repeat;
		background-size: contain;
		mix-blend-mode: screen;
		position: absolute;
		left: 2em;
		top: 50%;
		transform: translateX(-41%) translateY(-45%) rotate(360deg);
		transition: all 0.5s ease-out;
		opacity: 0;
	}

	#word.finish::before {
		left: 0;
		opacity: 1;
		animation: anime_flare 2s infinite;
	}

	.str {
		display: inline-block;
		margin: 0 0.6vw;
		line-height: 1;
		transition: all 0.35s ease-out;
	}

	.str.space {
		width: 1em;
	}

	.str.hide {
		opacity: 0;
		transform-origin: center center;
		transform: scale(20);
	}
}

@media screen and (min-width: 600px) and (max-width: 1199px) and (orientation: portrait) {
	#visual {
		max-height: 600px;
	}
}

@media screen and (max-width: 799px) {
	#visual {
		background-image: url("../img/visual_c.webp");
		background-position: center top;
		background-size: cover;
		height: calc(100vh - 3em);
	}

	#header_content {
		height: 100%;
	}

	#name,
	#copy {
		position: absolute;
		transform-origin: right center;
		transform: rotate(-30deg);
		filter: drop-shadow(-4px 12px 0px rgba(0, 0, 0, 0.3));
	}

	#name {
		width: 75%;
		max-width: 320px;
		right: calc(5em + 5vw);
		bottom: calc(20em + 8vh);
	}

	#copy {
		width: 70%;
		max-width: 300px;
		right: calc(1em + 5vw);
		bottom: calc(28em + 8vh);
	}
}

@media screen and (max-width: 929px) and (max-height: 599px) {
	#visual {
		background-size: cover;
		height: max(100vh, 360px);
	}
}

/* ------------------------------
nav
--------------------------------*/
nav {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
}

nav .wfix {
	width: 100%;
	padding: 0.5em 0;
	overflow: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

nav .wfix::-webkit-scrollbar {
	display: none;
}

nav ul {
	width: fit-content;
	margin: auto;
	padding: 1em 1em;
	display: flex;
	font-size: 85%;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, 1);
	list-style-type: none;
}

nav li {
	margin: 0;
}

nav .opt {
	display: none;
}

nav li:not(.opt)~li:not(.opt)::before {
	content: "";
	display: inline-block;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	width: 1px;
	height: 100%;
	margin: 0 0.5vw;
	vertical-align: middle;
}

nav li a {
	padding: 0.75em 1vw;
	color: inherit;
}

nav li a:hover {
	color: inherit;
	text-decoration: none;
	background-color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-height: 450px) {
	nav ul {
		padding: 0.5em 1em;
	}
}

@media screen and (max-width: 599px) and (max-height: 929px) {
	nav {
		position: fixed;
		bottom: 0;
		background-color: rgba(4, 26, 47, 1);
		box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.18);
		z-index: 2;
	}

	nav li~li::before {
		content: "";
		display: inline-block;
		border-left: 1px solid rgba(255, 255, 255, 0.5);
		width: 1px;
		height: 100%;
		margin: 0 0.5vw;
		vertical-align: middle;
	}

	nav li.opt {
		display: block;
	}

	nav li a {
		padding: 0.75em 3vw;
	}
}

/* ------------------------------
main
--------------------------------*/
main {
	padding-bottom: 6em;
}

.main_article {
	padding: 2em 0;
}

.headline {
	text-align: center;
	padding: 2em 0;
}

.headline h2 {
	display: block;
	margin: auto;
	background-color: rgba(0, 27, 50, 1);
	padding: 0.6em 4em;
	color: rgb(255, 255, 255);
	line-height: 1.2;
	border: 2px solid #c21500;
	border-image: linear-gradient(to right,
			#21a9ce 0%,
			#a4bf64 25%,
			#f9c521 50%,
			#e53d2a 100%);
	border-image-slice: 1;
	white-space: nowrap;
	box-shadow: 0px 6px 3px -3px rgba(0, 0, 0, 0.2);
}

.headline h2::before {
	content: attr(data-eng);
	position: absolute;
	top: -0.5em;
	left: 50%;
	transform: translateX(-50%) translateY(-100%);
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
		"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
		"ＭＳ 明朝", serif;
	color: rgba(50, 50, 50, 1);
	font-size: 70%;
	font-weight: normal;
	line-height: 1;
	letter-spacing: 0.075em;
}

.headline h2::after {
	content: "";
	display: block;
	position: absolute;
	left: -20px;
	top: 30%;
	aspect-ratio: 1;
	height: 200%;
	transform: translateY(-50%);
	background-image: url("../img/mark.svg");
	filter: drop-shadow(0px 4px 1px rgba(0, 0, 0, 0.2));
}

.headline h2~h3 {
	margin-top: 2em;
}

.content {
	padding: 2em 0;
	letter-spacing: 0.05em;
}

.content_block {
	padding: 1em 0;
}

@media screen and (max-width: 799px) {
	.headline h2 {
		width: 80%;
		font-size: 100%;
	}

	.headline h3 {
		font-size: 110%;
	}

	.headline h3 br {
		display: none;
	}
}

@media screen and (min-width: 800px) {
	.headline h2 {
		font-size: 120%;
		border-width: 3px;
		width: fit-content;
	}

	.headline h3 {
		font-size: 140%;
	}
}

.anim {
	opacity: 0;
	transform: translateY(5em);
	transition: all 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.anim.acvive {
	transform: translateY(0);
	opacity: 1;
}

/* ------------------------------
#information
--------------------------------*/
#information {}

.infoList {
	margin: auto;
	width: 100%;
	list-style-type: none;
}

.infoList li {
	margin: 0;
	padding: 0.5em 0;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1em;
	line-height: 1.4;
}

.infoList li~li {
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.infoDate {
	display: inline-block;
	font-size: 75%;
	margin-top: 0.25em;
}

.infoCaption {
	display: inline-block;
	flex-grow: 1;
}

.infoCaption>* {
	margin-bottom: 0;
}

.infoCaption>*~* {
	margin-top: 0.5em;
}

.infoTrigger {
	cursor: pointer;
	color: var(--a-color);
}

.infoTrigger:hover {
	text-decoration: underline;
	color: var(--hover-color);
}

.infoTrigger::after {
	content: "▼";
	font-size: 50%;
	display: inline-block;
	margin-left: 0.75em;
	transform: translateY(-2px);
}

.infoDetail {
	display: block;
	font-size: 95%;
}

.infoDetail.hide {
	display: none;
}

@media screen and (min-width: 800px) {
	.infoList {
		width: fit-content;
		min-width: 600px;
	}
}

@media screen and (max-width: 450px) {
	.infoList li {
		flex-wrap: wrap;
		padding: 0.75em 0;
	}
}

/* ------------------------------
#services
--------------------------------*/
#services {
	padding: 0;
	color: rgba(255, 255, 255, 1);
	background-color: rgba(0, 100, 169, 1);
	background-image: url("../img/visual_d.webp");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
}

_:lang(x)+_:-webkit-full-screen-document,
#services {
	background-attachment: inherit;
}

#services .headline h2::before {
	color: rgba(255, 255, 255, 1);
}

.services_content {
	padding: 0 1.5em 1.5em 1.5em;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 6px;
	margin: 0 auto 1em auto;
	box-shadow: 0 10px 8px -4px rgba(0, 0, 0, 0.5);
}

.servicesCategory {
	border-left: 8px solid;
	padding-top: 1.25em;
	padding-left: 1em;
	line-height: 1;
}

#services_content-1 .servicesCategory {
	border-left-color: #ffe862;
}

#services_content-2 .servicesCategory {
	border-left-color: #73f967;
}

#services_content-3 .servicesCategory {
	border-left-color: #ff9b51;
}

#services_content-4 .servicesCategory {
	border-left-color: #fba3fb;
}

.servicesCategory span {
	display: inline-block;
}

.label_instance {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 80%;
	letter-spacing: 0.1em;
}

.label_instance .number {
	font-size: 280%;
	letter-spacing: -0.05em;
}

.categoryName {
	font-size: 80%;
	letter-spacing: 0.15em;
	margin-left: 1em;
}

.servicesRead {
	padding: 2em 0;
	border-bottom: 1px solid rgb(255, 255, 255);
}

.servicesRead h3 {
	font-size: 120%;
}

.servicesDetail {
	text-align: justify;
}

.servicesDetail .detail {
	padding: 2em 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.servicesDetail .detail::after {
	content: "";
	background-image: url("../img/services.svg");
	background-repeat: no-repeat;
	background-size: 200% 200%;
	width: clamp(4em, 12vw, 7em);
	height: auto;
	aspect-ratio: 1;
	opacity: 0.8;
	flex-shrink: 0;
	margin-left: 1em;
	filter: drop-shadow(0px 4px 0px rgba(0, 0, 0, 0.7));
}

#services_content-1 .servicesDetail .detail::after {
	background-position: left top;
}

#services_content-2 .servicesDetail .detail::after {
	background-position: right top;
}

#services_content-3 .servicesDetail .detail::after {
	background-position: bottom left;
}

#services_content-4 .servicesDetail .detail::after {
	background-position: bottom right;
}

.example {
	padding: 1.5em 1em;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	border: 1px solid;
	border-image: linear-gradient(to right,
			#21a9ce 0%,
			#a4bf64 25%,
			#f9c521 50%,
			#e53d2a 100%);
	border-image-slice: 1;
}

#services_content-1 .example {
	color: #ffe862;
}

#services_content-2 .example {
	color: #73f967;
}

#services_content-3 .example {
	color: #ff9b51;
}

#services_content-4 .example {
	color: #fba3fb;
}

.label_solution {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 85%;
	letter-spacing: 0.1em;
	transform: rotate(90deg);
	transform-origin: left top;
	transform-origin: 0 0;
	display: block;
	position: absolute;
	left: 28px;
	top: 1.5em;
	line-height: 1;
	height: 1em;
}

.exampleList {
	font-size: 85%;
	line-height: 1.4;
	margin-left: 3.5em;
}

#services_content-5 {
	margin-top: 3em;
	text-align: center;
}

#services_content-5 span {
	display: inline-block;
}

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

	.services_content,
	#services_content-2 {
		margin-bottom: 2em;
	}
}

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

	#services .content .wfix:nth-of-type(1),
	#services .content .wfix:nth-of-type(2) {
		display: flex;
		gap: var(--gap-width);
		align-items: baseline;
	}

	#services .content .wfix:nth-of-type(1) {
		margin-bottom: 10em;
	}

	.services_content {
		margin: 0;
	}

	#services_content-2 {
		transform: translateY(12em);
		max-width: 550px;
	}

	#services_content-3 {
		transform: translateY(-4em);
		max-width: 550px;
	}

	#services_content-4 {
		transform: translateY(10em);
	}

	#services_content-5 {
		margin-top: 8em;
	}
}

/* ------------------------------
#profile
--------------------------------*/
#profile {}

.profile_table {
	font-size: 90%;
	line-height: 1.4;
	letter-spacing: 0;
}

.profile_table:nth-of-type(1) th,
.profile_table:nth-of-type(1) td {
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

.profile_table th {
	white-space: nowrap;
	font-weight: normal;
	text-align: right;
	padding-right: 1em;
	vertical-align: top;
}

#profile_nameset {
	max-width: 360px;
	padding: 1em 2em 1.5em 1em;
	background-color: #161616;
}

#profile_content-2 {
	text-align: center;
	margin: 4em 0;
	padding: 3em 0;
	background-color: rgba(0, 0, 0, 1);
	color: rgba(255, 255, 255, 1);
}

#profile_contact {
	display: block;
	width: fit-content;
	margin: auto;
	line-height: 1.2;
	border: 2px solid #c21500;
	border-image: linear-gradient(to right,
			#21a9ce 0%,
			#a4bf64 25%,
			#f9c521 50%,
			#e53d2a 100%);
	border-image-slice: 1;
}

#profile_contact a {
	display: block;
	padding: 1em 5vw;
	border-radius: 5em;
	color: inherit;
}

#profile_contact a::before {
	content: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 70"><path d="M94,6v14L50,49.8L6,20V6H94z M37.6,48.7L50,57.1l12.4-8.4L85.5,64h-71L37.6,48.7z M6,62.4V27.2L32.3,45L6,62.4z M67.7,45 L94,27.2v35.2L67.7,45z"/></svg>');
	margin-right: 1em;
	width: 20px;
	height: 14px;
	line-height: 1;
	background-color: rgba(126, 177, 223, 1);
	display: inline-block;
	transform: translateY(2px);
}

#profile_contact a:hover {
	text-decoration: none;
}

#profile_contact::before {
	content: "";
	display: block;
	position: absolute;
	width: 0%;
	height: 100%;
	left: 50%;
	top: 0;
	background-color: rgba(1, 64, 91, 1);
	transition: all 0.5s;
	border-radius: 5em;
}

#profile_contact:hover::before {
	width: 100%;
	left: 0%;
	border-radius: 0;
}

#gmap {
	padding: 2em 0;
}

#profile_map p:last-of-type {
	font-size: 80%;
}

#profile_content-3 .profile_table th {
	padding-right: 0;
}

#profile_content-3 .profile_table td {
	vertical-align: top;
}

@media screen and (max-width: 799px) {
	#profile_content-1 .wfix:nth-of-type(1)::after {
		width: 90%;
		aspect-ratio: 1.5;
		margin: 4em auto 0 auto;
	}

	#profile_contact {
		width: 90%;
	}

	#gmap iframe {
		width: 90%;
		height: auto;
		aspect-ratio: 1.5;
		margin: 1em auto;
	}

	.profile_table {
		width: 100%;
	}

	.profile_table th {
		width: 30%;
	}

	#profile_content-3 .profile_table th {
		white-space: normal;
	}
}

@media screen and (min-width: 800px) {
	#profile_content-1 .wfix {
		display: flex;
		flex-direction: row-reverse;
		justify-content: center;
		align-items: flex-start;
		gap: var(--gap-width);
	}

	#profile_content-1 .wfix>* {
		margin: 0;
	}

	#gmap iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 2.5;
		max-width: 800px;
	}

	#profile_content-3 .wfix {
		display: flex;
		justify-content: center;
		gap: var(--gap-width);
	}
}

/* ------------------------------
#greeting
--------------------------------*/
#greeting {}

#greeting_content-1 {
	padding: 3em 0;
}

#greeting_content-1 .block:nth-of-type(2)::before {
	content: "";
	display: block;
	background-image: url(../img/url.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	width: 12em;
	height: 4em;
	margin: 6em auto;
}

#president {
	text-align: right;
	margin: 3em 0;
}

@media screen and (min-width: 800px) {
	#greeting_content-1 .wfix {
		display: flex;
		justify-content: center;
		gap: var(--gap-width);
	}
	#greeting_content-1 .wfix>* {
		width: 50%;
	}
}

/* ------------------------------
#privacy
--------------------------------*/
#privacy {}

#privacyList {
	line-height: inherit;
}

#privacyList>li~li {
	margin-top: 3em;
}

#privacyList li>ol,
#privacyList li>ol li~li {
	margin-top: 2em;
}

#privacyList ol {
	font-size: 90%;
}

#privacyList h3 {
	padding: 0.5em 0;
}

#privacyList h3::before {
	content: "";
	display: block;
	background-color: rgba(215, 215, 215, 0.5);
	height: 100%;
	width: calc(100% + 2em);
	position: absolute;
	top: 0;
	left: -2em;
	z-index: -1;
}

@media screen and (min-width: 800px) {
	#privacyList {
		line-height: inherit;
		column-count: 2;
		column-gap: calc(var(--gap-width) * 2);
	}
}

/* ------------------------------
.separate
--------------------------------*/
.separate {
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

_:lang(x)+_:-webkit-full-screen-document,
.separate {
	background-attachment: inherit;
}

#separate1 {
	background-image: url("../img/visual_e.webp");
}

#separate2 {
	background-image: url(../img/visual_g.webp);
}

.separate::before,
.separate::after,
nav::after,
#services::before,
#services::after {
	content: "";
	display: block;
	width: 100%;
	height: min(5em, 10vw);
	background-repeat: no-repeat;
	background-size: 1920px 200%;
}

.separate::before,
#services::before {
	background-image: url("../img/angle.svg");
	background-position: center top;
	transform: translateY(-2px);
	filter: drop-shadow(0px 2px 1px rgba(0, 0, 0, 0.3));
}

#services::before {
	margin-bottom: 6em;
	position: sticky;
	top: 0;
	z-index: 1;
}

.separate::after,
nav::after,
#services::after {
	background-image: url("../img/angle.svg");
	background-position: center bottom;
	transform: translateY(2px);
	filter: drop-shadow(0px -1px 1px rgba(0, 0, 0, 0.3));
}

#services::after {
	margin-top: 6em;
	position: sticky;
	bottom: 0;
	z-index: 1;
}

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

	.separate::before,
	.separate::after,
	nav::after,
	#services::before,
	#services::after {
		background-size: 200% 200%;
	}

	.separate::after {
		margin-top: 50vmin;
	}
}

@media screen and (min-width: 800px) {
	.separate::after {
		margin-top: 30vh;
	}
}

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

	.separate::before,
	#services::before {
		background-position: 30% top;
	}

	.separate::after,
	nav::after,
	#services::after {
		background-position: 60% bottom;
	}
}

/* ------------------------------
aside
--------------------------------*/
aside {
	padding: 3em 0;
	background-color: rgba(0, 0, 0, 0.1);
}

/* ------------------------------
footer
--------------------------------*/
footer {
	background-color: rgba(30, 30, 30, 1);
	color: rgba(255, 255, 255, 1);
	padding-top: 3em;
	border-top: 5px solid #c21500;
	border-image: linear-gradient(to right,
			#21a9ce 0%,
			#a4bf64 25%,
			#f9c521 50%,
			#e53d2a 100%);
	border-image-slice: 1;
}

#companyInfo {
	padding: 1em 0;
}

#company {
	width: min(80%, 360px);
	margin: auto auto 3em auto;
	padding-right: 2em;
}

#companyInfo .block {
	text-align: center;
}

#company span:nth-of-type(1) {
	font-size: 75%;
}

#address {
	letter-spacing: 0.1em;
	font-size: 80%;
}

#address span {
	display: inline-block;
}

#phone {
	transform: translateY(3px);
	line-height: 1.4;
	margin-bottom: 4em;
}

#companyInfo .label {
	font-size: 80%;
}

#companyInfo .number {
	font-size: 180%;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
		"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
		"ＭＳ 明朝", serif;
	font-weight: lighter;
	display: inline-block;
	transform: translateY(2px);
}

#copyright {
	color: rgba(180, 180, 180, 1);
	font-weight: lighter;
	background-color: rgba(0, 0, 0, 1);
	margin-top: 4em;
	padding: 2em;
	font-size: 65%;
	letter-spacing: 0.3em;
	text-align: center;
}

#copyright p {
	display: block;
	width: fit-content;
	margin: auto;
	background: -webkit-linear-gradient(0deg,
			#33c4f0,
			#63f033,
			#f0d133,
			#e08d16,
			#ff413b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#copyright span {
	display: contents;
}

@media screen and (max-width: 450px) {
	#address span {
		display: block;
	}
}

@media screen and (min-width: 800px) {
	#companyInfo {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		flex-wrap: wrap;
		gap: 1em;
	}

	#company {
		margin: 0;
		padding: 0;
		width: min(30%, 360px);
		flex-shrink: 0;
	}

	#companyInfo .block {
		display: flex;
		justify-content: flex-start;
		align-items: flex-end;
		flex-direction: row-reverse;
		flex-wrap: wrap;
		gap: 1em;
		margin-bottom: 1em;
	}

	#companyInfo p {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 599px) and (max-height: 929px) {
	footer {
		padding-bottom: 7em;
	}
}

/* ------------------------------
#up
--------------------------------*/
#up {
	display: block;
	width: 40px;
	height: 40px;
	padding: 10px;
	position: fixed;
	right: 10px;
	bottom: 10px;
	background-color: rgba(100, 100, 100, 1);
	z-index: 1;
	cursor: pointer;
	opacity: 0.7;
	animation: all 1s cubic-bezier(0.65, 0.05, 0.36, 1);
	transform: translateY(0px);
	box-shadow: 0 8px 6px -4px rgba(0, 0, 0, 0.4);
}

#up.hide {
	transform: translateY(50px);
}

#up a {
	opacity: 0;
}

#up::before {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	top: 60%;
	width: 45%;
	height: 45%;
	border-right: 4px solid #fff;
	border-top: 4px solid #fff;
	transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

#up:hover {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
}

@media screen and (max-width: 599px) and (max-height: 929px) {
	#up {
		position: relative;
		margin: 3em auto;
		right: inherit;
		bottom: inherit;
		background-color: rgba(0, 0, 0, 0);
		box-shadow: none;
	}
}