/*----------------------------------
ABOUT
----------------------------------*/

#about .top__lead {
  font-size: min(5vw, 35px);
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  margin-bottom: min(15vw, 45px);
}
#about .lower-page__section-text {
  max-width: 900px;
  padding: min(15vw, 30px) min(5vw, 10px);
  margin: 0 auto;
}
#about .about-us__bold-text {
  font-size: min(7.5vw, 25px);
  font-weight: bold;
  line-height: 1.5;
  margin: 10px 0 30px;
}

/*----------------------------------
president message 
----------------------------------*/
#message.lower-page__section {
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
  padding: min(15vw, 45px) min(5vw, 15px) min(10vw, 30px);
  margin-bottom: min(20vw, 65px);
}
#message .lower-page__section-title {
  position: absolute;
  top: min(15vw, 45px);
  left: max(-1vw, -5px);
  writing-mode: vertical-lr;
  color: #888;
  font-size: min(24vw, 130px);
  line-height: 1;
}
#message .section-message__image-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
  z-index: 10;
}
#message .section-message__image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: bottom;
}
#message .section-message__text {
  font-size: min(4vw, 14px);
  line-height: 1.5;
  margin-bottom: min(10vw, 25px);
}
#message .section-message__text-right-box {
  text-align: right;
  margin-bottom: min(10vw, 20px);
}
#message .section-message__text-right
/* ,#message .section-message__text-right-box img */ {
  display: inline-block;
}
/* #message .section-message__text-right-box img {
  width: 40%;
  max-width: 250px;
  aspect-ratio: 3/1;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
} */
#message .section-message__name {
  display: inline-block;
  font-family: "Yuji Syuku", serif;
  font-size: min(8vw, 40px);
  padding-left: min(5vw, 25px);
}
@media (min-width: 851px) {
  #message.lower-page__section {
    padding-bottom: min(15vw, 45px);
  }
  #message .section-message__flex-box {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: end;
    max-width: 1200px;
    margin: 0 auto;
  }
  #message .section-message__image-box {
    width: 50%;
    height: fit-content;
    margin-bottom: 0;
  }
  #message .section-message__text-box {
    width: 50%;
  }
  #message .section-message__text-right {
    margin-top: 10px;
  }
}

/*----------------------------------
company （会社概要）
----------------------------------*/
#company.lower-page__section,
#access.lower-page__section {
  position: relative;
  max-width: none;
  background: linear-gradient(
    -90deg,
    rgb(16 53 161 / 100%),
    rgb(92 179 228 / 50%)
  );
  padding: min(10vw, 30px) min(10vw, 30px) min(30vw, 75px);
  margin: 0 auto;
}
#access.lower-page__section {
  background: linear-gradient(
    90deg,
    rgb(16 53 161 / 100%),
    rgb(92 179 228 / 50%)
  );
}
#company.lower-page__section .company__inner,
#access.lower-page__section .company__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}
.title-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  margin-bottom: min(10vw, 30px);
}
.title-flex.reverse {
  flex-direction: row-reverse;
}
#company .lower-page__section-title,
#access .lower-page__section-title {
  max-width: 1200px;
  color: #fff;
  text-align: right;
  font-size: min(15vw, 80px);
  font-weight: bold;
  line-height: 1.3;
  /* margin: 0 auto; */
}
#access .lower-page__section-title {
  text-align: left;
}
.code__text {
  display: block;
  max-width: 1200px;
  color: #fff;
  font-family: monospace;
  font-size: min(10vw, 50px);
  line-height: 1;
  font-weight: normal;
  opacity: 0.2;
  /* margin: 0 auto; */
}
@media (max-width: 850px) {
  .code__text {
    width: 100%;
  }
}
.code__text.right {
  text-align: right;
}
.code__text.left {
  text-align: left;
}
.section-company__content-box {
  width: 100%;
  max-width: 1200px;
  color: #fff;
  margin: 0 auto;
}
.section-company__content-box h3 {
  color: #fff;
  font-size: min(7.5vw, 35px);
  line-height: 1.5;
  border-bottom: 1px solid #fff;
  margin-bottom: min(10vw, 25px);
}
#company .section-company__text table {
  display: block;
  width: 100%;
  text-align: left;
  color: #333;
  font-size: min(6vw, 17px);
  line-height: 1.5;
  background-color: #fff;
  margin-bottom: min(10vw, 25px);
}
#access .section-company__text {
  width: 100%;
  text-align: left;
  font-size: min(6vw, 18px);
  line-height: 1.5;
  margin-bottom: min(10vw, 25px);
}
#access .section-company__text p {
  margin-bottom: min(5vw, 25px);
}
#access .section-company__text p strong {
  font-size: min(5vw, 25px);
}
#company table tbody {
  display: block;
}
#company table tr {
  width: 100%;
  display: block;
  /* margin-bottom: min(5vw, 15px); */
  line-height: 1.5;
  border-bottom: 0.5px solid #888;
}
#company table tr:last-child {
  border-bottom: none;
}
#company table td.table-title {
  width: min(25vw, 300px);
  background-color: #f0f0f0;
}
#company table td.table-title,
#company table td.table-item {
  padding: min(5vw, 10px);
}
.section-company__map iframe {
  width: 100%;
  height: 400px;
  /* filter: grayscale(100%); */
}
@media (min-width: 851px) {
  /* #company .section-company__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  } */
  /* #company .section-company__text {
    width: 45%;
  } */
  /* #company .section-company__map {
    width: 55%;
    padding-left: min(5vw, 15px);
  } */
}
@media (min-width: 1441px) {
  .code__text {
    font-size: min(15vw, 75px);
  }
}
