@import url('./root.css');

.bg__connection {
  position: relative;
  overflow: hidden;
}
.x__bg {
  display: block;
  position: absolute;
  z-index: -1;
  aspect-ratio: 552 / 742;
  width: 43rem;
  height: 46.375rem;
  right: -4.375rem;
  bottom: 0;
  background-image: url(../images/company/x-mark_pc.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
}

@media screen and (max-width: 840px) {
  .x__bg {
    background-image: url(../images/company/x-mark_sp.svg);
    aspect-ratio: 305 /410;
    width: 19.0625rem;
    height: 25.625rem;
    right: -1.375rem;
  }
}
/* ========================
/* company
/* ======================== */
.company-top.company-top--style {
  padding-bottom: 30px;
}
.company-info {
  padding-bottom: 3.75rem;
}
.company__image {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-top: 3.125rem !important;
  margin-inline: auto;
  aspect-ratio: 1200 / 537;
  /* aspect-ratio: 840 / 630;  */
  margin-inline: auto;
}

.company-info__title p {
  margin-inline: auto;
  margin-top: 3.125rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2.25;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 787px) {
  .company__image {
    margin-top: 1.875rem !important;
    aspect-ratio: 375 / 217;
  }
}
/* ========================
/* philosophy
/* ======================== */

.philosophy__content {
  margin-top: 3.75rem;
}

.philosophy__title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2.29167;
  letter-spacing: 0.14em;
}

.philosophy__text {
  margin-top: 1.875rem;
  width: 100%;
  max-width: 56.6875rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: 0.14em;
}
@media screen and (max-width: 787px) {
  .philosophy__content {
    margin-top: 1.875rem;
  }

  .philosophy__title {
    font-size: 1.25rem;
    line-height: 2.15;
    letter-spacing: 3px;
  }

  .philosophy__text {
    font-size: 1rem;
    line-height: 2.25;
    letter-spacing: 1px;
  }
}
/* ========================
/* company-info
/* ======================== */
.company-info {
  padding-top: 1.875rem;
}
.company-info__container {
  margin-top: 3.75rem;
  padding-inline: 3.125rem;
  padding-block: 1.25rem;
  background-color: #f4f4f5;
}

@media screen and (max-width: 787px) {
  .company-info__container {
    margin-top: 1.875rem;
    padding-inline: 1.0625rem;
    padding-block: 0.875rem;
  }
}
@media screen and (max-width: 480px) {
  .company-info__container {
    padding-inline: 0.75rem;
  }
}

/* ========================
/* section-title
/* ======================== */
.section-title--center {
  text-align: center;
}

.section-title--center h2 {
  margin-inline: auto;
}

/* ========================
/* info-detail
/* ======================== */
.info-detail {
  border: 0.125rem solid var(--color-light-gray);
  background: #f4f4f5;
}

.info-detail__items {
  display: flex;
  padding-block: 1.5625rem;
}
.info-detail__items:not(:last-child) {
  border-bottom: 0.125rem solid var(--color-light-gray);
}

.info-detail__title {
  width: 100%;
  max-width: 15.3125rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
}
.info-detail__text {
  width: 100%;
  max-width: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
}
.info-detail__text--product {
  line-height: 2.3;
}
.info-detail__text.info-detail__text--product-line {
  line-height: 2.3;
}
.info-detail__text.info-detail__text--product-line
  + .info-detail__text.info-detail__text--product-line {
  margin-top: 0;
}

@media screen and (max-width: 787px) {
  .info-detail__items {
    flex-direction: column;
    padding-inline: 1rem;
  }

  .info-detail__title {
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 1.6px;
    text-align: left;
  }
  .info-detail__text {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1;
    letter-spacing: 1.4px;
  }
  .line-break {
    display: block;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .info-detail__items {
    padding-inline: 0.5rem;
  }
}
