/* Common
-------------------------------- */
#top #sec_message,
#top #sec_about {
  margin-top: -80px;
  padding-top: 80px;
}
@media screen and (max-width: 1000px) {
  #top #sec_message,
  #top #sec_about {
    margin-top: -60px;
    padding-top: 60px;
  }
}
#top .content {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
@media screen and (max-width: 767px) {
  #top .content {
    padding: 80px 0;
  }
}
#top .bg_title {
  position: absolute;
  top: 20px;
  left: -10px;
}
@media screen and (max-width: 767px) {
  #top .bg_title {
    top: 50px;
  }
}
#top .bg_title .text {
  font-size: 220px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
  color: rgba(1, 142, 99, 0.2);
}
@media screen and (max-width: 767px) {
  #top .bg_title .text {
    font-size: 72px;
  }
}
#top .main_title .inner {
  position: relative;
  border-top: 1px solid #fff;
  max-width: calc(50vw + 500px);
  margin: 0 0 0 auto;
  padding-top: 40px;
}
@media screen and (max-width: 767px) {
  #top .main_title .inner {
    max-width: 100%;
    margin: 0 0 0 20px;
    padding-top: 20px;
  }
}
#top .main_title .inner::after {
  content: "";
  top: -1px;
  position: absolute;
  left: 0;
  width: 400px;
  height: 1px;
  background-color: #004BAD;
}
@media screen and (max-width: 767px) {
  #top .main_title .inner::after {
    width: 100px;
  }
}
#top .main_title .en {
  font-size: 96px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 10px;
  font-family: YuMincho, "Yu Mincho", serif;
}
@media screen and (max-width: 767px) {
  #top .main_title .en {
    font-size: 50px;
    bottom: 5px;
  }
}
#top .main_title .jp {
  font-size: 20px;
  font-weight: bold;
  color: #004BAD;
}
@media screen and (max-width: 767px) {
  #top .main_title .jp {
    font-size: 18px;
  }
}

/* Main Visual
-------------------------------- */
#sec_mainv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #0e1f4d;
}
#sec_mainv .box_top {
  position: relative;
  height: calc(100vh - 230px);
  background-color: #091023;
}
@media screen and (max-width: 767px) {
  #sec_mainv .box_top {
    height: 190px;
  }
}
#sec_mainv .catch {
  position: absolute;
  top: 220px;
  left: 55px;
  z-index: 1;
  width: 100%;
}
@media screen and (max-width: 767px) {
  #sec_mainv .catch {
    top: 95px;
    left: 20px;
  }
}
#sec_mainv .catch .text {
  font-size: 62px;
  font-weight: bold;
  color: #fff;
}
@media screen and (max-width: 767px) {
  #sec_mainv .catch .text {
    font-size: 30px;
  }
}
#sec_mainv .mainvisual_slide {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 320px);
  height: calc(100vh - 65px);
}
@media screen and (max-width: 767px) {
  #sec_mainv .mainvisual_slide {
    position: relative;
    width: 100%;
    height: calc(100vh - 400px);
  }
}
#sec_mainv .mainvisual_slide .slick-list {
  height: 100%;
}
#sec_mainv .mainvisual_slide .slick-list * {
  height: 100%;
}
#sec_mainv .mainvisual_slide .slick-dots {
  bottom: -35px;
  text-align: right;
  padding-right: 40px;
}
@media screen and (max-width: 767px) {
  #sec_mainv .mainvisual_slide .slick-dots {
    bottom: -25px;
    text-align: center;
    padding: 0;
  }
}
#sec_mainv .mainvisual_slide .slick-dots li {
  margin: 0 15px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.5);
}
@media screen and (max-width: 767px) {
  #sec_mainv .mainvisual_slide .slick-dots li {
    margin: 0 10px;
  }
}
#sec_mainv .mainvisual_slide .slick-dots li.slick-active button::before {
  opacity: 1;
}
#sec_mainv .mainvisual_slide .slick-dots li button {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
}
#sec_mainv .mainvisual_slide .slick-dots li button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 10px;
  color: transparent;
  background-image: url("/img/top/icon-car.png");
  background-size: cover;
  opacity: 0;
}
#sec_mainv .mainvisual_slide .image {
  height: 100%;
}
#sec_mainv .mainvisual_slide .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#sec_mainv .scroll_down {
  position: absolute;
  left: 55px;
  bottom: 0;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #sec_mainv .scroll_down {
    left: 50%;
  }
}
#sec_mainv .scroll_down .line {
  position: relative;
  width: 1px;
  height: 90px;
  overflow: hidden;
}
#sec_mainv .scroll_down .line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 60px;
  background-color: #fff;
  animation: scrollDown 2s ease-in-out infinite;
}
#sec_mainv .scroll_down .text {
  position: absolute;
  left: -0.5em;
  bottom: 110px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  line-height: 1;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
}
@media screen and (max-width: 767px) {
  #sec_mainv .scroll_down .text {
    font-size: 10px;
    bottom: 100px;
  }
}

