@charset "utf-8";

/**************************************
base
**************************************/
/*--- reset ---*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	outline: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
	width: 100%;
}
body {
	width: 100%;
	font-size: 18px;
	line-height: 1;
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}
body, #wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
a {
	margin: 0;
	padding: 0;
	background: transparent;
	text-decoration: none;
	vertical-align: baseline;
}

ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, select {
	vertical-align: middle;
}
#wrapper {
	width: 100%;
}
#contents {
	width: 100%;
}
section {
	margin-top: min(200px,40vw) !important;
}
@media screen and (max-width: 840px) {
	section {
		margin-top: min(120px,30vw) !important;
	}
}
section#intro {
	margin-top: min(80px,12vw) !important;
}
@media screen and (max-width: 840px) {
	section#intro {
		margin-top: min(40px,10vw) !important;
	}
}
.inner840 {
	display: block;
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
}
@media screen and (max-width: 960px) {
	.inner840 {
		width: 94%;
		padding: 0 3%;
	}
}
@media screen and (max-width: 840px) {
	.pc {
		display: none;
	}
}
@media screen and (min-width: 841px) {
	.sp {
		display: none;
	}
}
.ff-min {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.red {
	color: #e81f18;
}
.white {
	color: #fff;
}
.ta-j {
	text-align: justify;
}
.ta-r {
	text-align: right;
}
.ta-c {
	text-align: center;
}
.fs-17 {
	font-size: 17px;
}
.fs-22 {
	font-size: 22px;
}
.fs-30 {
	font-size: 30px;
}
.lh-16 {
	line-height: 1.6;
}
.strip {
	padding: 40px 0;
	background-color: #e81f18;
}
.strip {
	padding: 40px 0;
	background-color: #e81f18;
}
@media screen and (max-width: 840px) {
	.strip {
		padding: 20px 0;
	}
}
.flex {
	display: flex;
}
.title {
	color: #fff;
	font-weight: normal;
	font-size: 48px;
}
@media screen and (max-width: 840px) {
	.title {
		font-size: 25px;
		text-align: center;
	}
}
.title .small {
	margin-left: 20px;
	font-size: 21px;
}
@media screen and (max-width: 840px) {
	.title .small {
		display: block;
		margin-top: 10px;
		margin-left: 0;
		font-size: 15px;
		text-align: center;
	}
}
@media screen and (max-width: 840px) {
	h2 {
		text-align: center;
	}
}
.temp-1 {
	margin-top: min(46px,7vw);
}
.temp-1 h3 {
	margin-bottom: 23px;
	font-size: 31px;
}
@media screen and (max-width: 840px) {
	.temp-1 h3 {
		margin-bottom: 15px;
		font-size: 20px;
		line-height: 1.2;
	}
}
.temp-1 .flex {
	justify-content: space-between;
}
@media screen and (max-width: 840px) {
	.temp-1 .flex {
		flex-wrap: wrap;
	}
}
.temp-1 .text {
	width: 40%;
	max-width: 336px;
}
@media screen and (max-width: 840px) {
	.temp-1 .text {
		width: 100%;
		max-width: unset;
	}
}
.temp-1 .image {
	width: 56%;
	max-width: 470px;
}
@media screen and (max-width: 840px) {
	.temp-1 .image {
		width: 100%;
		max-width: unset;
		margin-top: 20px;
	}
}
footer {
	margin-top: auto;
}

/**************************************
index
**************************************/

