@font-face {
	font-family: 'IBMPlexSansJP';
	src: url('fonts/IBMPlexSansJP.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Route159';
	src: url('fonts/Route159.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
	unicode-range: U+0030-0039, U+0041-005A, U+0061-007A;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

h1 {
	font-size: 10em;
	font-family: 'IBMPlexSansJP', 'Route159', sans-serif;
}

body {
	font-family: 'IBMPlexSansJP', sans-serif;
	line-height: 1.6;
	color: #333;
	padding-top: 60px;
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.nav ul {
	list-style: none;
	display: flex;
	justify-content: flex-end;
}

.nav ul li {
	margin-left: 20px;
}

.nav ul li a {
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	border-radius: 5px;
}

.nav ul li a:hover {
	background: #555;
}

.container_title {
	padding: 60px 0;
	text-align: center;
}

.overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: black;
	text-align: center;
}

.MenuContainer {
	display: flex;
	align-items: center;
}

.zdo_drawer_menu {
	position: fixed;
	top: 0;
	right: -250px;
	width: 250px;
	height: 100%;
	background-color: black;
}

.zdo_drawer_menu.open {
	right: 0;
}

.zdo_drawer_button {
	position: absolute;
	left: -50px;
	width: 40px;
	height: 60px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: opacity 2s ease, width 0s;
}

.zdo_drawer_bar {
	width: 20px;
	height: 1px;
	background-color: black;
	margin: 2px 0;
}


.zdo_drawer_nav_wrapper {
	padding-top: 60px;
}

.zdo_drawer_nav {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.zdo_drawer_nav li {
	margin: 20px 0;
}

.zdo_drawer_nav li a {
	color: white;
	text-decoration: none;
	font-size: 18px;
}

.zdo_drawer_nav li a:hover {
	text-decoration: underline;
}

.container-box {
	display: flex;
	font-size: 1em;
	align-items: center;
	border-bottom: 1px solid #ccc;
	/* You can change the color and thickness */
	padding-bottom: 10px;
	/* Adds spacing between the content and the border */
	margin-bottom: 10px;
	/* Adds spacing between the boxes */
}

.container-box p {
	margin-right: 10px;
	font-size: 1em;
}

.contact-link {
	color: black;
	text-decoration: none;
	font-size: 1.5em;
	display: inline-flex;
	align-items: center;
	margin-left: auto;
}

.contact-link:hover {
	color: #e1306c;
}

#intro {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
	z-index: 999;
	opacity: 1;
	transition: opacity 2s ease;
	overflow: hidden;
}

#intro img {
	max-width: 100vw;
	max-height: 100vh;
	width: auto;
	height: auto;
	object-fit: contain;
	/* background-color: white; */
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: white;
	z-index: 1000;
	display: none;
	/* 初期状態で非表示 */
	justify-content: flex-start;
	align-items: center;
	padding-left: 10px;
	opacity: 0;
	transition: opacity 2s ease;
}

body.show-header header {
	display: flex;
	/* 表示する */
	opacity: 1;
}

.header-icon {
	width: auto;
	height: 60px;
	margin-right: 10px;
}

.no9-icon {
	width: 40px;
	height: auto;
	margin-right: 10px;
}

body.show-header header {
	opacity: 1;
	width: 100%;
}

.greeting-section {
	text-align: center;
	border-bottom: 1px solid #ccc;
	width: 100%;
	margin: 0 auto;
}

.greeting-title {
	font-size: 1em;
	color: #333;
}

.greeting-message {
	font-size: 0.5;
	margin: 5;
	line-height: 1.8;
	color: #555;
}

.inner-block {
	top: 0;
	left: 0;
	position: relative;
	width: 100vw;
	overflow: hidden;
	background-color: white;
	/* 背景色を最背面に設定 */
	border-bottom: 1px solid #ccc;
}

.fade-img-box {
	top: 0;
	left: 0;
	width: 100vw;
	position: relative;
	background-color: white;
	/* 高さを4:3のアスペクト比に設定 */
	padding-top: 75%;
	height: 0;
}

.fade-img-box img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 画像を重ねるために絶対配置 */
}

.intro-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: black;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.5s ease;
}

#matrix-frame {
	width: 100%;
	height: 100%;
	border: none;
}

.lang {
    position: fixed;
    top: 18px; /* Adjust top position as needed */
    right: 60px; /* Adjust right position to be slightly left of MenuContainer */
    z-index: 1001; /* Ensure it's above other elements */
}

.lang a {
    color: inherit; /* Inherit the color from the parent element */
    text-decoration: none; /* Remove underline */
}

.lang a:hover {
    text-decoration: none; /* Remove underline on hover */
}