@charset "UTF-8";
img {
  width: 100%;
}

.test1 {
  -webkit-transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1) 0.01s;
  transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1) 0.01s;
  -webkit-transition: all 0.4s ease-out 0.01s;
  transition: all 0.4s ease-out 0.01s;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transform: scale(1);
  transform: rotate(-45deg);
  border-radius: 50%;
  animation: Flash1 1s infinite;
  animation: beyooon_a 1s forwards;
  animation: beyooon_b 1s forwards;
  font-family: "Noto Serif JP", serif;
  background: linear-gradient(90deg, rgb(0, 72, 110) 0%, rgb(0, 120, 155) 100%);
}

@keyframes Flash1 {
  50% {
    opacity: 0;
  }
}
@keyframes beyooon_a {
  0% {
    transform: translate(-50%, 0%) scale(0.5);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, 0%) scale(1.22);
  }
  28% {
    transform: translate(-50%, 0%) scale(1);
  }
  88% {
    transform: translate(-50%, 0%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0%) scale(1);
  }
}
@keyframes beyooon_b {
  0% {
    transform: scale(0.5);
  }
  16% {
    transform: scale(1.32);
  }
  28% {
    transform: scale(0.87);
  }
  44% {
    transform: scale(1.05);
  }
  59% {
    transform: scale(0.98);
  }
  73% {
    transform: scale(1.01);
  }
  88% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.test {
  content: "\f105";
  font-family: FontAwesome;
}

.shadow {
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4), 1px 3px 3px rgba(0, 0, 0, 0.4), 1px 2px 3px rgba(0, 0, 0, 0.4);
}

/**scss共通ここまで***/
#section_contents_head {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  padding: 5px 0 20px 0;
  /*
  background: url(../images/history/haed_back.jpg)no-repeat center;
  background-size: cover;
  */
}
#section_contents_head .section__in {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
#section_contents_head ul.pankz {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
#section_contents_head ul.pankz li {
  display: inline-block;
  padding-right: 2.5em;
  position: relative;
}
#section_contents_head ul.pankz li::after {
  content: "＞";
  position: absolute;
  top: 0;
  right: 0.75em;
}
#section_contents_head ul.pankz li:last-child::after {
  content: none;
}
#section_contents_head ul.pankz li a {
  color: #3a88d6;
  text-decoration: underline;
}
#section_contents_head h1 {
  color: #98a2ab;
  font-weight: 500;
  margin-top: 1.65em;
}

main {
  background: url(../images/main_back.svg) no-repeat center top;
  background-size: cover;
}

#section02 {
  width: 100%;
  position: relative;
  padding-top: 95px;
  padding-bottom: 100px;
}
#section03 {
  width: 100%;
  position: relative;
  padding-bottom: 100px;
}

#section03 .section__in {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.history-timeline{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

/* 常時表示の線は作らない */
.timeline-progress{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 0;
  background: url("../images/history/line-hand.svg") repeat-y center top;
  background-size: 24px 120px;
  z-index: 2;
}

/* クマを線の先端に置く */
.timeline-bear {
    position: absolute;
    top: 0;
    left: 53.8%;
    width: 150px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
}


.timeline-list{
  position: relative;
  z-index: 3;
  margin-top: 50px;
}

.timeline-item{
  position: relative;
  width: calc(50% - 56px);
  margin-bottom: 80px;
}

.timeline-item:nth-child(odd){
  margin-right: auto;
  padding-right: 40px;
}

.timeline-item:nth-child(even){
  margin-left: auto;
  padding-left: 100px;
}

.timeline-item::after{
  content: "";
  position: absolute;
  top: 24px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38b24a;
  border: 3px solid #dff5e3;
  z-index: 4;
}

.timeline-item:nth-child(odd)::after{
  right: -68px;
}

.timeline-item:nth-child(even)::after{
  left: -68px;
}

.timeline-card{
  padding: 20px;
  border-radius: 16px;
}

.timeline-year{
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #49a95a;
  margin-bottom: 14px;
}

.timeline-text{
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}



.history-card{
  width: 100%;
}

.history-card img{
 max-width: 280px;
 min-width: 200px;
 height:auto;
}

.history-card-mini img{
 max-width: 120px !important;
 min-width: 100px !important;
 height:auto;
}

.history-card-midoru img{
 max-width: 100px !important;
 min-width: 150px !important;
 height:auto;
}

.history-photo-wrap{
  position: relative;
  display: inline-block;
  overflow: visible;
}