@keyframes scrollDown {
  0% {
    top: -60px;
  }
  100% {
    top: 90px;
  }
}
/* Loop Slide Text
-------------------------------- */
.loop_text {
  position: relative;
  background-color: #0e1f4d;
}
.loop_text .loop_slide {
  position: relative;
}
@media screen and (max-width: 767px) {
  .loop_text .loop_slide {
    padding-bottom: 50px;
  }
}
.loop_text .loop_slide .text span {
  display: inline-block;
  font-size: 150px;
  font-weight: bold;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  color: #111b36;
  white-space: nowrap;
  padding-right: 0.5em;
}
@media screen and (max-width: 767px) {
  .loop_text .loop_slide .text span {
    font-size: 100px;
  }
}
.loop_text .image_car {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 241px;
  transform: translate(-50%, 50%);
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .loop_text .image_car {
    width: 191px;
    bottom: 50px;
  }
}

/* Scroll Text
-------------------------------- */
.scroll_text {
  position: relative;
  background-color: #0e1f4d;
}
@media screen and (max-width: 767px) {
  .scroll_text {
    padding-bottom: 50px;
  }
}
.scroll_text .text_box {
  overflow: hidden;
}
.scroll_text .animation {
  display: flex;
  gap: 20px;
  transition: all 0.3s;
  opacity: 1;
  animation: scrollText 20s linear infinite;
}
@media screen and (max-width: 767px) {
  .scroll_text .animation {
    animation: scrollText 12s linear infinite;
  }
}
.scroll_text .animation .text {
  display: inline-block;
  font-size: 150px;
  font-weight: bold;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  color: #111b36;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .scroll_text .animation .text {
    font-size: 100px;
  }
}
.scroll_text .image_car {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 241px;
  transform: translate(-50%, 50%);
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .scroll_text .image_car {
    width: 191px;
  }
}

@keyframes scrollText {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
/* Message
-------------------------------- */
#sec_message .content {
  padding: 100px 0 250px;
  background-color: #0e1f4d;
}
@media screen and (max-width: 767px) {
  #sec_message .content {
    padding: 50px 0 125px;
  }
}
#sec_message .main_title {
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  #sec_message .main_title {
    margin-bottom: 15px;
  }
}
#sec_message .flex_box {
  display: flex;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  #sec_message .flex_box {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}
#sec_message .image_box {
  width: 360px;
}
@media screen and (max-width: 767px) {
  #sec_message .image_box {
    width: 260px;
  }
}
#sec_message .text_box {
  flex: 1;
}
@media screen and (max-width: 767px) {
  #sec_message .text_box {
    flex: auto;
  }
}
#sec_message .catch {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  #sec_message .catch {
    font-size: 18px;
    margin-bottom: 30px;
  }
}
#sec_message .sentence {
  color: #fff;
  line-height: 2;
  text-align: justify;
  margin-bottom: 20px;
}
#sec_message .name {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  color: #fff;
  font-weight: bold;
}

/* Loop Slide Photo
-------------------------------- */
.loop_photo {
  position: relative;
  height: 300px;
  margin-top: -150px;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .loop_photo {
    margin-top: -75px;
    height: 150px;
  }
}
.loop_photo .loop_slide .image {
  width: 300px;
  height: 300px;
  margin-right: 30px;
}
@media screen and (max-width: 767px) {
  .loop_photo .loop_slide .image {
    width: 150px;
    height: 150px;
    margin-right: 15px;
  }
}
.loop_photo .loop_slide .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* About
-------------------------------- */
#sec_about .content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 100px 0 0;
}
@media screen and (max-width: 767px) {
  #sec_about .content {
    padding: 50px 0 0;
  }
}
#sec_about .map {
  position: relative;
  margin: -180px 0 70px;
}
@media screen and (max-width: 767px) {
  #sec_about .map {
    margin: -60px 0 20px;
  }
}
@media screen and (max-width: 767px) {
  #sec_about .map .wrap.box1 {
    padding: 0 10px;
  }
}
#sec_about .map .wrap.box2 {
  max-width: 720px;
}
#sec_about .map img {
  margin-bottom: 40px;
}
#sec_about .map .sentence {
  line-height: 2;
  color: #fff;
}
#sec_about .list {
  padding: 90px 0 100px;
  background-color: #091023;
}
#sec_about .list .title {
  text-align: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 45px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
