/* CSS Document */

@charset "UTF-8";

body {
	background: none;
}

header {
	margin: 0;
	position: relative;
	width:100%;
	aspect-ratio: 16 / 9;
	max-height: 422px;
	min-height: 100vh;
	display:inline-block;
	background-color: transparent;
	overflow:hidden;
	background-image:url("../img/message/main.jpg");
	background-repeat: no-repeat;
	background-size: cover; /*cover*/
	background-position: top center; /* 中央に配置 */
}

@media only screen and (max-width: 769px) {
	header {
		background-image:url("../img/message/main_sp.jpg");
	}
}
/*header h1 {
	border: 1px solid #F00;
	position: absolute;
	top: 1vh;
	left: 1vw;
	z-index: 1;
	width: 50vw;
	height: 2vh;
}*/

header h1 {
	margin: 0;
	/*border: 1px solid #F00;*/
	position: fixed !important; /* absolute から fixed に変更 */
	/*top: 0;
	left: 0;*/
	top: 22px;
	left: 24px;
	z-index: 99999;
	max-width: 500px;
	width: 30vw;
	/*height: 0;*/
	/*text-indent: -10000px;*/
	/*padding-top: 5vh;*/
	/*margin-top: 4vh;
	margin-left: 2vw;*/
	/*background: url("../img/top/h2_mes.svg") 0 0 no-repeat;*/
	background: url("../img/common/logow.svg") no-repeat left top / contain;
	/*background-repeat: no-repeat;
    background-size: 100%;*/
    overflow: hidden;
	/*opacity: 0.5;*/
	/*background-color:rgba(255,255,255,0.8);
	background-blend-mode:lighten;*/
}
header h1 span {
	display: block;
	text-indent: -10000px;
}
/*@media (orientation: portrait) and (max-width: 769px){
header h1 {
	top: 0;
	left: 0;
	width: 40vw !important;
	margin-top: 0vw !important;
	margin-left: 0vw;
}
}
@media (orientation: landscape) and (max-width: 769px){
header h1 {
	top: 0;
	left: 0;
	width: 40vw !important;
	margin-top: 0vw !important;
	margin-left: 0vw;
}
}*/

@media only screen and (max-width: 769px) {
	header h1 {
		top: 0;
		left: 0;
		/*border: 1px solid #F00;*/
		/*margin-top: 2vw !important;*/
		width: 40vw !important; /*40vw*/
		height: 8vw !important; /*8vw*/
		/*margin-top: -8%;*/
		/*margin-left: 2vw;*/
		margin-top: 0 !important;
		margin-left: 0 !important;
	}
}


header h1 a {
	display: block;
	width: 100%;
	height: 100%;
}

/* =========================
   MESSAGE HEADER
========================= */


header h2 span {
	display: block;
	height: 0;
	overflow: hidden;
	text-indent: -9999px;
	white-space: nowrap;
}

/* 見出し */
header h2 {
	position: absolute;
	top: 12.5vw;
	left: 18.5vw;
	z-index: 2;
	margin: 0;
	width: 24vw;
	min-width: 260px;
	max-width: 420px;
	aspect-ratio: 420 / 120;
	background: url("../img/common/h2_mes_page.svg") no-repeat left top / contain;
}

/* 右下の肩書き・氏名 */
header p {
	position: absolute;
	right: 9vw;
	bottom: 2.8vw;
	z-index: 2;
	margin: 0;
	width: 18vw;
	min-width: 220px;
	max-width: 340px;
	color: #fff;
	text-align: left;
	line-height: 1.45;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

header p strong {
	display: block;
	margin-top: 0.3em;
	font-weight: 400;
	font-size: 2em;
	line-height: 1.2;
}

header p strong small {
	display: block;
	font-size: 0.4em;
	font-weight: 400;
	line-height: 1.3;
}

/* =========================
   Tablet
========================= */
@media only screen and (max-width: 1200px) {
	header {
		min-height: 62vw;
	}

	header h1 {
		top: 1.8vw;
		left: 1.8vw;
		width: 13vw;
	}

	header h2 {
		top: 8vw;
		left: 9vw;
		width: 28vw;
	}

	header p {
		right: 6vw;
		bottom: 3vw;
		width: 24vw;
	}
}

/* =========================
   Smartphone
========================= */
@media only screen and (max-width: 769px) {
	header {
		min-height: 158vw;
	}

	header h1 {
		top: 2vw;
		left: 2vw;
		width: 22vw;
		min-width: 72px;
		max-width: none;
	}

	header h2 {
		top: 16vw;
		left: 11vw;
		width: 60vw;
		min-width: 0;
		max-width: none;
	}

	/*top: 12.5vw;
	left: 18.5vw;
	z-index: 2;
	margin: 0;
	width: 24vw;
	min-width: 260px;
	max-width: 420px;
	aspect-ratio: 420 / 120;*/
	
	header p {
		font-size: 70%;
		right: 6vw;
		bottom: 7vw;
		width: 32vw;
		min-width: 0;
		max-width: none;
	}
}


/* =========================
   MESSAGE TEXT BLOCK
========================= */

main {
	background: #fff;
	margin-top: -5px;
}

main .wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background: url("../img/top/main02.jpg") no-repeat center bottom / cover;
}

/* ここ追加 */
main .wrap::before {
	content: "";
	position: absolute;
	inset: 0;

	background: rgba(255,255,255,0.7); /* ←薄さ調整 */
	z-index: 0;
}

/* 中身を前面に出す */
main .wrap> * {
	position: relative;
	z-index: 1;
}

.contents1 {
	max-width: 1400px;
	margin: 0 auto;
	padding: 4.5vw 4vw 6vw;
	box-sizing: border-box;

	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 4vw;

}

.contents1 .jpn,
.contents1 .eng {
	width: calc(50% - 2vw);
	margin: 0;
	box-sizing: border-box;
}

.contents1 .jpn {
	padding-right: 1vw;
}

.contents1 .eng {
	padding-left: 1vw;
}

/* =========================
   Tablet
========================= */
@media only screen and (max-width: 1200px) {
	.contents1 {
		padding: 5vw 4vw 7vw;
		gap: 3vw;
		background-size: 50% auto, auto;
	}

	.contents1 .jpn,
	.contents1 .eng {
		width: calc(50% - 1.5vw);
	}
}

/* =========================
   Smartphone
========================= */
@media only screen and (max-width: 769px) {
	main .wrap {
		max-width: 100%;
	}

	.contents1 {
		display: block;
		padding: 8vw 8vw 10vw;
	}

	.contents1 .jpn,
	.contents1 .eng {
		width: 100%;
		padding: 0;
	}

	.contents1 .eng {
		margin-top: 6vw;
	}
}
