@charset "UTF-8";

/* =======================================================
   history
======================================================== */
.btn.other.history-btn {
  margin-top: clamp(40px,5.882vw,80px);
  justify-content: space-between;
  flex-wrap: nowrap;
}
.btn.other.history-btn a {
  min-width: calc(100% / 4 - 40px);
  margin-right: 20px;
}
.btn.other.history-btn a:last-child {
  margin-right: 0;
}
.btn.other.history-btn a i {
  display: inline-block;
  transform: rotate(90deg);
  position: relative;
  top: 2px;
}
/*************************/
@media screen and (max-width: 854px)
{
  .btn.other.history-btn {
    flex-wrap: wrap;
  }
  .btn.other.history-btn a {
    min-width: auto;
    width: calc(50% - 10px);
  }
  .btn.other.history-btn a:nth-child(2) {
    margin-right: 0;
  }
}
/*************************/
@media screen and (max-width: 499px)
{
  .btn.other.history-btn a {
    width: 100%;
  }
  .btn.other.history-btn a:first-child,
  .btn.other.history-btn a:nth-child(3) {
    margin-right: 0;
  }
}
/*************************/

/*======== btn-color ==========================*/
.history-btn a:first-child {
  background: #032D58;
}
.history-btn a:nth-child(2) {
  background: #044487;
}
.history-btn a:nth-child(3) {
  background: #085BAF;
}
.history-btn a:last-child {
  background: #2275C8;
}


/* =======================================================
   type01
======================================================== */
.type01 > * {
  transition: all 0.3s;
}
.type01 {
  background: var(--Black);
  padding: 60px 0 40px;
  color: #fff;
}
.type01-inner {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 40px;
  display: flex;
}
.type01-inner::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 271px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: all 0.5s ease
}

