@charset "utf-8";

/* common */

body {
	font: 1rem / 1.5;
	font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "游ゴシック体", "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #4d4d4d;
	width: 100%;
}

h1,
h2,
h3 {
	font-family: 'Alice', serif;
}

header,
body,
footer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.inner1,
.inner2,
.inner3 {
	margin-right: 100px;
	margin-left: 100px;
	margin-top: 75px;
}

a:hover {
	color: #BB0000;
}
h2 {
	font-size: 2.3rem;
	color: #000;
	margin-bottom: 45px;
	text-align: center;
}

h2 span {
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
	color: #000;
}

h3:before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 1px;
	top: 50%;
	left: 0;
	background-color: #000;
	marin-right: auto;
	margin-left: auto;
	margin-right: 10px;
	margin-bottom: 9px;
}

h3 {
	font-size: 1.6rem;
	position: relative;
	text-indent: 1rem;
	color: #000;
}

h3 span {
	font-size: 0.6rem;
	text-indent: 1rem;
	display: inline-block;
}

.link {
	margin-top: 35px;
	margin-bottom: 100px;
	width: 220px;
	height: 40px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.link a {
	width: 220px;
	height: 40px;
	line-height: 40px;
	background: #b3b3b3;
	color: #fff;
	text-align: center;
	align-items: center;
	display: block;
}

.link a:hover {
	width: 220px;
	height: 40px;
	line-height: 40px;
	background: #BB0000;
	color: #fff;
	text-align: center;
	align-items: center;
	display: block;
}


/*フェードイン*/

.fadein {
	opacity: 0;
	transform: translate(0, 50px);
	transition: all 1500ms;
}

.fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}


/* header */

header {
	background: rgba(255, 255, 255, 0.9);
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	position: fixed;
	z-index: 2;
	display: flex;
	height: 80px;
	justify-content: space-between;
}

#site_title {
	width: 230px;
	height: 55px;
	padding-left: 100px;
}

nav ul {
	padding-right: 100px;
}

nav li {
	display: inline-block;
	height: 65px;
	text-align: center;
	flex: 1;
}

nav li+li {
	padding-left: 50px;
}

nav a {
	box-sizing: border-box;
	line-height: 32.5px;
	font-size: 0.75rem;
	color: #000000;
	font-weight: bold;
	display: block;
	padding-top: 5px;
}

nav span {
	display: block;
	font-size: 0.5rem;
	font-weight: normal;
	line-height: 1;
}


/*-----------------------------main--------------------------------*/

.mv {
	position: relative;
	display: block;
}

.mv img {
	padding-top: 80px;
	width: 100%;
	height: 50vh;
	object-fit: cover;
	object-position: top center;
}

h1 {
	font-size: 3.4rem;
	position: absolute;
	width: 100%;
	left: 0;
	top: calc(50% - 25px);
	text-align: center;
	color: #fff;
	font-weight: bold;
	line-height: 50px;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
}

h1 span {
	font-size: 1.25rem;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
}

h2 {
	margin-top: 75px;
	padding-left: 180px;
}

h2 span {
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
	color: #000;
}


/*----------------------table---------------------------------------*/

table {
	margin-top: 75px;
	margin-bottom: 140px;
	margin-left: auto;
	margin-right: auto;
}

th,
td {
	margin-top: 30px;
}

th {
	border-bottom: 1px solid #b00;
	width: 70px;
	margin-right: 50px;
	margin-left: 155px;
	display: inline-block;
	font-size: 18px;
}

td {
	text-align: left;
	display: inline-block;
	width: 450px;
	font-size: 1rem;

}


/*前頁共通*/

#page_top {
	width: 50px;
	height: 50px;
	position: fixed;
	right: 0;
	bottom: 0;
	background: #4d4d4d;
	opacity: 0.6;
}

#page_top a {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
}

#page_top a::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f106';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

#contactus {
	position: fixed;
	right: 130px;
	bottom: 0;
	text-align: center;
	width: 200px;
	height: 70px;
}

