@charset "UTF-8";

/* ==== color ========================== */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-primary: #8CBD3D;
  --color-blue: #0081C2;
  --color-bgGray: #F2F2F2;
  --futura: "futura-pt", sans-serif;
}

/*================================================
 *  subVisual
 ================================================*/
#subVisual::before {
  background-image: url(../../images/company/subVisual.png);
}

@media screen and (max-width:767px) {
  #subVisual::before {
    background-position: center right 33%;
  }

}

/*================================================
 *  message
 ================================================*/
#message>.narrow>h3 {
  margin: 2em auto;
}

#message img {
  width: 18.8vw;
  margin-right: 2.25vw;
}

.message__txt {
  width: 31vw;
  letter-spacing: 0.05em;
}

.message__txt p.ar {
  color: var(--color-blue);
  font-size: 1.23em;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-top: 1em;
}

@media screen and (max-width:767px) {

  #message img {
    width: 60%;
    margin: 0 auto 5vw;
  }

  .message__txt {
    width: 100%;
    margin: 0 auto;
  }

  .message__txt p.ar {
    font-size: 1.06em;
  }
}

/*================================================
 *  philosophy
 ================================================*/
#philosophy {
  background: var(--color-bgGray);
}

#philosophy h3 {
  background: transparent;
  color: var(--color-blue);
  text-align: center;
  font-size: 1.92em;
  line-height: 1.72;
  margin: 2.6em auto;
  padding: 0;
}

#philosophy>.narrow>p {
  width: 73.5%;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

@media screen and (max-width:767px) {
  #philosophy h3 {
    font-size: 1.4em;
    margin: 2.6em auto;
  }

  #philosophy .narrow {
    width: 100%;
  }

  #philosophy>.narrow>p {
    width: 82%;
    min-width: 290px;
  }
}


/*================================================
 *  overview
 ================================================*/
#overview {
  background: var(--color-primary);
}

.company__list {
  background: var(--color-white);
  padding: 4.6%;
  margin-top: 7.5%;
  font-size: 1.057em;
  letter-spacing: 0.2em;
}

.company__list dt {
  width: 28.6%;
  color: var(--color-primary);
  text-align: center;
  font-weight: 400;
  border-bottom: 1px solid #505051;
  padding: 1.38em 0;
  display: grid;
  place-content: center;
}

.company__list dd {
  width: calc(100% - 28.6%);
  color: #64646F;
  font-weight: 400;
  border-bottom: 1px solid #505051;
  padding: 1.38em 0;
  line-height: 2;
}

.company__list dt:first-of-type,
.company__list dd:first-of-type {
  border-top: 1px solid #505051;
}

@media screen and (max-width:767px) {
  #overview {
    background: var(--color-white);
  }

  #overview .narrow {
    width: 91.6%;
  }

  .company__list {
    padding: 0;
    margin-top: 10vw;
  }

  .company__list dt:first-of-type,
  .company__list dd:first-of-type {
    border-top: 1px solid #B8A292;
  }

  .company__list dt {
    width: 25%;
    border-bottom: 1px solid #B8A292;
    font-size: 0.93em;
  }

  .company__list dd {
    width: calc(100% - 25%);
    border-bottom: 1px solid #B8A292;
    font-size: 0.93em;
    letter-spacing: 0.07em;
  }
}


/*================================================
 *  history
 ================================================*/
#history {
  background: var(--color-bgGray)
}

#history .company__list dt {
  color: var(--color-blue);
}

#history .company__list dd.flex p:first-of-type {
  margin-right: 1em;
}

@media screen and (max-width:767px) {
  #history {
    background: var(--color-white);
    padding-top: 0;
  }

  #history .narrow {
    width: 91.6%;
  }

  #history .company__list {
    height: 71vw;
    overflow-y: scroll;
    border: 1px solid #B9BABA;
    padding: 0 3vw 0 0;
  }

  .scrollbar::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background: #F2F2F2;
  }

  .scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
    border-radius: 1em;
  }

  .scrollbar-thumb-black::-webkit-scrollbar-thumb {
    --bg-opacity: 1;
    background-color: var(--color-blue);
  }

  #history .company__list dt:first-of-type,
  #history .company__list dd:first-of-type {
    border-top: unset;
  }

  #history .company__list dt:last-of-type,
  #history .company__list dd:last-of-type {
    border-bottom: unset;
  }

  #history .company__list dt {
    border-bottom: 1px solid #B9BABA;
    border-right: 1px solid #B9BABA;
    background: #E8EEF5;
  }

  #history .company__list dd {
    border-bottom: 1px solid #B9BABA;
    padding-left: 1em;
  }
}


/*================================================
 *  access
 ================================================*/
#access iframe {
  display: block;
  width: 100%;
  height: 32.1vw;
  margin-top: 7.5%;
}

#access ul {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

#access ul li:first-child {
  color: #1D569C;
  font-size: 1.153em;
  letter-spacing: 0.1em;
  padding-bottom: 1em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-bottom: 1px solid #1D569C;
}

#access ul li:nth-child(2) {
  color: #64646F;
  letter-spacing: 0.1em;
  padding-right: 2em;
}

@media screen and (max-width:767px) {
  #access iframe {
    height: 55vw;
    margin-top: 10vw;
  }
}