@charset "UTF-8";

* {
	line-height: 1.5;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: #efe9db;
}

header {
	/*    font-size: 24px;
    height: 100px;*/

	width: 100%;
	color: #d2a635;
	background: linear-gradient(to right, #17342f, #5a6557);
	/* padding: 15px 30px;*/
	margin-top: 0px;
	margin-right: 0px;
	text-align: left;
	position: relative;
	box-sizing: border-box;
}

#headWap {
	min-height: 100px;
	display: box;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

header .logo {
	width: 50%;
	padding-left: 1vw;
}

header h1 img {
	width: 100%;
	max-width: 433px;
}


header .jpenWap {
	margin-left: auto;
	margin-right: 3vw;
}

.jpenWap .sls {
	padding: 10px 1vw;
}

.jpenWap .jpen a {
	display: block;
	padding: 10px 1vw;
	color: #d2a635;
	/*background-color: #fff;*/
	font-weight: 700;
	font-size: 20px
}


header .nav {
	display: block;
	padding: 10px;
}

header nav a {
	width: 80px;
	height: 80px;
	text-align: right;
	/*    position: absolute;
    right: 0;
    top: 0;*/
	/*margin: 10px;*/
	background-color: #e7c272;
	padding: 0;
	font-size: 16px;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

header nav p {
	margin-top: 5px;
	color: #464646;
}

/*header .h1logo {
    text-align: left;
    margin: 0;
    padding: 0;
}*/

footer {
	font-size: 14px;
	/*height: 145px;*/
	color: #d2a635;
	background: linear-gradient(to right, #17342f, #5a6557);
	padding: 20px 30px;
	margin-top: 50px;
	margin-right: 0px;
	text-align: center;
}


footer p {
	display: flex;
	justify-content: center;
	align-items: center;
	height: inherit;
}

footer small {
	font-family: "Noto Serif", serif;
	font-weight: 500;
	font-style: normal;
}

#footWap {
	display: none;
}

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

	#container {
		padding-bottom: 80px;
	}

	header .jpenWap,
	header .nav {
		display: none;
	}

	header #headWap {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.logo img {
		display: block;
		max-width: 100%;
		height: auto;
	}

	header .logo {
		width: 80%;
		padding-left: 1vw;
	}

	#headWap {
		min-height: none;
	}

	footer p small {
		font-size: 0;
		color: transparent;
	}

	footer {
		margin-top: 0px;
	}

	footer p small::after {
		content: "© 2025 terra-god.com";
		font-size: 6vw;
		color: #d2a635;
		display: block;
		text-align: center;
	}

	#footWap .nav {
		display: inline-block;
		padding: 10px;
	}

	#footWap nav a {
		display: flex;
		background-color: #e7c272;
		padding: 10px 20px;
		font-weight: bold;
		align-items: center;
		flex-wrap: nowrap;
	}

	#footWap nav img,
	#footWap nav p {
		display: block;
	}

	#footWap nav img {
		height: 100%;
		width: auto;
	}

	#footWap nav p {
		margin-top: 5px;
		color: #464646;
	}


	#footWap .jpen {
		margin-left: auto;
		margin-right: 3vw;
	}

	.jpenbox div {
		font-size: 6vw;
	}

	#footWap {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px;
		width: 100%;
		color: #d2a635;
		background: #17342f;
		margin-top: 0px;
		margin-right: 0px;
		text-align: left;
		position: fixed;
		box-sizing: border-box;
	}

	.jpenbox {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.nav a {
		display: flex;
		align-items: center;
		text-decoration: none;
		color: inherit;
	}

	.nav img {
		margin-right: 8px;
	}

	.jpenbox {
		display: flex;
		width: 200px;
	}

	.jpenbox .sls {
		padding: 2px;
	}

	.jpenbox a {
		display: block;
		padding: 2px;
		color: #d2a635;
		font-weight: 700;
	}

}