@charset "UTF-8";
:root {
  --inner-scale: 1;
  --vw-base: calc(520 / var(--inner-scale));
  --inner: 410;
  --inner-500: 500;
}
@media screen and (max-width: 999px) {
  :root {
    --inner-scale: calc(0.9 / (410 / 520));
  }
}
@media screen and (max-width: 767px) {
  :root {
    --vw-base: calc(520 * 0.3);
    --inner-scale: 1;
  }
}

/* ===============================
  会社情報
=============================== */
.company__hero {
  width: 100%;
  aspect-ratio: 520/220;
  background: url(../img/company1.jpg) no-repeat center center/cover;
  position: relative;
  z-index: 10;
}
@media (max-width: 767px) {
  .company__hero {
    aspect-ratio: 183/130;
    padding-top: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3%;
  }
}

.company__hero-text {
  position: absolute;
  bottom: 0%;
  left: 26%;
  transform: translate(-50%, 50%);
}
.company__hero-text p:nth-child(1) {
  font-family: "EB Garamond", serif;
  font-size: min( 44.5 * 100vw / var(--vw-base) , 44.5/var(--vw-base) * 1440px );
  color: #fff;
}
.company__hero-text p:nth-child(2) {
  font-size: min( 7 * 100vw / var(--vw-base) , 7/var(--vw-base) * 1440px );
  font-weight: 400;
  padding-left: 0.5em;
  margin-top: 1.4em;
}
@media (max-width: 767px) {
  .company__hero-text p:nth-child(1) {
    font-size: min( 20 * 100vw / var(--vw-base) , 20/var(--vw-base) * 1440px );
  }
  .company__hero-text p:nth-child(2) {
    font-size: min( 7 * 100vw / var(--vw-base) , 7/var(--vw-base) * 1440px );
    font-weight: 400;
    padding-left: 0.5em;
    margin-top: 1.4em;
  }
}

/*------------------------------
message
------------------------------*/
.message {
  padding-top: min( 64 * 100vw / var(--vw-base) , 64/var(--vw-base) * 1440px );
  position: relative;
}
.message::before {
  content: "";
  position: absolute;
  background: url(../img/philosophy_dec.png) no-repeat center left/cover;
  aspect-ratio: 409/463;
  transform: translate(0%, -22%);
  width: 41%;
  max-width: 590px;
  right: 0;
  top: 0%;
}
.message > * {
  position: relative;
  z-index: 10;
}
@media (max-width: 767px) {
  .message {
    padding-top: calc(80 / var(--inner) * 100%);
  }
}

.message__wrapper {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .message__wrapper {
    display: block;
  }
}

.message__body {
  width: calc(204 / var(--inner) * 100%);
}
@media (max-width: 767px) {
  .message__body {
    width: 100%;
  }
}

.message__heading {
  font-size: min( 8 * 100vw / var(--vw-base) , 8/var(--vw-base) * 1440px );
  font-weight: 600;
  line-height: 2.375;
  margin-top: 1.3em;
}
@media (max-width: 767px) {
  .message__heading {
    line-height: 1.5;
  }
}

.message__text {
  font-size: min( 5 * 100vw / var(--vw-base) , 5/var(--vw-base) * 1440px );
  font-weight: 500;
  line-height: 2;
  margin-top: 1.2em;
}

.message__signature {
  width: min( 68 * 100vw / var(--vw-base) , 68/var(--vw-base) * 1440px );
  margin-left: auto;
  margin-top: 2.6em;
  font-size: min( 5 * 100vw / var(--vw-base) , 5/var(--vw-base) * 1440px );
  font-weight: 600;
  line-height: 2;
  padding-right: 1.4em;
}
.message__signature strong {
  display: block;
  line-height: 1;
  font-size: min( 17 * 100vw / var(--vw-base) , 17/var(--vw-base) * 1440px );
}
.message__signature img {
  display: block;
  margin-left: auto;
}

.message__image {
  position: absolute;
  top: 67.3%;
  right: 0%;
  transform: translate(0%, -50%);
  width: 61%;
  max-width: 880px;
}
@media (max-width: 767px) {
  .message__image {
    top: 23.3%;
    width: 52%;
  }
}

/*------------------------------
about-us
------------------------------*/
.about-us {
  padding: min( 90 * 100vw / var(--vw-base) , 90/var(--vw-base) * 1440px ) 0 min( 50 * 100vw / var(--vw-base) , 50/var(--vw-base) * 1440px );
  position: relative;
}
.about-us::before {
  content: "";
  position: absolute;
  background: url(../img/philosophy_dec.png) no-repeat center center/100%;
  aspect-ratio: 449/463;
  transform: translate(-15%, 0%);
  width: 53%;
  max-width: 764px;
  left: 0;
  top: 21%;
}
.about-us > * {
  position: relative;
  z-index: 10;
}
@media (max-width: 767px) {
  .about-us {
    padding: calc(100 / var(--inner) * 100%) 0;
  }
}

.about-us__info {
  width: calc(250 / var(--inner) * 100%);
  margin: 0 auto;
  margin-top: 3%;
  display: flex;
  flex-wrap: wrap;
}
.about-us__info dt, .about-us__info dd {
  font-size: min( 5.5 * 100vw / var(--vw-base) , 5.5/var(--vw-base) * 1440px );
  font-weight: 500;
  line-height: 1.7;
  margin-top: 1.7em;
}
.about-us__info dt {
  width: 20%;
}
.about-us__info dd {
  width: 80%;
}
.about-us__info dd a {
  display: inline-block;
  background: #654d9d;
  line-height: 1;
  font-size: min( 5 * 100vw / var(--vw-base) , 5/var(--vw-base) * 1440px );
  padding: 0.3em 1.3em;
  border-radius: 0.8em;
  color: #fff;
  margin-left: 2em;
}
@media (max-width: 767px) {
  .about-us__info {
    width: 100%;
  }
  .about-us__info dt, .about-us__info dd {
    line-height: 1.5;
  }
  .about-us__info dt:nth-of-type(n + 2), .about-us__info dd:nth-of-type(n + 2) {
    margin-top: 3%;
  }
  .about-us__info dt {
    width: 25%;
  }
  .about-us__info dd {
    width: 75%;
  }
  .about-us__info dd a {
    margin-left: 0;
  }
}
/*# sourceMappingURL=company.css.map */