@charset "utf-8";
/* CSS Document */

main {
  overflow: hidden;
}

/* メインイメージ
---------------------------------------------*/
.top-main-img {
  width: 100%;
  height: calc(100vh - 230px - 86px);
  margin-top: 86px;
}
/*.top-main-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: calc(100vh - 230px);
  background: url(../images/main_image.jpg) no-repeat center center;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
  margin: 0 auto;
}*/
.top-main-img::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 230px);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url( "../images/main_image.jpg");
  background-size: cover;
  z-index: -1;
}
.top-main-img-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: fit-content;
  transform: translate(-50%, -100%);
}
.top-main-img-wrap h2 {
  color: #fff;
  font-size: 4.0rem;
  font-weight: 600;
  text-shadow: rgba(0, 0, 0, .5) 2px 2px 8px;
  line-height: 1.5em;
}

/* メインテキスト
---------------------------------------------*/
.top-main-txt {
  background-color: #E5E5E5;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.top-main-txt h2 {
  color: #005BAC;
  font-size: 2.7rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.top-main-txt p {
  font-size: 1.8rem;
}

/* 事業内容
---------------------------------------------*/
.top-business {
  position: relative;
  height: 800px;
  background-color: #fff;
}
.top-business .top-bg {
  min-height: 450px;
  position: absolute;
  top: 240px;
  z-index: 1;
}
.top-business .top-bg::before {
  content: "Business";
  position: absolute;
  color: rgba(255, 153, 0, .3);
  font-size: 8.33vw;
  bottom: 420px;
  z-index: 2;
}
.top-business .top-bg img {
  width: 100%;
  height: 100%;
}
.top-business .top-h3 {
  position: absolute;
  top: 120px;
  right: 18.75%;
  background-color: #000;
  width: 250px;
  height: 250px;
  letter-spacing: 0em;
  z-index: 21;
}
.top-business h3::after { /* 右下の三角形 */
  content: "";
  position: absolute;
  z-index: 100;
  bottom: 11px;
  right: 11px;
  border-left: 90px solid transparent;
  border-bottom: 90px solid #FDD000;
  z-index: 22;
}
.top-business .top-h3 h3 {
  color: #fff;
  font-size: 4.2rem;
  display: inline-block;
  border: 1px solid #fff;
  width: 230px;
  height: 230px;
  padding-top: 30px;
  padding-left: 5px;
  margin: 10px;
}
.top-business p {
  position: absolute;
  top: 420px;
  right: 16%;
  font-size: 1.8rem;
  text-align: right;
  line-height: 1.5em;
  white-space: nowrap;
  background-color: rgba(255, 176, 58, .5);
  mix-blend-mode: multiply;
  padding: 0.25em 3em 1em 24em;
  z-index: 19;
}
.top-business .btn {
  position: absolute;
  top: 580px;
  left: 55%;
  z-index: 32;
}

/* 企業情報
---------------------------------------------*/
.top-about {
  position: relative;
  height: 850px;
  background-color: #fff;
}
.top-about::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 11%;
  width: 35px;
  min-height: 810px;
  background-color: rgba(63, 146, 219, .3);
  mix-blend-mode: multiply;
  z-index: 2;
}
.top-about .top-bg {
  min-height: 450px;
  position: absolute;
  top: 180px;
  right: 0;
  z-index: 1;
}
.top-about .top-bg::before {
  content: "About us";
  position: absolute;
  color: rgba(63, 146, 219, .3);
  font-size: 8.33vw;
  bottom: 420px;
  right: 0;
  z-index: 2;
}
.top-about .top-bg img {
  width: 100%;
  height: 100%;
}
.top-about .top-h3 {
  position: absolute;
  top: 100px;
  left: 18.75%;
  background-color: #000;
  width: 250px;
  height: 250px;
  letter-spacing: 0em;
  z-index: 21;
}
.top-about h3::after { /* 右下の三角形 */
  content: "";
  position: absolute;
  z-index: 100;
  bottom: 11px;
  right: 11px;
  border-left: 90px solid transparent;
  border-bottom: 90px solid #005BAC;
  z-index: 22;
}
.top-about .top-h3 h3 {
  color: #fff;
  font-size: 4.2rem;
  display: inline-block;
  border: 1px solid #fff;
  width: 230px;
  height: 230px;
  padding-top: 30px;
  padding-left: 5px;
  margin: 10px;
}
.top-about p {
  position: absolute;
  top: 380px;
  left: 18.75%;
  font-size: 1.8rem;
  text-align: right;
  line-height: 1.5em;
  background-color: rgba(255, 255, 255, .6);
  padding: 0 1.5em 0.5em 0.25em;
  z-index: 19;
}
.top-about-busi {
  display: block;
  position: absolute;
  top: 430px;
  right: 36%;
  width: 354px;
  height: 324px;
  z-index: 31;
}
.top-about-philo {
  display: block;
  position: absolute;
  top: 430px;
  right: 12%;
  width: 354px;
  height: 354px;
  z-index: 31;
}
.top-about-busi img, .top-about-philo img {
  width: 90%;
  height: auto;
  border: 4px solid #000;
}
.top-about .btn1, .top-about .btn2 {
  position: absolute;
  top: 260px;
  left: 12%;
  z-index: 32;
}