#sec_about .list .wrap {
  max-width: 760px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .wrap {
    padding: 0 10px;
  }
}
#sec_about .list .company_list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
#sec_about .list .company_list .link_btn {
  margin-bottom: 40px;
}
#sec_about .list .company_list .link_btn a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn a {
    justify-content: flex-start;
    height: 80px;
  }
}
#sec_about .list .company_list .link_btn a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 10px;
  transition: 0.5s;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn a::before {
    border-radius: 5px;
  }
}
#sec_about .list .company_list .link_btn a:hover {
  opacity: 0.9;
}
#sec_about .list .company_list .link_btn a:hover::before {
  transform: scale(0.97);
}
#sec_about .list .company_list .link_btn img {
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img {
    padding-left: 10px;
  }
}
#sec_about .list .company_list .link_btn img.kansai, #sec_about .list .company_list .link_btn img.kanto {
  width: 204px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.kansai, #sec_about .list .company_list .link_btn img.kanto {
    width: 156px;
  }
}
#sec_about .list .company_list .link_btn img.izumi {
  width: 336px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.izumi {
    width: 190px;
  }
}
#sec_about .list .company_list .link_btn img.saga {
  width: 392px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.saga {
    width: 220px;
  }
}
#sec_about .list .company_list .link_btn img.gijapan {
  width: 386px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.gijapan {
    width: 220px;
  }
}
#sec_about .list .company_list .link_btn img.fujibayashi {
  width: 300px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.fujibayashi {
    width: 200px;
  }
}
#sec_about .list .company_list .link_btn img.dogvillaplumeria {
  width: 300px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.dogvillaplumeria {
    width: 200px;
  }
}
#sec_about .list .company_list .link_btn img.arrow {
  width: 44px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn img.arrow {
    width: 32px;
  }
}
#sec_about .list .company_list .link_btn .external {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid #004BAD;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn .external {
    width: 86px;
    height: 28px;
  }
}
#sec_about .list .company_list .link_btn .external span {
  font-size: 13px;
  color: #004BAD;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn .external span {
    font-size: 10px;
  }
}
#sec_about .list .company_list .link_btn .arrow,
#sec_about .list .company_list .link_btn .external {
  position: absolute;
  top: 50%;
  right: 45px;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .link_btn .arrow,
  #sec_about .list .company_list .link_btn .external {
    right: 15px;
  }
}
#sec_about .list .company_list .offices {
  text-align: center;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .offices {
    text-align: left;
  }
}
#sec_about .list .company_list .offices .rows {
  display: inline-flex;
  flex-direction: column;
  gap: 15px;
}
#sec_about .list .company_list .offices p {
  display: flex;
  color: #fff;
  text-align: left;
}
#sec_about .list .company_list .offices p .span1 {
  width: 104px;
}
@media screen and (max-width: 767px) {
  #sec_about .list .company_list .offices p .span1 {
    width: 76px;
  }
}
#sec_about .list .company_list .offices p .span2 {
  flex: 1;
}

/* Staff
-------------------------------- */
#sec_staff .content {
  background-color: #091023;
}
#sec_staff .main_title {
  margin-bottom: 60px;
}
@media screen and (max-width: 767px) {
  #sec_staff .main_title {
    margin-bottom: 30px;
  }
}
#sec_staff .sentence {
  color: #fff;
  line-height: 2;
  text-align: justify;
}
#sec_staff .more_btn {
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  #sec_staff .more_btn {
    margin-top: 20px;
  }
}
#sec_staff .more_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  border-radius: 30px;
  border: 1px solid #004BAD;
}
@media screen and (max-width: 767px) {
  #sec_staff .more_btn a {
    width: 132px;
    height: 36px;
  }
}
#sec_staff .more_btn a:hover {
  background-color: #fff;
}
#sec_staff .more_btn a .text {
  font-size: 14px;
  color: #004BAD;
}
@media screen and (max-width: 767px) {
  #sec_staff .more_btn a .text {
    font-size: 12px;
  }
}

/* Contact
-------------------------------- */
#sec_contact .content {
  background: linear-gradient(to right, #004BAD, #091023);
}
#sec_contact .wrap {
  max-width: 760px;
}
#sec_contact .sentence {
  color: #fff;
  line-height: 2;
  margin-bottom: 60px;
}
@media screen and (max-width: 767px) {
  #sec_contact .sentence {
    margin-bottom: 40px;
  }
}
#sec_contact .mail iframe {
  width: 100%;
}

/* Parallax
-------------------------------- */
.parallax {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-image: url("/img/top/parallax.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}