/******************************************************************************/
/* メインスタイルシート - last update: 24.10.02 */

@charset "utf-8";


/******************************************************************************/
/* ホームページ全体 */

* {
	margin: 0px;
	padding: 0px;
}

html {
	height: 100%;
	overflow-y: scroll;
}

body {
	height: 100%;
	font-family: "Shippori Antique B1", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-style: normal;
	font-weight: 400;
	text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	word-wrap: break-word;
}

hr {
	display: none;
}

img {
	border: 0px none;
	vertical-align: top;
}

a img {
	border: 0px none;
	transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-webkit-transition: 0.2s linear;
}

a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}

table,
table td {
	border-collapse: collapse;
}

ul, ol, li {
	list-style: none;
}

a,
a:visited {
	color: #3399FF;
	transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-webkit-transition: 0.2s linear;
}

a:hover {
	color: #FF9933;
}

input[type="text"]:focus {
	outline: none;
}

input:-webkit-autofill {
	transition: background-color 10000s ease-in-out 0s;
}


/******************************************************************************/
/* ヘッダー（トップページ） */

#headertop {
	position: fixed;
	top: 0px;
	left: 0;
	width: 100%;
	padding: 20px;
	text-align: left;
	transition: all 0.3s ease;
	z-index: 1000;
}

#headertop h1 {
	display: none;
}

#headertop a img {
	width: 400px;
	height: auto;
	filter: drop-shadow(2px 2px 5px rgba(33, 0, 33, 0.8));
	transition: all 0.5s linear;
	-moz-transition: 0.5s linear;
	-webkit-transition: 0.5s linear;
}

#headertop a:hover img {
	opacity: 0.75;
	filter: alpha(opacity=75);
	-ms-filter: "alpha(opacity=75)";
}

#headertop.small a img {
	width: 300px;
}

@media screen and (max-width: 1400px) {
	#headertop a img {
		width: 300px;
	}
}

@media screen and (max-width: 1080px) {
	#headertop {
		padding: 5px;
	}

	#headertop a img {
		width: 200px;
	}

	#headertop.small a img {
		width: 200px;
	}
}

@media screen and (max-width: 900px) {
	#headertop a img {
		width: 300px;
	}
}

@media screen and (max-width: 700px) {
	#headertop a img {
		width: 200px;
	}
}


/******************************************************************************/
/* ヘッダー（コンテンツページ） */

#header {
	position: fixed;
	top: 0px;
	left: 50%;
	width: 100%;
	margin-left: -600px;
	padding: 0px 0px 0px 1%;
	text-align: left;
	transition: all 0.3s ease;
	z-index: 1000;
}

#header h1 {
	display: none;
}

#header a img {
	width: 230px;
	height: auto;
	transition: all 0.5s linear;
	-moz-transition: 0.5s linear;
	-webkit-transition: 0.5s linear;
}

#header a:hover img {
	opacity: 0.75;
	filter: alpha(opacity=75);
	-ms-filter: "alpha(opacity=75)";
}

#header.small a img {
	width: 150px;
}

@media screen and (max-width: 1200px) {
	#header {
		left: 0px;
		margin-left: 0px;
		padding: 0px 0px 0px 1%;
	}
}

@media screen and (max-width: 1080px) {
	#header a img {
		width: 200px;
	}
}


/******************************************************************************/
/* グローバルメニュー */

#menu {
	position: fixed;
	top: 0px;
	right: 20px;
	background-color: rgba(255, 255, 255, 0.98);
	padding: 25px 50px 30px 50px;
	border-top: 0px none;
	border-right: 1px solid #EEEEEE;
	border-bottom: 1px solid #EEEEEE;
	border-left: 1px solid #EEEEEE;
	border-radius: 0px 0px 15px 15px;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-style: normal;
	font-weight: 400;
	transition: all 0.5s ease;
	z-index: 2000;
}

#menu ul {
	display: flex;
}

