@charset "UTF-8";
/* =====================
  philosophy
===================== */
.philosophy {
  padding-block-end: 378rem;
  background: url(/assets/img/company/sp-philosophy-bg.png) no-repeat center bottom / cover;
}
.philosophy-text {
  font-size: 15rem;
  color: var(--color-primary);
  margin-inline: auto;
  width: fit-content;
  > p {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12rem;
    padding-top: 8rem;
    &:has(.chain) {
      padding-top: 0;
      align-items: center;
    }
    + p {
      margin-top: 8rem;
    }
  }
}
.chain {
  &:has(.philosophy-text_box) {
    display: flex;
    flex-direction: column;
  }
}
.philosophy-text_box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 40rem;
  height: 40rem;
  font-size: 32rem;
  line-height: 1.2;
  position: relative;
  vertical-align: middle;
  &::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: -378rem;
  .contents-box {
    background-color: var(--color-white);
  }
  .signature {
    margin-top: 16rem;
    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: 32rem;
  img {
    width: 100%;
    border-radius: var(--img-round);
    aspect-ratio: 310 / 256;
  }
}

/* =====================
  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: 58%;
      z-index: -1;
    }
  }
  .map-erea {
    width: calc(366rem + ((100vw - 366rem) / 2));
    height: 102.56vw;
    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: 24rem;
  }
}
.transportation_wrap {
  margin-top: 24rem;
}
.transportation {
  h3 {
    margin-bottom: 8rem;
  }
}
.transportation_item {
  + .transportation_item {
    margin-top: 24rem;
  }
}
