/* CSS Document */

.lead{
	padding: 20px;
}
.history{
	background: url("../img/history/back.png") center top repeat;
}
.history_line{
	position: relative;
}
.history_line::before{
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	top: 100px;
	width: 3px;
	height: 100%;
	background: #ef8200;
}
.history_w,
.history_b{
	padding: 30px 0;
	position: relative;
}
.history_b{
	background: rgba(119,136,153,0.1);
}
.period{
	font-size: 18.0rem;
	color: #778899;
	opacity: 0.2;
	font-family: 'Lexend Giga', sans-serif;
}
.history_w .period{
	position: absolute;
	right: 10%;
	top: 0px;
}
.history_b .period{
	position: absolute;
	left: 10%;
	top: 0px;
}

.historyFlex,
.historyLinkFlex{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	flex-wrap: wrap;
}
.history_w .historyFlex .txt,
.history_w .historyLinkFlex .txt{
	width: 46%;
	text-align: right;
}
.history_w .historyFlex .txt .year{
	font-size: 4.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_w .historyFlex .txt p{
	text-align: right;
	padding: 10px 0;
}
.history_w .historyFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 1.5em;
	padding-top: 15px;
}
.history_w .historyLinkFlex .txt .year{
	font-size: 5.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_w .historyLinkFlex .txt p{
	text-align: right;
	padding: 10px 0;
}
.history_w .historyLinkFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 2.0em;
	padding-top: 12px;
}
.history_w .historyFlex .photo,
.history_w .historyLinkFlex .photo{
	width: 46%;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 20px;
}
.history_b .historyFlex .txt,
.history_b .historyLinkFlex .txt{
	width: 46%;
	text-align: left;
	order: 3;
}
.history_b .historyFlex .txt .year{
	font-size: 4.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_b .historyFlex .txt p{
	text-align: left;
	padding: 10px 0;
}
.history_b .historyFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 1.5em;
	order: 2;
	padding-top: 15px;
}
.history_b .historyLinkFlex .txt .year{
	font-size: 5.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_b .historyLinkFlex .txt p{
	text-align: left;
	padding: 10px 0;
}
.history_b .historyLinkFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 2.0em;
	order: 2;
	padding-top: 12px;
}
.history_b .historyFlex .photo,
.history_b .historyLinkFlex .photo{
	width: 46%;
	text-align: right;
	order: 1;
	padding-bottom: 20px;
}
.historyLinkFlex .arrow{
	width: 50px;
	display: block;
}
.historyLinkFlex .arrow img{
	width: 100%;
	height: auto;
}
.historyLinkFlex a{
	text-decoration: none;
	
}
.historyLinkFlex a p{
	color: #ef8200;
	font-size: 1.2em;
	font-weight: 600;
	text-decoration: none;
}
.history_w .historyLinkFlex .arrow{
	text-align: right;
	margin: 0 0 30px auto;
}
.history_b .historyLinkFlex .arrow{
	text-align: left;
	margin: 0 auto 30px 0;
}




@media print , screen and (min-width:1px) and (max-width: 1280px) {

.period{
	font-size: 15.0rem;
	color: #778899;
	opacity: 0.2;
	font-family: 'Lexend Giga', sans-serif;
}
.history_w .period{
	position: absolute;
	right: 5%;
	top: 0px;
}
.history_b .period{
	position: absolute;
	left: 5%;
	top: 0px;
}
}

@media print , screen and (min-width:1px) and (max-width: 960px) {
.history_line{
	position: relative;
}
.history_line::before{
	top: 90px;
}
.period{
	font-size: 10.0rem;
	color: #778899;
	opacity: 0.2;
	font-family: 'Lexend Giga', sans-serif;
	}
}