#menu ul li {
	margin: 0px 7px;
	padding: 0px;
}

#menu ul li a {
	position: relative;
	display: block;
	line-height: 150%;
	padding: 5px 10px;
	color: #333333;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

#menu ul li a:hover {
	color: #FF9933;
}

#menu ul li a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -4px;
	width: 0px;
	height: 2px;
	background-color: #333333;
	transition: width 0.5s ease, left 0.5s ease;
}

#menu ul li a.s::after {
	width: 100%;
	left: 0;
	animation: underline-animation 0.5s ease forwards;
}

#menu ul li a:hover::after {
	width: 100%;
	left: 0;
}

#menu ul li a:hover::after {
	background-color: #FF9933;
}

@keyframes underline-animation {
	0% {
		width: 0;
		left: 50%;
	}
	100% {
		width: 100%;
		left: 0;
	}
}

@media screen and (max-width: 1200px) {
	#menu {
		padding: 25px 35px 30px 35px;
	}

	#menu ul li a {
		padding: 5px 7px;
		font-size: 17px;
	}
}

@media screen and (max-width: 1080px) {
	#menu {
		padding: 25px 30px 30px 30px;
	}

	#menu ul li a {
		padding: 5px 5px;
		font-size: 16px;
	}
}

@media screen and (max-width: 900px) {
	#menu {
		position: fixed;
		top: 70px;
		right: 0;
		display: none;
		background-color: rgba(255, 255, 255, 0.98);
		width: 80%;
		max-width: 320px;
		border-top: 2px solid #206050;
		border-right: 0px none;
		border-bottom: 2px solid #206050;
		border-left: 2px solid #206050;
		border-radius: 10px 0px 0px 10px;
		flex-direction: column;
		padding: 15px 10px 20px 15px;
	}

	#menu.open {
		display: flex;
	}	

	#menu ul {
		flex-direction: column;
		padding: 0;
	}

	#menu ul li {
		margin: 10px 0;
	}

	#menu ul li a {
		padding: 10px;
	}
}


/******************************************************************************/
/* ハンバーガーメニューボタン */

#menu_toggle {
	position: fixed;
	top: 0px;
	right: 0px;
	display: none;
	background: #206050;
	width: 70px;
	height: 70px;
	align-items: center;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	z-index: 2001;
}

#menu_toggle div {
	background-color: #FFFFFF;
	width: 30px;
	height: 4px;
	margin: 3px 0px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu_toggle span {
	display: block;
	margin-top: 5px;
	color: #FFFFFF;
	font-size: 12px;
}

#menu_toggle div:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 900px) {
	#menu_toggle {
		display: flex;
	}

	#menu_toggle.open div:nth-child(1) {
		transform: rotate(45deg) translate(7px, 7px);
	}

	#menu_toggle.open div:nth-child(2) {
		opacity: 0;
	}

	#menu_toggle.open div:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -8px);
	}
}


/******************************************************************************/
/* コンテンツ領域 */

#container {
	position: relative;
}


/******************************************************************************/
/* トップページ区画 */

.section {
	position: relative;
	display: flex;
	height: auto;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.section .photo {
	content: '';
	position: fixed;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	transition: all 0.2s ease;
	z-index: -1;
}

#section1 .photo {
	top: 0px;
	left: 0px;
	background-image: url('../img/photo/img1.jpg');
	transform: scale(var(--sec1-scale, 1.4));
	transition: all 1.0s ease-in-out;
	z-index: var(--sec1-z-index, 3);
}

#section2 .photo {
	top: 0;
	right: var(--sec2-right, -100%);
	background-image: url('../img/photo/img2.jpg');
	z-index: 4;
}

#section3 .photo {
	top: 0px;
	left: 0px;
	background-image: url('../img/photo/img3.jpg');
	z-index: var(--sec3-z-index, 2);
}

