@import url("https://fonts.cdnfonts.com/css/monte-stella-trial");
.company-page .bg_img1.bg_img2 {
  background: #efefef;
}
.company-page .bg_img1.bg_img2 .left {
  width: 760px;
}
.company-page .bg_img1.bg_img2 .top_box .title_en {
  font-size: 55px;
}

.company-title-en {
  display: inline-block !important;
  margin-left: 10px;
  color: #e13f41;
  font-size: 46px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Monte Stella Trial", sans-serif;
  font-family: "Monte Stella VF Trial", sans-serif;
  transform: translateY(8px);
}

.company-summary {
  width: 1000px;
  max-width: 90%;
  margin: 76px auto 20px;
  padding: 50px 72px 44px;
  background: #efefef;
}
.company-summary h2 {
  text-align: center;
  color: #106eb0;
  font-size: 40px;
  letter-spacing: 0.03em;
  margin-bottom: 34px;
}

.company-summary__table {
  border-top: solid 1px #d0deea;
}

.company-summary__row {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: solid 1px #d0deea;
  padding: 20px 0;
}

.company-summary__label {
  width: 94px;
  background: #106eb0;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
  padding: 11px 4px;
  letter-spacing: 0.04em;
}

.company-summary__value {
  font-size: 14px;
  line-height: 1.8;
}

.company-summary__row--map {
  align-items: flex-start;
  padding-top: 22px;
}
.company-summary__row--map .company-summary__value {
  width: 100%;
}

.company-map {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  aspect-ratio: 14/9;
  height: auto;
  background: #d7d7d7;
  overflow: hidden;
}
.company-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.company-history {
  margin-top: 90px;
  background: #e3ebf5;
  border-radius: 66px 66px 0 0;
  padding: 72px 0 80px;
}

.company-history__inner {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
}

.company-history__title {
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px #9bbfdf;
  font-size: 100px;
  line-height: 0.9;
  letter-spacing: 0.06em;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 52px;
  font-family: "Monte Stella", sans-serif;
}
.company-history__title span {
  display: block;
  margin-top: -30px;
  color: #106eb0;
  -webkit-text-stroke: 0;
  font-size: 30px;
  letter-spacing: 0.12em;
  font-style: normal;
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.company-history__flex {
  --timeline-media: 250px;
  --timeline-media-height: 90px;
  --timeline-year: 120px;
  --timeline-gap: 42px;
  --timeline-content-gap: 20px;
  display: flex;
  align-items: flex-start;
  -moz-column-gap: var(--timeline-gap);
       column-gap: var(--timeline-gap);
  margin-bottom: 100px;
}

.company-history__images {
  width: var(--timeline-media);
  flex: 0 0 var(--timeline-media);
  display: grid;
  row-gap: 10px;
  padding: 0;
  margin: 0;
  visibility: hidden;
  height: 0;
}
.company-history__images li {
  list-style: none;
  min-height: var(--timeline-media-height);
}

.company-history__list {
  position: relative;
  display: grid;
  row-gap: 10px;
  padding: 0;
  margin: 0;
  flex: 1;
}
.company-history__list li {
  list-style: none;
}

.company-history__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-year) minmax(0, 1fr);
  align-items: center;
  -moz-column-gap: var(--timeline-content-gap);
       column-gap: var(--timeline-content-gap);
  min-height: var(--timeline-media-height);
}

.company-history__media {
  width: 100%;
  height: 100%;
  border: solid 4px #ffffff;
  border-radius: 4px;
  overflow: hidden;
  background: #cfd6de;
}
.company-history__media img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.company-history__media--empty {
  background: transparent;
  border-color: transparent;
}

.company-history__year {
  position: relative;
  text-align: right;
  color: #106eb0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-family: "Monte Stella", sans-serif;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}
.company-history__year::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 3px;
  height: 40px;
  background: #106eb0;
}

.company-history__item:nth-child(5) .company-history__year::after,
.company-history__item:nth-child(7) .company-history__year::after,
.company-history__item:nth-child(8) .company-history__year::after,
.company-history__item:nth-child(12) .company-history__year::after,
.company-history__item:nth-child(14) .company-history__year::after,
.company-history__item:nth-child(16) .company-history__year::after,
.company-history__item:nth-child(18) .company-history__year::after,
.company-history__item:nth-child(22) .company-history__year::after,
.company-history__item:nth-child(27) .company-history__year::after,
.company-history__item:nth-child(28) .company-history__year::after,
.company-history__item:nth-child(30) .company-history__year::after {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--timeline-media) + 64px));
  top: 50%;
  transform: translateY(-50%);
  width: var(--timeline-media);
  height: 160px;
  border: solid 10px #ffffff;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.company-history__item:nth-child(5) .company-history__year::after {
  top: -30px;
}

.company-history__item:nth-child(7) .company-history__year::after {
  top: -25px;
}