/* access
---------------------------------------------*/
.top-access {
  position: relative;
  background-color: #E5E5E5;
  height: 1350px;
}
.top-access::before {
  content: "";
  position: absolute;
  top: 0;
  left: 11%;
  width: 35px;
  height: 100%;
  background-color: rgba(63, 146, 219, .3);
  mix-blend-mode: multiply;
  z-index: 2;
}
.top-access::after {
  content: "Access";
  position: absolute;
  color: rgba(63, 146, 219, .3);
  font-size: 8.33vw;
  top: 0;
  left: 13%;
  z-index: 3;
}
.top-access h3 {
  color: #005BAC;
  position: absolute;
  top: 110px;
  left: calc(100% / 2 - 2em);
}
.top-access h4 {
  color: #005BAC;
  font-size: 3.2rem;
  font-weight: 500;
}
.top-access h4::before {
  content: "";
  padding-right: 0;
}
.map1 {
  position: absolute;
  width: 100%;
  min-height: 450px;
  top: 240px;
  z-index: 30;
}
.map2 {
  position: absolute;
  width: 100%;
  min-height: 450px;
  top: 790px;
  z-index: 30;
}
.add {
  display: flex;
}
.add iframe {
  width: 70%;
  min-height: 450px;
  padding-right: 2%;
}
.add .add-data {
  flex-grow: 1;
}


@media (max-width: 1600px) {
  .top-about-busi {
    right: 32%;
  }
  .top-about-philo {
    right: 8%;
  }
}

@media (max-width: 1400px) {
  .top-about-busi {
    right: 44%;
  }
}

@media (max-width: 1024px) {
  .top-main-img-wrap h2 {
    font-size: 3.6rem;
  }
  .top-business {
    height: 760px;
  }
  .top-business .btn {
    top: 620px;
    left: 47%;
  }
  .top-about::before {
    min-height: 860px;
  }
  .top-about {
    height: 900px;
  }
  .top-about-busi {
    top: 450px;
    right: 43%;
  }
  .top-about-philo {
    top: 450px;
    right: 5%;
  }
}

@media (max-width: 768px) {
  .top-main-img-wrap h2 {
    font-size: 3.2rem;
    text-align: center;
    line-height: 1.75em;
  }
  .top-about-busi {
    left: 3%;
  }
  .top-about-philo {
    right: 3%;
  }
  /*アクセス*/
  .add iframe {
    width: 64%;
  }
}

