
/* common */
#nav-dock,
.footer-container{
	display: none !important;
}


*, *:before, *:after{
	box-sizing: border-box
}

body{
	font: 16px / 1.7 Helvetica, Helvetica Neue, Arial;
}

img{
    max-width: 100%;
	height: auto;
	vertical-align: top;
}

.wrapper a {
	color: inherit;
	transition: opacity .1s ease;
}
.wrapper a:hover {
	color: inherit;
	opacity: .8;
}

.dib{display: inline-block;}


.ff_serif {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-style: normal;
}

@media screen and (max-width: 767px) {
	.d_for_pc{display: none;}
}
@media screen and (min-width: 768px) {
	.d_for_sp{display: none;}
}


/* animation */
.fade-in-element {
	opacity: 0;
	transition: opacity 1s ease-out;
}
.fade-in-element.is-visible {
	opacity: 1;
}


/* header */
#header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px 0;
	margin-bottom: 30px;
	padding: 20px 20px 0;
}
#header .h_title {
	margin: 0 74px 0 0;
	font-weight: bold;
	font-size: 28px;
	line-height: 1;
	white-space: nowrap;
}
#header .h_navi_wrap {
	order: 3;
	height: auto;
}
#header .h_navi {
	display: flex;
	gap: 40px;
}
#header .h_navi a {
	display: block;
	padding: 6px 3px;
	color: #333;
}
#header .h_navi a:hover {
	opacity: 1;
	color: #E6001B;
}
#header .h_navi a.active {
	border-bottom: 2px solid #E6001B;
	color: #E6001B;
}
#header .logo_area {
	width: 80px;
	margin-left: auto;
}
/* ハンバーガーメニューボタン */
.hamburger {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 1001;
}
.hamburger span {
	display: block;
	position: absolute;
	left: 8px;
	width: 24px;
	height: 2px;
	background: #333;
	transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 28px; }

/* ハンバーガーメニュー開いた状態 */
.hamburger.active span:nth-child(1) {
	top: 19px;
	transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
	opacity: 0;
}
.hamburger.active span:nth-child(3) {
	top: 19px;
	transform: rotate(-45deg);
}

/* スライドインメニュー */
.sp_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1000;
}
.sp_menu.active {
	pointer-events: auto;
}

/* オーバーレイ */
.sp_menu_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.sp_menu.active .sp_menu_overlay {
	opacity: 1;
}

/* メニューコンテンツ */
.sp_menu_content {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-height: 100vh;
	background: #F2F2F2;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow-y: auto;
}
.sp_menu.active .sp_menu_content {
	transform: translateY(0);
}

.sp_menu_title {
	padding: 20px 20px 0;
	font-weight: bold;
	font-size: 24px;
	line-height: 1;
}

/* メニューリスト */
.sp_menu_list {
	display: block;
	list-style: none;
	padding: 32px 5% 30px;
	margin: 0;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}
.sp_menu_list > li > a ,
.sp_menu_list > li > span ,
.sp_submenu > li > a {
	display: block;
	position: relative;
	padding: 5px 10px 5px 30px;
}
.sp_menu_list > li > span {
	padding-top: 20px;
}

/* サブメニュー */
.sp_submenu {
	display: block;
	margin-left: 20px;
}
.sp_menu_list > li > a:before,
.sp_submenu > li > a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 14px;
	width: 6px;
	height: 6px;
	margin: auto;
	border: 1px solid #E6001B;
	border-width: 1px 1px 0 0;
	transform: rotate(45deg);
}
.sp_menu_list > li > a:hover,
.sp_submenu > li > a:hover {
	opacity: 1;
	color: #E6001B;
}

@media screen and (min-width: 768px) {
	#header {
		flex-wrap: nowrap;
		margin-bottom: 0px;
		padding: 40px min(4%, 66px) 0 min(4%, 57px);
	}
	#header .h_title {
		font-size: 36px;
	}
	#header .h_navi_wrap {
		order: inherit;
		margin-right: 40px;
		white-space: nowrap;
	}
	#header .logo_area {
		width: 132px;
	}

	.sp_menu {
		display: none;
	}
}