.type01 .item-box {
  display: flex;
  width: auto;
  scroll-behavior: smooth;
}
.type01 .item {
  width: 140px;
}
.type01 .item:last-child {
  margin-right: 100px;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type01 {
    padding: 0;
  }
  .type01-inner {
    overflow: hidden;
    position: relative;
    z-index:  2;
    padding-bottom: 0;
  }
  .type01-inner::after {
    bottom: auto;
    left: max(80px,19.557vw);
    top: 0px;
    width: 1px;
    height: calc(100% + 180px);
    z-index: 2;
  }
  .type01 .item-box {
    width: 100%;
    flex-direction: column;
    padding: 40px 0;
  }
  .type01 .item {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .type01 .item + .item {
    margin-top: 20px;
  }
  .type01 .item.year-first {
    margin-top: 40px;
    /* align-items: center; */
  }
}
/*************************/

/*======== item-text ==========================*/
.type01 .item-text {
  font-size: 1.8rem;
  position: relative;
  padding-left: 50%;
  min-height: 300px;
  margin: 0 70px 15px;
}
.type01 .item-text span {
  display: block;
  rotate: -30deg;
  transform-origin: bottom left;
  text-align: left;
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 1.2;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type01 .item-text {
    min-height: 100%;
    flex-shrink: 1;
    width: calc(100% - 54px - max(80px,19.557vw));
    margin: 0;
    padding-left:  0;
    padding-right: 20px;
    font-size: 1.6rem;
  }
  .type01 .item-text span {
    position: relative;
    rotate: 0deg;
    white-space: wrap;
  }
  .type01 .item-text span br {
    display: none;
  }
  .type01 .item-text {
    padding-top: clamp(1px,1.304vw,10px);
  }
}
/*************************/

/*======== item-line ==========================*/
.type01 .item-line {
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.type01 .item-line span:first-child {
  text-align: center;
  margin-bottom:  3px;
  opacity: .6;
}

.type01 .item-line span:last-child {
  display: block;
  color: var(--Black);
  position: relative;
}
.type01 .item-line span:last-child::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}
.type01 .item-line span:last-child.circle-l::before {
  width: 12px;
  height: 12px;
  top: calc(50% - 2px);
}
/*************************/
@media screen and (max-width: 767px)
{
  .type01 .item-line {
    flex-direction: row-reverse;
    width: 65px;
    justify-content: flex-end;
  }
  .type01 .item-line span:first-child {
    margin-bottom: 0;
    padding-top: clamp(1px,1.304vw,10px);
  }
  .type01 .item-line span:last-child.circle-l::before {
    top: clamp(8px,2.216vw,17px);
    left: 2px;
  }
  .type01 :not(.year-first) .item-line span:last-child::before {
    top: clamp(8px,2.216vw,17px);
    left: 2px;
    width:  8px;
    height:  8px;
  }
    .type01 .item-line.no-month span:last-child::before {
      display: none;
    }
}
/*************************/

/*======== item-year ==========================*/
.type01 .item-year {
  text-align: center;
  font-family: var(--Barlow);
  font-size: 40px;
  font-weight: 500;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type01 .item-year {
    font-size: max(18px,5.215vw);
    /* margin-left: max(20px,3.911vw); */
    width: max(80px,19.557vw);
    line-height: 1;
  }

}
/*************************/


/*======== arrow-box ==========================*/
.arrow-box {
  display: flex;
  justify-content: center;
}
.arrow-box > * {
  align-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  margin: 0 20px;
  cursor: pointer;
}

/*== type01 ================*/
.type01 .arrow-box {
  margin-top: 60px;
}
.type01 .arrow-box > * {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
}
.type01 .arrow-box i {
  font-size: 3rem;
}
.type01.arrow-box .prev,
.type01.arrow-box .next {
  transition: opacity 0.3s ease, pointer-events 0s linear 0.3s;
  opacity: 1;
}
.type01.arrow-box .prev[style*="opacity: 0"],
.type01.arrow-box .next[style*="opacity: 0"] {
  pointer-events: none;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type01 .arrow-box {
    display: none;
  }
}
/*************************/

/*== type02 and type03 ================*/
.type02 .arrow-box:not(.-btm), .type03 .arrow-box:not(.-btm) {
  margin-top: 30px;
}
.type02 .arrow-box > *, .type03 .arrow-box > * {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
}
.type02 .arrow-box i, .type03 .arrow-box i {
  font-size: 2.2rem;
}
.type02 .arrow-box .hidden, .type03 .arrow-box .hidden {
  visibility: hidden;
}
/*************************/
@media screen and (min-width: 992px)
{
  .type02 .arrow-box.-btm, .type03 .arrow-box.-btm {
    display: none;
  }
}
/*************************/



/* =======================================================
   type02
======================================================== */
.type02, .type03 {
  background: var(--Black);
  padding: 60px 0;
  color: #fff;
  height: calc(70vw * 0.67);
  position: relative;
  height: max(860px, calc(100vh - 70px));
  overflow: hidden;
  height: auto; /* 初期値 */
  min-height: 860px; /* 初期値を指定 */
}
.type02::before, .type03::before {
  content: '';
  display: block;
  width: 70vw;
  height: 740px;
  opacity: 0.1;
  position: absolute;
  top: 60px;
  left: 40px;
  background-size: cover;
}
.type02::before {
  background: url(../images/about/history/adn_bg.jpg) left center no-repeat;
}
.type03::before {
  background: url(../images/about/history/tom_bg.jpg) left center no-repeat;
  background-size: contain;
}
.type02-inner, .type03-inner {
  display: flex;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.type02-inner.is-visible, .type03-inner.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.type02-inner:not(.is-visible), .type03-inner:not(.is-visible) {
  transform: translateX(-100%);
}
/*************************/
@media screen and (max-width: 991px) {
  .type02, .type03 {
    min-height: auto; /* 動的高さのために自動設定 */
  }
  .type02::before, .type03::before {
    width: calc(100% - 80px);
    max-width: 991px;
    height: 100%;
    background-position: top center;
    background-size: contain;
    top: 40px;
  }
  .type02-inner, .type03-inner {
    flex-direction: column;
  }
}
/*************************/

/*======== type02-year, type03-year ==========================*/
.type02-year, .type03-year {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.type02 .item-year, .type03 .item-year {
  font-family: var(--Barlow);
  font-weight: 500;
  font-size: clamp(60px, 8.476vw, 84px);
  letter-spacing: clamp(2px, 0.605vw, 6px);
  line-height: 1;
}
/*************************/
@media screen and (max-width: 991px) {
  .type02-year, .type03-year {
    width: 100%;
  }
}
/*************************/

/*======== type02-cts, type03-cts ==========================*/
.type02-cts, .type03-cts {
  width: 70%;
  height: 740px;
}
.type02 .item, .type03 .item {
  display: flex;
  align-items: flex-start;
}
.type02 .item + .item, .type03 .item + .item {
  margin-top: clamp(20px, 6.054vw, 60px);
}
/*************************/
@media screen and (max-width: 991px) {
  .type02-cts, .type03-cts {
    width: 100%;
    height: auto;
  }
  .type02 .item + .item, .type03 .item + .item {
    border-top: 1px solid rgb(255, 255, 255, 0.3);
    margin-top: 30px;
    padding-top: 30px;
  }
}
/*************************/

/*======== item-box ==========================*/
.type02 .item-box, .type03 .item-box {
  width: calc(100% - clamp(5px, 4.118vw, 70px));
  padding: 40px clamp(40px, 3.529vw, 60px) 60px 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  height: 740px;
}
.type02 .item-box.scrollable, .type03 .item-box.scrollable {
  overflow-y: auto;
}
.type02 .item-box__inner, .type03 .item-box__inner {
  height: 100%;
  height: auto;
}
/*************************/
@media screen and (max-width: 991px) {
  .type02 .item-box, .type03 .item-box {
    height: auto;
    padding-right: 0;
    width: 100%;
  }
}
/*************************/

/*======== item-month ==========================*/
.type02 .item-month, .type03 .item-month {
  width: clamp(50px, 10vw, 140px);
  font-family: var(--Barlow);
  font-size: clamp(50px, 5.429vw, 76px);
  font-weight: 500;
  opacity: 0.3;
  text-align: center;
  display: block;
  line-height: 1;
}
/*************************/
@media screen and (max-width: 991px) {
  .type02 .item-month, .type03 .item-month {
    opacity: 0.3;
    font-size: 5rem;
    position: relative;
    top: -15px;
  }
}
/*************************/

/*======== item-text ==========================*/
.type02 .item-text, .type03 .item-text {
  width: calc(100% - clamp(50px, 10vw, 140px));
  padding-left: 10px;
}
.type02 .item-text .month, .type03 .item-text .month {
  font-family: var(--Barlow);
  opacity: 0.3;
  font-size: 32px;
  font-weight: 500;
  margin-top: clamp(11px, 1.429vw, 20px);
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}
.type02 .item-text ul, .type03 .item-text ul {
  padding-left: 1rem;
}
.type02 .item-text li, .type03 .item-text li {
  position: relative;
  font-size: clamp(1.5rem, 1.816vw, 1.8rem); /*991*/
  padding-left: 1.2rem;
  text-indent: -1.2rem;
}
.type02 .item-text li::before, .type03 .item-text li::before {
  content: 'ー';
  display: inline-block;
  margin-right: 8px;
}
.type02 .item-text li + li, .type03 .item-text li + li {
  margin-top: 20px;
}
/*************************/
@media screen and (max-width: 991px) {
  .type02 .item-text .month, .type03 .item-text .month {
    display: none;
  }
}
/*************************/

/*======== scroll ==========================*/
.scroll .text {
  display: inline-block;
  rotate: 90deg;
  transform-origin: center center;
  margin-left: 1px;
  position: relative;
}
.type02 .scroll, .type03 .scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: clamp(30px, 3.529vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
}
.type02 .scroll div, .type03 .scroll div {
  pointer-events: none;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
  margin: 55px 0px;
}
.type01-inner::-webkit-scrollbar,
.type02 .item-box::-webkit-scrollbar,
.type03 .item-box::-webkit-scrollbar,
.type04-inner::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.type01-inner::-webkit-scrollbar-thumb,
.type02 .item-box::-webkit-scrollbar-thumb,
.type03 .item-box::-webkit-scrollbar-thumb,
.type04-inner::-webkit-scrollbar-thumb {
  background-color: var(--Blue2);
  border-radius: 4px;
}
.type01-inner::-webkit-scrollbar-track,
.type02 .item-box::-webkit-scrollbar-track,
.type03 .item-box::-webkit-scrollbar-track,
.type04-inner::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 4px;
}
.type02 .scroll div, .type03 .scroll div {
  font-size: 2.8rem;
}
.type02 .scroll .up, .type03 .scroll .up {
  rotate: 90deg;
}
.type02 .scroll .down, .type03 .scroll .down {
  rotate: 90deg;
}

/*======== scroll animation ==========================*/
.type02-inner.slide-in-left, .type03-inner.slide-in-left {
  opacity: 1;
  transform: translateX(-100%);
  animation: slideInLeft 0.5s forwards ease;
}
.type02-inner.slide-in-right, .type03-inner.slide-in-right {
  opacity: 1;
  transform: translateX(100%);
  animation: slideInRight 0.5s forwards ease;
}
.type02-inner.slide-out-left, .type03-inner.slide-out-left {
  opacity: 0;
  transform: translateX(0);
  animation: slideOutLeft 0.5s forwards ease;
}
.type02-inner.slide-out-right, .type03-inner.slide-out-right {
  opacity: 0;
  transform: translateX(0);
  animation: slideOutRight 0.5s forwards ease;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.type02-inner, .type03-inner {
  transition: transform 0.3s ease-out;
}

.type02-inner.is-visible, .type03-inner.is-visible {
  transform: translateX(0); /* 最終位置 */
}

.type02-inner:not(.is-visible), .type03-inner:not(.is-visible) {
  transform: translateX(100%); /* 非表示の位置 */
}


/* =======================================================
   type04
======================================================== */
.type04 > * {
  transition: all 0.3s;
}
.type04 {
  background: var(--Black);
  padding: 60px 0 40px;
  color: #fff;
}
.type04-inner {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 40px;
  display: flex;
}
.type04-inner::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 270px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: all 0.5s ease
}

.type04 .item-box {
  scroll-behavior: smooth;
  position: relative;
  width: 100%;
  display: flex;
  padding-left: 15.625vw;
}
.type04 .item {
  width: 100%;
  height: 400px;
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: space-between;
}
.type04 .item:last-child {
  margin-right: 100px;
}
/*************************/
@media screen and (min-width: 1435px)
{
  .type04 .item-box {
    width: calc(100% - 15.625vw);
  }
}
/*************************/
@media screen and (max-width: 1434px)
{
  .type04-inner::after {
    bottom: 273px;
  }
  .type04 .item-box {
    min-width: 1467px;
  }
}
/*************************/
@media screen and (max-width: 767px)
{
  .type04 {
    padding: 0;
  }
  .type04-inner {
    overflow: hidden;
    position: relative;
    z-index:  2;
    padding-bottom: 0;
  }
  .type04-inner::after {
    bottom: auto;
    left: max(80px,19.557vw);
    top: 0px;
    width: 1px;
    height: calc(100% + 180px);
    z-index: 2;
  }
  .type04 .item-box {
    width: 100%;
    min-width: auto;
    flex-direction: column;
    padding: 40px 0;
  }
  .type04 .item {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    /* justify-content: flex-end; */
    align-items: center;
  }
  .type04 .item + .item {
    margin-top: 30px;
  }
}
/*************************/


/*======== year1-year5 ==========================*/

/*************************/
@media screen and (min-width: 769px)
{
  .type04 .item.year1 {
    position: relative;
    /* border:1px solid; */
  }
  .type04 .item.year2 {
    padding: 40px 0 0 150px;
  }
  .type04 .item.year3 {
    padding: 80px 0 0 300px;
  }
  .type04 .item.year4 {
    padding: 120px 0 0 450px;
  }
  .type04 .item.year5 {
    padding: 160px 0 0 600px;
  }
}
/*************************/

/*======== item-text ==========================*/
.type04 .item-text {
  font-size: 1.8rem;
  position: relative;
}
.type04 .item-text > span {
  display: block;
  transform-origin: bottom left;
  text-align: left;
  line-height: 1.2;
}
.type04 .item-text span span {
  display: inline-block;
  margin-right: 1.6rem;
  opacity: .6;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type04 .item-text {
    min-height: 100%;
    flex-shrink: 1;
    width: calc(100% - 32px - max(80px,19.557vw));
    margin: 0;
    padding-left:  0;
    padding-right: 20px;
    font-size: 1.6rem;
  }
  .type04 .item-text span {
    position: relative;
    rotate: 0deg;
    white-space: wrap;
  }
  .type04 .item-text span br {
    display: none;
  }
  .type04 .item-text {
    min-height: auto;
  }
}
/*************************/

/*======== item-line ==========================*/
.type04 .item-line {
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 1.4rem;
  height: 100%;
  width: 82px;
  justify-content: flex-end;
}

.type04 .item-line span {
  text-align: center;
}
/*************************/
@media screen and (min-width: 769px)
{
  .type04 .item-line::after {
    content: '';
    position: absolute;
    top: 4%;
    left: calc(50% - 1px);
    width: 1px;
    height: 96%;
    background: #fff;
  }
  .type04 .year2 .item-line,
  .type04 .year5 .item-line{
    height: calc(100% - 85px);
  }
}
/*************************/
@media screen and (max-width: 767px)
{
  .type04 .item-line {
    height: auto;
    font-size: 1rem;
    width: 20px;
    margin-left: -22px;
  }
  .type04 .item-line span {
    text-align: left;
  }
}
/*************************/

/*======== item-year ==========================*/
.type04 .item-year {
  text-align: center;
  font-family: var(--Barlow);
  font-size: 40px;
  font-weight: 500;
  height: 64px;
  width: 82px;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type04 .item-year {
    font-size: max(18px,5.215vw);
    width: max(80px,19.557vw);
    line-height: 1;
    height: auto;
  }
}
/*************************/


/*======== arrow-box ==========================*/


/*== type04 ================*/
.type04 .arrow-box {
  margin-top: 60px;
}
.type04 .arrow-box > * {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
}
.type04 .arrow-box i {
  font-size: 3rem;
}
.type04.arrow-box .prev,
.type04.arrow-box .next {
  transition: opacity 0.3s ease, pointer-events 0s linear 0.3s;
  opacity: 1;
}
.type04.arrow-box .prev[style*="opacity: 0"],
.type04.arrow-box .next[style*="opacity: 0"] {
  pointer-events: none;
}
/*************************/
@media screen and (max-width: 767px)
{
  .type04 .arrow-box {
    display: none;
  }
}
/*************************/