#section4 .photo {
	top: 0;
	right: var(--sec4-right, -100%);
	background-image: url('../img/photo/img4.jpg');
	z-index: 4;
}

#section5 .photo {
	top: 0px;
	left: 0px;
	background-image: url('../img/photo/img5.jpg');
	z-index: var(--sec5-z-index, 1);
}

.content {
	position: fixed;
	color: #333333;
	text-align: left;
	transition: all 0.3s ease;
	z-index: 10;
}

@media screen and (max-width: 900px) {
	#section1 .photo {
		background-image: url('../img/photo/img1_900.jpg');
	}

	#section2 .photo {
		background-image: url('../img/photo/img2_900.jpg');
	}

	#section3 .photo {
		background-image: url('../img/photo/img3_900.jpg');
	}

	#section4 .photo {
		background-image: url('../img/photo/img4_900.jpg');
	}

	#section5 .photo {
		background-image: url('../img/photo/img5_900.jpg');
	}
}

@media screen and (max-width: 600px) {
	#section1 .photo {
		background-image: url('../img/photo/img1_600.jpg');
	}

	#section2 .photo {
		background-image: url('../img/photo/img2_600.jpg');
	}

	#section3 .photo {
		background-image: url('../img/photo/img3_600.jpg');
	}

	#section4 .photo {
		background-image: url('../img/photo/img4_600.jpg');
	}

	#section5 .photo {
		background-image: url('../img/photo/img5_600.jpg');
	}
}


/******************************************************************************/
/* トップページ セクション1 */

#section1 .content {
	top: 30%;
	right: -100%;
	width: 50%;
	min-width: 640px;
	height: 80%;
	margin: 0px 5% 0px 0px;
}

#section1 h2 {
	margin: 0px 0px 5vh 0px;
	color: #FFFFFF;
	font-size: 68px;
	text-shadow: 0px 4px 10px #333333;
}

#section1 h2 span {
	display: inline-block;
	margin-left: 2px;
	font-size: 1.1em;
	vertical-align: -4%;
}

#section1 p {
	line-height: 180%;
	margin: 0px 0px 10vh 0px;
	font-size: 28px;
	text-shadow:
		1px 1px 3px #FFFFFF,
		-1px 1px 3px #FFFFFF,
		1px -1px 3px #FFFFFF,
		-1px -1px 3px #FFFFFF;
}

#section1 p span {
	white-space: nowrap;
}

@media screen and (max-width: 900px) {
	#section1 .content {
		margin: 0px 2% 0px 0px;
	}
}

@media screen and (max-width: 800px) {
	#section1 .content {
		width: 94%;
		min-width: auto;
		margin: 0px 3% 0px 3%;
	}

	#section1 h2 {
		font-size: clamp(18px, 9vw, 68px);
	}

	#section1 p {
		margin: 0px 2% 10vh 2%;
		font-size: clamp(14px, 4vw, 28px);
	}
}


/******************************************************************************/
/* トップページ セクション2 */

#section2 .content {
	top: 25%;
	left: 100%;
	width: 95%;
	min-width: 640px;
	height: 80%;
	margin: 0px 0px 0px 5%;
}

#section2 h3 {
	max-width: 840px;
	margin: 0px 0px 5vh 0px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	text-shadow: 0px 4px 10px #333333;
}

#section2 p {
	line-height: 180%;
	margin: 0px 0px 2vh 0px;
	padding-left: 5.1em;
	font-size: 28px;
	text-indent: -5.1em;
	text-shadow:
		1px 1px 3px #FFFFFF,
		-1px 1px 3px #FFFFFF,
		1px -1px 3px #FFFFFF,
		-1px -1px 3px #FFFFFF;
}

#section2 h3 span,
#section2 p span {
	white-space: nowrap;
}

#section2 div.nextbutton {
	margin-top: 10vh;
}

