
/*========= 縦書き表示 ===============*/


#writing .tategaki {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-family: YakuHanMP, 'Noto Serif JP', serif;
	width:100%;
	height: 500px;
	line-height:180%;
	position:right;
	font-size:30px;
	padding-top:30px;
	width:80%;
	margin-right:auto;
	margin-left:auto;
	color:#ffffff;
}


#writing .tategaki img{
	width:150px;
	margin-left:20%;
}


/*縦中横*/
.text-combine{
	 -webkit-text-combine: horizontal;
	-ms-text-combine-horizontal: all;
	text-combine-upright: all;
}


.contents_text {
	font-family: "メイリオ" ;
	font-size: 20px;
	line-height: 1.5;
}

/* コンテンツ SPで使用*/

.contents_text_sp {
	font-family: "メイリオ" ;
	font-size: 16px;
	line-height: 1.5;
	margin:3%;
}

/* SPでは隠す*/
@media (max-width: 850px) {

	.sp_none {
	  display: none;
	}
}



.bg_image{
	bottom:300px;
	left:100px;
	position: absolute;
	width:30%;
	opacity: 0.5;
	/*box-shadow: 15px 15px 0px 0 rgb(51,51,51,0.2);*/
}

.daiji_shadow{
	filter: drop-shadow(15px 15px 15px #000000);
}

.fuchidori {
	color: #fff;
	text-shadow: 0 0 10px #000,0 0 15px #000;
}

.img_maru{
	border-radius: 10px;
}


/*真ん中寄せ*/
.inner{
  text-align: center;
}

/*画像右寄せ*/

.photo-migi {
    float: right;
    padding: 0 15px;
}

.photo-box {
    max-width: 20%;
    background-color: #fff;
    padding: 0 10px ;
}


/*以下フェードイン表示の指定*/
.fadein {
    opacity: 0;
    animation: fadein 6s ease forwards;
}
@keyframes fadein {
    100% {  opacity: 1;}
}

.fadein_v2 {
    opacity: 0;
    animation: fadein 3s ease forwards;
}
@keyframes fadein_v2 {
    100% {  opacity: 1;}
}


/*以下遅延の指定*/
.txt00 {animation-delay: 0.3s;}
.txt01 {animation-delay: 0.5s;}
.txt02 {animation-delay: 1s; text-align:left;}
.txt03 {animation-delay: 1.5s;}
.txt04 {animation-delay: 2s;}
.txt05 {animation-delay: 9s;}
.txt06 {animation-delay: 11s;}


/*上から下に アニメーション*/
div.animation_box {
  padding: 10px;
  opacity: 0;
  transform: translateY(-20px);
  transition: 3s ease;
}


/* コンテンツ
--------------------------------- */

.cont_list {
	list-style: none;
	display: flex;
}


.cont_list p {
/*font-family: YakuHanMP, 'Noto Serif JP', serif;*/
	font-family: "メイリオ" ;
	font-size: 18px;
	line-height: 1.7;
	/*font-weight: bold;*/
}


.cont_box {
	display: inline-block;
	width:50%;
	margin: 0px 30px 30px 0px;
	padding:0 20px;
}


.cont_box_line {
	display: inline-block;
	width:50%;
	margin: 0px 30px 30px 0px;
	padding:0 20px;
	border-left: 1px solid #000000;

}


.cont_box_one-fourth {
	display: inline-block;
	width:25%;
	margin: 0px 90px 0px 0px;
}


.cont_box_one-third {
	display: inline-block;
	width:33%;
	margin: 0px 10px 0px 0px;
	/*border-left: 1px solid #000000;*/
	padding:0 5px;
}


.cont_box_20 {
	display: inline-block;
	width:20%;
	margin: 0px 5px 0px 0px;
}


.cont_box_40 {
	display: inline-block;
	width:40%;
	margin: 0px 5px 0px 0px;
}

.cont_box_60 {
	display: inline-block;
	width:60%;
	margin: 0px 5px 0px 0px;
}


/* コンテンツ SPで使用*/

.cont_box_sp {
	display: inline-block;
	margin: 0px 3% 50px;
}


.cont_box_sp p {
	font-family: "メイリオ" ;
	font-size: 16px;
	line-height: 1.7;
}



.cont_title01{
	font-family: YakuHanMP, 'Noto Serif JP', serif;
	font-size: 60px;
	text-align:center;
	font-weight:bold;
}


.cont_title02{
	font-family: YakuHanMP, 'Noto Serif JP', serif;
	font-size: 36px;
	text-align:center;
	font-weight:bold;
}


.cont_title03{
	font-family: YakuHanMP, 'Noto Serif JP', serif;
	font-size: 22px;
	text-align:center;
	font-weight:bold;
}


.cont_title04{
	font-family: YakuHanMP, 'Noto Serif JP', serif;
	font-size: 18px;
	text-align:center;
	font-weight:bold;
}


.blank_80{
	margin:80px 0;
}


.blank_40{
	margin:40px 0 40px;
}

.blank_20{
	margin:20px auto;
}


.blank_10{
	margin:10px 0;
}


.blank_b20{
	margin-bottom:20px;
}


.text_blue{
	color:#052242;
}


.width80{
	width:80%;
	margin-right:auto;
	margin-left:auto;
}


/*========= スクロールダウンのためのCSS ===============*/

/*スクロールダウン全体の場所*/
.scrolldown2{
	/*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:300px;
	left:50%;
}


/*Scrollテキストの描写*/
.scrolldown2 span{
	/*描画位置*/
	position: absolute;
	left:10px;
	bottom:10px;
	/*テキストの形状*/
	color: #333;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
}


/* 丸の描写 */
.scrolldown2:before {
	content: "";
	/*描画位置*/
	position: absolute;
	bottom:0;
	left:-4px;
	/*丸の形状*/
	width:10px;
	height:10px;
	border-radius: 50%;
	background:#333;
	/*丸の動き1.6秒かけて透過し、永遠にループ*/
	animation:
	circlemove 1.6s ease-in-out infinite,
	cirlemovehide 1.6s ease-out infinite;
}


/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
	0%{bottom:45px;}
	100%{bottom:-5px;}
 }


/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
	0%{opacity:0}
	50%{opacity:1;}
	80%{opacity:0.9;}
	100%{opacity:0;}
 }