@media (max-width: 767px) {
  .top-business {
    height: 670px;
  }
  .top-business .top-bg {
    top: 280px;
  }
  .top-business .top-h3 {
    top: 180px;
    left: 4%;
  }
  .top-business p {
    top: 100px;
    right: 0;
    text-align: left;
    white-space: normal;
    padding: 0.25em 3em 2em;
  }
  .top-business .top-bg::before {
    top: 270px;
    font-size: 80px;
  }
  .top-business .btn {
    top: 490px;
    left: calc(100% / 2 - 46%);
    width: 92%;
  }
  .top-about::before {
    display: none;
  }
  .top-about .top-bg::before {
    bottom: 100px;
    left: 0;
    font-size: 80px;
  }
  .top-about .top-h3 {
    left: calc((100% - 250px) - 4%);
  }
  .top-about p {
    top: 50px;
    left: 0;
    background-color: rgba(63, 146, 219, .3);
    padding: 0.25em 5em 2em 4%;
  }
  .top-about {
    height: 1198px;
  }
  .top-about-busi {
    top: 380px;
    left: 4%;
  }
  .top-about-philo {
    top: 744px;
    left: 4%;
  }
  .top-access::before {
    display: none;
  }
  .top-access::after {
    left: 0;
  }
  .top-access h3 {
    left: calc(100% / 2 - 2em);
    font-size: 40px;
  }
  /* 事業内容タイトル */
  .top-business .top-h3 {
    width: 45%;
    height: auto;
  }
  .top-business .top-h3::before {
    content: "";
    display: block;
    padding-top: 95%;
  }
  .top-business .top-h3 h3 {
    position: absolute;
    left: 5%;
    top: 5%;
    width: 90%;
    height: 90%;
    font-size: 40px;
    margin: 0;
  }
  .top-business .top-h3 h3::after {
    bottom: 0;
    right: 0;
    border-left: 70px solid transparent;
    border-bottom: 70px solid #FDD000;
  }
  /* 企業情報タイトル */
  .top-about .top-h3 {
    left: auto;
    right: 4%;
    width: 45%;
    height: auto;
  }
  .top-about .top-h3::before {
    content: "";
    display: block;
    padding-top: 95%;
  }
  .top-about .top-h3 h3 {
    position: absolute;
    left: 5%;
    top: 5%;
    width: 90%;
    height: 90%;
    font-size: 40px;
    margin: 0;
  }
  .top-about .top-h3 h3::after {
    bottom: 0;
    right: 0;
    border-left: 70px solid transparent;
    border-bottom: 70px solid #005BAC;
  }
}

@media (max-width: 600px) {
  .top-main-img-wrap {
    top: calc(50% - -2em);
  }
  .top-main-img-wrap h2 {
    font-size: 2.7rem;
  }
  .top-main-txt h2 {
    font-size: 2.1rem;
    letter-spacing: 0.1em;
  }
  .top-main-txt p {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }
  .top-main-txt {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .top-business {
    height: 720px;
  }
  .top-business .top-bg {
    top: 350px;
  }
  .top-business .top-bg img {
    width: 100%;
    height: 300px;
    background-size: contain;
  }
  .top-business .top-h3 {
    top: 240px;
  }
  .top-business .btn {
    top: 540px;
  }
  .top-about {
    height: 1286px;
  }
  .top-about .top-bg {
    top: 220px;
    left: 0;
  }
  .top-about .top-bg img {
    position: relative;
    top: 0;
    left: -312px;
    width: auto;
    height: 920px;
  }
  .top-about .top-bg::before {
    bottom: -42px;
  }
  .add {
    display: inline;
  }
  .add iframe {
    width: 100%;
    padding: 0;
  }
  .map1 {
    min-height: 250px;
    top: 200px;
  }
  .map2 {
    min-height: 250px;
    top: 800px;
  }
  .add .add-data {
    flex-grow: 1;
    text-align: center;
    margin-top: 20px;
  }
  .top-access {
    height: 1462px;
  }
  .top-access::after {
    left: calc(100% / 2 - 1.6em);
    font-size: 80px;
  }
}

@media (max-width: 414px) {
  .top-business .top-h3, .top-about .top-h3 {
    width: 62%;
  }
  .top-business .top-h3 h3, .top-about .top-h3 h3 {
    font-size: 36px;
  }
}

@media (max-width: 375px) {
  .top-main-img-wrap h2 {
    font-size: 2.4rem;
  }
  .top-business .top-bg::before, .top-about .top-bg::before {
    font-size: 64px;
  }
  .top-access h4 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .top-about .btn1, .top-about .btn2 {
    top: 260px;
    right: 4%;
    min-width: 300px;
  }
}

@media (max-width: 360px) {
  .top-about {
    height: 1146px;
  }
  .top-about .top-bg img {
    height: 762px;
  }
  .top-about-busi {
    top: 368px;
  }
  .top-about-philo {
    top: 668px;
  }
  .top-about-busi, .top-about-philo {
    left: 4%;
    right: auto;
    width: 300px;
    height: 300px;
  }
  .top-about-busi img, .top-about-philo img {
    width: 85%;
  }
  .top-about .btn1, .top-about .btn2 {
    top: 200px;
    min-width: 250px;
  }
}

@media (max-width: 320px) {
  .top-about .btn1, .top-about .btn2 {
    min-width: 240px;
  }
}