/* =========================================================
   COMPANY PAGE
========================================================= */

.company-page {
  --company-navy: #080058;
  --company-blue: #6e87c1;
  --company-text: #222222;
  --company-sub: #646b76;
  --company-bg: #f7f8fa;
  --company-border: #e4e7ec;

  width: 100%;

  margin: 0;

  color: var(--company-text);

  font-family:
    "Noto Sans JP",
    sans-serif;

  font-size: 14px;
  line-height: 1.9;
}


.company-page *,
.company-page *::before,
.company-page *::after {
  box-sizing: border-box;
}


.company-page p {
  margin: 0;
}


.company-page a {
  color: #315eae;

  text-decoration: underline;
  text-underline-offset: 3px;
}


.company-page a:hover {
  text-decoration: none;
}


/* =========================================================
   COMMON
========================================================= */

.company-inner {
  width: min(1200px, 100%);

  margin: 0 auto;
}


.company-section {
  width: 100%;

  padding: 70px 20px;
}


.company-section:nth-of-type(even) {
  background: var(--company-bg);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.company-breadcrumb {
  width: min(1200px, calc(100% - 40px));

  margin: 0 auto;
  padding: 22px 0 10px;
}


.company-breadcrumb ol {
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  list-style: none;

  color: #858b94;

  font-size: 11px;
}


.company-breadcrumb li {
  display: flex;
  align-items: center;
}


.company-breadcrumb li + li::before {
  content: "/";

  margin: 0 10px;

  color: #bcc0c6;
}


.company-breadcrumb a {
  color: #727780;

  text-decoration: none;
}


.company-breadcrumb a:hover {
  color: var(--company-navy);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.company-section-heading {
  width: 100%;

  margin: 0 0 42px;
  padding: 0;

  display: flex;
  align-items: center;
}


.company-section-heading::before {
  content: "";

  width: 5px;
  height: 38px;

  margin-right: 16px;

  flex-shrink: 0;

  background: var(--company-navy);
}


.company-section-heading::after {
  content: "";

  height: 1px;

  margin-left: 24px;

  flex: 1;

  background: linear-gradient(
    to right,
    var(--company-navy) 0%,
    var(--company-blue) 25%,
    #e3e6eb 100%
  );
}


.company-section-heading > span {
  display: block;

  color: var(--company-navy);

  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;

  letter-spacing: 0.08em;

  white-space: nowrap;
}


/* =========================================================
   GREETING
========================================================= */

.company-greeting {
  padding-top: 48px;

  background: #ffffff;
}


.company-greeting-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    300px;

  gap: 75px;

  align-items: center;
}


.company-greeting-text {
  color: #333333;

  font-size: 14px;
  line-height: 2;
}


.company-greeting-text p + p {
  margin-top: 24px;
}


.company-president {
  padding: 0;
}


.company-president-image {
  width: 100%;

  overflow: hidden;

  aspect-ratio: 4 / 5;

  background: #f1f3f6;
}


.company-president-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.company-president-position {
  margin-top: 18px !important;

  color: #777d86;

  font-size: 11px;
  line-height: 1.4;

  letter-spacing: 0.08em;
}


.company-president-name {
  margin-top: 6px !important;

  color: #111111;

  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;

  letter-spacing: 0.06em;
}


/* =========================================================
   PROFILE
========================================================= */

.company-profile-list {
  width: 100%;

  margin: 0;
  padding: 0;

  border-top: 1px solid var(--company-border);
}


.company-profile-row {
  display: grid;

  grid-template-columns: 210px minmax(0, 1fr);

  margin: 0;

  border-bottom: 1px solid var(--company-border);
}


.company-profile-row dt {
  margin: 0;
  padding: 25px 28px;

  display: flex;
  align-items: flex-start;

  background: #f5f6f9;

  color: var(--company-navy);

  font-size: 13px;
  line-height: 1.8;
  font-weight: 600;

  letter-spacing: 0.04em;
}


.company-profile-row dd {
  margin: 0;
  padding: 25px 34px;

  background: #ffffff;

  color: #34383e;

  font-size: 13px;
  line-height: 2;
}


.company-profile-row dd p + p {
  margin-top: 3px;
}


.company-client-list {
  line-height: 2.1 !important;
}


/* =========================================================
   MAP
========================================================= */

.company-map {
  width: 100%;
  max-width: 680px;
  height: 280px;

  margin-top: 22px;

  overflow: hidden;

  border: 1px solid var(--company-border);
  border-radius: 4px;

  background: #eeeeee;
}


.company-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================================
   TIMELINE
========================================================= */

.company-timeline {
  position: relative;

  width: 100%;
}


.company-timeline-item {
  position: relative;

  display: grid;

  grid-template-columns: 180px minmax(0, 1fr);

  min-height: 72px;

  padding: 0 0 28px;
}


.company-timeline-item::before {
  content: "";

  position: absolute;

  top: 8px;
  left: 168px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--company-navy);

  box-shadow:
    0 0 0 5px
    #ffffff;
}


