
#history_u {
   position: relative;
  width: 100%;
  height: auto;
    background-color: #00a99d;

}


.history_side_l {
  position: fixed;
  left:0;
  width: 15.3vw;
}

.history_wr {
  border-top: 1px solid #1D3039;
  height: 14vw;
  display: flex;
  align-items: center;
}

.history_yearwrp {
  position: relative;
  display: flex;
   align-items: flex-start; 
  gap: 2.5vw ;  
  margin-bottom: 5%;
  width: 100%;
   justify-content:flex-start;
  z-index: 100;
}

.history_yearwrp__yearcopy {
  margin: 0;
  padding-left: 50px;
  border-left: 1px solid #1D3039;
  margin-top: 1.4vw;
  font-weight: 600;
  line-height: 1.8;
  font-size: 1.1vw;
  color: #1D3039;

  display: block;
}

@media screen and (min-width:320px) and (max-width:1050px) {
    .history_yearwrp {
      position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
      padding-bottom:15%;
   
  }

  .yearimg {
    width: 100%;
  }

  .history_yearwrp__yearcopy {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #1D3039;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 4vw;
    
      filter:
    drop-shadow(2px 0 0 #00a99d)
    drop-shadow(-2px 0 0 #00a99d)
    drop-shadow(0 2px 0 #00a99d)
    drop-shadow(0 -2px 0 #00a99d);
    
  }
  
}

.history_wrp {
   width:70vw;
    padding-top:20px;
  padding-bottom:10%;
  margin: 0 auto;
  margin-bottom: 0;
  border-left:1px solid ;
  z-index: 100;
}

.ttl_history {
  position: relative;
    border-bottom:1px solid;
  margin-bottom: 0;
  z-index: 10;
  
 
}

.history_detailwrp {
  display:flex;
  align-items:center;
  gap:80px;
  padding-left:50px;
  padding-bottom:10%;

  position:relative;
  z-index:200;
}



.year_textwrp {
  position: relative;
  border:1px solid #1D3039;
  padding:3vw;
  background-color:rgba(0,169,157,0.5);
  z-index: 100;
}

.txtare_lead {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.7em;
  font-weight: 500;
    color:#1d3039;
}
.txtare_lead span {
	font-size: 60%;
}
.yearkv {
  position: absolute;
   width: 22vw;
  display: block;
  margin-left: 1.5vw;
  flex-shrink: 0;
  z-index: 10;
}
.yearkvbase {
  position: relative;
  width: 25vw;
  z-index: 9;
}

.ttlname {
  color:#1d3039;
  font-size: 4vw;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
   font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.ttlname_sub {
  color: #1D3039;
  font-size: 2.5vw;
  margin-top: 1vw;
  margin-left: 0.3vw;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 5vw;  
}

.ttlsubinfo {
  margin-top: 2%;
   font-weight: 800;
  margin-left: 0.3vw;
  line-height: 1.2em;  
  font-size: 1.3vw;
  color:#1d3039;
}

.ttlsubinfo_sub {
  margin-top: 2%;
  margin-left: 0.3vw;
  font-weight: 800;
  line-height: 1.2;
  font-size: 1vw;
  color: #1D3039;
}.history_subwrp .subwrp_detail {
  width: calc((100% - 4vw) / 3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.yearkvbase_sub {
    position: relative;
  width: 25vw;
  z-index: 5;
}

.yearkv_sub {
    position: absolute;
   width: 18.5vw;
  display: block;
  margin-top: 3vw;
  margin-left:1.5vw;
  flex-shrink: 0;
  z-index: 10;
}

.history_subwrp {
  position: relative;
  display: flex;
  gap: 2vw;
  padding-left: 50px;
  padding-bottom: 10%;
  z-index: 100;
  align-items: flex-start;
}



.history_sec{
  position: relative;
  overflow: hidden;
}

.history_inner{
  position: relative;

}

.history_arrow_flow{
  position: fixed;
  top: 0;
  bottom: 0;
left:70px;
  width: 140px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  opacity: 0.12;
}

.history_arrow_track{
  display: flex;
  flex-direction: column;
  align-items:center;
  gap: 40px;
  will-change: transform;
}

.history_arrow_track img{
  display: block;
  width: 100%;
  height: auto;
}
.history_backimg {
   position: fixed;
  opacity:0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:1 ;
}

.ttl_logo {
  position: absolute;
  margin-top: -19%;
  right:0;
  width: 13vw;
  z-index: 150;
         -webkit-filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
}

.corner {
  position: absolute;
  width: 10vw;
  margin-top: -4vw;
  margin-left: -3vw;
  z-index: 100;
}



.history_sec{
  position: relative;
  overflow: visible;
}

.history_side {
  position: sticky;
  top: 2vw;
  margin-left: auto;
  width: 22%;
  max-width: 400px;
  height: 100vh;
  margin-bottom: -100vh;
  pointer-events: none;
  z-index: 11;
}

@media screen and (min-width:320px) and (max-width:1050px) {

.txtare_lead {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.7em;
  font-weight: 500;
    color:#1d3039;
}
  .yearkvbase_sub {
    width: 86vw;
    max-width: none;
    height: auto;
    display: block;
  }
  .ttlsubinfo_sub {
  margin-top: 2%;
   font-weight: 800;
  margin-left: 0.3vw;
  line-height: 1.2em;  
  font-size: 3.5vw;
  color:#1d3039;
}
   .yearkvbase_sub,
  .yearkv_sub {
    width: 100%;
    height: auto;
    display: block;
  }
  .yearkvbase_sub,
  .yearkv_sub {
    position: static;
  }

  .ttlsubinfo {
  margin-top: 2%;
   font-weight: 800;
  margin-left: 0.3vw;
  line-height: 1.2em;  
  font-size: 5vw;
  color:#1d3039;
}
  .ttlname_sub {
  color:#1d3039;
  font-size: 5vw;
  margin-top:2vw;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-left: 0.3vw;
   font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}
  
  .history_subwrp .yearkvbase_sub{
    position: relative;
    width: 40vw;
    z-index: 5;
  }

  .history_subwrp .yearkv_sub{
    position: absolute;
    width: 36.5vw;
    display: block;
    margin-top: 4vw;
    margin-left: 2vw;
    flex-shrink: 0;
    z-index: 10;
  }
  
  
  .history_subwrp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8vw 4vw;
    padding-left: 0vw;
    padding-right: 4vw;
    padding-bottom: 12vw;
    align-items: start;
  }

  .history_subwrp .subwrp_detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .year_textwrp {
  position: relative;
  border:1px solid #1D3039;
  padding:5vw;
    margin-top: 5vw;
  background-color:rgba(0,169,157,0.7);
  z-index: 100;
}
  
  .ttl_history {
  position: relative;
    border-bottom:1px solid transparent;
  margin-bottom: 0;
  z-index: 10;
           -webkit-filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
 
}
  .corner {
  position: absolute;
  width: 40vw;
  margin-top: -10vw;
  margin-left: -5vw;
  z-index: 100;
}
  .ttl_logo {
  position: absolute;
  right:0vw;
  width: 43vw;
  margin-top: -24vw;
  z-index: 150;
       -webkit-filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, .8));
}
  .yearkv {
  position: absolute;
   width: 78vw;
    margin-top: 10vw;
  display: block;
  margin-left: 1.5vw;
  flex-shrink: 0;
  z-index: 10;
}
.yearkvbase {
  position: relative;
  width: 90vw;
  z-index: 9;
}
  .history_wrp {
   width:85vw;
    padding-top:50px;
  padding-bottom:50px;
  margin: 0 auto;
  border-left:1px solid transparent;
  z-index: 100;
}
  
  .history_detailwrp {
  display:flex;
  flex-direction: column;
  align-items:center;
  gap:50px;
  padding-top:0;
  padding-left:0;
  padding-bottom:15%;

  position:relative;
  z-index:200;
}
  
  
  .ttlname {
  color:#1d3039;
  font-size: 10vw;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
   font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

  
  .history_arrow_flow{
  position: fixed;
  top: 0;
  bottom: 0;
left:0px;
  width: 100px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  opacity: 0.12;
}
  .history_side{
  position: sticky;
    opacity:0.3;
 width: 42%;
    max-width: none;
    top: 4vw;
    overflow: visible;
  z-index: 5;
}

  .ttlname_sub {
    font-size: 5.6vw;
    line-height: 0.95;
    margin-top: 3vw;
    margin-left: 0;
    min-height: 13vw; 
    word-break: keep-all;
  }

  .ttlsubinfo_sub {
    margin-top: 2vw;
    margin-left: 0;
    font-size: 3.2vw;
    line-height: 1.2;
  }
}



.history_side_move{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.history_side_move img{
  display: block;
  width: 100%;
  height: auto;
}
.mt-30 {
  margin-top: 30px;
}



.history_subheading {
  position: relative;
  margin-bottom: 60px;
  z-index: 100;
}

.history_break {
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding-top:10%;
  padding-bottom:10%;
  z-index: 100;
}
@media screen and (min-width:320px) and (max-width:1050px) {
  .history_break {
  width: 100%;
  margin: 0 auto;
}
    .history_subwrp .subwrp_detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

}
.history_year {
  position: relative;
  display: inline-block;
  color: #1d3039;
  font-size: 9vw;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-left: 2vw;
  padding-bottom: 1.3vw; 
}

.history_year::after {
  content: "";
  position: absolute;
  left: -2vw;          
  bottom: 0;
  width: 25vw;          
  height: 1.6vw;     
  background: url("../img/yearbase.webp") no-repeat left bottom / contain;
  pointer-events: none;
}


.timeline {
  position: relative;
  z-index: 100;
  padding-bottom:5vw;
}

.timeline_item {
  position: relative;
  margin-left: 10vw;
  padding-left: 1.5vw;
  margin-bottom: 3.2vw;
}

/* ● */
.timeline_dot {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.9vw;
  height: 0.9vw;
  background: #1D3039;
  border-radius: 50%;
  z-index: 2;
}

/* ●と●をつなぐ縦ライン */
.timeline_item::before {
  content: "";
  position: absolute;
  left: 0.45vw;  
  top: 0.35em;
  bottom: -3.2vw; 
  transform: translateX(-50%);
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    #1D3039 0 6px,
    transparent 5px 4px
  );
  z-index: 1;
}


.timeline_item:last-child::before {
  display: none;
}

.timeline_date {
  font-size: 1.1vw;
  font-weight: 500;
  line-height: 1.2;
  color: #1D3039;
  margin: 0;
   font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.timeline_text {
  font-size: 1.3vw;
  font-weight: 800;
  line-height: 1.3;
  color: #1D3039;
  margin: 0.4vw 0 0;
   font-family: "Poppins", sans-serif;
  font-weight: 800;
}
.timeline_text span {
  font-size: 80%;
}


@media screen and (max-width: 1050px) {
  .history_year {
  position: relative;
  display: inline-block;
  color: #1d3039;
  font-size: 25vw;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-left: 2vw;
  padding-bottom: 1.3vw;
}
  .history_year::after {
  content: "";
  position: absolute;
  left: -2vw;         
  bottom: 0;
      width: 60vw;
    height: 4.5vw;
  
  background: url("../img/yearbase.webp") no-repeat left bottom / contain;
  pointer-events: none;
}

  
  .timeline_item {
    padding-left: 5vw;
    margin-bottom: 6vw;
  }

  .timeline_dot {
    width: 2.6vw;
    height: 2.6vw;
    top: 0.35em;
  }

  .timeline_item::before {
    left: 1.3vw; 
    top: 0.35em;
    bottom: -6vw;
    width: 2px;
  }

  .timeline_date {
    font-size: 4vw;
  }

  .timeline_text {
    font-size: 4.2vw;
    margin-top: 1.2vw;
  }
}
.back_to_top {
  position: relative;
  z-index: 200;

  background: #1d3039;
  color: #fff;
  border: 1px solid #1d3039;

  padding: 12px ;
  font-size: 1vw;
  font-weight: 800;
  letter-spacing: 0.1em;

  text-decoration: none;
  cursor: pointer;

  transition: all 0.25s ease;
  width: 25%;
  margin: 100px auto;
  text-align: center;
}

/* ホバー */
.back_to_top:hover {
  background: #fff;
  color: #1d3039;
}
.history_last {
  position: relative;
  z-index: 10;
}

.historycredit {
	margin-top: 0.5em;
	font-size: 0.7rem;
}

@media screen and (max-width: 1050px) {
	.historycredit {
	margin-top: 0.5em;
	font-size: 1rem;
		 color: #1d3039;
}

  .history_last {
  position: relative;
    margin-top: -40px;
  z-index: 10;
}


  .back_to_top {
  position: relative;
  z-index: 200;

  background: #1d3039;
  color: #fff;
  border: 1px solid #1d3039;

  padding: 12px ;
  font-size: 5vw;
  font-weight: 800;
  letter-spacing: 0.1em;

  text-decoration: none;
  cursor: pointer;

  transition: all 0.25s ease;
  width: 80%;
  margin: 100px auto;
  text-align: center;
}
}