/* footer */
.footer{
	padding: 40px 0 60px;
	text-align: center;
}
.footer > .inner{
	width: 90%;
	margin: auto;
}

.footer .logo_area{
	width: 60%;
	max-width: 130px;
	margin: 0 auto;
}

/* __  link_list */
.footer .link_list{
	display: flex;
	justify-content: space-around;
	max-width: 346px;
	margin: 40px auto;
}
.footer .link_list > li{
	flex: 0 0 auto;
	width: auto;
	margin-top: 0;
}

.footer .link_list a{
	color: #333;
}
.footer .link_list .ico_blank:after{
	content: "";
	display: inline-block;
	vertical-align: text-top;
	width: 14px;
	height: 14px;
	margin-left: 7px;
	background: url(../images/ico_blank.svg) no-repeat center / contain;
}

.footer .copyright{
	font-size: 16px;
}


/* page_title */
.page_title {
	margin: 50px 0 40px;
	text-align: center;
	font-size: 20px;
}

/* history_title */
.history_title {
	margin: 0;
	padding: 27px 10px;
	background: #E6001B;
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	line-height: 1.4;
	color: #fff;
}

/* history_navi */
.history_navi {
	height: auto;
}
.history_navi ul {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 980px;
	margin: auto;
}
.history_navi ul li{
	flex: 1 1 300px;
	width: 100%;
	max-width: 300px;
	text-align: center;
	line-height: 1;
}
.history_navi li a {
	display: block;
	/* padding: 17px; */
	padding: 17px 0;
	font-weight: bold;
	/* font-size: 25px; */
	font-size: 18px;
	color: #999999;
	transition: background .1s ease;
}

.history_navi li a:hover ,
.history_navi li a.current {
	opacity: 1;
	background: #E6001B;
	color: #fff;
}
.history_navi.is_after {
	border-top: 5px solid #E6001B;
}
.history_navi.is_after ul {
	border-bottom: 1px solid #C9C9C9;
	padding-bottom: 40px;
}

/* block */
.block {
	background: #F2F2F2;
}
.block .block_inner {
	display: flex;
	/* max-width: 1920px; */
	max-width: 1840px;
	margin: 0 auto;
	padding: 50px clamp(20px, 4%, 90px) 0 0;
}