/*********** header **********/
header h1 {
	text-align: center;
}
header h1 img {
	width: 100%;
	/*max-width: 1366px;*/
	max-height: 100vh;
}
/*********** main **********/
#intro h2 {
	margin-bottom: min(26px,4vw);
}
#intro h2 img.title {
	max-width: 466px;
}
@media screen and (max-width: 526px) {
	#intro h2 img {
		width: 85%;
		min-width: 320px;
		max-width: unset;
	}
}
#intro h2 img.subtitle {
	max-width: 418px;
	margin-top: min(25px,3vw);
}
#intro .image {
	margin-top: 30px;
}
#intro .image img {
	width: 100%;
}
#history h2 .inner840 {
	position: relative;
}
#history h2 .inner840::before {
	position: absolute;
	top: -102px;
	left: 0;
	width: 288px;
	height: 63px;
	background: url(../images/nicchu30th_history.svg);
	background-size: cover;
	content: "";
}
@media screen and (max-width: 840px) {
	#history h2 .inner840::before {
		top: -51px;
		left: 50%;
		transform: translate(-50%, 0);
		width: 148px;
		height: 31.5px;
	}
}
#history > .inner840 {
	max-width: 798px;
	margin-top: 60px;
	padding: 20px 20px 40px;
	border: solid 1px #000;
}
@media screen and (max-width: 840px) {
	#history > .inner840 {
		width: calc(94% - 42px);
		margin-top: 30px;
	}
}
#history h2 img.title {
	max-width: 326px;
}
@media screen and (max-width: 526px) {
	#history h2 img.title {
		max-width: 170px;
	}
}
#history h2 img.subtitle {
	max-width: 376px;
	margin-left: 15px;
}
@media screen and (max-width: 840px) {
	#history h2 img.subtitle {
		margin-top: 10px;
		margin-left: unset;
	}
}
@media screen and (max-width: 526px) {
	#history h2 img.subtitle {
		max-width: 268px;
		margin-left: unset;
	}
}
#history .flex p {
	padding: 10px 0;
	line-height: 1.4;
}
@media screen and (max-width: 840px) {
	#history .flex p {
		font-size: 16px;
	}
}
#history .flex p:nth-of-type(1) {
	width: 77px;
	text-align: right;
}
#history .flex p:nth-of-type(2) {
	position: relative;
	width: 50px;
	padding-left: .5px;
	text-align: center;
}
#history .flex p:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	border-left: solid 1px #000;
	content: "";
}
#history .flex:nth-of-type(1) p:nth-of-type(2)::after {
	top: 50%;
}
#history .flex:nth-last-child(1) p:nth-of-type(2)::after {
	height: 150%;
}
@media screen and (max-width: 840px) {
	#history .flex:nth-last-child(1) p:nth-of-type(2)::after {
		height: 100%;
	}
}
#history .flex p:nth-of-type(3) {
	width: calc(100% - 127px);
	text-align: justify;
}
#vision h2 .inner840 {
	position: relative;
}
#vision h2 .inner840::before {
	position: absolute;
	top: -102px;
	left: 0;
	width: 224px;
	height: 63px;
	background: url(../images/nicchu30th_vision.svg);
	background-size: cover;
	content: "";
}
@media screen and (max-width: 840px) {
	#vision h2 .inner840::before {
		top: -50px;
		left: 50%;
		transform: translate(-50%, 0);
		width: 114px;
		height: 31.5px;
	}
}
#vision h2 img.title {
	max-width: 454px;
}
@media screen and (max-width: 526px) {
	#vision h2 img.title {
		max-width: 236px;
	}
}
#vision h2 img.subtitle {
	max-width: 334px;
	margin-left: 15px;
}
@media screen and (max-width: 526px) {
	#vision h2 img.subtitle {
		max-width: 236px;
		margin-left: unset;
	}
}
#vision .image img {
	width: 100%;
}
#vision .image .cap {
	margin-top: 5px;
	font-size: 15px;
	line-height: 1.3;
}
#message .strip {
	padding: 65px 0;
}
@media screen and (max-width: 840px) {
	#message .strip {
		padding: 40px 0;
	}
}
#message h2 {
	position: relative;
}
#message h2 span {
	display: none;
}
#message h2::before {
	position: absolute;
	top: -126px;
	left: 0;
	width: 321px;
	height: 63px;
	background: url(../images/nicchu30th_message.svg);
	background-size: cover;
	content: "";
}
@media screen and (max-width: 840px) {
	#message h2::before {
		top: -70px;
		left: 50%;
		transform: translate(-50%, 0);
		width: 164px;
		height: 31.5px;
	}
}
#message h2 img.title {
	max-width: 332px;
}
@media screen and (max-width: 526px) {
	#message h2 img.title {
		max-width: 174px;
	}
}
#message ._1 {
	margin-top: 30px;
	margin-bottom: 38px;
	padding-top: 40px;
	background: url(../images/nicchu30th_pattern_001.svg) repeat-x 6px top;
	background-size: auto 11.8px;
	text-align: right;
}
@media screen and (max-width: 840px) {
	#message ._1 {
		margin-top: min(30px, 5vw);
		margin-bottom: min(30px, 5vw);
		padding-top: min(40px, 7vw);
		background-size: auto 6px;
		font-size: 23px;
		text-align: center;
	}
}
#message ._1 .fs-17 {
	margin-right: 30px;
}
@media screen and (max-width: 840px) {
	#message ._1 .fs-17 {
		display: block;
		margin-bottom: 10px;
		font-size: 15px;
		text-align: center;
	}
}
@media screen and (max-width: 840px) {
	#message ._1 .fs-22 {
		font-size: 16px;
	}
}
/*********** footer **********/
footer {
	position: relative;
	padding-top: min(83%,1200px);
	background: url(../images/nicchu30th_footer@2×.webp) no-repeat center bottom;
	background-size: 100% auto;
}
footer > div {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 64%;
}
footer img {
	height: 73%;
	max-height: 506px;
}