.company-timeline-item::after {
  content: "";

  position: absolute;

  top: 8px;
  bottom: -8px;
  left: 171px;

  width: 1px;

  background: #d9dde4;
}


.company-timeline-item:last-child::after {
  display: none;
}


.company-timeline-date {
  padding-right: 35px;

  color: var(--company-navy);

  font-size: 12px;
  line-height: 1.8;
  font-weight: 600;

  white-space: nowrap;
}


.company-timeline-content {
  padding-left: 35px;

  color: #33383f;

  font-size: 13px;
  line-height: 1.9;
}


.company-timeline-content p + p {
  margin-top: 7px;
}


/* =========================================================
   CAREER
========================================================= */

.company-career-block + .company-career-block {
  margin-top: 75px;
}


.company-person {
  margin-bottom: 32px;
  padding: 22px 28px;

  display: flex;
  align-items: baseline;

  gap: 22px;

  border-left: 3px solid var(--company-navy);

  background: #f6f7fa;
}


.company-person span {
  color: #70757e;

  font-size: 11px;
  line-height: 1.5;

  letter-spacing: 0.05em;
}


.company-person strong {
  color: var(--company-navy);

  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;

  letter-spacing: 0.06em;
}


/* =========================================================
   FOOTER
========================================================= */

.company-footer {
  width: 100%;

  padding: 28px 20px;

  background: #080058;

  color: #ffffff;

  font-family:
    "Noto Sans JP",
    sans-serif;
}


.company-footer-inner {
  width: min(1200px, 100%);

  margin: 0 auto;
}


