:root {
  --color-01: #F0F0F0;
  --color-02: #155FE8;
  --color-03: #D9D9D9;
  --color-04: #0C318B;
  --color-05: #6E9FF9;
  --color-06: #E3EDFF;
  --color-07: #6B6B6B;
  --grayline: #D6D6D6;
}

body {
  overflow: visible;
}

.about .wrapper {
  position: relative;
}
.about__sticky {
  position: sticky;
  left: 0;
  top: 0;
  background-color: #FFF;
  padding-top: 60px;
  padding-bottom: 16px;
  z-index: 1;
}
.about__sticky .m-btn-03__wrap {
  gap: 8px;
}
.about__bank-list {
  grid-template-columns: repeat(2, 1fr);
}
.about__graph {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__graph-ttl {
  color: var(--color-04);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
}
.about__graph-img {
  width: 100%;
  max-width: 320px;
}
.about__graph-img img {
  width: 100%;
  height: auto;
}

.l-fv {
  margin-bottom: 0 !important;
}

/* ---------------------------------
 message
--------------------------------- */
.message {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.message__img {
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.message__img img {
  width: 100%;
  height: auto;
}
.message__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.message__ttl {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2;
}
.message__txt {
  display: flex;
  flex-direction: column;
  gap: 2em;
  font-size: 1.4rem;
  line-height: 2;
}

/* ---------------------------------
 history
--------------------------------- */
.history {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 30%;
  align-items: flex-start;
}
.history__event {
  position: relative;
  padding-left: 24px;
}
.history__event:not(:last-child) {
  padding-bottom: 24px;
}
.history__event-stick {
  position: absolute;
  top: 14px;
  left: 5px;
  width: 1px;
  height: 100%;
  background-color: var(--color-02);
}
.history__event-stick::before {
  content: "";
  display: block;
  width: 8px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--color-02);
  translate: -50% 0;
}
.history__event-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.history__event-heading .years-en {
  color: var(--color-02);
  line-height: 2;
  font-size: 1.6rem;
}
.history__event-heading .years-ja {
  color: #9E9E9E;
  font-size: 1.2rem;
  line-height: 2;
}
.history__event-txt {
  font-size: 1.4rem;
  line-height: 2;
}
.history__img {
  display: grid;
  gap: 16px;
}
.history__img-caption {
  font-size: 1.2rem;
  margin-top: 0.3em;
}
.history__img-item {
  border-radius: 4px;
  overflow: hidden;
}
.history__img-item.js-modal {
  cursor: pointer;
}
.history__img-item.js-modal img {
  transition: opacity 0.3s;
}

html:has(.history-modal[open]) {
  overflow: hidden;
}

.history-modal {
  padding: 0;
  border: none;
  background: none;
  width: min(480px, 90vw);
  max-height: 90dvh;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.3s, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.history-modal[open] {
  opacity: 1;
}
@starting-style {
  .history-modal[open] {
    opacity: 0;
  }
}
.history-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.history-modal[open]::backdrop {
  opacity: 1;
}
@starting-style {
  .history-modal[open]::backdrop {
    opacity: 0;
  }
}
.history-modal__img {
  width: 100%;
  max-height: calc(90dvh - 4em);
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 4px;
}
.history-modal__caption {
  margin-top: 0.5em;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
}
.history-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  aspect-ratio: 1/1;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.history-modal__close::before, .history-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #fff;
  translate: -50% -50%;
  rotate: 45deg;
}
.history-modal__close::after {
  rotate: -45deg;
}
@media screen and (min-width: 768px) {
  .about__sticky {
    padding-top: 80px;
  }
  .about__sticky .m-btn-03__wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
  }
  .about__graph {
    gap: 40px;
  }
  .message {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }
  .message__img {
    width: 320px;
  }
  .message__img img {
    height: 400px;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .message__ttl {
    font-size: 2rem;
  }
  .message__txt {
    font-size: 1.6rem;
  }
  .history {
    grid-template-columns: 1fr 25%;
    gap: 20px;
  }
  .history__event {
    padding-left: 56px;
  }
  .history__event-stick {
    left: 11px;
  }
  .history__event-heading {
    gap: 16px;
  }
  .history__event-txt {
    font-size: 1.6rem;
  }
  .history__img {
    gap: 24px;
  }
  .history__img-caption {
    font-size: 1.4rem;
  }
  .history-modal__caption {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 767px) {
  .about__graph-img {
    margin: 0 auto;
  }
}
@media (hover: hover) {
  .history__img-item.js-modal:hover img {
    opacity: 0.7;
  }
}