.history-photo-wrap-gyaku{
  position: absolute;
  top:0;
}

.migi{
  right:-155%;
}
.hidari{
  left:-190%;
}

.migi2{
  right:-130%;
}
.hidari2{
  left:-130%;
}
.top{
  top:-64px !important;
}
.top2{
  top:64px !important;
}


.history-card-gyaku{
  width: 100%;
  position: relative;
}

.history-card-gyaku img{
 max-width: 23vw;
 min-width: 300px;
 height:auto;
}


.history-card-gyakuvvd img{
 max-width: 27vw !important;
}

.history-card-gyaku-syou{
 max-width: 13vw !important;
 min-width: 130px !important;
 height:auto;
}


.history-card-gyaku-syou2{
 max-width: 15vw !important;
 min-width: 200px !important;
 height:auto;
}

.history-text-gyaku{
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.8;
  color: #4cad48;
  font-weight: 700;
}

.history-text2-gyaku{
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.8;
  color: #111111;
}

.history-month-gyaku{
  margin-top: 18px;
  color: #4cad48;
  font-size: 22px;
  font-weight: 700;
}


.history-photo{
  display: block;
  width: 100%;
  height: auto;
}

.history-bubble{
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  width: 116px;
  height: 116px;
  border: 2px solid #58b65d;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.45s;
}

.history-photo-wrap.is-bear-near .history-bubble{
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  font-size: 12px;
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.history-month{
  margin-top: 18px;
  color: #4caf50;
  font-size: 18px;
  font-weight: 700;
}

.history-text{
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.8;
  color: #222;
}

.hhh15{
  width:100%;
  height:15px;
}

.hhh30{
  width:100%;
  height:30px;
}
.hhh70{
  width:100%;
  height:70px;
}

.hhh90{
  width:100%;
  height:90px;
}

.hhh120{
  width:100%;
  height:120px;
}
.hhh150{
  width:100%;
  height:150px;
}


.kirin{
  position: relative;
}
.kirin:before{
  content: '';
  display: inline-block;
  width: 160px;
  height: 100px;
  background-image: url(../images/history/zenkoku.svg);
  background-size: contain;
  vertical-align: middle;
background-repeat: no-repeat; position: relative;
position: absolute;
top:-30px;
right:0;
}

.kirin2{
  position: relative;
}
.kirin2:before{
  content: '';
  display: inline-block;
  width: 160px;
  height: 100px;
  background-image: url(../images/history/zenkoku02.svg);
  background-size: contain;
  vertical-align: middle;
background-repeat: no-repeat; position: relative;
position: absolute;
top:-30px;
right:0;
}


.kirin3{
  position: relative;
}
.kirin3:before {
    content: '';
    display: inline-block;
    width: 100px;
    height: 89px;
    background-image: url(../images/history/zenkoku03.svg);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: relative;
    position: absolute;
    top: -30px;
    right: 0;
}

.korin{
  position: relative;
}
.korin:before{
  content: '2026';
  font-size: 42px;
      font-weight: 700;
    line-height: 1;
    color: #49a95a;
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
background-repeat: no-repeat; position: relative;
position: absolute;
top:-50px;
left:40%;
    z-index: 3;
}


#midorino-adoruhu{
  background: #4cad48;
  position: relative;
}

#midorino-adoruhu:before{
    position: absolute;
    bottom: -6.3vw;
    right: 0;
    content: '';
    display: inline-block;
    width: 38.3vw;
    height: 40vw;
    background-image: url(../images/history/kumanu.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.midorino-momo{
  max-width:1080px;
  margin:10px auto;
  padding:30px 0 15px 0;
}

.suuji{
  font-size:4vw;
  font-weight: 700;
  line-height: 3px;
  color: #fff;
  line-height: 2;
}
.kyouritu{
  font-size:2vw;
  font-weight: 400;
  line-height: 3px;
  color: #fff;
  line-height: 2;
  margin-bottom:10vw ;
}
.ppd{
color: #fff;
}



.timeline-progress--blue{
  width: 12px;
  background: radial-gradient(circle, #39c3d6 0 3px, transparent 4px);
  background-size: 12px 17px;
  background-repeat: repeat-y;
  background-position: center top;
  background-color: transparent;
  border-radius: 0;
}

.hanahubuki{
  position: relative;
}

.hanahubuki-imgg{
 max-width: 1080px;
 margin:0 auto;
}

.botanm{
  position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -348%);
    width: 50%;
    height: auto;
}


/* =========================
   紙吹雪
========================= */
.hanahubuki {
  position: relative;
  overflow: hidden;
}

.hanahubuki > img,
.hanahubuki .botanm {
  position: relative;
  z-index: 2;
}

.hanahubuki .confetti-piece {
  position: absolute;
  top: -14%;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background: var(--c);
  border-radius: 2px;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transform: translate3d(0, -10vh, 0) rotate(0deg);
  animation: confetti-fall var(--dur) linear var(--delay) infinite;
}

.hanahubuki .confetti-piece.is-circle {
  border-radius: 50%;
}

.hanahubuki:not(.is-active) .confetti-piece {
  animation-play-state: paused;
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 110vh, 0) rotate(720deg);
  }
}