@media screen and (max-width: 900px) {
	#section2 .content {
		width: 98%;
		min-width: auto;
		margin: 0px 0px 0px 2%;
	}

	#section2 h3 {
		font-size: clamp(18px, 5vw, 48px);
	}

	#section2 p {
		margin: 0px 2% 2vh 2%;
		font-size: clamp(14px, 4vw, 28px);
	}
}


/******************************************************************************/
/* トップページ セクション3 */

#section3 .content {
	top: 100%;
	right: 0%;
	width: 50%;
	min-width: 640px;
	height: 80%;
	margin: 0px 5% 0px 0px;
}

#section3 h3 {
	margin: 0px 0px 5vh 0px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 54px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-shadow: 0px 4px 10px #333333;
}

#section3 p {
	line-height: 180%;
	margin: 0px 0px 2vh 0px;
	color: #FFFFFF;
	font-size: 28px;
	text-shadow:
		3px 3px 5px #333333,
		-3px 3px 5px #333333,
		3px -3px 5px #333333,
		-3px -3px 5px #333333;
}

#section3 p.name {
	font-size: 36px;
}

#section3 h3 span,
#section3 p span {
	white-space: nowrap;
}

#section3 div.nextbutton {
	margin-top: 10vh;
}

@media screen and (max-width: 900px) {
	#section3 .content {
		width: 90%;
		margin: 0px 2% 0px 0px;
	}
}

@media screen and (max-width: 800px) {
	#section3 .content {
		width: 94%;
		min-width: auto;
		margin: 0px 3% 0px 3%;
	}

	#section3 h3 {
		font-size: clamp(18px, 9vw, 68px);
	}

	#section3 p {
		margin: 0px 2% 2vh 2%;
		font-size: clamp(14px, 4vw, 28px);
	}

	#section3 p.name {
		font-size: clamp(16px, 5vw, 36px);
	}
}


/******************************************************************************/
/* トップページ セクション4 */

#section4 .content {
	top: 20%;
	right: -100%;
	width: 80%;
	min-width: 640px;
	height: 80%;
	margin: 0px 10% 0px 0px;
}

#section4 h3 {
	margin: 0px 0px 2vh 0px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-align: center;
	text-shadow: 0px 4px 10px #333333;
}

#section4 ul {
	width: 98%;
	height: 420px;
	margin: 0px 0px 0px 2%;
	overflow-y: scroll;
}

#section4 li {
	line-height: 180%;
	margin: 0px 0.5em 0px 0px;
	padding: 0.75em 0px 0.5em 6.6em;
	border-bottom: 1px dotted #CCCCCC;
	font-size: 20px;
	text-indent: -6.6em;
}

#section4 li span.ymd {
	color: #359F85;
}

#section4 div.whatsnew {
	background: rgba(255, 255, 255, 0.95);
	width: 70%;
	min-width: 740px;
	height: auto;
	margin: 0px auto 5vh auto;
	padding: 3% 3% 3% 3%;
	border-radius: 20px;
}

#section4 div.nextbutton {
	margin-top: 5vh;
}

@media screen and (max-width: 1200px) {
	#section4 .content {
		width: 90%;
		min-width: auto;
		margin: 0px 5% 0px 5%;
	}
}

@media screen and (max-width: 900px) {
	#section4 .content {
		width: 94%;
		margin: 0px 3% 0px 3%;
	}

	#section4 div.whatsnew {
		width: 90%;
		min-width: auto;
	}
}

@media screen and (max-width: 800px) {
	#section4 .content {
		width: 96%;
		margin: 0px 2% 0px 2%;
	}

	#section4 h3 {
		font-size: clamp(18px, 8vw, 48px);
	}

	#section4 li {
		font-size: clamp(14px, 3vw, 20px);
	}
}

@media screen and (max-width: 700px) {
	#section4 .content {
		width: 98%;
		margin: 0px 1% 0px 1%;
	}
}


/******************************************************************************/
/* トップページ セクション5 */