.company-history__item:nth-child(8) .company-history__year::after {
  top: 80px;
}

.company-history__item:nth-child(27) .company-history__year::after {
  top: -30px;
}

.company-history__item:nth-child(28) .company-history__year::after {
  top: 70px;
}

.company-history__item:nth-child(30) .company-history__year::after {
  top: 70px;
}

.company-history__item:last-child .company-history__year::before {
  content: none;
}

.company-history__item:nth-child(5)::before,
.company-history__item:nth-child(7)::before,
.company-history__item:nth-child(8)::before,
.company-history__item:nth-child(12)::before,
.company-history__item:nth-child(14)::before,
.company-history__item:nth-child(16)::before,
.company-history__item:nth-child(18)::before,
.company-history__item:nth-child(22)::before,
.company-history__item:nth-child(27)::before,
.company-history__item:nth-child(28)::before,
.company-history__item:nth-child(30)::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 50px solid #ffffff;
}

.company-history__item:nth-child(5) .company-history__year::after {
  background-image: url("../../src/company/img1.webp");
}

.company-history__item:nth-child(7) .company-history__year::after {
  background-image: url("../../src/company/img2.webp");
}

.company-history__item:nth-child(8) .company-history__year::after {
  background-image: url("../../src/company/img3.webp");
}

.company-history__item:nth-child(12) .company-history__year::after {
  background-image: url("../../src/company/img4.webp");
}

.company-history__item:nth-child(14) .company-history__year::after {
  background-image: url("../../src/company/img5.webp");
}

.company-history__item:nth-child(16) .company-history__year::after {
  background-image: url("../../src/company/img6.webp");
}

.company-history__item:nth-child(18) .company-history__year::after {
  background-image: url("../../src/company/img7.webp");
}

.company-history__item:nth-child(22) .company-history__year::after {
  background-image: url("../../src/company/img8.webp");
}

.company-history__item:nth-child(27) .company-history__year::after {
  background-image: url("../../src/company/img9.webp");
}

.company-history__item:nth-child(28) .company-history__year::after {
  background-image: url("../../src/company/img10.webp");
}

.company-history__item:nth-child(30) .company-history__year::after {
  background-image: url("../../src/company/img11.webp");
}

.company-history__item:nth-child(1) .company-history__year,
.company-history__item:nth-child(4) .company-history__year,
.company-history__item:nth-child(5) .company-history__year,
.company-history__item:nth-child(7) .company-history__year,
.company-history__item:nth-child(8) .company-history__year,
.company-history__item:nth-child(12) .company-history__year,
.company-history__item:nth-child(14) .company-history__year,
.company-history__item:nth-child(16) .company-history__year,
.company-history__item:nth-child(18) .company-history__year,
.company-history__item:nth-child(22) .company-history__year,
.company-history__item:nth-child(27) .company-history__year,
.company-history__item:nth-child(28) .company-history__year {
  font-size: 42px;
}

.company-history__images li,
.company-history__list li {
  list-style: none;
}

.company-history__text {
  align-self: start;
  background: #ffffff;
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 1.7;
}
.company-history__text.is-highlight {
  color: #106eb0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.company-history__item-image {
  display: none;
}

