.company-top-background {
  width: 100%;
  max-width: 1440px;
  max-height: 440px;
  height: calc(100vw * 0.306);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../image/TOP-PC/header-conpany.jpg);
  position: relative;
}

.company-top-background-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  max-height: 134px;
  bottom: -95px;
  width: 100%;
  height: calc(100vw * 0.09347222222);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../image/TOP-PC/header_r2_c1.jpg);
}

.company-top-background-image-child {
  text-align: center;
  margin-top: 30px;
}

.company-top-background-image-child h1 {
  color: rgb(0, 100, 183);
  font-size: 30px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
}

.company-top-background-image-child span {
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: Helvetica;
  text-align: center;
}

.company-container {
  margin-top: 117px;
  margin-right: 14%;
  margin-left: 14%;
}

.company-container img {
  width: 100%;
}

.company-content {
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #0064b7;
}

.company-content-final {
  border-bottom: 1px solid #0064b7;
  padding-bottom: 30px;
}

.company-content span {
  color: rgb(0, 100, 183) !important;
  font-size: 16px;
  font-family: YuGothicStd, sans-serif;
}

.company-president {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.company-message-button-section {
  width: 448px;
  height: 77px;
  font-size: 20px;
  font-family: YuGothicStd, sans-serif;
  font-weight: 200;
  text-align: center;
}

.company-message-button {
  width: 448px;
  height: 77px;
  border-radius: 8px;
  background: #0064b7;
  margin-left: 160px;
}

.company-message-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 60px;
  color: white !important;
}

.company-triangleInCircle-message {
  margin-left: 40px;
  margin-bottom: 3px;
  width: 29px;
  height: 29px;
  background: white;
  border: 1px solid #333;
  border-radius: 50%;
}
.company-triangleInCircleInner-message div {
  width: 0;
  height: 0;
  border-left: 14px solid #004496;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin: 4px 0 0 9px;
}

.company-work-button-section {
  width: 448px;
  height: 77px;
  font-size: 20px;
  font-family: YuGothicStd, sans-serif;
  font-weight: 200;
  text-align: center;
}

.company-work-button {
  width: 448px;
  height: 77px;
  border-radius: 8px;
  background: #0064b7;
  margin-top: 32px;
  margin-bottom: 43px;
}

.company-work-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 60px;
  color: white !important;
}

.company-triangleInCircle-work {
  margin-left: 40px;
  margin-bottom: 3px;
  width: 29px;
  height: 29px;
  background: white;
  border: 1px solid #333;
  border-radius: 50%;
}
.company-triangleInCircleInner-work div {
  width: 0;
  height: 0;
  border-left: 14px solid #004496;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin: 4px 0 0 9px;
}

.company-access {
  margin-top: 68px;
  margin-bottom: 75px;
  height: 141px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../image/TOP-PC/PC2.jpeg);
}
.company-access img {
  width: 171px;
  height: 94px;
}

.company-access-map {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 250px;
  height: 94px;
  margin-top: -10px;
}

.company-access-map-ja {
  margin-top: 15px;
  color: rgb(0, 100, 183);
  font-size: 25px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
}

.company-access-map-en {
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: Helvetica;
  text-align: center;
}

.company-branch-section {
  text-align: center;
}

.company-branch {
  color: rgb(0, 100, 183);
  height: 35px;
  font-size: 25px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  cursor: pointer;
}

.company-branch-map {
  margin-top: 63px;
  margin-bottom: 171px;
}

.underline {
  padding-bottom: 5px;
  border-bottom: solid 5px rgb(0, 100, 183);
}

@media only screen and (max-width: 1440px) {
  .company-top-background {
    background-size: contain;
  }
}

@media only screen and (max-width: 1000px) {
  .company-image img {
    width: 100%;
    margin-top: -35px;
  }
  .company-top-background-image {
    bottom: -35px;
  }

  .company-top-background-image-child h1 {
    font-size: 12px;
  }
  .company-top-background-image-child span {
    font-size: 10px;
  }

  .company-top-background-image-child {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0px;
  }

  .company-container {
    margin-top: 50px;
    margin-left: 3%;
    margin-right: 3%;
  }

  .company-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .company-content span {
    font-size: 12px;
  }

  .company-message-button-section {
    width: 73%;
  }

  .company-message-button {
    margin-top: 25px;
    margin-left: 10px;
    font-size: 10px;
    width: 85%;
    height: 29px;
  }
  .company-message-button a {
    margin-left: 0;
  }

  .company-triangleInCircle-message {
    margin-top: 3px;
    margin-left: 20px;
    width: 15px;
    height: 15px;
    background: white;
    border: 1px solid #333;
    border-radius: 50%;
  }
  .company-triangleInCircleInner-message div {
    width: 0;
    height: 0;
    border-left: 7px solid #004496;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin: 2px 0 0 3.5px;
  }

  .company-work-button-section {
    font-size: 15px;
    width: 235px;
    height: 39px;
    margin-left: -20px;
  }

  .company-work-button {
    margin-top: 15px;
    margin-left: 0px;
    font-size: 10px;
    width: 85%;
    height: 29px;
    margin-bottom: 0px;
  }
  .company-work-button a {
    margin-left: 0;
  }

  .company-triangleInCircle-work {
    margin-top: 3px;
    margin-left: 20px;
    width: 15px;
    height: 15px;
    background: white;
    border: 1px solid #333;
    border-radius: 50%;
  }
  .company-triangleInCircleInner-work div {
    width: 0;
    height: 0;
    border-left: 7px solid #004496;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin: 2px 0 0 3.5px;
  }

  .company-content-final {
    padding-bottom: 33px;
  }

  .company-access {
    height: 61px;
    margin-bottom: 30px;
  }

  .company-access-map-ja {
    margin-top: 15px;
    color: rgb(0, 100, 183);
    font-size: 12px;
  }

  .company-access-map-en {
    color: rgb(0, 100, 183);
    font-size: 10px;
    font-family: Helvetica;
    text-align: center;
  }

  .company-branch {
    font-size: 13px;
  }
  .company-branch-map {
    margin-top: 30px;
    margin-bottom: 100px;
  }

  .company-branch-map iframe {
    width: 100%;
    height: 172px;
  }

  .underline {
    padding-bottom: 3px;
    border-bottom: solid 3px rgb(0, 100, 183);
  }
}