.block .content_area{
	flex: 1 1 auto;
	padding-bottom: 5px;
}
.block .content_area .img_area {
	margin-bottom: 20px;
}
.block .content_area .img_area img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.block .content_area .info_area {
	display: flex;
	align-items: flex-start;
	flex-direction: column-reverse;
	z-index: 1;
}
.block .content_area .info_area .text_area {
	flex: 0 1 auto;
	padding: 6% 6%;
	background: #fff;
	box-shadow: 10px 10px 42px #00000021;
	font-size: 14px;
	line-height: 3.1;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.block .content_area .info_area .text_area .text_inner {
	background: repeating-linear-gradient(#fff0 0, #fff0 42.4px, #eee 42.4px, #eee 43.4px);
	/* font-family: "Noto Serif JP", serif; */
}
.block .content_area .info_area .title_area {
	flex: 0 1 auto;
	width: 100%;
}
.block .content_area .info_area .title_area .title_main {
	font-weight: bold;
	/* font-size: 36px; */
	font-size: 25px;
	line-height: 1.2;
}
.block .content_area .info_area .title_area .title_sub {
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
}
.block .content_area .info_area .title_area .title_img {
	margin: 0 auto 30px;
}

/* year_area */
.year_area {
	display: flex;
	align-items: baseline;
	flex-direction: column;
	/* margin-bottom: 25px; */
	padding: 0 1% 0 20px;
	text-align: center;
	line-height: 1;
}
.year_area .year{
	margin-left: -6px;
	writing-mode: sideways-rl;
	font-weight: bold;
	font-size: 40px;
	color: #E6001B;
}
.year_area .era_name {
	text-orientation: upright;
	writing-mode: vertical-lr;
	margin-top: 14px;
	font-size: 14px;
	height: 5em;
}
.year_area .era_name .num{
	writing-mode: horizontal-tb;
	vertical-align: bottom;
	white-space: nowrap;
}
.year_area .line {
	flex: 1 1 auto;
	position: relative;
	width: 2px;
	margin-top: 14px;
	background: #E6001B;
}
.year_area .line:before{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 10px;
	height: 10px;
	margin: 0 auto;
	border-radius: 10px;
	background: #E6001B;
	transform: translateX(-50%);
}
.year_area .line.is_not_circle:before{
	content: none;
}

@media screen and (min-width: 768px) {

	.page_title {
		margin-top: 26px;
		margin-bottom: 40px;
		letter-spacing: 3px;
		font-size: 36px;
	}

	.history_navi ul {
		gap: 40px;
		width: 95%;
	}
	.history_navi li a {
		padding: 22px;
	}

	.year_area {
		align-items: center;
		padding-left: 2%;
		/* padding-right: 2%; */
	}
	.year_area .year{
		font-size: min(9vw, 100px);
		margin-left: 0;
		transform: translateX(7px);
	}
	.year_area .era_name {
		font-size: 21px;
	}

	.block .content_area{
		padding-bottom: 70px;
	}
	.block .content_area .img_area {
		margin-bottom: 40px;
	}
	.block .content_area .img_area img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.block .content_area .info_area .text_area {
		padding: min(5%, 70px) min(calc(13% - 70px), 100px) min(6%, 78px);
	}
}
@media screen and (min-width: 1024px) {

	.history_title {
		padding-top: 39px;
		padding-bottom: 39px;
		font-size: 38px;
	}

	.block .content_area .info_area .title_area .title_main {
		font-size: 45px;
	}
	.block .content_area .info_area .title_area .title_sub {
		font-size: 23px;
	}
	.block .content_area .info_area .title_area .title_img {
		margin-bottom: 0;
		margin-left: 0;
	}
	.block .content_area .info_area .text_area {
		font-size: 16px;
	}
	.block .content_area .info_area .text_area .text_inner {
		background: repeating-linear-gradient(#fff0 0, #fff0 48.6px, #eee 48.6px, #eee 49.6px);
	}
}

/* 個別 */
/* type01 */
.block.type01 .block_inner{
	padding-top: 20px;
}
.block.type01 .content_area .img_area {
	height: 300px;
}
.block.type01 .content_area .info_area .title_area .title_img {
	max-width: 400px;
}

/* type03 */
.block.type03 .block_inner {
	padding-top: 52px;
}
.block.type03 .content_area .info_area .title_area .title_img {
	max-width: 400px;
}

/* type04 */
.block.type04 .content_area .info_area .title_area .title_img {
	max-width: 270px;
}

/* type05 */
.block.type05 .content_area .img_area {
	height: 400px;
}



.block.p1-2 .content_area .info_area .title_area .title_img {
	width: 40%;
	margin-left: auto;
}

.block.p2-2 .content_area .info_area .title_area .title_sub {
	margin-bottom: 45px;
}
.block.p2-2 .content_area .info_area .title_area .title_img {
	width: 200px;
	margin-bottom: 50px;
	margin-left: 30px;
}

.block.p3-3 .content_area {
	padding-bottom: 70px;
}

/* top */
.block.top {
	display: flex;
	flex-direction: column;
	height: 100vh;
	min-height: 1000px;
	background: url(../images/bg_top_sp.jpg) no-repeat right 26% bottom / cover;
}
.block.top .block_inner {
	flex: 1 1 auto;
	width: 100%;
	align-items: flex-start;
	padding-top: 0;
	padding-right: calc(60px + 1%);
}

.block.top .year_area .year ,
.block.top .year_area .era_name {
	color: #fff;
}
.block.top .year_area {
	padding-right: 2%;
}
.block.top .year_area .line {
	height: 120px;
	margin-top: 20px;
	margin-bottom: 10px;
	background-color: #fff;
}
.block.top .year_area .line:before {
	background-color: #fff;
}

.top .name_area {
	flex: 1 1 auto;
	padding-top: 50px;
	text-align: center;
}
.top .name_area .img{
	width: 80%;
	max-width: 180px;
	margin: auto;
}
.top .name_area .info {
	display: inline-block;
	margin-top: 40px;
	text-align: left;
}
.top .name_area .info .post {
	margin-right: 1.2em;
	font-size: 17px;
}
.top .name_area .info .name {
	font-size: 21px;
}
.top .name_area .info .furigana {
	vertical-align: text-bottom;
	font-size: 12px;
}

.top .name_area .info .history {
	position: relative;
	margin-top: 1.1em;
	padding-left: 5em;
	font-size: 14px;
	line-height: 2em;
}
.top .name_area .info .history .year {
	position: absolute;
	left: 0;
}

/* last */
.block.last {
	display: flex;
	flex-direction: column;
	height: 100vh;
	min-height: 600px;
	background: url(../images/img_history3_4_01.jpg) no-repeat right 43% bottom / cover;
}
.block.last .block_inner {
	width: 100%;
	height: 100%;
	padding-top: 0;
    padding-right: calc(54px + 1%);
}
.block.last .year_area {
	align-self: flex-start;
}
.block.last .year_area .line {
	margin-top: 0;
	margin-bottom: 20px;
	padding-top: 90px;
}
.block.last .content_area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* padding-top: 160px; */
	text-align: center;
	line-height: 2;
}
.block.last .content_area .text01 {
	font-size: 18px;
}
.block.last .content_area .text02 {
	font-weight: bold;
	font-size: 18px;
}
.block.last .content_area .text03 {
	margin-top: 13px;
	font-weight: bold;
	font-size: 28px;
	line-height: 1.6;
}
.block.last .content_area .button {
	display: block;
	width: 100%;
	max-width: 230px;
	margin-top: 72px;
	padding: 8px;
	border: 1px solid #E6001B;
	border-radius: 5px;
	background: #fffe;
	font-size: 14px;
	color: #E6001B;
}

.block.last .notes_area {
	background: #fff;
}
.block.last .notes_area .block_inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90%;
	margin: auto;
	padding: 33px 0;
	font-size: 14px;
}

/* button_area */
.block.button_area .block_inner{
	text-align: center;
	padding: 50px 0 80px;
}
.block.button_area .button {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 5px 30px;

	width: 90%;
	margin: auto;
	padding: 19px;
	padding: 20px 19px 26px;
	border: 1px solid #E6001B;
	border-radius: 5px;
	background: #fff;
	color: #e6001b;
}
.block.button_area .button .button_info {
	display: flex;
	align-items: center;
	gap: 20px;
}
.block.button_area .button .button_info .year {
	vertical-align: -7px;
	white-space: nowrap;
	font-size: 35px;
	line-height: 1;
	font-weight: bold;
}
.block.button_area .button .button_info .img {
	pointer-events: none;
}

@media screen and (min-width: 768px) {

	.block.type01 .block_inner {
		padding-top: 115px;
	}
	.block.type01 .content_area .img_area {
		height: auto;
	}
	.block.type01 .content_area .info_area {
		flex-direction: row;
		margin-left: -60px;
	}
	.block.type01 .content_area .info_area .title_area {
		flex: 0 1 400px;
	}
	.block.type01 .content_area .info_area .text_area {
		flex: 0 1 790px;
		max-width: 790px;
		margin: -90px calc(10% - 60px) 0 6%;
	}


	.block.type03 .content_area .info_area {
		flex-direction: row-reverse;
		justify-content: space-around;
		margin-left: -20px;
	}
	.block.type03 .content_area .info_area .title_area {
		flex-basis: 490px;
	}
	.block.type03 .content_area .info_area .text_area {
		flex-basis: 790px;
		max-width: 790px;
		margin: -90px 1% 0 4%;
	}


	.block.type04 .content_area .info_area {
		flex-direction: row;
	}
	.block.type04 .content_area .info_area .text_area {
		flex: 0 1 790px;
		max-width: 790px;
	}
	.block.type04 .content_area .info_area .title_area {
		flex-basis: 600px;
	}
	.block.type04 .content_area .info_area .title_area .title_sub {
		margin-top: 14px;
	}


	.block.type05 .content_area {
		display: flex;
	}
	.block.type05 .content_area .img_area {
		flex: 0 1 50%;
		max-width: 630px;
		height: auto;
		margin-bottom: 0;
	}
	.block.type05 .content_area .info_area {
		flex: 1 1 50%;
		flex-direction: column;
		padding-right: 3%;
	}
	.block.type05 .content_area .info_area .text_area {
		margin-top: 7%;
		margin-left: -13%;
		padding-left: min(calc(20% - 40px), 100px) ;
		padding-right: min(calc(20% - 40px), 100px) ;
	}
	.block.type05 .content_area .info_area .title_area {
		margin-top: 6%;
		padding-left: calc(-60px + 25%);
	}
	.block.type05 .content_area .info_area .title_area .title_img {
		max-width: 644px;
	}


	.block.type06 .content_area {
		display: flex;
		flex-direction: row-reverse;
	}
	.block.type06 .content_area .img_area {
		flex: 0 1 50%;
		max-width: 750px;
		margin-bottom: 0;
	}
	.block.type06 .content_area .info_area {
		flex: 1 1 50%;
		flex-direction: column;
		padding-left: 3%;
	}
	.block.type06 .content_area .info_area .text_area {
		max-width: 1000px;
		margin-right: -13%;
		margin-top: 7%;
		padding-left: min(calc(20% - 40px), 100px) ;
		padding-right: min(calc(20% - 40px), 100px) ;
	}
	.block.type06 .content_area .info_area .title_area {
		margin-top: 6%;
		padding-right: 10px;
	}
	.block.type06 .content_area .info_area .title_area .title_img {
		max-width: 400px;
	}

	.block.p1-2 .content_area .info_area .title_area .title_sub {
		margin-bottom: 50px;
	}
	.block.p1-2 .content_area .info_area .title_area .title_img {
		width: 70%;
	}

	.block.p1-2 .content_area .info_area .text_area {
		margin: -90px 5% 0 calc(10% - 90px);
	}

	.block.p2-2 .content_area .info_area .text_area {
		margin: -90px calc(12% - 60px) 0 calc(7% - 70px);
	}
	.block.p2-2 .content_area .info_area .title_area .title_img {
		width: 60%;
		margin-left: 0;
		margin-bottom: 0;
	}

	.block.p2-3 .content_area .info_area .text_area {
		margin-right: -25%;
	}

	.block.p3-2 .content_area .info_area .text_area {
		margin-right: -17%;
	}


	.block.top {
		max-height: 1000px;
		min-height: 800px;
		background-image: url(../images/bg_top.jpg);
		background-position: center bottom;
	}

	.top .name_area {
		flex: 0 0 auto;
		align-self: center;
		margin: auto;
		padding-right: 20%;
	}
	.top .name_area .img{
		max-width: 360px;
	}
	.top .name_area .info {
		margin-top: 122px;
	}
	.top .name_area .info .post {
		font-size: 25px;
	}
	.top .name_area .info .name {
		font-size: 30px;
	}
	.top .name_area .info .furigana {
		font-size: 16px;
	}
	.top .name_area .info .history {
		font-size: 16px;
	}

	.block.last {
		background-position: center bottom;
	}

	.block.last .content_area .text01 {
		font-size: 23px;
	}
	.block.last .content_area .text02 {
		margin-top: 14px;
		font-size: 23px;
	}
	.block.last .content_area .text03 {
		font-size: 40px;
	}
	.block.last .content_area .button {
		max-width: 380px;
		margin-top: 75px;
		padding: 23px;
		font-size: 16px;
	}

	.block.last .notes_area .block_inner {
		width: 95%;
		text-align: center;
		font-size: 16px;
	}

	.block.button_area .block_inner {
		padding: 30px 0 100px;
	}
	.block.button_area .button {
		width: 95%;
	}
	.block.button_area .button .year {
		font-size: 40px;
	}
}