#section5 .content {
	top: 100%;
	right: 0%;
	width: 80%;
	min-width: 640px;
	height: 100%;
	margin: 0px 10% 0px 10%;
}

#section5 .panel {
	display: flex;
	width: 100%;
	padding: 35vh 0px 0px 0px;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

#section5 h4 {
	display: none;
}

#section5 ul {
	display: flex;
	width: 100%;
	padding: 0;
	justify-content: space-between;
}

#section5 ul li {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

#section5 ul li a {
	position: relative;
	display: inline-flex;
	background-color: rgba(255, 255, 255, 0.4);
	width: 100%;
	max-width: 240px;
	align-items: center;
	aspect-ratio: 1/1;
	border-radius: 10px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-weight: 700;
	font-size: clamp(12px, 3vw, 20px);
	font-style: normal;
	justify-content: center;
	letter-spacing: 0.15em;
	text-align: center;
	text-decoration: none;
	text-shadow: 2px 2px 2px #333333;
}

#section5 ul li a::before {
	content: '';
	position: absolute;
	top: 15px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	border: 1px solid #FFFFFF;
	border-radius: 6px;
	box-sizing: border-box;
	transition: all 0.5s ease;
}

#section5 ul li a:hover {
	background-color: #FCFCFF;
	color: #666666;
	text-shadow: none;
}

#section5 ul li a:hover::before {
	top: 12px;
	left: 12px;
	right: 12px;
	bottom: 12px;
	border: 1px solid #CCCCCC;
}

#section5 div.nextbutton {
	margin-top: 15vh;
}

@media screen and (max-width: 1200px) {
	#section5 .content {
		width: 90%;
		min-width: auto;
		margin: 0px 5% 0px 5%;
	}
}

@media screen and (max-width: 1100px) {
	#section5 .content {
		width: 94%;
		min-width: auto;
		margin: 0px 3% 0px 3%;
	}
}

@media screen and (max-width: 1000px) {
	#section5 .content {
		width: 98%;
		min-width: auto;
		margin: 0px 1% 0px 1%;
	}
}

@media screen and (max-width: 900px) {
	#section5 ul li a {
		width: 80%;
	}
}

@media screen and (max-width: 600px) {
	#section5 ul li a::before {
		top: 5px;
		left: 5px;
		right: 5px;
		bottom: 5px;
		border-radius: 8px;
	}

	#section5 ul li a:hover::before {
		top: 2px;
		left: 2px;
		right: 2px;
		bottom: 2px;
	}
}


/******************************************************************************/
/* コンテンツページ */

#maincontent {
	position: relative;
}

#maincontent * {
	font-family: "Sawarabi Gothic", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: clamp(14px, 1.8vw, 20px);
	font-style: normal;
	font-weight: 400;
}

#maincontent .photo {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	transform: scale(var(--sec1-scale, 1.4));
	transition: all 1.0s ease-in-out;
	z-index: var(--sec1-z-index, 3);
}

#maincontent .bg1 {
	background: url('../img/photo/img1.jpg') no-repeat center center;
	background-size: cover;
}

#maincontent .bg2 {
	background: url('../img/photo/img2.jpg') no-repeat center center;
	background-size: cover;
}

#maincontent .bg3 {
	background: url('../img/photo/img3.jpg') no-repeat center center;
	background-size: cover;
}

#maincontent .bg4 {
	background: url('../img/photo/img4.jpg') no-repeat center center;
	background-size: cover;
}

#maincontent .bg5 {
	background: url('../img/photo/img5.jpg') no-repeat center center;
	background-size: cover;
}

#maincontent .content {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0px auto 0px auto;
	padding: 120px 0px 50px 0px;
	color: #333333;
	text-align: left;
	z-index: 20;
}

#maincontent .content::before {
	content: "";
	position: fixed;
	top: 0px;
	left: 50%;
	background: rgba(255, 255, 255, 0.96);
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0px 0px 0px -600px;
	transition: all 0.5s ease;
	z-index: -1;
}