@media screen and (max-width: 900px) {
  .company-page .bg_img1.bg_img2 .top2 {
    height: 320px;
  }
  .company-page .bg_img1.bg_img2 .top_box {
    top: 78%;
    transform: translate(-50%, -78%);
  }
  .company-page .bg_img1.bg_img2 .left {
    width: 92%;
    padding: 20px 0;
  }
  .company-page .bg_img1.bg_img2 .top_box .bread {
    padding-left: 24px;
    font-size: 12px;
  }
  .company-page .bg_img1.bg_img2 .top_box .title_en {
    padding-left: 24px;
    font-size: 48px;
  }
  .company-title-en {
    font-size: 34px;
    margin-left: 8px;
    transform: translateY(4px);
  }
  .company-summary {
    margin: 44px auto 10px;
    padding: 28px 0 20px;
  }
  .company-summary h2 {
    font-size: 30px;
    margin-bottom: 16px;
  }
  .company-summary__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .company-summary__label {
    width: 90px;
    font-size: 14px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .company-summary__value {
    font-size: 13px;
    line-height: 1.8;
    padding-left: 2px;
  }
  .company-map {
    width: 100%;
    aspect-ratio: 4/3;
  }
  .company-history {
    margin-top: 54px;
    border-radius: 36px 36px 0 0;
    padding-top: 44px;
    padding-bottom: 56px;
  }
  .company-history__title {
    font-size: 52px;
    -webkit-text-stroke: 1.2px #9bbfdf;
    margin-bottom: 24px;
  }
  .company-history__title span {
    font-size: 20px;
    margin-top: 8px;
  }
  .company-history__list {
    row-gap: 16px;
  }
  .company-history__list::before {
    left: 8px;
    top: 0;
    bottom: 0;
  }
  .company-history__item {
    grid-template-columns: 92px minmax(0, 1fr);
    -moz-column-gap: 14px;
         column-gap: 14px;
    min-height: 72px;
    align-items: stretch;
  }
  .company-history__item.has-mobile-image .company-history__year {
    grid-row: 1/span 2;
  }
  .company-history__item:nth-child(5)::before,
  .company-history__item:nth-child(7)::before,
  .company-history__item:nth-child(8)::before,
  .company-history__item:nth-child(12)::before,
  .company-history__item:nth-child(14)::before,
  .company-history__item:nth-child(16)::before,
  .company-history__item:nth-child(18)::before,
  .company-history__item:nth-child(22)::before,
  .company-history__item:nth-child(27)::before,
  .company-history__item:nth-child(28)::before,
  .company-history__item:nth-child(30)::before,
  .company-history__item:nth-child(5) .company-history__year::after,
  .company-history__item:nth-child(7) .company-history__year::after,
  .company-history__item:nth-child(8) .company-history__year::after,
  .company-history__item:nth-child(12) .company-history__year::after,
  .company-history__item:nth-child(14) .company-history__year::after,
  .company-history__item:nth-child(16) .company-history__year::after,
  .company-history__item:nth-child(18) .company-history__year::after,
  .company-history__item:nth-child(22) .company-history__year::after,
  .company-history__item:nth-child(27) .company-history__year::after,
  .company-history__item:nth-child(28) .company-history__year::after,
  .company-history__item:nth-child(30) .company-history__year::after {
    content: none;
  }
  .company-history__flex {
    display: block;
    --timeline-media: 92px;
    --timeline-gap: 14px;
  }
  .company-history__images {
    display: none;
    row-gap: 16px;
  }
  .company-history__images li {
    height: 72px;
  }
  .company-history__media {
    border-width: 2px;
  }
  .company-history__year {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    font-size: 34px;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 0;
  }
  .company-history__year::before {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 3px;
    height: auto;
    margin-top: 8px;
    flex: 1;
    order: 2;
  }
  .company-history__item:nth-child(1) .company-history__year,
  .company-history__item:nth-child(4) .company-history__year,
  .company-history__item:nth-child(5) .company-history__year,
  .company-history__item:nth-child(7) .company-history__year,
  .company-history__item:nth-child(8) .company-history__year,
  .company-history__item:nth-child(12) .company-history__year,
  .company-history__item:nth-child(14) .company-history__year,
  .company-history__item:nth-child(16) .company-history__year,
  .company-history__item:nth-child(18) .company-history__year,
  .company-history__item:nth-child(22) .company-history__year,
  .company-history__item:nth-child(27) .company-history__year,
  .company-history__item:nth-child(28) .company-history__year {
    font-size: 34px;
  }
  .company-history__text {
    grid-column: 2;
    margin-left: 0;
    font-size: 12px;
    padding: 9px 12px;
  }
  .company-history__text.is-highlight {
    font-size: 13px;
  }
  .company-history__item-image {
    display: block;
    grid-column: 2;
    margin: 10px 0 0;
    width: min(260px, 100%);
    border: solid 4px #ffffff;
    border-radius: 4px;
    overflow: hidden;
    background: #cfd6de;
  }
  .company-history__item-image img {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 520px) {
  .company-summary__row--map {
    padding-top: 16px;
  }
  .company-map {
    aspect-ratio: 1/1;
  }
  .company-page .bg_img1.bg_img2 .top2 {
    height: 260px;
  }
  .company-page .bg_img1.bg_img2 .top_box .title_en {
    font-size: 34px;
  }
  .company-title-en {
    display: block !important;
    margin-left: 0;
    margin-top: 8px;
    font-size: 26px;
    transform: none;
  }
  .company-history__title {
    font-size: 42px;
  }
  .company-history__year,
  .company-history__item:nth-child(1) .company-history__year,
  .company-history__item:nth-child(4) .company-history__year,
  .company-history__item:nth-child(5) .company-history__year,
  .company-history__item:nth-child(7) .company-history__year,
  .company-history__item:nth-child(8) .company-history__year,
  .company-history__item:nth-child(12) .company-history__year,
  .company-history__item:nth-child(14) .company-history__year,
  .company-history__item:nth-child(16) .company-history__year,
  .company-history__item:nth-child(18) .company-history__year,
  .company-history__item:nth-child(22) .company-history__year,
  .company-history__item:nth-child(27) .company-history__year,
  .company-history__item:nth-child(28) .company-history__year {
    font-size: 28px;
  }
  .company-history__item-image {
    width: min(220px, 100%);
    margin-top: 8px;
    border-width: 3px;
  }
}/*# sourceMappingURL=company.css.map */