#contactus a {
	width: 250px;
	height: 70px;
	background-color: #BB0000;
	display: flex;
	color: #fff;
}

#contactus p {
	width: 70%;
	display: inline-block;
	padding-right: 15px;
	padding-top: 10px;
}

#contactus a::before {
	content: url("../images/letter.png");
	display: inline-block;
	width: 50px;
	heigt: 70px;
	width: 30%;
	padding-top: 19px;
	padding-left: 15px;
}

footer {
	background-color: #b3b3b3;
	width: 100%;
	clear: both;
}

.footer_nav {
	margin-left: 100px;
	margin-right: 100px;
	padding-top: 30px;
	text-align: center;
}

.footer_nav li {
	display: inline-block;
	color: #fff;
}

.footer_nav li+li {
	padding-left: 30px;
}

.footer_nav a {
	color: #fff;
}

.footer_nav a:hover {
	color: #BB0000;
}

.allview_banner {
	margin-right: 100px;
	text-align: right;
}

.copyright {
	text-align: center;
}


/* 640px以下の表示領域 */

@media only screen and (max-width: 640px) {
/* reset */
header {
	display: flex;
}
header,body,h1,footer,main,.main_content,#mainimg,aside,.addinfo,.link,nav,#site_title, table {
	width: 100%;
}
h1{
	font-size:2rem;
}

/*common*/
#wrapper nav ul {
	padding-right: 0px;
}
#wrapper nav {
	position: fixed;
	top: 0;
	right: -1000px;
	width: 100%;
	;
	height: 100%;
	padding-top: 50px;
	background: #333;
	font-size: 1rem;
	box-sizing: border-box;
	z-index: 2;
}
#wrapper nav ul li {
	display: block;
	padding: 20px 28px
}
#wrapper nav ul li a {
	text-decoration: none;
	color: #ddd
}
#wrapper .btn-gnavi {
	position: fixed;
	top: 25px;
	right: 20px;
	width: 30px;
	height: 24px;
	z-index: 3;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-transition: all 400ms;
	transition: all 400ms
}
#wrapper .btn-gnavi span {
	position: absolute;
	width: 30px;
	height: 4px;
	background: #666;
	border-radius: 10px;
	-webkit-transition: all 400ms;
	transition: all 400ms
}
#wrapper .btn-gnavi span:nth-child(1) {
	top: 0
}
#wrapper .btn-gnavi span:nth-child(2) {
	top: 10px
}
#wrapper .btn-gnavi span:nth-child(3) {
	top: 20px
}
#wrapper .btn-gnavi.open {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg)
}
#wrapper .btn-gnavi.open span {
	background: #fff
}
#wrapper .btn-gnavi.open span {
	width: 24px;
}
#wrapper .contents section p {
	position: absolute;
	top: 50%;
	width: 30%;
	line-height: 1.4;
	font-size: 20px;
	color: #fff;
	text-shadow: 0 0 6px #666
}
#wrapper .contents section:nth-child(odd) p {
	left: 10%
}
#wrapper .contents section:nth-child(even) p {
	right: 10%
}
.inner1,
.inner2,
.inner3 {
	margin-right: 50px;
	margin-left: 50px;
	margin-top: 30px;
}
.link a {
	margin-right: auto;
	margin-left: auto;
}

.mv img{
	height: 30vh;}
tr {
	text-align:center;
}
th{
	margin: 30px 0px 0px;	
}
td {
	text-align: center;
	display: inline-block;
	width: 100%;
	font-size: 1rem;
	
}
	.footer_nav {
    margin-left: 80px;
    margin-right: 80px;
	 padding-top: 10px;
}
.allview_banner {
	text-align: center;
	margin: 0px;
}
footer {
	height: fit-content;
}
.footer_nav a {
	color: #fff;
}
.footer_nav li+li {
	padding-left: 15px;
}
#site_title {
	padding-left: 10px;
}
}