@media screen and (max-width: 1200px) {
	#maincontent .content::before {
		left: 0px;
		margin: 0px;
	}
}

@media screen and (max-width: 900px) {
	#maincontent .content {
		padding: 100px 0px 50px 0px;
	}
}

#maincontent h2 {
	margin: 0px 3% 25px 3%;
	color: #31937A;
	border-bottom: 2px solid #31937A;
	font-size: clamp(18px, 9vw, 60px);
	font-weight: bold;
}

#maincontent h3 {
	margin: 0px 4% 20px 4%;
	color: #31937A;
	font-size: clamp(16px, 4vw, 28px);
	font-weight: bold;
}

#maincontent h4 {
	line-height: 180%;
	margin: 0px 4% 0.5em 4%;
	font-weight: bold;
}

#maincontent h5 {
	line-height: 180%;
	margin: 0px 6% 0px 6%;
	font-size: clamp(14px, 1.8vw, 20px);
	font-weight: bold;
}

#maincontent p,
#maincontent ul {
	line-height: 180%;
	margin: 0px 6% 1em 6%;
}

@media screen and (max-width: 900px) {
	#maincontent p,
	#maincontent ul {
		margin: 0px 4% 1em 4%;
	}
}


/******************************************************************************/
/* テーブル（枠線あり） */

#maincontent .table_border {
	margin: 0px 6% 1em 6%;
	width: 88%;
}

#maincontent .table_border td {
	line-height: 180%;
	padding: 15px 30px 15px 30px;
	border: 1px solid #AAAAAA;
	vertical-align: top;
}

#maincontent .table_border td.h2 {
	background: #6B4014;
	color: #FFFFFF;
	font-weight: bold;
}

#maincontent .table_border td.h3 {
	background: #F4DFCA;
	font-weight: bold;
}

#maincontent .table_border td.h {
	background: #FFF8EC;
	width: 25%;
	text-align: center;
	vertical-align: middle;
}

#maincontent .table_border td.d {
	background: #FFFCF7;
	vertical-align: middle;
}

@media screen and (max-width: 900px) {
	#maincontent .table_border {
		margin: 0px 4% 1em 4%;
		width: 92%;
	}
}

@media screen and (max-width: 800px) {
	#maincontent .table_border {
		margin: 0px 3% 1em 3%;
		width: 94%;
	}

	#maincontent .table_border td {
		padding: 15px 20px 15px 20px;
	}
}

@media screen and (max-width: 700px) {
	#maincontent .table_border {
		margin: 0px 2% 1em 2%;
		width: 96%;
	}

	#maincontent .table_border td {
		padding: 15px 15px 15px 15px;
	}
}

@media screen and (max-width: 600px) {
	#maincontent .table_border td {
		padding: 15px 10px 15px 10px;
	}
}

#maincontent .w60p {
	width: 60%;
}

#maincontent .w75p {
	width: 75%;
}

#maincontent .w90p {
	width: 90%;
}

#maincontent .submit {
	padding: 0.8em 1.5em;
}


/******************************************************************************/
/* 画像表示（3枚） */

#maincontent p.img-mod3 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#maincontent p.img-mod3 img {
	max-width: 31%;
	height: auto;
	margin: 0px 1%;
	border-radius: 10px;
	flex: 1;
}


/******************************************************************************/
/* リスト */

.li01 li {
	background: url(../img/li01_bg.png) no-repeat left 0.7em;
	padding-left: 1.7em;
}


/******************************************************************************/
/* 区切り線 */

#maincontent .hr {
	clear: both;
	margin: 0px 6% 2.5em 6%;
	padding: 1em 0px 0px 0px;
	border-bottom: 1px dotted #CCCCCC;
}


/******************************************************************************/
/* 業務内容ページ */

