*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

:root {
  /* Base font size */
  --font-size-base: 16px;

  /* Type scale tokens */
  --font-size-xs: clamp(0.375rem, 0.304rem + 0.476vw, 0.875rem);
  --line-height-xs: 1.8;
  --font-size-s: clamp(0.5rem, 0.411rem + 0.595vw, 1.125rem);
  --line-height-s: 1.8;
  --font-size-r: clamp(0.688rem, 0.598rem + 0.595vw, 1.313rem);
  --line-height-r: 1.8;
  --font-size-m: clamp(0.75rem, 0.607rem + 0.952vw, 1.75rem);
  --line-height-m: 1.55;
  --font-size-l: clamp(0.938rem, 0.759rem + 1.19vw, 2.188rem);
  --line-height-l: 1.49;
  --font-size-xl: clamp(1.188rem, 0.964rem + 1.488vw, 2.75rem);
  --line-height-xl: 1.41;
  --font-size-2xl: clamp(1.438rem, 1.152rem + 1.905vw, 3.438rem);
  --line-height-2xl: 1.36;
  --font-size-3xl: clamp(1.813rem, 1.464rem + 2.321vw, 4.25rem);
  --line-height-3xl: 1.29;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
	height: -webkit-fill-available;
	scroll-behavior: smooth;
}

body {
	font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-weight: 500;
	color: #FFF;
	font-size: var(--font-size-s);
	line-height: var(--line-height-s);
	letter-spacing: 0.01em;
	text-align: justify;
	background-color: #131415;
	position: relative;
	z-index: 1;
}

body::before {
	content: "";
	width: 100svw;
	height: 100svh;
	position: fixed;
	top: 0;
	left: 0;
	background-image: url("../img/bg.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: -1;
}

.container {
	position: relative;
	width: 80%;
	max-width: 1920px;
	height: 100%;
	margin: 0 auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn linear;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

@supports not (animation-timeline: view()) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
	animation: slideIn linear;
	animation-timeline: view();
	animation-range: entry 0% cover 50%;
}

@supports not (animation-timeline: view()) {
  .slide-in {
    opacity: 1;
    transform: none;
  }
}

h1 {
	font-size: var(--font-size-xl);
	line-height: var(--line-height-xl);
	letter-spacing: 0.02em;
	font-weight: bold;
}

h2 {
    font-size: var(--font-size-3xl);
	line-height: var(--line-height-3xl);
	letter-spacing: 0.02em;
	font-weight: bold;
}

h3 {
	font-size: var(--font-size-m);
	line-height: var(--line-height-m);
	letter-spacing: 0.005em;
	font-weight: bold;
}

h4 {
	font-size: var(--font-size-r);
	line-height: var(--line-height-r);
	letter-spacing: 0.005em;
}

.sp-on {
	display: none;
}

/* --------------- Header --------------- */
#header {
	width: 100svw;
	height: auto;
	position: fixed;
	top: 0;
	left: 0;
	mix-blend-mode: difference;
	z-index: 2;
}

#header .container {
	position: relative;
}

#header .header-logo {
	position: absolute;
	top: 30px;
	left: 0;
	width: 250px;
	height: auto;
}

#header .header-logo img {
	width: 250px;
	height: auto;
}

#header .navi {
	position: absolute;
	top: 50px;
	right: 0;
}

#header .navi ul {
	line-height: 1;
}

#header .navi ul li {
	text-align: right;
	margin-bottom: 1em;
}

#header .navi ul li::after {
	content: '/';
	margin-left: 0.5em;
}

#header .navi ul li a {
	color: #FFF;
	position: relative;
	mix-blend-mode: difference;
	padding: 0.5em;
}

#header .navi ul li a::before {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 0;
	height: 100%;
	content: "";
	background-color: white;
	mix-blend-mode: difference;
	transition: 0.3s;
}
#header .navi ul li a:hover::before {
	width: 100%;
}

#header .navi ul li a.link-current::before {
	width: 100%;
}

#header #hamburger {
	display: none;
}

/* --------------- Contents --------------- */
main {
	position: relative;
	z-index: 1;
}

main h2 {
	font-family: "politica-expanded", sans-serif;
	font-weight: 700;
	font-style: normal;
	text-align: left;
	position: relative;
	z-index: 1;
}

main .container {
	min-height: 100svh;
	display: grid;
	align-content: center;
	padding: 3em 0;
}