.history-era-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  overflow-x: auto;
  max-width: calc(100vw - 24px);
  -webkit-overflow-scrolling: touch;
}

.history-era-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.history-era-nav.is-bottom {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.era-btn {
  flex: 0 0 auto;
  appearance: none;
  color: #4cad48;
  border: solid 2px #4cad48;
  border-radius: 10px;
  padding: 10px 16px;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.era-btn:hover {
  transform: translateY(-1px);
}

.era-btn.is-active {
  background: #0b6fb8;
  color: #fff;
  border-color: #0b6fb8;
}


.kumawanpi{
  margin-bottom: 15px !important;
}

/* 上のタイムラインは、下にはみ出たクマを隠す */
.history-timeline--top{
  overflow: hidden;
  z-index: 1;
}

/* 緑帯を前面に出して、クマが背景の裏に隠れる見え方にする */
#midorino-adoruhu{
  background: #4cad48;
  position: relative;
  z-index: 5;
}

/* 下のタイムラインは緑帯より後ろから出てくる感じにする */
.history-timeline--bottom{
  position: relative;
  z-index: 1;
}

/* 必要なら上下で個別微調整 */
.timeline-bear--top{
  left: 53.8%;
}

.timeline-bear--bottom{
  left: 53.8%;
}

/* 緑帯を前に出す */
#midorino-adoruhu{
  background: #4cad48;
  position: relative;
  z-index: 10;
}

/* 下のタイムラインを少し上に潜らせる */
.history-timeline--bottom{
  position: relative;
  z-index: 1;
  margin-top: -200px;   /* 緑帯の裏へ潜る */
  padding-top: 170px;   /* コンテンツ位置の帳尻合わせ */
  overflow: visible;    /* スタート位置を隠す */
}

.timeline-item::after{
  content: "";
  position: absolute;
  top: 24px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 178, 74, 0.38);   /* 最初から見える */
  border: 3px solid rgba(223, 245, 227, 0.75);
  z-index: 4;
  transform: scale(0.88);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.timeline-item.is-dot-visible::after{
  background: #38b24a;
  border-color: #dff5e3;
  transform: scale(1);
  box-shadow: 0 0 0 6px rgba(56, 178, 74, 0.14);
}

@media (max-width: 1280px) {
  .timeline-item:nth-child(even) {
    margin-left: auto;
    padding-left: 90px;
}
.migi {
    right: -145%;
}
.timeline-bear {
    width: 125px;
}
.timeline-bear--top {
    left: 53.2%;
}
}
@media (max-width: 767px) {
.kirin:before {
    content: '';
    display: inline-block;
    width: 130px;
    height: 60px;
    top: -22px;
    right: 0;
}
  .history-era-nav {
    gap: 8px;
    padding: 8px 10px;
    bottom: 12px;
    max-width: calc(100vw - 16px);
  }

  .era-btn {
    font-size: 13px;
    padding: 9px 13px;
  }
.migi{
  right:0%;
}
.hidari{
  left:0%;
}

.migi2{
  right:0%;
}
.hidari2{
  left:0%;
}
.history-card-gyaku img {
    max-width: 100%;
    min-width: 215px;
    height: auto;
}
.history-card-gyakuvvd img{
 max-width: 100% !important;
}
.history-photo-wrap-gyaku {
    position: relative;
    top: 0;
}
.history-era-nav {
    position: fixed;
    left: 50%;
}
.history-card img {
    max-width: 100%;
    min-width: 180px;
    height: auto;
}
body{
  overflow-x: hidden;
}
.history-text-gyaku {
    margin-top: 10px;
    font-size: 15px;
}
.history-text2-gyaku {
    margin-top: 10px;
    font-size: 14px;
}
.midorino-momo {
    max-width: 100%;
    margin: 10px auto;
    padding: 30px 15px 15px 15px;
}
.suuji {
    font-size: 14vw;
    font-weight: 700;
    line-height: 1.5;
}
.kyouritu {
    font-size: 3vw;
    font-weight: 400;
    line-height: 3px;
    color: #fff;
    line-height: 2;
    margin-bottom: 10vw;
}
#midorino-adoruhu:before {
    position: absolute;
    top: -5vw;
    right: 0;
    content: '';
    display: inline-block;
    width: 68vw;
    height: 63vw;
}
.ppd {
    color: #fff;
    font-size: 11px;
}
.midorino-momo {
    max-width: 100%;
    margin: 66px auto;
    padding: 30px 15px 15px 15px;
}
.history-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #222;
}
.hhh30{
  width:100%;
  height:0px;
}
.hhh70{
  width:100%;
  height:0px;
}

