@charset "UTF-8";


/*----------------------------
         		pgs
-----------------------------*/

/*----------------------------
         		history
-----------------------------*/
#history{

}
#history .pageTitle{
  position: relative;
  height: 392px;
  background: #fff;
}
#history .pageTitle h2{
  position: relative;
  color: #222;
  text-shadow:0px 0px 8px #fff;
  z-index: 2;
}
#history .pageTitle figure{
  position: absolute;
  inset: 0 32px 0 auto;
  display: grid;
  align-items: center;
  width: min(calc(847 / 1400 * 100%), 847px);
  z-index: 1;
}

/* historyTimeline */
.historyTimeline{
  position: relative;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  padding-block: 20px;
}
.historyTimeline::before{
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 3px;
  height: 100%;
  background-color: #fff;
  margin: 0 auto;
}
#historyTimeline01.historyTimeline{
  background-image: url("../images/history_bg01.jpg");
}
#historyTimeline02.historyTimeline{
  background-image: url("../images/history_bg02.jpg");
}
#historyTimeline03.historyTimeline{
  background-image: url("../images/history_bg03.jpg");
}
#historyTimeline04.historyTimeline{
  background-image: url("../images/history_bg04.jpg");
}
.historyTimeline ul.inner{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*imgコンテンツ有*/
.historyTimeline ul.inner > li:has(.img){
  display: flex;
  flex-wrap: wrap;
  gap: 20px 60px;
}

.historyTimeline ul.inner > li .txts h3::before{
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 16px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #fff;
}
.historyTimeline ul.inner > li:has(.img) .txts h3::before{
  width: 20px;
}
.historyTimeline ul.inner > li .txts h3{
  position: relative;
  margin-bottom: 10px;
  color: #fff;
}
.historyTimeline ul.inner > li .txts h3 > span{
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
}
.historyTimeline ul.inner > li .txts h3 span span:nth-of-type(1){
  font-size: min(5.4vw, 50px);
}
.historyTimeline ul.inner > li .txts h3 span span:nth-of-type(2){
  font-size: min(3.3vw, 18px);
}
.historyTimeline ul.inner > li .txts h3 span span:nth-of-type(3){
  font-size: min(3vw, 16px);
}
.historyTimeline ul.inner > li:has(.img) .txts h3 span span:nth-of-type(1){
  font-size: min(7.5vw, 50px);
}
.historyTimeline ul.inner > li:has(.img) .txts h3 span span:nth-of-type(2){
  font-size: min(4.6vw, 28px);
}
.historyTimeline ul.inner > li:has(.img) .txts h3 span span:nth-of-type(3){
  font-size: min(3.6vw, 20px);
}
.historyTimeline ul.inner > li .txts p{
  color: #fff;
}
.historyTimeline ul.inner > li .txts ul li{
  color: #fff;
}
.historyTimeline ul.inner > li .img{
  background-color: #fff;
  padding: 20px;
}
.historyTimeline ul.inner > li .img figure{
  text-align: center;
}

/**/
#historyTime1905 .img figure{
  margin-bottom: 30px;
}
#historyTime1905 .img figure img{
  width: min(80%, 271px);
}
#historyTime1968 .img figure{
  margin-bottom: 21px;
}
#historyTime1968 .img > figure img{
  width: min(40%, 88px);
}
#historyTime1968 .img > div.flex{
  margin-top: 20px;
  gap: 20px 7px;
}
#historyTime1968 .img > div.flex figure,
#historyTime1969 .img > div.flex figure{
  width: calc((100% - 7px) / 2)
}
#historyTime1969 .img > div.flex{
  gap: 20px 7px;
}
#historyTime1969 > div.flex{
  width: 100%;
  gap: 0;
  background-color: #fff;
}
#historyTime1969 > div.flex .img:nth-of-type(1) img{
  width: min(40%, 167px);
  margin-bottom: 12px;
}
#historyTime1969 > div.flex .img:nth-of-type(2) figure{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 2%;
}
#historyTime1969 > div.flex .img:nth-of-type(2) img:nth-of-type(1){
  width: 58%;
}
#historyTime1969 > div.flex .img:nth-of-type(2) img:nth-of-type(2){
  width: 40%;;
}
#historyTime1975 .img > figure img{
  width: min(80%, 250px);
}
#historyTime30th.flex{
  width: 100%;
  background-color: #fff;
  gap: 0;
}
#historyTime30th.flex .img img{
  width: min(100%, 482px);
}
#historyTime30th.flex .txts p{
  line-height: 1.25em;
  color: #222;
  text-orientation: upright;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-align: start;
}
#historyTime30th.flex > .txts{
  display: grid;
  place-content: center;
}
#historyTime30th.flex > .txts p{
  margin-bottom: 5em;
}
#historyTime30th.flex > .txts p span{
  display: block;
  text-align: right;
}
#historyTime2014 .img figure.flex{
  margin-inline: auto;
  width: min(100%, 446px);
  gap: 20px 5.6%;
}
#historyTime2014 .img figure.flex img:nth-of-type(1){
  width: 63.7%;
}
#historyTime2014 .img figure.flex img:nth-of-type(2){
  width: 30.7%;
}
@media screen and (max-width: 768px) {
  .historyTimeline::before{
    inset: 0 auto 0 4%;
  }

  .historyTimeline ul.inner{
    padding-left: 4%;
  }
  /*imgコンテンツ有*/
  .historyTimeline ul.inner > li:has(.img){
    flex-direction: column;
  }

  .historyTimeline ul.inner > li .txts h3::before{
    left: 0;
    transform: translate(calc(-50% - 1.5px), 50%);
  }
  .historyTimeline ul.inner > li .txts h3{
    margin-left: -5%;
  }
  .historyTimeline ul.inner > li .txts h3 > span{
    padding-inline: 15px;
  }
  #historyTime1969 > div.flex,
  #historyTime30th.flex{
    flex-direction: column;
  } 
  #historyTime30th.flex > .txts p{
    font-size: min(2.6vw, 14px);
  }
}/*-SP only-*/
@media screen and (min-width: 769px) {
  .historyTimeline ul.inner > li:nth-of-type(odd) .txts h3::before{
    right: 0;
    transform: translate(50%, 50%);
  }
  .historyTimeline ul.inner > li:nth-of-type(even) .txts h3::before{
    left: 0;
    transform: translate(-50%, 50%);
  }
  .historyTimeline ul.inner > li:not(:has(.img)){
    width: 50%;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd):not(:has(.img)){
    margin-right: auto;
    text-align: right;
  }
  /*imgコンテンツ有*/
  .historyTimeline ul.inner > li:not(#historyTime30th):has(.img) > .txts{
    padding-top: 30px;
    width: calc((100% - 60px) / 2);
  }
  .historyTimeline ul.inner > li:not(#historyTime30th):has(.img) > .img{
    width: calc((100% - 60px) / 2);
  }
  .historyTimeline ul.inner > li:nth-of-type(even):has(.img){
    flex-direction: row-reverse;
  }
  /*imgコンテンツ無*/
  .historyTimeline ul.inner > li:nth-of-type(even):not(:has(.img)){
    margin-left: auto;
  }
  .historyTimeline ul.inner > li:not(:has(.img)) .txts{
    display: inline-flex;
    flex-direction: column;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd):has(.img) .txts{
    text-align: right;
  }
  .historyTimeline ul.inner > li:not(#historyTime30th):nth-of-type(odd):has(.img) .txts{
    transform: translateX(30px);
  }
  .historyTimeline ul.inner > li:nth-of-type(even):has(.img) .txts{
    transform: translateX(-30px);
  }
  .historyTimeline ul.inner > li:nth-of-type(even):not(:has(.img)) .txts{
    justify-content: flex-start;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd) .txts h3{
    text-align: right;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd) .txts h3 > span{
    padding-inline: 15px 30px;
  }
  .historyTimeline ul.inner > li:nth-of-type(even) .txts h3 > span{
    padding-inline: 30px 15px;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd):not(#historyTime30th) .txts p,
  .historyTimeline ul.inner > li:nth-of-type(odd) .txts ul{
    padding-right: 30px;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd) .txts p{
    text-align: right;
  }
  .historyTimeline ul.inner > li:nth-of-type(even):not(#historyTime30th) .txts p,
  .historyTimeline ul.inner > li:nth-of-type(even) .txts ul{
    padding-left: 30px;
  }
  .historyTimeline ul.inner > li:nth-of-type(odd):not(:has(.img)) .txts ul{
    display: inline-block;
    margin-left: auto;
    padding-right: 30px;
    text-align: right;
  }
  .historyTimeline ul.inner > li:nth-of-type(even):not(:has(.img)) .txts ul{
    padding-left: 30px;
  }

  /**/

  #historyTime1969 > div.flex{
    align-items: flex-end;
  }
  #historyTime1969 > div.flex > .img{
    width: 50%;
    padding-inline: 30px;
  }
  #historyTime30th.flex > .img{
    width: 50%;
  }
  #historyTime30th.flex > .txts{
    width: 50%;
  }
  .historyTimeline ul.inner > li:nth-of-type(even):has(.img) #historyTime30th.flex .txts{
    transform: translateX(0px);
  }
  .historyTimeline ul.inner > li:nth-of-type(even):has(.img) #historyTime30th.flex .txts p{
    padding-left: 0;
  }

} /* -PC only- */


#history main section#pgsContact{
  padding: 100px 0;
}