.container .container_contentsBox {
	padding: 1em;
	border-left: 0.5px solid #FFF;
}

#about {
	background: #FFF url('../img/bg02.png') no-repeat border-box left bottom/contain scroll content-box;
	color: #131415;
}

#about .container .container_contentsBox {
	padding: 1em;
	border-left: 0.5px solid #131415;
}

#features h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	position: relative;
	z-index: 1;
	gap: 0.5em;
}

#features h2::before,
#features h2::after {
	content: "";
	flex: 1;
	height: 0.5px;
	border-top: 0.5px solid #FFF;
	margin: 0;
}

#features .container .container_contentsBox {
	padding: 2em 0 0;
	border: none;
}

#features .container .container_contentsBox ol {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1920px;
	margin: 0;
}

#features .container .container_contentsBox ol li {
	background-color: #FFF;
}

#features .container .container_contentsBox ol li h3 {
	text-align: center;
	margin: 0 auto;
	position: relative;
	padding: 1.5em 0 10px;
	background-color: #131415;
	color: #FFF;
	border: 0.5px solid #FFF;
	z-index: 1;
}

#features .container .container_contentsBox ol li h3::before {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #555;
	font-size: 1.5em;
	line-height: 1;
	content: attr(data-word);
	pointer-events: none;
	z-index: -1;
	font-family: "politica-expanded", sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: var(--font-size-3xl);
	line-height: var(--line-height-3xl);
}

#features .container .container_contentsBox ol li p {
	padding: 1em;
	color: #131415;
}

#strong-point {
	margin-top: 1em;
	border: 0.5px solid #FFF;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

#strong-point h3 {
	position: relative;
	display: grid;
	place-content: center;
	background-image: linear-gradient(130deg, rgba(19, 20, 21, 1), rgba(56, 59, 62, 1));
}
#strong-point h3::after {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	content: "";
	width: 50px;
	height: 0.5px;
	border-top: 0.5px solid #FFF;
	margin: 0;
}

#strong-point p {
	font-weight: 800;
	position: relative;
	display: grid;
	place-content: center;
	background: #FFF;
	color: #131415;
	padding: 2em 0 2em 1em;
}

#strong-point p::before {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	content: "";
	width: 50px;
	height: 0.5px;
	border-top: 0.5px solid #131415;
	margin: 0;
}

#services {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(2, 1fr);
	max-width: 1920px;
	margin: 1em 0 0;
}

#services .services_cotensBox {
	background-color: #FFF;
}

#services .services_cotensBox h3 {
	font-family: "politica-expanded", sans-serif;
	font-weight: 800;
	font-style: normal;
	text-align: center;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 0.5em;
	padding: 0.5em 1em 0;
	background-color: #383A3A;
	color: #FFF;
	border: 0.5px solid #FFF;
	border-bottom: none;
}

#services .services_cotensBox h3::before,
#services .services_cotensBox h3::after {
	content: "";
	flex: 1;
	height: 0.5px;
	border-top: 0.5px solid #FFF;
	margin: 0;
}

#services .services_cotensBox h4 {
	font-size: var(--font-size-r);
	line-height: var(--line-height-r);
	text-align: center;
	background-color: #383A3A;
	color: #FFF;
	padding-bottom: 0.5em;
	border-right: 0.5px solid #FFF;
	border-left: 0.5px solid #FFF;
}

#services .services_cotensBox ul {
	color: #131415;
	padding: 1em;
	text-align: left;
	display: grid;
	place-content: center;
}

#services .services_cotensBox ul li {
	white-space: nowrap;
}

#message .container {
	width: 100svw;
	background-color: #FFF;
	padding: 3em 0;
	color: #131415;
	text-align: center;
	display: grid;
	align-content: center;
}

#message h2 {
	position: relative;
	text-align: center;
	margin-bottom: 1em;
}

#message h2::after {
	display: block;
	content: "";
	position: relative;
	top: 0.5em;
	left: 0;
	width: 0.5px;
	height: 100px;
	margin-left: 50%;
	background-color: #131415;
}

#message h3 {
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 0.5em;
}

#message h3 span {
	background: #131415;
	color: #FFF;
	padding: 0 0.5em;
}

#message p {
	width: 80%;
	max-width: 1920px;
	margin: 0 auto;
}

#message h3::before,
#message h3::after {
	content: "";
	flex: 1;
	height: 0.5px;
	border-top: 0.5px solid #131415;
	margin: 0;
}