.hhh90{
  width:100%;
  height:0px;
}

.hhh120{
  width:100%;
  height:0px;
}
.hhh150{
  width:100%;
  height:0px;
}
.history-bubble {
    position: absolute;
    right: -20px;
    top: 100%;
    width: 100px;
    height: 100px;
}
.history-photo-wrap.is-bear-near .history-bubble {
    font-size: 10px;
}
.botanm {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -255%);
    width: 69%;
    height: auto;
}
.kirin2:before {
    content: '';
    display: inline-block;
    width: 122px;
    height: 70px;
    top: -9px;
    right: 0;
}
.kirin3:before {
    content: '';
    display: inline-block;
    width: 74px;
    height: 47px;
    top: -10px;
    right: 0;
}
}

/* =========================
   汎用フェードイン
========================= */
.js-fadein {
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
}

.js-fadein.is-visible {
  opacity: 1;
}

/* 横から出したい時 */
.js-fadein--left {
  transform: translateX(-36px);
}

.js-fadein--left.is-visible {
  transform: translateX(0);
}

.js-fadein--right {
  transform: translateX(36px);
}

.js-fadein--right.is-visible {
  transform: translateX(0);
}

/* 少し遅らせたい時 */
.js-delay-1 { transition-delay: 0.08s; }
.js-delay-2 { transition-delay: 0.16s; }
.js-delay-3 { transition-delay: 0.24s; }

/* =========================
   紙吹雪
========================= */
.hanahubuki {
  position: relative;
  overflow: hidden;
}

.hanahubuki > img,
.hanahubuki .botanm {
  position: relative;
  z-index: 1;
}

.hanahubuki .confetti-piece {
  position: absolute;
  top: -14%;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background: var(--c);
  border-radius: 2px;
  opacity: 0;
  z-index: 3; /* 画像の上 */
  pointer-events: none;
  transform: translate3d(0, -10vh, 0) rotate(0deg);
  animation: confetti-fall var(--dur) linear var(--delay) infinite;
}

.hanahubuki .confetti-piece.is-circle {
  border-radius: 50%;
}

.hanahubuki:not(.is-active) .confetti-piece {
  animation-play-state: paused;
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 110vh, 0) rotate(720deg);
  }
}

@media screen and (max-width: 767px) {
  .js-fadein {
    transform: translateY(24px);
  }

  .js-fadein--left {
    transform: translateX(-24px);
  }

  .js-fadein--right {
    transform: translateX(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-fadein,
  .hanahubuki .confetti-piece {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* モバイルで少し軽く */
@media screen and (max-width: 767px) {
  .js-fadein {
    transform: translateY(24px);
  }
}

/* 動きが苦手な環境向け */
@media (prefers-reduced-motion: reduce) {
  .js-fadein,
  .hanahubuki .confetti-piece {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 800px){
  .timeline-progress{
    left: 15px;
    transform: none;
  }

  .timeline-bear{
    left: 52px;
    transform: translate(-50%, -50%);
    width: 90px;
  }

  .timeline-item{
    width: calc(100% - 56px);
    margin-left: 56px !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
    margin-bottom: 48px;
  }

  .timeline-item::after{
    left: -40px !important;
    right: auto !important;
    top: 18px;
  }

  .timeline-year{
    font-size: 30px;
  }
.top {
    top: 0px !important;
}
.top2 {
    top: 0px !important;
}
}

@media screen and (max-width:800px) {
  #section02 {
    padding-top: 5vw;
    padding-bottom: 25vw;
  }
}
#section02 .section__in {
  width: 90%;
  max-width: 1110px;
  margin: 0 auto;
  position: relative;
}/*# sourceMappingURL=history.css.map */