@charset "utf-8";

#company-message {
  margin-top: 90px;
}
.company-message-wrap {
  /* display: flex; */
  margin: 68px auto 0;
  max-width: 700px;
}
.company-message-wrap-imgArea,
.company-message-wrap-textArea {
  /* width: 50%; */
  max-width: 700px;
}
.company-message-wrap-imgArea img {
  display: block;
  margin: 0 24px 0 auto;
}
.company-message-wrap-textArea {
  /* padding-left: 36px; */
}
.company-message-wrap-textArea h3 {
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.7;
  margin-top: 30px;
}
.company-message-wrap p {
  margin: 54px auto 0;
  text-align: right;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.7;
}
.company-message-messageArea {
  max-width: 700px;
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.87;
  text-align: left;
  margin: 62px auto 0;
}
#company-info {
  margin-top: 136px;
}
#company-info table {
  margin: 52px auto 0;
  width: 100%;
  max-width: 700px;
}

#company-info table th {
  font-weight: normal;
  font-size: 1.6rem;
  color: #004690;
  background: #f0faff;
  text-align: center;
  vertical-align: middle;
  padding: 18px 48px;
}
#company-info table td {
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.87;
  text-align: left;
  color: #000;
  padding: 18px 24px;
}
#company-info table tr {
  border-top: 1px solid #e0e0e0;
}
#company-info table tr:last-child {
  border-bottom: 1px solid #e0e0e0;
}
#company-access {
  margin-top: 140px;
}
#company-access .inner {
  width: 90%;
  max-width: 800px;
}
.accessMap {
  width: 100%;
  padding-top: 56%;
  margin: 51px auto 192px;

  position: relative;
}
.accessMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1024px) {
  .company-message-wrap-textArea {
    padding-left: 0;
  }
  .company-message-wrap-textArea h3 {
    font-size: 3vw;
  }
  .company-message-wrap-textArea p {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 599px) {
  #company-message {
    margin-top: 40px;
  }
  .company-message-wrap {
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
  }
  .company-message-wrap-imgArea img {
    margin: 0 auto;
  }
  .company-message-wrap-imgArea,
  .company-message-wrap-textArea {
    width: 100%;
  }
  .company-message-wrap-textArea h3 {
    font-size: 2rem;
    margin-top: 16px;
    text-align: center;
  }
  .company-message-wrap-textArea p {
    font-size: 1.6rem;
    margin-top: 16px;
    text-align: center;
  }
  .company-message-messageArea {
    margin: 36px auto 0;
    font-size: 1.5rem;
  }

  #company-info table th,
  #company-info table td {
    width: 100%;
    display: block;
  }
  #company-info {
    border-top-right-radius: 100px;
  }
  #company-info table th {
    padding: 12px 48px;
  }
  #company-info table td {
    padding: 12px 12px 16px;
  }
  .accessMap {
    width: 100%;
    padding-top: 100%;
    margin: 51px auto 192px;

    position: relative;
  }
  #company-access {
    margin-top: 100px;
  }
  .accessMap {
    margin: 51px auto 100px;
  }
  .accessMap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
/* リンク位置調整 */

#company-message::before,
#company-info::before,
#company-access::before {
  display: block;
  padding-top: 100px;
  margin-top: -100px;
  content: "";
}
