@charset "UTF-8";
/* =====================
  philosophy
===================== */
.philosophy {
  padding-block-end: 307rem;
  background: url(/assets/img/company/philosophy-bg.png) no-repeat center bottom / cover;
}
.philosophy-text {
  font-size: 18rem;
  color: var(--color-primary);
  margin-inline: auto;
  width: fit-content;
}
.philosophy-text_box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 72rem;
  height: 72rem;
  font-size: 48rem;
  line-height: 1.2;
  position: relative;
  vertical-align: middle;
  &:last-of-type {
    margin-right: 16rem;
  }
  &::before {
    content: '';
    position: absolute;
    width: calc(100% + 1rem);
    height: calc(100% + 1rem);
    border: var(--border) var(--color-primary);
    box-sizing: border-box;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* =====================
  message
===================== */
.message {
  margin-top: -307rem;
  .contents-box {
    background-color: var(--color-white);
  }
  .signature {
    margin-top: 32rem;
    font-size: 13rem;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    column-gap: 16rem;
    img {
      width: 101rem;
      aspect-ratio: 101 / 22;
    }
  }
}
.massage-img {
  margin-top: 48rem;
  img {
    width: 100%;
    border-radius: var(--img-round);
    aspect-ratio: 1040 / 404;
  }
}

/* =====================
  access
===================== */
.access {
  overflow-x: hidden;
  .map {
    margin-left: calc(50% - 50vw);
    position: relative;
    &::after {
      content: '';
      position: absolute;
      background-color: var(--background-color-gray);
      left: 0;
      bottom: 0;
      width: 100vw;
      height: 48.33%;
      z-index: -1;
    }
  }
  .map-erea {
    width: calc(1240rem + ((100vw - 1240rem) / 2));
    height: 33.33vw;
    border-top-right-radius: var(--img-round);
    border-bottom-right-radius: var(--img-round);
  }
}
.access-info {
  background-color: var(--background-color-gray);
  .inner-noTop {
    padding-block-start: 48rem;
  }
}
.transportation_wrap {
  margin-top: 32rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 120rem;
  .button {
    margin-top: 0;
  }
}
.transportation {
  display: flex;
  column-gap: 120rem;
  h3 {
    margin-bottom: 8rem;
  }
}
