@charset "UTF-8";
/* =====================
	30年のあゆみページ
 ======================= */

/** ------------------------ history ------------------------ **/
.history .page-header-history {
  background:
    url(../../img/30th/history/page-header-bg-confetti.png) no-repeat
      calc(50% + 3.15rem) 2.19rem / 1888.53px,
    url(../../img/30th/history/page-header-bg.png) repeat-x center top / 1920px,
    var(--c_navy);
}

.history .wrapper.page-header-history-inner {
  padding: 7.4rem 2.4rem 28rem;
  background:
    url(../../img/30th/history/page-header-bg-carp.png) no-repeat 2.4rem
      19.8rem / 267px,
    url(../../img/30th/history/page-header-bg-dragon.png) no-repeat
      calc(100% - 2.4rem) 19.8rem / 267px;
}

.history .page-title-img {
  max-width: 665px;
  width: 100%;
  margin: 0 auto;
}

.history .page-title-img img {
  width: 100%;
}

.history .era-nav-block {
  background-color: var(--c_floral-white);
  padding: 7.3rem 0 10rem;
  border-radius: 100% 100% 0 0 / 408px 408px 0 0;
  margin-top: -20.4rem;
}

.history .era-nav-block .lead-text {
  text-align: center;
  margin-bottom: 5rem;
}

.history .era-nav-block .era-nav {
  width: fit-content;
  margin: 0 auto;
  background-color: var(--c_ochre);
  border-radius: 35px;
  overflow: hidden;
}

.history .era-nav-block .era-nav-list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.history .era-nav-block .era-nav-item + .era-nav-item {
  position: relative;
}