.company-footer p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 10px;
  line-height: 1.6;

  text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

  .company-section {
    padding:
      55px 20px;
  }


  .company-greeting-grid {
    grid-template-columns:
      minmax(0, 1fr)
      240px;

    gap: 45px;
  }


  .company-profile-row {
    grid-template-columns:
      170px
      minmax(0, 1fr);
  }


  .company-profile-row dt {
    padding:
      22px 20px;
  }


  .company-profile-row dd {
    padding:
      22px 25px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {

  .company-pc {
    display: none;
  }


  .company-breadcrumb {
    width: calc(100% - 30px);

    padding-top: 16px;
  }


  .company-section {
    padding:
      45px 15px;
  }


  .company-section-heading {
    margin-bottom: 28px;
  }


  .company-section-heading::before {
    width: 4px;
    height: 30px;

    margin-right: 12px;
  }


  .company-section-heading::after {
    margin-left: 16px;
  }


  .company-section-heading > span {
    font-size: 22px;
  }


  /* GREETING */

  .company-greeting-grid {
    display: block;
  }


  .company-greeting-text {
    font-size: 13px;
    line-height: 1.9;
  }


  .company-greeting-text p + p {
    margin-top: 20px;
  }


  .company-president {
    width: 75%;
    max-width: 300px;

    margin:
      35px 0
      0 auto;
  }


  /* PROFILE */

  .company-profile-row {
    display: block;
  }


  .company-profile-row dt {
    padding:
      13px 15px;

    border-bottom: 1px solid #ebecef;

    font-size: 12px;
  }


  .company-profile-row dd {
    padding:
      18px 15px
      22px;

    font-size: 12px;
  }


  .company-map {
    height: 240px;
  }


  /* TIMELINE */

  .company-timeline-item {
    grid-template-columns: 105px minmax(0, 1fr);

    padding-bottom: 25px;
  }


  .company-timeline-item::before {
    left: 94px;
  }


  .company-timeline-item::after {
    left: 97px;
  }


  .company-timeline-date {
    padding-right: 20px;

    font-size: 11px;
  }


  .company-timeline-content {
    padding-left: 20px;

    font-size: 12px;
  }


  /* CAREER */

  .company-career-block + .company-career-block {
    margin-top: 55px;
  }


  .company-person {
    margin-bottom: 27px;
    padding: 17px 18px;

    display: block;
  }


  .company-person span {
    display: block;

    margin-bottom: 6px;
  }


  .company-person strong {
    display: block;

    font-size: 18px;
  }

}

/* =========================================================
   HISTORY COMPACT
========================================================= */

.company-history {
  padding-top: 55px;
  padding-bottom: 55px;
}

.company-history .company-section-heading {
  margin-bottom: 32px;
}

.company-history .company-timeline-item {
  grid-template-columns: 155px minmax(0, 1fr);

  min-height: 0;

  padding-bottom: 16px;
}

.company-history .company-timeline-item::before {
  top: 7px;
  left: 143px;

  width: 6px;
  height: 6px;
}

.company-history .company-timeline-item::after {
  top: 7px;
  bottom: -5px;
  left: 145.5px;
}

.company-history .company-timeline-date {
  padding-right: 28px;

  font-size: 12px;
  line-height: 1.6;
}

.company-history .company-timeline-content {
  padding-left: 28px;

  font-size: 13px;
  line-height: 1.65;
}

.company-history .company-timeline-content p + p {
  margin-top: 3px;
}


/* =========================================================
   HISTORY COMPACT MOBILE
========================================================= */

@media screen and (max-width: 700px) {

  .company-history {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .company-history .company-section-heading {
    margin-bottom: 25px;
  }

  .company-history .company-timeline-item {
    grid-template-columns: 92px minmax(0, 1fr);

    padding-bottom: 15px;
  }

  .company-history .company-timeline-item::before {
    left: 82px;
  }

  .company-history .company-timeline-item::after {
    left: 84.5px;
  }

  .company-history .company-timeline-date {
    padding-right: 17px;

    font-size: 10px;
  }

  .company-history .company-timeline-content {
    padding-left: 18px;

    font-size: 12px;
    line-height: 1.6;
  }

}

/* =========================================================
   CAREER COMPACT
========================================================= */

.company-career {
  padding-top: 55px;
  padding-bottom: 55px;
}

.company-career .company-section-heading {
  margin-bottom: 32px;
}

.company-career-block + .company-career-block {
  margin-top: 50px;
}

.company-career .company-person {
  margin-bottom: 24px;
  padding: 16px 22px;
}

.company-career .company-person span {
  font-size: 12px;
}

.company-career .company-person strong {
  font-size: 18px;
}


/* =========================================================
   CAREER TIMELINE
========================================================= */

.company-career .company-timeline-item {
  grid-template-columns: 145px minmax(0, 1fr);

  min-height: 0;

  padding-bottom: 15px;
}

.company-career .company-timeline-date {
  padding-right: 26px;

  font-size: 11px;
  line-height: 1.6;
}

.company-career .company-timeline-content {
  padding-left: 26px;

  font-size: 12px;
  line-height: 1.65;
}

.company-career .company-timeline-content p + p {
  margin-top: 3px;
}


/* =========================================================
   TIMELINE DOT
========================================================= */

.company-timeline-item::before {
  z-index: 2;

  top: 6px;

  background: #080058;

  box-shadow:
    0 0 0 4px #ffffff;
}

.company-timeline-item::after {
  z-index: 1;

  top: 13px;
}


/* =========================================================
   CAREER DOT POSITION
========================================================= */

.company-career .company-timeline-item::before {
  left: 133px;

  width: 7px;
  height: 7px;
}

.company-career .company-timeline-item::after {
  left: 136px;
}


/* =========================================================
   HISTORY DOT FIX
========================================================= */

.company-history .company-timeline-item::before {
  z-index: 2;
}

.company-history .company-timeline-item::after {
  z-index: 1;

  top: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {

  .company-career {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .company-career .company-section-heading {
    margin-bottom: 25px;
  }

  .company-career-block + .company-career-block {
    margin-top: 40px;
  }

  .company-career .company-person {
    margin-bottom: 20px;
    padding: 14px 16px;
  }

  .company-career .company-person strong {
    font-size: 17px;
  }

  .company-career .company-timeline-item {
    grid-template-columns: 88px minmax(0, 1fr);

    padding-bottom: 14px;
  }

  .company-career .company-timeline-date {
    padding-right: 16px;

    font-size: 10px;
  }

  .company-career .company-timeline-content {
    padding-left: 18px;

    font-size: 11px;
    line-height: 1.6;
  }

  .company-career .company-timeline-item::before {
    left: 78px;
  }

  .company-career .company-timeline-item::after {
    left: 81px;
  }

}