@charset "utf-8";
/* -----------header---------- */
.header #nav li a[href*='/company/'] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 5px;
  text-decoration-color: var(--main);
}

/* -------------------main-------------------------- */
/* --------------sub_mv------------- */
.sub_mv {
  background: url(../img/company/sub_mv.jpg) no-repeat center/cover;
}

/* --------------greeting------------- */
.greeting {
  width: 100%;
  padding: 120px 0 136px;
  background: var(--bg-gray) url(../img/company/greeting_bg.png) no-repeat center/contain;
}

.greeting .flex {
  display: flex;
  justify-content: space-between;
}

.greeting h2 {
  width: fit-content;
  position: relative;
  z-index: 2;
}

.greeting .texts {
  width: 802px;
  font-weight: 600;
}

.greeting .texts .text {
  margin-bottom: 56px;
  line-height: 2.4em;
  letter-spacing: 0.03em;
}

.greeting .texts .name {
  display: flex;
  align-items: center;
  justify-content: end;
  column-gap: 24px;
}

.greeting .position {
  display: block;
  width: fit-content;
  font-weight: 700;
  line-height: 1.6em;
  letter-spacing: 0.06em;
}

.greeting .sign.pc {
  display: block;
  width: 126px;
  aspect-ratio: 126/24;
  line-height: 0;
}

.greeting .sign img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.greeting {
  width: 100%;
  padding: 120px 0 136px;
  background: url(/assets/img/company/greeting_bg_02.png) no-repeat center / cover;
}
.greeting h2 .en::before {
  background: url(/assets/img/h2_white.svg) no-repeat center / contain;
}
.greeting h2 {
  color: white;
}
.greeting h2 .en {
  color: white;
}
.greeting h2 .ja {
  text-decoration: none;
}
.greeting p {
  color: white;
}

/* --------------overview------------- */
.overview h2 .ja {
}
.overview {
  padding: 120px 0 136px;
}

.overview dl {
  padding: 0 80px;
}

.overview .flex {
  display: flex;
  padding: 32px 0;
  border-bottom: 2px dotted var(--main);
  column-gap: 8px;
}

.overview dt {
  width: 214px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.overview dd {
  width: calc(100% - 222px);
}

/* --------------access------------- */
.access {
  padding: 120px 0 calc(136px + 98px);
  background-color: var(--main);
}

.access h2 {
  max-width: 1140px;
  margin: 0 auto 56px;
  color: white;
}

.access h2 .ja {
  text-decoration-color: white;
}
.access h2 .en {
  color: white;
}

.access h2 .en::before {
  background: url(../img/h2_white.svg) no-repeat center/contain;
}

.access .bg {
  width: calc(50% + 570px);
  padding: 56px 80px 88px;
  background-color: white;
  border-radius: 0 56px 56px 0;
  position: relative;
}

.access .photo {
  width: 389px;
  aspect-ratio: 389/255;
  position: absolute;
  top: -124px;
  right: 122px;
}

.access .photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.access .bg .wrap {
  max-width: 1060px;
  margin: 0 0 0 auto;
}

.access address .name {
  margin-bottom: 4px;
  font-size: 18px;
}

.access address .add {
  margin-bottom: 16px;
  font-size: 14px;
}

.access address .way {
  margin-bottom: 48px;
}

.access .map {
  width: 100%;
  height: 408px;
  border-radius: 8px;
  overflow: hidden;
}

.access .map iframe {
  width: 100%;
  height: calc(408px + 360px);
  margin-top: -170px;
}

.access .btn_1 {
  margin: 56px 0 0 auto;
}

@media screen and (max-width: 750px) {
  /* -------------------main-------------------------- */
  /* --------------sub_mv------------- */
  .sub_mv {
    background: url(../img/company/sub_mv_sp.jpg) no-repeat center/cover;
  }

  /* --------------greeting------------- */
  .greeting {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * 144 * 1vw);
    background: url(/assets/img/company/greeting_bg_02_sp.png) no-repeat center / cover;
  }

  .greeting .flex {
    display: block;
  }

  .greeting h2 {
    width: 100%;
  }

  .greeting .texts {
    width: 100%;
  }

  .greeting .texts .text {
    margin-bottom: calc((100 / 750) * 56 * 1vw);
  }

  .greeting .texts .name {
    column-gap: calc((100 / 750) * 32 * 1vw);
  }

  .greeting .sign.pc {
    display: none;
  }

  .greeting .sign.sp {
    display: block;
    width: calc((100 / 750) * 193 * 1vw);
    aspect-ratio: 193/36;
    line-height: 0;
  }

  /* --------------overview------------- */
  .overview {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * 144 * 1vw);
  }

  .overview dl {
    padding: 0;
  }

  .overview .flex {
    display: block;
    padding: calc((100 / 750) * 40 * 1vw) 0;
    border-bottom: calc((100 / 750) * 2 * 1vw) solid var(--border-gray);
  }

  .overview dt {
    width: 100%;
    margin-bottom: calc((100 / 750) * 8 * 1vw);
  }

  .overview dd {
    width: 100%;
  }

  /* --------------access------------- */
  .access {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * (144 + 98) * 1vw);
  }

  .access h2 {
    max-width: calc((100 / 750) * 670 * 1vw);
    margin: 0 auto calc((100 / 750) * 56 * 1vw);
  }

  .access .bg {
    width: calc((100 / 750) * 335 * 1vw + 50%);
    padding: calc((100 / 750) * 56 * 1vw) calc((100 / 750) * 40 * 1vw) calc((100 / 750) * 88 * 1vw);
    border-radius: 0 calc((100 / 750) * 56 * 1vw) calc((100 / 750) * 56 * 1vw) 0;
  }

  .access .photo {
    width: calc((100 / 750) * 520 * 1vw);
    aspect-ratio: 520/341;
    position: static;
    margin: 0 auto calc((100 / 750) * 40 * 1vw);
  }

  .access .photo img {
    border-radius: calc((100 / 750) * 8 * 1vw);
  }

  .access address .name {
    margin-bottom: calc((100 / 750) * 12 * 1vw);
    font-size: calc((100 / 750) * 30 * 1vw);
  }

  .access address .add {
    margin-bottom: calc((100 / 750) * 24 * 1vw);
    font-size: calc((100 / 750) * 26 * 1vw);
  }

  .access address .way {
    margin-bottom: calc((100 / 750) * 64 * 1vw);
  }

  .access .map {
    width: 100%;
    height: calc((100 / 750) * 487 * 1vw);
    border-radius: calc((100 / 750) * 8 * 1vw);
  }

  .access .map iframe {
    width: 100%;
    height: calc((100 / 750) * 847 * 1vw);
    margin-top: calc((100 / 750) * -170 * 1vw);
  }

  .access .btn_1 {
    margin: calc((100 / 750) * 72 * 1vw) 0 0 auto;
  }
}