#president-message {
	position: relative;
	margin: 3em auto 0;
	width: 80%;
	max-width: 1920px;
	border: 0.5px solid #131415;
}

#president-message h3 {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,-50%);
	line-height: 1;
	background: #FFF;
	padding: 0 0.5em;
	white-space: nowrap;
}
#president-message h3::before,
#president-message h3::after {
	display: none;
}

#president-message h4 {
	font-size: var(--font-size-s);
	line-height: var(--line-height-s);
	letter-spacing: 0.01em;
	margin: 2em auto 1em;
	color: #FFF;
}

#president-message h4 span {
	padding: 0.5em 2em;
	background: #131415;
}

#president-message p {
	margin-bottom: 3em;
}

#company {
	display: grid;
	align-content: center;
}

#company table {
	margin-top: 1em;
	background-color: #FFF;
	border: 0.5px solid #FFF;
}

#company table tr {
	border-bottom: 0.5px solid #131415;
}

#company table tr:last-child {
	border-bottom: none;
}

#company table th,
#company table td {
	padding: 1em;
	vertical-align: middle;
}

#company table th {
	background-color: #383A3A;
}

#company table td {
	color: #131415;
}

#contact .contact-box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border: 0.5px solid #FFF;
	box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.35);
}

#contact .contact-box h2 {
	display: grid;
	place-content: center;
	background-image: linear-gradient(130deg, rgba(56, 59, 62, 1), rgba(19, 20, 21, 1));
}

#contact .contact-box h2::after {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	content: "";
	width: 30%;
	height: 0.05em;
	background: #FFF;
}

#contact .contact-box .contact-card {
	background: #FFF;
	color: #131415;
}

table.CF7_table {
	width: 90%;
	margin: 3em auto;
	border-collapse: separate;
	border-spacing: 0 1em;
}

table.CF7_table td {
	padding-bottom: 3px;
	overflow: hidden;
}

.CF7_table input, .CF7_table textarea {
	background: #e5e5e5;
	border: 0.5px solid #d8d8d8;
	width: 100%;
	padding: 0.5em;
	box-shadow: -999px 5px 0px #d8d8d8;
	-webkit-transition: all 500ms;
	transition: all 500ms;
}

.CF7_table input:focus, .CF7_table textarea:focus {
	box-shadow: 0px 5px 0px #131415;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}

.CF7_table ::placeholder {
	color:#797979;
}

.CF7_table span.wpcf7-list-item {
	margin: 0;
}

.CF7_table span.wpcf7-list-item label {
	display: flex;
	cursor: pointer;
}

.CF7_table span.wpcf7-list-item label input {
	width: auto;
	margin-right: 0.5em;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	box-shadow: none;
	-webkit-transition: none;
	transition: none;
}

.CF7_table span.wpcf7-list-item label input:focus {
	box-shadow: none;
    -webkit-transition: none;
    transition: none;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-textaera-placeholder {
	color: transparent;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
	color: transparent;
}
input:focus::-ms-input-placeholder,
textarea:focus::-ms-textarea-placeholder {
	color: transparent;
}
input:focus::placeholder,
textarea:focus::placeholder {
	color: transparent;
}

.CF7_table input.wpcf7-submit,
.wpcf7 input.wpcf7-submit {
	border: none;
	background: #131415;
	color: #FFF;
	text-align: center;
}

.CF7_table input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:hover {
	background: #383A3A;
}

.wpcf7 form.wpcf7-form {
	position: relative;
}

.wpcf7 form.sent table.CF7_table {
	visibility: hidden;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	text-align: center;
	margin: 0;
	padding: 1em;
}

#not-found .container  {
	text-align: center;
}

#not-found .container p {
	margin-bottom: 3em;
}

#not-found .container a {
	text-decoration: underline;
}

#not-found .container a:hover,
#not-found .container a:active {
	text-decoration: none;
}

footer {
	min-height: 50svh;
}

footer .container {
	position: relative;
	width: 100svw;
	min-height: 50svh;
	display: grid;
	align-content: center;
	background-color: #FFF;
	color: #131415;
}

footer .footer-logo {
	width: 150px;
	height: auto;
	margin: 0 auto;
}

footer .footer-logo img {
	width: 150px;
	height: auto;
}

footer .footer-logo a {
	text-align: center;
}

footer .container p {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}