/* 線の描写 */
.scrolldown2:after{
	content:"";
	/*描画位置*/
	position: absolute;
	bottom:0;
	left:0;
	/*線の形状*/
	width:2px;
	height: 50px;
	background:#333;
}


/*========= タイムラインCSS ===============*/

#timeline .text_area {
  font-family: "メイリオ" ;
  color: #424949;
  background-color: #ECF0F1;
  padding:60px 0;
}


@media (max-width: 850px) {

	#timeline .text_area {
	  padding:0 0 60px 0;
	}
}


#timeline h1 {
  text-align: center;
  height: 38px;
  margin: 60px 0;
}


#timeline h1 span {
  white-space: nowrap;
}


.flex-parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


.input-flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80vw;
  height: 100px;
  max-width: 1000px;
  position: relative;
  z-index: 0;
}


.input {
  width: 25px;
  height: 25px;
  background-color: #2C3E50;
  position: relative;
  border-radius: 50%;
}


.input:hover {
  cursor: pointer;
}


.input::before, .input::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2C3E50;
  width: 4vw;
  height: 5px;
  max-width: 50px;
}


.input::before {
  left: calc(-4vw + 12.5px);
}


.input::after {
  right: calc(-4vw + 12.5px);
}


.input.active {
  background-color: #2C3E50;
}


.input.active::before {
  background-color: #2C3E50;
}


.input.active::after {
  background-color: #AEB6BF;
}


.input.active span {
  font-weight: 700;
}


.input.active span::before {
  font-size: 13px;
}


.input.active span::after {
  font-size: 15px;
}


.input.active ~ .input, .input.active ~ .input::before, .input.active ~ .input::after {
  background-color: #AEB6BF;
}


.input span {
  width: 1px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}


.input span::before, .input span::after {
  visibility: visible;
  position: absolute;
  left: 50%;
}


.input span::after {
  content: attr(data-year);
  top: 25px;
  transform: translateX(-50%);
  font-size: 14px;
}


.input span::before {
  content: attr(data-info);
  top: -65px;
  width: 70px;
  transform: translateX(-5px) rotateZ(-45deg);
  font-size: 12px;
  text-indent: -10px;
}


.description-flex-container {
  width: 80vw;
  font-weight: 400;
  font-size: 16px;
  margin-top: 50px;
  max-width: 1000px;
}


.description-flex-container p {
  margin-top: 0;
  display: none;
}

.description-flex-container p.active {
  display: block;
  line-height:1.7;
}

@media (max-width: 850px) {

	.description-flex-container p {
	  text-align:left;
	}

	.description-flex-container p.active {
	  text-align:left;
	}

}


@media (min-width: 1250px) {
  .input::before {
    left: -37.5px;
  }


  .input::after {
    right: -37.5px;
  }
}


@media (max-width: 850px) {
  .input {
    width: 17px;
    height: 17px;
  }
  .input::before, .input::after {
    height: 3px;
  }
  .input::before {
    left: calc(-4vw + 8.5px);
  }
  .input::after {
    right: calc(-4vw + 8.5px);
  }
}


@media (max-width: 600px) {
  .flex-parent {
    justify-content: initial;
  }


  .input-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 15vh;
  }


  .input {
    width: 60px;
    height: 60px;
    margin: 0 10px 50px;
    background-color: #AEB6BF;
  }


  .input::before, .input::after {
    content: none;
  }


  .input span {
    width: 100%;
    height: 100%;
    display: block;
  }


 .input span::before {
    top: calc(100% + 5px);
    transform: translateX(-50%);
    text-indent: 0;
    text-align: center;
  }


  .input span::after {
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ECF0F1;
  }


  .description-flex-container {
    margin-top: 30px;
    text-align: center;
  }
}


@media (max-width: 400px) {
  body {
    min-height: 950px;
  }
}


/*========= 背景画像CSS ===============*/
.wrapper_bg {
   width: 100%;
   height: 100%;
   background-image: url(/files/image/feature/kaidai75/haikei.jpg);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   padding:0;
}


/*========= 踏みつぶしCSS ===============*/

/*PC　上部青色帯下ツメる*/
.container{
	padding:0;
}

/*SP　上部青色帯下ツメる*/
.main_tabs {
	padding:0 2%;
}