#maincontent h4.works {
	display: flex;
	float: left;
	background-color: #80BFFF;
	width: 150px;
	height: 150px;
	margin: 0px 2% 1.5em 6%;
	align-items: center;
	color: #FFFFFF;
	font-weight: bold;
	justify-content: center;
	clip-path: polygon(
		5% 0%,
		95% 0%,
		100% 5%,
		100% 95%,
		95% 100%,
		5% 100%,
		0% 95%,
		0% 5%
	);
}

#maincontent h4.works3 {
	display: flex;
	float: left;
	background-color: #80BFFF;
	width: 150px;
	height: 150px;
	margin: 0px 2% 7em 6%;
	align-items: center;
	color: #FFFFFF;
	font-weight: bold;
	justify-content: center;
	clip-path: polygon(
		5% 0%,
		95% 0%,
		100% 5%,
		100% 95%,
		95% 100%,
		5% 100%,
		0% 95%,
		0% 5%
	);
}


@media screen and (max-width: 700px) {
	#maincontent h4.works,
	#maincontent h4.works3 {
		width: 120px;
		height: 120px;
	}
}


/******************************************************************************/
/* お知らせページ */

.news li {
	line-height: 180%;
	padding: 0px 0px 0.5em 6.6em;
	border-bottom: 1px dotted #CCCCCC;
	font-size: 20px;
	text-indent: -6.6em;
}

.news li span.ymd {
	color: #359F85;
}


/******************************************************************************/
/* 汎用ボタン */

.nextbutton a {
	display: flex;
	background: linear-gradient(90deg, #3399FF 50%, rgba(255, 255, 255, 0.4) 50%);
	background-position: right bottom;
	background-size: 200% 100%;
	max-width: 480px;
	margin: 0px auto;
	padding: 10px 20px 6px 20px;
	align-items: center;
	border: 2px solid #FFFFFF;
	border-radius: 30px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	justify-content: center;
	text-decoration: none;
	text-shadow: 2px 2px 2px #333333;
	transition: all 0.5s ease;
}

.nextbutton a::before {
	content: '→';
	margin-right: 10px;
	font-size: 1.5rem;
	transition: margin-right 0.3s ease;
}

.nextbutton a:hover {
	text-shadow: none;
	background-position: left bottom;
}

@media screen and (max-width: 800px) {
	.nextbutton a {
		font-size: clamp(14px, 4vw, 24px);
		padding: 10px 16px 6px 16px;
	}
	
	.nextbutton a::before {
		font-size: clamp(14px, 4vw, 24px);
	}
}


/******************************************************************************/
/* スクロールボタン */

#scroll-button {
	position: fixed;
	left: 4%;
	bottom: 10%;
	background-image: url('../img/scroll_bg.png');
	background-position: center;
	background-size: cover;
	width: 90px;
	height: 90px;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.5s ease, background 0.5s ease;
	z-index: 1050;
}

#scroll-button:hover {
	background-image: url('../img/scroll_s_bg.png');
}


/******************************************************************************/
/* PAGE TOP ボタン */

#jumptop {
	clear: both;
	display: none;
}

#jumptop a,
#jumptop a:visited,
#jumptop a:hover,
#jumptop span {
	display: none;
}

#scrollUp {
	display: block;
	background: url(../img/pagetop_bg.png) no-repeat center center;
	background-size: cover;
	width: 90px;
	height: 90px;
	bottom: 10%;
	right: 2%;
}

#scrollUp:hover {
	background: url(../img/pagetop_s_bg.png) no-repeat center center;
	background-size: cover;
}


/******************************************************************************/
/* フッター */

footer {
	position: relative;
	background: #206050;
	width: 100%;
	padding: 20px 0px;
	color: #FFFFFF;
	font-family: "IBM Plex Sans JP", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: clamp(12px, 1.3vw, 16px);
	font-style: normal;
	font-weight: 400;
	text-align: center;
	z-index: 1010;
}

footer.toppage {
	position: fixed;
	bottom: 0px;
	left: 0px;
}

