/*----------------------------------------------------

History.css
https://www.webdlab.com/labs/responsive-web-design-4/
414pxまでをスマホ縦画面用
415px〜959pxをスマホ横画面及びタブレット縦画面用
960px以上をタブレット横画面とPC用として使用
----------------------------------------------------*/

/*--------------------------------------------------*/
/* 共通 #sec_page .sec-history
----------------------------------------------------*/
#sec_page .sec-history {
  line-height: 2.0;
  font-size: 1.25rem;
}
#sec_page .sec-history .txt {
  line-height: 2.0;
}
#sec_page .sec-history .sec_width {
  margin: 0 auto;
  width: calc(100% - 80px);
}

@media (min-width: 768px) {
  #sec_page .sec-history .sec_width {
  width: calc(100% - 200px);
}
  #sec_page .sec-history {
  font-size: 1.4rem;
}
  #sec_page .sec-history .sec_width {
  width: calc(100% - 250px);
}
}

@media (min-width: 1025px) {
  #sec_page .sec-history {
  font-size: 1.5rem;
}
  #sec_page .sec-history .sec_width {
  width: calc(100% - 300px);
}
}

/*--------------------------------------------------*/
/* 見出し部分
----------------------------------------------------*/
.history-intro {
  padding-top: 100px;
  padding-bottom: 200px;
  background-color: #fff !important;
}
.history-intro .sec_ttl h2 {
    font-size: 3.5rem;
}
.history-intro .sec_ttl h2::before {
    font-family: inherit;
    font-size: 1.1rem;
    padding-bottom: 8px;
}
.history-intro .history-lead {
  width: 100%;
  margin: auto;
  text-align: center;
}
.history-intro .history-lead p {
  line-height: 2.5;
}
/* スクロール誘導 */
#main-pht.history-intro .mouse {
  animation-delay: 1s;
}
#main-pht.history-intro .mouse a {
  color: #333;
}
#main-pht.history-intro .mouse a span {
  border: 1px solid #333;
}
#main-pht.history-intro .mouse a span::before {
  background-color: #333;
}


@media (min-width: 600px) {
  .history-intro .sec_ttl h2 {
    font-size: 4.8rem;
}
  .history-intro .history-lead {
  width: fit-content;
  text-align: center;
}
  .history-intro .history-lead p {
  line-height: 3;
}
}
@media (min-width: 1025px) {
  .history-intro .sec_ttl h2 {
    font-size: 5.8rem;
}
}


/*--------------------------------------------------*/
/* パララックス部分 #sec_page .sec-history01
----------------------------------------------------*/
#sec_page .sec-history01 {
  position: relative;
  display: flex;
  align-items: center;
  height: 62vh;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #fff;
}
#sec_page .sec-history01-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
  display: grid;
  place-items: center;
  text-align: center;
}
#sec_page .sec-history01-inner .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
#sec_page .sec-history01-inner .bg::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.4);
  z-index: 1;
}
.period01 .sec-history01-inner .bg { background-image: url("https://fujisawamankadou.co.jp/wp4/wp/wp-content/uploads/2025/10/main-01.jpg"); }
.period02 .sec-history01-inner .bg { background-image: url("https://fujisawamankadou.co.jp/wp4/wp/wp-content/uploads/2025/10/main-02.jpg"); }
.period03 .sec-history01-inner .bg { background-image: url("https://fujisawamankadou.co.jp/wp4/wp/wp-content/uploads/2025/10/main-03.jpg"); }
.period04 .sec-history01-inner .bg { background-image: url("https://fujisawamankadou.co.jp/wp4/wp/wp-content/uploads/2025/10/main-04.jpg"); }


.history01-box .history-title {
  text-align: center;
  font-size: 2.5rem;
  display: inline-block;
  padding: 0 .5em .25em;
  position: relative;
}
.history01-box .history-title::after {
  position: absolute;
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: rgba(255,255,255,.5);
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-delay: .4s;
}
.history01-box.visible .history-title::after {
  width: 100%;
}
.history01-box .history-seireki {
  font-size: 4rem;
  line-height: 1.5;
}
.history01-box .history-wareki {
  font-size: 1.3rem;
  line-height: 1.5;
}
/* .history01-box .history-lead {
  max-width: 550px;
  margin: auto;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
} */

@media (min-width: 768px) {
  #sec_page .sec-history01 {
  padding-top: 90px;
  padding-bottom: 90px;
}
  #sec_page .sec-history01-inner .bg {
  position: fixed;
}
  #sec_page .sec-history01 .history-title {
  font-size: 3.5rem;
}
  .history01-box .history-seireki {
  font-size: 5rem;
}
  .history01-box .history-wareki {
  font-size: 1.4rem;
}
}

@media (min-width: 1025px) {
  #sec_page .sec-history01 {
  height: 80vh;
}
  #sec_page .sec-history01 .history-title {
  font-size: 4.5rem;
  padding: 0 .5em .18em;
}
  .history01-box .history-seireki {
  font-size: 6rem;
}
  .history01-box .history-wareki {
  font-size: 1.5rem;
}
}


/*--------------------------------------------------*/
/* スライダー部分 #sec_page .sec-history02
----------------------------------------------------*/
#sec_page .sec-history02 {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #fff;
}
#sec_page .sec-history02 .history-sec-ttl {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: .5em;
}
#sec_page .sec-history02 .history-flex-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#sec_page .sec-history02 .history-slidebox {
  /* max-width: 450px;
  margin: auto; */
}
#sec_page .sec-history02 .slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  /* padding: 0 40px; */
  box-sizing: border-box;
}
#sec_page .sec-history02 .slick-prev,
#sec_page .sec-history02 .slick-next {
  font-size: 0; /* テキストを隠す */
  line-height: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  z-index: 10;
  border-top: 2px solid #ddd;
  border-right: 2px solid #ddd;
}
#sec_page .sec-history02 .slick-prev {
  transform: translateY(-50%) rotate(-135deg);
  left: -35px;
}
#sec_page .sec-history02 .slick-next {
  transform: translateY(-50%) rotate(45deg);
  right: -35px;
}
#sec_page .sec-history02 .slick-dots {
  bottom: -35px;
}

@media (min-width: 768px) {
  #sec_page .sec-history02 {
  padding-top: 90px;
  padding-bottom: 90px;
}
  #sec_page .sec-history02 .history-sec-ttl {
  font-size: 2.0rem;
}
  #sec_page .sec-history02 .history-sec-ttl .sp {
  display: none;
}
}

@media (min-width: 1025px) {
  #sec_page .sec-history02 {
  padding-top: 120px;
  padding-bottom: 120px;
}
  #sec_page .sec-history02 .history-flex-wrap {
  flex-direction: row;
  align-items: center;
  gap: 5vw;
}
  #sec_page .sec-history02 .history-txtbox {
  width: 55%;
}
  #sec_page .sec-history02 .history-slidebox {
  /* max-width: 450px;
  margin: auto; */
  width: 45%;
  padding-top: 35px;
  max-width: 500px;
}
  #sec_page .sec-history02 .history-sec-ttl {
  font-size: 2.2rem;
  margin-bottom: 1em;
}
}

/* 
----------------------------------------------------*/
@media (min-width: 600px) {}
@media (min-width: 1025px) {}


/* 
----------------------------------------------------*/
@media (min-width: 600px) {}
@media (min-width: 1025px) {}