/*top
--------------------------------------------------------*/
#top {
  background:  url(../img/img_top.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  height: calc(100vh - 55px);
  width: 100%;
  max-width: 1920px;
  margin: 55px auto 100px;
  position: relative;
}

.container_top {
  justify-content: center;
  align-items: center;
}

.box_inner {
  text-align: center;
  background: #fff;
  padding: 12px 28px;
  position: relative;
}

.box_inner:after {
  content: '';
  position: absolute;
  top: -7px;
  left: -7px;
  right: 0;
  margin: 0;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 2px solid #fff;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .3rem;
  line-height: 3rem;
}

.box_btn_pageBottom {
  text-align: center;
}

.ic_arrow{
  height: 60px;
  -webkit-animation: arrowScroll 3s infinite;
  animation: arrowScroll 3s infinite;
}

@keyframes arrowScroll {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(0, 10px);
  }
  40% {
    transform: translate(0, 0);
  }
}

.box_scroll_arrow {
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  z-index: 100;
  cursor: pointer;
}

.box_scroll {
  text-align: center;
  display: block;
}

/*message
--------------------------------------------------------*/
#message {
  overflow: hidden;
}

.box_message {
  text-align: center;
}

.container_message {
  align-items: center;
  gap: 80px;
  margin-bottom: 150px;
}

.box_img {
  position: relative;
}

.img_message {
  border-radius: 5px;
}

.box_img:after {
  border-radius: 0 10px 10px 0;
  content: '';
  width: 150%;
  position: absolute;
  top: 30px;
  left: -55%;
  height: 367px;
  z-index: -10;
  background: rgb(226,245,250);
  background: linear-gradient(-45deg, rgba(226,245,250,1) 0%, rgb(255 255 255) 100%);
}

.box_img_right:after {
  border-radius: 0 0 10px 10px ;
  content: '';
  width: 150%;
  position: absolute;
  top: 30px;
  left: 5%;
  height: 367px;
  z-index: -10;
  background: rgb(226,245,250);
  background: linear-gradient(45deg, rgba(226,245,250,1) 0%, rgb(255 255 255) 100%);
}

.message_main {
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: .14rem;
  border-bottom: 2px solid #5F9EAF;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.message_main_en {
  color: #5F9EAF;
  font-size: 1.4rem;
  margin-bottom: 100px;
  font-family: "Helvetica Neue";
  font-style: italic;
  font-weight: 300;
  letter-spacing: .18rem;
}

.heading_message {
  font-family: "Helvetica Neue";
  color: #5F9EAF;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: .18rem;
  margin-bottom: 10px;
}

.container_imgRight {
  flex-direction: row-reverse;
}

/*portfolio
--------------------------------------------------------*/
#portfolio {
  background: #FAFAFA;
  padding: 60px 0;
}

.box_title_portfolio {
  display: flex;
  margin: 0 auto 50px;
  align-items: center;
  justify-content: center;
}

.title_portfolio {
  background: #fff;
  border: 2px solid #dde8eb;
  font-size: 1.6rem;
  color: #5F9EAF;
  padding: 10px 30px;
  margin-right: 40px;
  text-align: center;
  box-shadow: 10px 10px 0 #DDE8EB;
  line-height: 1.4;
  letter-spacing: .18rem;
}

.title_portfolio_en {
  color: #666;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: .14rem;
}

/*contact
--------------------------------------------------------*/
#contact {
  background: rgb(226,245,250);
  background: linear-gradient(-45deg, rgba(226,245,250,1) 0%, rgb(255 255 255) 100%);
  padding: 60px 0;
}

.container_contact {
  align-items: center;
  padding: 20px;
  gap: 0;
  margin-bottom: 100px;
}

.img_contact {
  z-index: 0;
}

.contact_text {
  background: #fff;
  border-radius: 5px;
  padding: 30px 50px 30px 80px;
  margin-left: -30px;
  margin-bottom: -160px;
}
/*@media (max-width: 992px)
--------------------------------------------------------*/
@media (max-width: 992px) {
  /*top
  --------------------------------------------------------*/
  #top {
    width: 100%;
    height: 60vh;
    margin: 40px auto;
    background: url(../img/img_top_mobile.jpg) center center no-repeat;
    background-size: cover;
  }

  h1 {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    line-height: 1.6;
  }

  /*message
  --------------------------------------------------------*/
  .box_scroll {
    text-align: center;
    display: block;
    width: 86%;
    margin: 0 auto;
  }

  .ic_arrow {
    height: 3rem;
  }

  .container_message {
    display: block;
    padding: 0;
    margin-bottom: 10px;
  }

  .message_main {
    font-size: 1.2rem;
  }

  .message_main_en {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .img_message {
    width: 100%;
    margin-bottom: 20px;
  }

  .box_text {
    text-align: center;
    background: #fff;
    border-radius: 0 0 5px 5px;
    padding: 20px 0 25px;
    margin: -20px 0 0;
    width: 100%;
    z-index: 100;
  }

  .heading_message {
    font-size: 1.6rem;
    letter-spacing: .14rem;
  }

  .img_contact {
    border-radius: 5px 5px 0 0;
  }

  .text_message {
    font-size: 1rem;
  }

  .box_img:after {
    height: 150%;
  }

  .box_img:after {
    border-radius: 10px;
    background: rgb(226,245,250);
    background: linear-gradient(180deg, rgba(226,245,250,1) 0%, rgba(226,245,250,.8) 70%, rgb(255 255 255) 100%);
  }

  .box_img_right:after {
    border-radius: 10px;
    background: rgb(226,245,250);
    background: linear-gradient(180deg, rgba(226,245,250,1) 0%, rgba(226,245,250,.8) 70%,  rgb(255 255 255) 100%);
  }

  /*portfolio
  --------------------------------------------------------*/
  #portfolio {
    padding: 40px 0 10px;
    overflow: hidden;
  }

  .box_title_portfolio {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .title_portfolio {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 15px;
    padding: 8px 20px;
  }

  .title_portfolio_en {
    font-size: .8rem;
  }

  .description_portfolio {
    text-align: center;
    font-size: 1rem;
  }

  /*contact
  --------------------------------------------------------*/
  #contact {
    padding: 0;
  }

  .container_contact {
    margin-bottom: 0;
    padding: 40px 0;
  }
}