.history .era-nav-block .era-nav-item + .era-nav-item::before {
  content: "";
  width: 1px;
  height: 2.25em;
  background-color: var(--c_white);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.history .era-nav-block .btn-era {
  font-weight: bold;
  color: var(--c_white);
  width: 12.5em;
  padding: 0.69em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.63em;
}

.history .era-nav-block .era-nav-item:first-child .btn-era {
  border-radius: 35px 0 0 35px;
}

.history .era-nav-block .era-nav-item:last-child .btn-era {
  border-radius: 0 35px 35px 0;
}

.history .era-nav-block .btn-era::after {
  content: "";
  width: 1.5em;
  aspect-ratio: 1;
  background-image: url(../../img/30th/common/icon-btn-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(90deg);
  transition: var(--anim);
}

.history .era-nav-block .btn-era:hover::after {
  transform: translateY(3px) rotate(90deg);
}

.history .sec-title {
  max-width: 800px;
  width: 100%;
  height: 300px;
  margin: 0 auto 10rem;
  border-radius: 999px;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.history .sec-title:not(.founding-title) {
  margin-top: -40rem;
}

.history .sec-title span {
  display: block;
}

.history .sec-title .era {
  font-family: var(--font_Quicksand);
  font-size: 3.6rem;
  line-height: 1.25;
  color: var(--c_white);
  border-bottom: 2px solid var(--c_white);
  margin-bottom: 1rem;
}

.history .sec-title .main-title {
  font-size: 5.6rem;
  line-height: 1;
  color: #fff100;
}

.history .sec-title .subtitle {
  font-size: 3.6rem;
  line-height: 1.5;
  color: var(--c_white);
}

.time-line-year-block {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.time-line-year-block.is-show {
  opacity: 1;
  transform: translateY(0);
}

.history .is-left,
.history .is-right {
  width: 46.25%;
}

.history .is-left {
  margin-right: auto;
}

.history .is-right {
  margin-left: auto;
}

.history .line {
  width: 2px;
  background-size: 2px 5px;
  background-image: linear-gradient(
    to bottom,
    var(--c_navy) 0,
    var(--c_navy) 2px,
    transparent 2px,
    transparent 5px
  );
  background-repeat: repeat-y;
  position: absolute;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
}

.history .line.is-draw {
  animation: drawLine var(--draw-duration, 2s) linear forwards;
}

@keyframes drawLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.history .sec-title .line {
  left: 50%;
  transform: translateX(-50%) scaleY(0);
}

.history .sec-title .line.is-draw {
  animation: drawLine2 var(--draw-duration, 2s) linear forwards;
}

@keyframes drawLine2 {
  0% {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
  }

  100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}

.history .is-left .line {
  right: -4.55rem;
}

.history .is-right .line {
  left: -4.55rem;
}

.history .time-line-year {
  width: fit-content;
  font-weight: bold;
  line-height: 1;
  color: var(--c_navy);
  border-bottom: 2px solid var(--c_ochre);
  margin-bottom: 3rem;
  position: relative;
}

.history .anchor {
  width: 3rem;
  aspect-ratio: 1;
  background-color: var(--c_white);
  border: 7px solid var(--c_ochre);
  border-radius: 50%;
  position: absolute;
  bottom: -1.5rem;
  z-index: 1;
}

.history .is-left .time-line-year {
  padding-right: 8.8rem;
  margin-left: auto;
}

.history .is-right .time-line-year {
  padding-left: 8.8rem;
}

.history .is-left .anchor {
  right: -6rem;
}

.history .is-right .anchor {
  left: -6rem;
}

.history .time-line-year .gregorian {
  font-family: var(--font_Quicksand);
  font-size: 8.6rem;
  line-height: 0.9;
  margin-right: 0.6rem;
}

.history .time-line-year .wareki {
  font-size: 1.6rem;
}

.history .time-line-list {
  display: flex;
  flex-direction: column;
  row-gap: 6rem;
}

.history .time-line-item {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.history .time-line-item-title.blue {
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.08;
  text-align: center;
  color: var(--c_white);
  background-color: var(--c_navy);
  padding: 0.3em;
}

.history .time-line-item-title.blue small {
  font-size: 2.6rem;
}

.history .time-line-item-title.white {
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.08;
  text-align: center;
  color: var(--c_navy);
  background-color: var(--c_white);
  border: 2px solid var(--c_navy);
  padding: 0.3em;
}

.history .time-line-item-title.white small {
  font-size: 2.6rem;
}

.history .time-line-item-title.red {
  font-family: var(--font_Shippori_Mincho);
  font-size: 4.6rem;
  font-weight: bold;
  line-height: 1.17;
  text-align: center;
  color: var(--c_white);
  background-color: #aa1a51;
  padding: 0.3em 0;
}

.history .time-line-item-img:not(.era-2017-02-img) {
  border-radius: 10px;
  overflow: hidden;
}

.history .history-bottom-block {
  padding: 9.3rem 0 10.6rem;
  background-color: var(--c_floral-white);
  border-bottom-left-radius: 75px;
  border-bottom-right-radius: 75px;
  margin-bottom: -6.2rem;
  position: relative;
  z-index: 1;
  background-image: url(../../img/30th/history/site-logo-bg-confetti.png);
  background-repeat: no-repeat;
  background-size: 1200px 517px;
  background-position: top center;
}

.history .history-bottom-block .site-logo-with-text-img {
  max-width: 449px;
  width: 100%;
  margin: 0 auto 8.2rem;
}

.history .history-bottom-block .site-logo-with-text-img img {
  width: 100%;
}

.history .history-bottom-block .conclusion {
  max-width: 920px;
  width: 100%;
  margin: 0 auto 10rem;
  background-color: var(--c_white);
  padding: 3rem 6rem;
  border-radius: 10px;
}

.history .history-bottom-block .conclusion-title {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 3rem;
}

.history .history-bottom-block .president-message-banner-img {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.history .history-bottom-block .president-message-banner-img a {
  display: block;
  position: relative;
}

.history .history-bottom-block .president-message-banner-text {
  font-size: 4rem;
  font-weight: bold;
  color: var(--c_white);
  position: absolute;
  top: 50%;
  left: 8.37%;
  transform: translateY(-50%);
}

/** ------------------------ founding ------------------------ **/
.history .founding {
  background-color: var(--c_floral-white);
  padding-bottom: 32.4rem;
  background-image: url(../../img/30th/history/founding-decoration-carp.png);
  background-repeat: no-repeat;
  background-size: 600px;
  background-position: calc(50% + 300px) 52.3rem;
}

.history .founding .sec-title {
  background-color: #76a5d8;
}

.history .founding .time-line-year-block.year-1997 {
  margin-top: -52.1rem;
}

.history .founding .time-line-year-block.year-1999 {
  margin-top: -49.7rem;
}

/** ------------------------ era-2000 ------------------------ **/
.history .era-2000 {
  background-color: #dce6ef;
  padding: 25rem 0;
}

.history .era-2000 .sec-title {
  background-color: #5c77ba;
}

.history .era-2000 .time-line-year-block.year-2001 {
  margin-top: -25rem;
  margin-bottom: 17.7rem;
}

.history .era-2000 .time-line-year-block.year-2003 {
  margin-top: -100rem;
  margin-bottom: 8rem;
}

.history .era-2000 .time-line-year-block.year-2008 {
  margin-top: -70rem;
}

.history .era-2000 .time-line-year-block.year-2009 {
  margin-top: -20rem;
}

.history
  .era-2000
  .time-line-year-block.year-2009
  .time-line-item:nth-child(2) {
  margin-top: -40rem;
}

/** ------------------------ era-2010 ------------------------ **/
.history .era-2010 {
  background-color: var(--c_floral-white);
  padding: 25rem 0;
}

.history .era-2010 .sec-title {
  background-color: #0f4da1;
}

.history .era-2010 .time-line-year-block.year-2011 {
  margin-top: -59.7rem;
  margin-bottom: 5.2rem;
}

.history
  .era-2010
  .time-line-year-block.year-2011
  .time-line-item:nth-child(2) {
  margin-top: -24.2rem;
}

.history
  .era-2010
  .time-line-year-block.year-2011
  .time-line-item:nth-child(3) {
  margin-top: -20.8rem;
}

.history
  .era-2010
  .time-line-year-block.year-2012
  .time-line-item:nth-child(2) {
  margin-top: -84.6rem;
}

.history .era-2010 .time-line-year-block.year-2013 {
  margin-top: -26.5rem;
}

.history
  .era-2010
  .time-line-year-block.year-2014
  .time-line-item:nth-child(2) {
  margin-top: -27.6rem;
}

/** ------------------------ era-2015 ------------------------ **/
.history .era-2015 {
  background-color: #dce6ef;
  padding: 25rem 0 74.4rem;
}

.history .era-2015 .sec-title {
  background-color: #0f4da1;
}

.history .era-2015 .time-line-year-block.year-2015 {
  margin-bottom: 6rem;
}

.history
  .era-2015
  .time-line-year-block.year-2015
  .time-line-item:nth-child(2) {
  margin-top: -51.1rem;
}

.history
  .era-2015
  .time-line-year-block.year-2015
  .time-line-item:nth-child(3) {
  margin-top: -35.7rem;
}

.history
  .era-2015
  .time-line-year-block.year-2015
  .time-line-item:nth-child(4) {
  margin-top: -11.2rem;
}

.history
  .era-2015
  .time-line-year-block.year-2015
  .time-line-item:nth-child(5) {
  margin-top: -6rem;
}

.history
  .era-2015
  .time-line-year-block.year-2015
  .time-line-item:nth-child(6) {
  margin-top: -11.2rem;
}

.history .era-2015 .time-line-year-block.year-2017 {
  margin-bottom: 15.9rem;
}

.history
  .era-2015
  .time-line-year-block.year-2017
  .time-line-item:nth-child(2) {
  margin-top: -13.9rem;
}

.history .era-2015 .time-line-year-block.year-2017 .era-2017-02-img-wrapper {
  width: fit-content;
  margin-left: auto;
}

.history .era-2015 .time-line-year-block.year-2017 .era-2017-02-img {
  max-width: 214px;
  width: 100%;
  margin-bottom: 1rem;
}

.history
  .era-2015
  .time-line-year-block.year-2017
  .era-2017-02-img-wrapper
  figcaption {
  font-size: 1.2rem;
  text-align: center;
}

.history
  .era-2015
  .time-line-year-block.year-2017
  .time-line-item:nth-child(3) {
  margin-top: -75.2rem;
}

.history .era-2015 .time-line-year-block.year-2019 {
  margin-top: -24.6rem;
  margin-bottom: 5.1rem;
}

.history
  .era-2015
  .time-line-year-block.year-2019
  .time-line-item:nth-child(2) {
  margin-top: -54rem;
}

.history
  .era-2015
  .time-line-year-block.year-2021
  .time-line-item:nth-child(2) {
  margin-top: -3rem;
}

.history
  .era-2015
  .time-line-year-block.year-2021
  .time-line-item:nth-child(3) {
  margin-top: -80.6rem;
}

/** ------------------------ era-2022 ------------------------ **/
.history .era-2022 {
  background-color: var(--c_floral-white);
  padding: 25rem 0 19.5rem;
  background-image: url(../../img/30th/history/era-2022-decoration-dragon.png);
  background-repeat: no-repeat;
  background-size: 1200px;
  background-position: center bottom;
}

.history .era-2022 .sec-title {
  background-color: #03235a;
}

.history .era-2022 .time-line-year-block.year-2022 {
  margin-bottom: 16rem;
}

.history
  .era-2022
  .time-line-year-block.year-2022
  .time-line-item:nth-child(2) {
  margin-top: -119.2rem;
}

.history .era-2022 .time-line-year-block.year-2024 {
  margin-bottom: 7.7rem;
}

/** -------------------- タブレット -------------------- **/
@media (max-width: 1248px) {
  /** ------------------------ history ------------------------ **/
  .history .page-header-history {
    background:
      url(../../img/30th/history/page-header-bg-confetti.png) no-repeat
        calc(50% + 3.15rem) 2.19rem / contain,
      url(../../img/30th/history/page-header-bg.png) repeat-x center top /
        1920px,
      var(--c_navy);
  }
  .history .era-nav-block .era-nav-list {
    flex-direction: column;
  }

  .history .era-nav-block .era-nav-item + .era-nav-item::before {
    width: 90%;
    height: 1px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .history .era-nav-block .era-nav-item:first-child .btn-era {
    border-radius: 35px 35px 0 0;
  }

  .history .era-nav-block .era-nav-item:last-child .btn-era {
    border-radius: 0 0 35px 35px;
  }

  .history .time-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8rem;
  }

  .history .time-line-year-block {
    max-width: 555px;
  }

  .history .time-line-list {
    row-gap: 4rem;
  }

  .history .time-line-item {
    row-gap: 2.4rem;
  }

  .history > .is-left,
  .history > .is-right,
  .history .time-line-year-block {
    width: 80%;
    margin: 0;
  }

  .history .time-line-year-block .is-left,
  .history .time-line-year-block .is-right {
    width: 100%;
    margin: 0;
  }

  .history .sec-title .line {
    display: none;
  }

  .history .is-left .line {
    right: auto;
    left: -4.55rem;
  }

  .history .is-left .time-line-year {
    padding-left: 8.8rem;
    padding-right: 0;
    margin-left: 0;
  }

  .history .is-left .anchor {
    right: auto;
    left: -6rem;
  }

  .history .history-bottom-block {
    background-size: contain;
  }

  /** ------------------------ founding ------------------------ **/
  .history .founding {
    padding-bottom: 25rem;
    background-size: contain;
    background-position: right 20rem;
  }

  .history .founding .time-line-year-block.year-1997,
  .history .founding .time-line-year-block.year-1999 {
    margin: 0;
  }

  /** ------------------------ era-2000 ------------------------ **/
  .history .era-2000 .time-line-year-block.year-2001,
  .history .era-2000 .time-line-year-block.year-2003,
  .history .era-2000 .time-line-year-block.year-2008,
  .history .era-2000 .time-line-year-block.year-2009,
  .history
    .era-2000
    .time-line-year-block.year-2009
    .time-line-item:nth-child(2) {
    margin: 0;
  }

  /** ------------------------ era-2010 ------------------------ **/
  .history .era-2010 .time-line-year-block.year-2011,
  .history
    .era-2010
    .time-line-year-block.year-2011
    .time-line-item:nth-child(2),
  .history
    .era-2010
    .time-line-year-block.year-2011
    .time-line-item:nth-child(3),
  .history
    .era-2010
    .time-line-year-block.year-2012
    .time-line-item:nth-child(2),
  .history .era-2010 .time-line-year-block.year-2013,
  .history
    .era-2010
    .time-line-year-block.year-2014
    .time-line-item:nth-child(2) {
    margin: 0;
  }

  /** ------------------------ era-2015 ------------------------ **/
  .history .era-2015 {
    padding: 25rem 0;
  }

  .history .era-2015 .time-line-year-block.year-2015,
  .history
    .era-2015
    .time-line-year-block.year-2015
    .time-line-item:nth-child(2),
  .history
    .era-2015
    .time-line-year-block.year-2015
    .time-line-item:nth-child(3),
  .history
    .era-2015
    .time-line-year-block.year-2015
    .time-line-item:nth-child(4),
  .history
    .era-2015
    .time-line-year-block.year-2015
    .time-line-item:nth-child(5),
  .history
    .era-2015
    .time-line-year-block.year-2015
    .time-line-item:nth-child(6),
  .history .era-2015 .time-line-year-block.year-2017,
  .history
    .era-2015
    .time-line-year-block.year-2017
    .time-line-item:nth-child(2),
  .history
    .era-2015
    .time-line-year-block.year-2017
    .time-line-item:nth-child(3),
  .history .era-2015 .time-line-year-block.year-2019,
  .history
    .era-2015
    .time-line-year-block.year-2019
    .time-line-item:nth-child(2),
  .history
    .era-2015
    .time-line-year-block.year-2021
    .time-line-item:nth-child(2),
  .history
    .era-2015
    .time-line-year-block.year-2021
    .time-line-item:nth-child(3) {
    margin: 0;
  }

  /** ------------------------ era-2022 ------------------------ **/
  .history .era-2022 {
    padding: 25rem 0;
    background-size: contain;
  }

  .history .era-2022 .time-line-year-block.year-2022,
  .history
    .era-2022
    .time-line-year-block.year-2022
    .time-line-item:nth-child(2),
  .history .era-2022 .time-line-year-block.year-2024 {
    margin: 0;
  }
}

/** -------------------- スマホ -------------------- **/
@media (max-width: 699px) {
  /** ------------------------ history ------------------------ **/
  .history .wrapper.page-header-history-inner {
    padding: 8rem 2.4rem 16rem;
    background:
      url(../../img/30th/history/page-header-bg-carp.png) no-repeat -2.4rem
        90% / 200px,
      url(../../img/30th/history/page-header-bg-dragon.png) no-repeat
        right -2.4rem top 90% / 200px;
  }

  .history .era-nav-block {
    padding: 8rem 0;
    border-radius: 100% 100% 0 0 / 204px 204px 0 0;
    margin-top: -10rem;
  }

  .history .era-nav-block .lead-text {
    margin-bottom: 2.4rem;
  }

  .history .sec-title {
    height: 200px;
    border-radius: 35px;
    margin-bottom: 8rem;
  }

  .history .sec-title:not(.founding-title) {
    margin-top: -18rem;
  }

  .history .sec-title .era {
    font-size: 2.4rem;
  }

  .history .sec-title .main-title {
    font-size: 3.2rem;
  }

  .history .sec-title .subtitle {
    font-size: 2.4rem;
  }

  .history .is-left .line,
  .history .is-right .line {
    left: -2.55rem;
  }

  .history .time-line-year {
    margin-bottom: 2.4rem;
  }

  .history .is-left .time-line-year,
  .history .is-right .time-line-year {
    padding-left: 4rem;
  }

  .history .is-left .anchor,
  .history .is-right .anchor {
    left: -4rem;
  }

  .history .time-line-year .gregorian {
    font-size: 4rem;
  }

  .history .time-line-item-title.blue,
  .history .time-line-item-title.white,
  .history .time-line-item-title.red {
    font-size: 2rem;
  }

  .history .time-line-item-title.blue small,
  .history .time-line-item-title.white small {
    font-size: 1.6rem;
  }

  .history .history-bottom-block {
    padding: 8rem 0;
    margin-bottom: -8rem;
    background-position: center 8rem;
  }

  .history .history-bottom-block .site-logo-with-text-img {
    margin-bottom: 8rem;
  }

  .history .history-bottom-block .conclusion {
    padding: 2.4rem;
    margin-bottom: 8rem;
  }

  .history .history-bottom-block .conclusion-title {
    font-size: 2rem;
  }

  .history .history-bottom-block .president-message-banner-text {
    font-size: 4.27vw;
  }

  /** ------------------------ founding ------------------------ **/
  .history .founding {
    padding-bottom: 18rem;
  }

  /** ------------------------ era-2000 ------------------------ **/
  .history .era-2000 {
    padding: 8rem 0 18rem;
  }

  /** ------------------------ era-2010 ------------------------ **/
  .history .era-2010 {
    padding: 8rem 0 18rem;
  }

  /** ------------------------ era-2015 ------------------------ **/
  .history .era-2015 {
    padding: 8rem 0 18rem;
  }

  /** ------------------------ era-2022 ------------------------ **/
  .history .era-2022 {
    padding: 8rem 0 18rem;
  }
}
