/* company
--------------------------------------------------------------- */
.comUnder__fv,
.top__vision,
.top__business,
.company__profiles,
.company__overview {
  will-change: transform;
}

.company__nav {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 73px;
  background-color: #e9eff2;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 20px;
}
.company__nav__list {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(1.5em, 3.4vw, 3em);
  row-gap: 0.5em;
}
.company__nav__list__item {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 645px) {
  .company__nav {
    margin-top: 5px;
  }
  .company__nav__list {
    justify-content: flex-start;
  }
}

/* MESSAGE
--------------------------------------------------------------- */
.company__message {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-top: clamp(50px, 7vw, 90px);
  will-change: transform;
}
.company__message__bg {
  position: absolute;
  display: block;
  content: "";
  width: 47%;
  height: 50%;
  background-image: url(../img/top/vision-bg.png);
  background-size: cover;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.company__message__wrapper {
  flex-direction: column;
  gap: clamp(1.5em, 3.4vw, 3em);
}
.company__message__wrapper__ttl {
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.company__message__wrapper__contents {
  gap: clamp(1em, 3.4vw, 3em);
}
.company__message__wrapper__contents__left {
  width: 42%;
}
.company__message__wrapper__contents__left__img {
  max-width: 400px;
  aspect-ratio: 20 / 23;
}
.company__message__wrapper__contents__right {
  width: 58%;
  flex-direction: column;
  gap: 2em;
}
.company__message__wrapper__contents__right__txtWrap {
  flex-direction: column;
  gap: clamp(1em, 3.4vw, 2em);
}
.company__message__wrapper__contents__right__txtWrap__txt {
  font-size: clamp(1.4rem, 1.8vw, 1.6rem);
}
.company__message__wrapper__contents__right__txtWrap__name {
  align-self: flex-end;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .company__message__bg {
    display: none;
  }
  .company__message__wrapper__contents {
    flex-direction: column;
    gap: 3em;
  }
  .company__message__wrapper__contents__left {
    width: 100%;
    order: 2;
    text-align: center;
  }
  .company__message__wrapper__contents__left__img {
    width: 100%;
    aspect-ratio: 67 / 77;
  }
  .company__message__wrapper__contents__right {
    width: 100%;
    order: 1;
  }
  .company__message__wrapper__contents__right__txtWrap__txt {
    line-height: 1.7;
  }
}

/* PROFILES
--------------------------------------------------------------- */
.company__profiles__wrapper {
  flex-direction: column;
  gap: clamp(1.5em, 3.4vw, 3em);
}
.company__profiles__wrapper__ttl {
  flex-direction: column;
  align-items: center;
}
.company__profiles__wrapper__ttl__en__br {
  display: none;
}
.company__profiles__wrapper__contents {
  flex-direction: column;
  gap: 1.3em;
}
.company__profiles__wrapper__contents__box {
  justify-content: space-between;
  gap: 2em;
  background-color: #e9eff2;
  padding: clamp(25px, 4vw, 28px) clamp(20px, 3vw, 39px);
}
.company__profiles__wrapper__contents__box__left {
  width: 19%;
  aspect-ratio: 95/108;
}
.company__profiles__wrapper__contents__box__left__img {
  width: 100%;
}
.company__profiles__wrapper__contents__box__right {
  width: 80%;
  flex-direction: column;
  gap: 1em;
}
.company__profiles__wrapper__contents__box__right__nameWrap {
  display: flex;
  align-items: center;
  gap: 1em;
}
.company__profiles__wrapper__contents__box__right__nameWrap__name {
  color: #111546;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.5;
}
.company__profiles__wrapper__contents__box__right__nameWrap__position {
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  line-height: 1.5;
}
.company__profiles__wrapper__contents__box__right__txt {
  font-size: clamp(1.4rem, 1.9vw, 1.6rem);
}

@media (max-width: 675px) {
  .ccompany__profiles__wrapper__ttl {
    align-items: flex-start;
  }
  .company__profiles__wrapper__ttl__en {
    line-height: 1;
  }
  .company__profiles__wrapper__ttl__en__br {
    display: block;
  }
  .company__profiles__wrapper__contents__box {
    flex-direction: column;
  }
  .company__profiles__wrapper__contents__box--pctab {
    display: none;
  }
  .company__profiles__wrapper__contents__box__left {
    width: 55%;
    aspect-ratio: 80/91;
    margin: 0 auto;
  }
  .company__profiles__wrapper__contents__box__right {
    width: 100%;
    gap: 1em;
  }
  .company__profiles__wrapper__contents__box__right__txt {
    line-height: 1.7;
  }
}

/* OVERVIEW
--------------------------------------------------------------- */
.company__overview {
  background-color: #e9eff2;
}
.company__overview__wrapper {
  flex-direction: column;
  gap: clamp(2em, 6.5vw, 4em);
  width: min(62.5%, 900px);
  margin: 0 auto;
}
.ccompany__overview__wrapper__ttl {
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.company__overview__wrapper__contents {
  flex-direction: column;
  gap: 1.8em;
}
.company__overview__wrapper__contents__itemWrap {
  justify-content: center;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}
.company__overview__wrapper__contents__itemWrap__left {
  width: 22%;
  color: #18318b;
  font-weight: 700;
  border-bottom: 1px solid #18318b;
  padding-bottom: 20px;
  padding-left: clamp(5px, 0.8vw, 10px);
}
.company__overview__wrapper__contents__itemWrap__right {
  width: 78%;
  font-weight: 500;
  border-bottom: 1px solid #9a9a9a;
  padding-left: clamp(5px, 1.5vw, 20px);
  padding-bottom: 20px;
}
.company__overview__wrapper__contents__itemWrap__right__link {
  display: inline-block;
  border-bottom: 1px solid #9a9a9a;
}
.company__overview__wrapper__contents__itemWrap__right__link:hover {
  transition: 0.4s;
  opacity: 0.8;
}
.company__overview__wrapper__contents__itemWrap__rightBank {
  font-weight: 400;
}

@media (max-width: 960px) {
  .company__overview__wrapper {
    width: 68.3%;
  }
}
@media (max-width: 625px) {
  .company__overview__wrapper {
    width: 100%;
    padding: 0 clamp(20px, 5vw, 30px);
  }
}
@media (max-width: 520px) {
  .company__overview__wrapper__contents {
    gap: 0;
  }
  .company__overview__wrapper__contents__itemWrap {
    padding: clamp(10px, 2.5vw, 12px) 0px;
  }
  .company__overview__wrapper__contents__itemWrap__left {
    width: 28%;
    padding-left: 0;
    padding-bottom: 15px;
  }
  .company__overview__wrapper__contents__itemWrap__right {
    width: 72%;
    line-height: 1.7;
    padding-left: 0;
    padding-bottom: 15px;
  }
  .company__overview__wrapper__contents > :nth-child(6) {
    order: 7;
  }
  .company__overview__wrapper__contents > :nth-child(7) {
    order: 6;
  }
  .company__overview__wrapper__contents > :nth-child(8) {
    order: 8;
  }
}

/* HISTORY
--------------------------------------------------------------- */
.company__history {
  color: #fff;
  background: linear-gradient(144.91deg, #093149 0.42%, #334956 100.23%);
}
.company__history__wrapper {
  flex-direction: column;
  gap: clamp(1.5em, 3.4vw, 3em);
}
.ccompany__history__wrapper__ttl {
  flex-direction: column;
  align-items: center;
}
.company__history__wrapper__timeline {
  position: relative;
  flex-direction: column;
  gap: 1em;
}
.company__history__wrapper__timeline::before {
  content: "";
  position: absolute;
  left: calc(clamp(40px, 6.5vw, 73px) + clamp(1em, 5vw, 3.5em) + 3px);
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #f7ca16;
}
.company__history__wrapper__timeline__yearWrap {
  display: flex;
  gap: clamp(1em, 5vw, 3.5em);
}
.company__history__wrapper__timeline__yearWrap__year {
  width: clamp(40px, 6.5vw, 73px);
  font-family: var(--sub-font01);
  font-size: clamp(2rem, 3.1vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}
.company__history__wrapper__timeline__yearWrap__rightWrap {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.company__history__wrapper__timeline__yearWrap__rightWrap__items,
.company__history__wrapper__timeline__yearWrap__rightWrap__items--line {
  display: flex;
  gap: clamp(1em, 2.6vw, 2em);
  position: relative;
  padding-left: 20px;
}
.company__history__wrapper__timeline__yearWrap__rightWrap__items::before,
.company__history__wrapper__timeline__yearWrap__rightWrap__items--line::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(6px, 1vw, 10px);
  width: 7px;
  height: 7px;
  background: #f7ca16;
  border-radius: 50%;
}
.company__history__wrapper__timeline__yearWrap__rightWrap__items__textWrap {
  display: flex;
  gap: clamp(1.5em, 3.3vw, 2em);
  width: 100%;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.company__history__wrapper__timeline__yearWrap__rightWrap__items__textWrap__month {
  width: 12%;
  text-align: right;
}
.company__history__wrapper__timeline__yearWrap__rightWrap__items__textWrap__event {
  width: 90%;
}

@media (max-width: 1199px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 65px);
  }
}
@media (max-width: 990px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 60px);
  }
}
@media (max-width: 905px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 55px);
  }
}
@media (max-width: 835px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 50px);
  }
}
@media (max-width: 750px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 45px);
  }
}
@media (max-width: 675px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    height: calc(var(--after-height, 0) - 40px);
  }
}
@media (max-width: 380px) {
  .company__history__wrapper__timeline__yearWrap__rightWrap__items--line::after {
    top: 35%;
  }
}