@media print , screen and (min-width:1px) and (max-width: 768px) {

.history_line{
	position: relative;
}
.history_line::before{
	content: "";
	position: absolute;
	left: 5.8%;
	transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	top: 80px;
	width: 3px;
	height: 100%;
	background: #ef8200;
}
	
.history_w .historyFlex .txt,
.history_w .historyLinkFlex .txt{
	width: 92%;
	text-align: left;
	order: 2;
}
.history_w .historyFlex .txt .year{
	font-size: 3.0rem;
	padding: 5px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_w .historyFlex .txt p{
	text-align: left;
	padding: 5px 0;
}
.history_w .historyFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 1.3em;
	padding-top: 10px;
	order: 1;
}
.history_w .historyLinkFlex .txt .year{
	font-size: 4.0rem;
	padding: 10px 0px;
}
.history_w .historyLinkFlex .txt p{
	text-align: left;
	padding: 10px 0;
}
.history_w .historyLinkFlex .maru{
	width: 8%;
	font-size: 2.0em;
	padding-top: 12px;
}
.history_w .historyFlex .photo,
.history_w .historyLinkFlex .photo{
	width: 92%;
	text-align: left;
	padding-bottom: 10px;
	padding-right: 10px;
	order: 3;
	margin-left: 8%;
}
.history_b .historyFlex .txt,
.history_b .historyLinkFlex .txt{
	width: 92%;
	text-align: left;
	order: 2;
}
.history_b .historyFlex .txt .year{
	font-size: 3.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_b .historyFlex .txt p{
	text-align: left;
	padding: 10px 0;
}
.history_b .historyFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 1.5em;
	order: 1;
	padding-top: 15px;
}
.history_b .historyLinkFlex .txt .year{
	font-size: 4.0rem;
	padding: 10px 0px;
	color: #ef8200;
	font-family: 'Lexend Giga', sans-serif;
}
.history_b .historyLinkFlex .txt p{
	text-align: left;
	padding: 10px 0;
}
.history_b .historyLinkFlex .maru{
	width: 8%;
	color: #ef8200;
	font-size: 2.0em;
	order: 1;
	padding-top: 12px;
}
.history_b .historyFlex .photo,
.history_b .historyLinkFlex .photo{
	width: 92%;
	text-align: left;
	padding-bottom: 10px;
	padding-right: 10px;
	order: 3;
	margin-left: 8%;
}
.historyLinkFlex .arrow{
	width: 50px;
	display: block;
}
.historyLinkFlex .arrow img{
	width: 100%;
	height: auto;
}
.historyLinkFlex a{
	text-decoration: none;
	
}
.historyLinkFlex a p{
	color: #ef8200;
	font-size: 1.1em;
	font-weight: 600;
	text-decoration: none;
}
.history_w .historyLinkFlex .arrow{
	text-align: left;
	margin: 0 auto 30px 0;
}
.history_b .historyLinkFlex .arrow{
	text-align: left;
	margin: 0 auto 30px 0;
}
	
.history_w .period{
	position: absolute;
	right: 3%;
	top: 0px;
}
.history_b .period{
	position: absolute;
	left: inherit;
	right: 3%;
	top: 0px;
}
	
.history_w .historyFlex .photo.photo-pc,
.history_w .historyLinkFlex .photo.photo-pc,
.history_b .historyFlex .photo.photo-pc,
	.history_b .historyLinkFlex .photo.photo-pc{
		height: 0;
	}
}
@media only screen and (min-width:1px) and (max-width: 480px) {	
.period{
	font-size: 8.0rem;
}
.history_line::before{
	top: 60px;
}
}



/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(43, 46, 56, 0.9);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 50px 50px 100px;

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background: #fff;
	position: relative;
}
.remodal h3{
	text-align: left;
	color: #ef8200;
	padding: 20px 10px;
}
.remodal .remodal_year{
	position: absolute;
	bottom: 30px;
	right: 5%;
	font-size: 12.0rem;
	color: #ef8200;
	opacity: 0.1;
	font-family: 'Lexend Giga', sans-serif;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  -webkit-animation-name: remodal-opening-keyframes;
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  -webkit-animation-name: remodal-closing-keyframes;
  animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
  vertical-align: middle;
}

/* Close button */

.remodal-close {
  position: absolute;
  top: 0;
  right: 0;

  display: block;
  overflow: visible;

  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;

  cursor: pointer;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  text-decoration: none;

  color: #95979c;
  border: 0;
  outline: 0;
  background: transparent;
}

.remodal-close:hover,
.remodal-close:focus {
  color: #2b2e38;
}

.remodal-close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
  font-size: 35px;
  line-height: 35px;

  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 35px;

  content: "\00d7";
  text-align: center;
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm {
  color: #fff;
  background: #81c784;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
  background: #66bb6a;
}

.remodal-cancel {
  color: #fff;
  background: #e57373;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 900px;
  }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 900px;
}
@media print , screen and (min-width:1px) and (max-width: 768px) {

.remodal {
  padding: 35px 35px 50px;
}
	
.remodal .remodal_year{
	position: absolute;
	bottom: 30px;
	right: 5%;
	font-size: 8.0rem;
	color: #ef8200;
	opacity: 0.1;
	font-family: 'Lexend Giga', sans-serif;
}
}
@media print , screen and (min-width:1px) and (max-width: 480px) {

.remodal {
  padding: 25px 25px 50px;
}
	
.remodal .remodal_year{
	position: absolute;
	bottom: 20px;
	right: 5%;
	font-size: 6.0rem;
	color: #ef8200;
	opacity: 0.1;
	font-family: 'Lexend Giga', sans-serif;
}
}
