@import url(../css/global.css);
@import url(../css/header.css);
@import url(../css/footer.css);
@import url(../css/master-parts.css);

body {
  background: #2c2c2c;
  color: #fff;
}

#top .inner {
  max-width: unset;
  margin: unset;
}

/* mv start */
.mv {
  background: #fff url(../img/top-banner.jpg);
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 8vw 2% 60px;
  position: relative;
}

.mv__textbox {
  position: relative;
}

.mv__heading {
    color: #000;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: 0.2rem;
    position: absolute;
    right: 10%;
    bottom: 16rem;
    z-index: 2;
    text-align: left;
    font-family: var(--font-family-2);
}

.mv__heading span {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.4s;
  animation: mv-letters cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s forwards;
  text-shadow: 0px 0px 3px white, 0px 0px 3px white, 0px 0px 3px white;
}

.mv__heading span:nth-child(1) {
  animation-delay: 1.15s;
}

.mv__heading span:nth-child(2) {
  animation-delay: 1.2s;
}

.mv__heading span:nth-child(3) {
  animation-delay: 1.25s;
}

.mv__heading span:nth-child(4) {
  animation-delay: 1.3s;
}

.mv__heading span:nth-child(5) {
  animation-delay: 1.35s;
}

.mv__heading span:nth-child(6) {
  animation-delay: 1.4s;
}

.mv__heading span:nth-child(7) {
  animation-delay: 1.45s;
}

.mv__heading span:nth-child(8) {
  animation-delay: 1.5s;
}

.mv__heading span:nth-child(9) {
  animation-delay: 1.55s;
}

.mv__heading span:nth-child(10) {
  animation-delay: 1.6s;
}

.mv__heading span:nth-child(11) {
  animation-delay: 1.65s;
}

.mv__heading span:nth-child(12) {
  animation-delay: 1.7s;
}

.mv__heading span:nth-child(13) {
  animation-delay: 1.75s;
}

.mv__heading span:nth-child(14) {
  animation-delay: 1.8s;
}

.mv__heading span:nth-child(15) {
  animation-delay: 1.85s;
}

.mv__heading span:nth-child(16) {
  animation-delay: 1.9s;
}
.mv__heading span:nth-child(17) {
  animation-delay: 1.95s;
}
.mv__heading span:nth-child(18) {
  animation-delay: 2s;
}
.mv__heading span:nth-child(19) {
  animation-delay: 2.05s;
}
.mv__heading span:nth-child(20) {
  animation-delay: 2.1s;
}

.mv__heading span:nth-child(21) {
  animation-delay: 2.15s;
}

.mv__heading span:nth-child(22) {
  animation-delay: 2.2s;
}

.mv__textbox img {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  bottom: -57px;
}

.mv__heading--pc {
  display: block;
}

.mv__heading--sp {
  display: none;
}

.mv__image {
  width: 60vw;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  position: relative;
  /* bottom: -85px; */
  z-index: 2;
  /* height: 25vh; *//*Ã¨Â¿Â½Ã¨Â¨ËœÃ¥Ë†â€ Ã£â‚¬â€šÃ¦Â³Â¨Ã¦â€žÂ*/
}

.mv__image::after {
  content: "";
  display: block;
  width: 15%;
  aspect-ratio: 1 / 1;
  background: url(../img/ribbon.png) no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -60vh;
  right: calc(0vw - 139px);
  margin-right: 5vw;
  opacity: 0;
  transition: opacity 0.6s;
  animation: fade-in-zoom cubic-bezier(0.215, 0.61, 0.355, 1) 0.6s forwards;
  animation-delay: 2s;
}

.mv__image img {
  display: block;
  width: calc(calc(100% / 3) - calc(40px * calc(2 / 3)));
  opacity: 0;
  transition: opacity 0.4s;
  animation: mv-letters2 cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s forwards;
  display: none;
}

.mv__image img:nth-child(1) {
  animation-delay: 1s;
}

.mv__image img:nth-child(2) {
  animation-delay: 1.05s;
}

.mv__image img:nth-child(3) {
  animation-delay: 1.1s;
}
/* mv end */

/* top - news section start */
.top-news {
  position: relative;
  z-index: 1;
  background: #fff url(../img/news2.png) no-repeat;
  background-size: 100% auto;
  background-position: center top;
  /* padding-top: 50px; */
  margin-top: -50px;
}

.top-news .section__ttl {
  color: #664414;
}

.top-news__ttl {
  color: #000;
  line-height: 1;
  font-size: 60px;
  padding-left: 23%;
}

.top-news.container-margin-tb {
  margin-bottom: 0;
}

.top-news__list {
  display: flex;
}

.top-news__list .slick-slide {
  margin: 0 12px;
}

.top-news__link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-news__link .image {
  width: 100%;
  height: 144px;
}

.top-news__link .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news__link .text {
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 15px 15px 15px 15px;
  width: 100%;
  height: 150px;
  line-height: 1.1;
  justify-content: center;
}

.top-news__link .text-logo {
  max-width: 200px;
}

.top-news__link .text__date,
.top-news__link .text__ttl {
  font-family: var(--font-family-2);
  font-weight: bold;
}

.top-news .btn a {
  border: none;
  max-width: none;
  justify-content: flex-end;
  font-family: var(--font-family-2);
  font-size: 16px;
  /*background-color: #2c2c2c;*/
}
/* top - news section end */

/* top - access section start */

.top-access__desc {
  text-align: center;
}

.top-access__map {
  height: 600px;
}

.top-access .wrapper {
  position: relative;
  background: #fff;
}

.top-access .wrapper > img {
  object-fit: contain;
  min-height: 900px;
}

.top-access .map {
  /* width: 20vw; */
  border: 1px solid #2c2c2c;
  background: #fff;
  position: absolute;
  z-index: 1;
  height: 380px;
}

.top-access .map--1 {
  top: 9%;
  right: 52%;
}

.top-access .map--2 {
  right: 25%;
  top: 52%;
}

.top-access .map--3 {
  top: 21px;
  left: 64%;
}

.top-access .map__ttl {
  color: #fff;
  background: #2c2c2c;
  padding: 12px;
  font-size: 20px;
}

.top-access .map__desc {
  background: #fff;
  color: #000;
  padding: 12px;
  position: relative;
  z-index: 2;
}

/* top - access section end */

/* top interview start*/
.top-section .wrapper {
  display: flex;
}

.top-section__imgbox {
  width: 55%;
  padding-top: 1.5vw;
}

.top-section__textbox {
  background: url(../img/brown-bg.png) no-repeat;
  background-position: top right;
  background-size: cover;
  width: 45%;
  padding: 5vw 3% 30px 30px;
  max-height: 28vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-interview .btn a {
  background-image: linear-gradient(to right, #452b0a, #503106);
}
/* top interview end */

/* business start */

.top-business .inner {
  background: url(../img/brown-solid-line.png);
  background-repeat: no-repeat;
  background-size: 45% auto;
  background-position: left top 60%;
}

.top-business .section__ttl {
  margin-left: 15%;
  position: relative;
  z-index: 3;
}

.top-business .wrapper {
  display: flex;
}

.top-business .wrapper.reverse {
  flex-direction: row-reverse;
}

.top-business__heating {
  background: url(../img/red-brown-bg.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top;
  padding-top: 30px;
  margin-top: -280px;
}

.top-business__construction {
  background: url(../img/red-solid-line.png);
  background-repeat: no-repeat;
  background-size: 70% auto;
  background-position: right bottom 40px;
}

.top-business__heating .top-business__imgbox {
  width: 45%;
  position: relative;
  top: 30px;
}

.top-business__construction .top-business__imgbox {
  width: 50%;
}

.top-business__heating .top-business__textbox {
  width: 50%;
  margin-right: auto;
  padding: 0 0 0 15%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 140px;
  position: relative;
  top: 140px;
}

.top-business__construction .top-business__textbox {
  width: 50%;
  padding: 0 15% 30px 0;
  position: relative;
  top: -30px;
  left: -30px;
}

.top-business__heating .top-business__item {
  background: #090909;
  padding: 30px;
  margin-top: 15%;
}

.top-business__construction .top-business__item {
  background: #664414;
  padding: 30px;
}

.top-business .wrapper .top-business__item .content {
  max-width: 370px;
}

.top-business .wrapper .top-business__item .ttl {
  border-bottom: 1px solid #fff;
  padding-bottom: 16px;
  font-size: 26px;
}

h2.section__ttl.from-bottom {
    margin-top: -30px;
}

.top-office {
    margin-top: -150px;
}

.top-business .wrapper .top-business__item .list {
  padding-left: 20px;
}

.top-business .wrapper .top-business__item .list .item {
  margin-bottom: 8px;
}

.top-business .wrapper .top-business__item .list .item::marker {
  content: "■";
  font-size: 16px;
}

.top-business .btn a {
  margin-top: -80px;
  background-color: #2c2c2c;
  position: relative;
  z-index: 2;
}
/* business end */

/* about start */

.top-about .inner {
  background: url(../img/top-about-2.png) no-repeat;
  background-size: 100% auto;
  background-position: left top;
  padding-top: 230px;
}

.top-about .wrapper {
  flex-direction: row-reverse;
}

.top-about__textbox {
    width: 49%;
    background: url(../img/top-about-3.png) no-repeat;
    background-size: cover;
    height: 700px;
    max-height: unset;
    padding-left: 15%;
    display: flex;
    padding: 4% 4% 4% 15%;
    flex-direction: column;
    justify-content: center;
}

.top-about__textbox .section__ttl {
  color: #664414;
}

.top-about .list {
  padding-left: 20px;
  color: #000;
}

.top-about .list .item::marker {
  content: "■";
  font-size: 16px;
}

.top-about__imgbox {
  width: 51%;
  padding-top: 100px;
  margin-top: -100px;
}

.top-about .btn a {
  background-image: linear-gradient(to right, #630005, #c4000a);
  position: absolute;
}
/* about end */

/* history start */
.top-history {
  margin-top: -150px;
}

.top-history__textbox {
  background: url(../img/fade-red-bg.png) no-repeat;
  background-position: top right;
  background-size: auto 100%;
  margin-top: -2%;
}

.top-history .btn a {
  background-image: linear-gradient(to right, #6d5327, #ad7d39);
}
/* office start */

.top-office {
      margin-top: -12vw;
}

.top-office .wrapper {
  flex-direction: row-reverse;
}

.top-office__imgbox {
  padding-top: 0;
}

.top-office__textbox {
  background: unset;
  width: 45%;
  padding: 250px 3% 30px 15%;
  margin-top: 1%;
}
/* office end */

/* recruit start */

.top-recruit {
  margin-top: -50px;
  margin-bottom: 100px;
}

.top-recruit .inner {
  background: url(../img/brown-red.png) no-repeat;
  background-size: 100% auto;
  background-position: left top;
  padding: 40px 0px;
}

.top-recruit__textbox {
  background: none;
  width: 45%;
  padding: unset;
  max-height: unset;
  position: relative;
}

.top-recruit__content {
  background: url(../img/brown-bg.png) no-repeat;
  background-position: top right;
  background-size: auto 100%;
  padding: 8vw 3% 30px 30px;
  min-height: 35vw;
  position: absolute;
  top: 130px;
  right: 0;
  width: 123%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-recruit .btn a {
  background-image: linear-gradient(to right, #630005, #c4000a);
}
/* recruit end */

/* csr start */
.top-csr .wrapper {
  flex-direction: row-reverse;
}

.top-csr__imgbox {
  padding-top: 0;
}

.top-csr__textbox {
  background: unset;
  padding-left: 15%;
}
/* csr end */

@media (max-width: 1600px) {
  .top-section__textbox {
    max-height: 460px;
    /* min-height: 375px; */
  }

  .top-about__textbox {
    max-height: unset;
  }
}

@media (max-width: 1200px) {
  /* common */
  .top-business .btn {
    padding: 0 3%;
  }

  .btn a {
    min-width: 300px;
    max-width: 500px;
  }

  .section__ttl {
    font-size: 40px;
  }

  .section__subttl {
    font-size: 25px;
  }

  .mv {
   /* background-size: auto 85%;*/
  }

  .mv .inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }

  .mv__image {
    width: 100%;
  }

  .mv__image::after {
    display: none;
  }

  .mv__heading {
    position: relative;
    z-index: 2;
    right: unset;
    bottom: unset;
    /* font-size: 30px; */
    /*margin-top: 30px;*/
    background:white;
    padding-left:25px;
  }

  #top .inner:not(#top .mv .inner, #top .top-news .inner, #top header .inner) {
    max-width: 800px;
    margin: 0 auto;
  }

  #top section {
    margin-top: 0;
    margin-bottom: 0px;
    padding-top:20px;
  }

  .top-section .wrapper {
    flex-direction: column;
  }

  .top-section__imgbox {
    width: 100%;
    padding-top: 0;
    margin-top: -10px;
  }

  .top-section__textbox {
    background: unset;
    padding: 30px 3%;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  /* top news */
  .top-news {
    background-size: auto 300%;
  }
  /* top news end */

  /* top interview */
  .top-interview .inner {
    background: url(../img/brown-bg.png) no-repeat;
    background-size: cover;
  }
  /* top interview end */

  /* top business */
  .top-business .inner {
    background: url(../img/brown-solid-line.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: left top 50%;
  }
  .top-business .wrapper,
  .top-business .wrapper.reverse {
    flex-direction: column;
  }

  .top-business .section__ttl {
    margin-left: 0;
    padding-left: 13px;
  }

  .top-business__heating {
    margin-top: -80px;
    padding-top: 20px;
    background-size: 128% auto;
    background-position: left top -10px;
    position: relative;
    z-index: 2;
    min-height: unset;
  }

  .top-business__construction {
    background: url(../img/red-solid-line.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
  }

  .top-business__heating .top-business__imgbox,
  .top-business__construction .top-business__imgbox {
    width: 100%;
  }

  .top-business__heating .top-business__imgbox {
    padding-left: 30px;
  }

  .top-business__construction .top-business__imgbox {
    padding-right: 30px;
  }

  .top-business__heating .top-business__textbox,
  .top-business__construction .top-business__textbox {
    width: 100%;
    padding: 0;
    padding: 0 30px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
  }

  .top-business__construction .top-business__textbox {
    margin-top: -30px;
  }

  .top-business .btn a {
    margin-top: 30px;
  }
  /* top business end */

  /* top about */
  .top-about .inner {
    padding-top: 80px;
  }

  .top-about .wrapper {
    flex-direction: row-reverse;
  }

  .top-about__imgbox {
    /* width: 30%; */
    margin-top: 0;
    height: auto;
  }

  .top-about__imgbox img {
    width: 100%;
    height: 190px;
    object-fit: cover;
  }

  .top-about__textbox {
    width: 350%;
    max-width: unset;
    background: url(../img/top-about-3.png) no-repeat;
    background-position: left top;
    background-size: cover;
    /* padding-top: 165px; */
    margin: 0;
  }

  /* .top-about .btn {
    position: relative;
    width: calc(100vw - 9%);
    max-width: 500px;
  }

  .top-about .btn a {
    min-width: unset;
    max-width: unset;
  } */
  /* top about end */

  /* top history */
  .top-history .inner {
    background: url(../img/fade-red-bg.png) no-repeat;
    background-size: cover;
  }
  /* top history end */

  /* top office */
  .top-office {
    margin-top: 0;
  }
  /* top office end */

  /* top recruit */
  .top-recruit .inner {
    background: url(../img/brown-red.png), url(../img/brown-bg.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, cover;
  }

  .top-recruit__content {
    background: unset;
    width: 100%;
    position: static;
    top: 0;
    padding: 0;
  }

  /* top recruit end */

  /* top csr */
  /* top csr end */
}

@media (max-width: 1000px) {
  .top-news {
  /*  background-size: auto 200%;*/
    padding-top: 0;
  }

  .top-news__list .slick-slide {
    margin: 0 10px;
  }

  .top-news__link .image {
    max-height: 340px;
  }

  .top-news .btn a {
    /*justify-content: center;*/
  }
}

@media (max-width: 768px) {
  .mv {
    padding: 130px 3% 20px;
  }

  .mv__heading {
    font-size: 38px;
  }
  .top-news .inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .top-news__list .slick-slide {
    margin: 0 8px;
  }

  .top-about .inner {
    padding-top: 40px;
  }
}

@media (max-width: 576px) {
  .mv__heading {
    font-size: 32px;
    letter-spacing: 0.1rem;
    background: white;
  }

.top-news__link {
    flex-direction: column;
    align-items: center;
    width: 270px;
    display: flex;
    align-content: center;
}

  .top-business__heating {
    background-position: left top 5px;
  }

  .top-business__heating .top-business__item,
  .top-business__construction .top-business__item {
    /*padding: 12px;*/
  }

  .top-business__heating .top-business__imgbox {
    padding-left: 3%;
  }

  .top-business__construction .top-business__imgbox {
    padding-right: 3%;
  }

  .top-business__heating .top-business__textbox,
  .top-business__construction .top-business__textbox {
    padding: 0 3%;
  }

  .top-about .inner {
    padding-top: 0;
    /* background: url(../img/top-about-2.png), url(../img/top-about-3.png); */
    background-repeat: no-repeat, no-repeat;
    background-size: 110% auto, cover;
    background-position: top, center;
  }

  .top-about .wrapper {
    flex-direction: column;
  }

  .top-about__imgbox,
  .top-about__textbox {
    /* width: 100%; */
  }

  .top-about__imgbox {
    margin-top: 0px;
  }

  .top-about__imgbox img {
    height: 300px;
    padding-top: 40px;
  }

  .top-about .btn {
    width: 100%;
  }

  .top-about__textbox {
    margin-top: -150px;
    height: unset;
    max-width: 500px;
    margin: 0 auto;
    /* background: none; */
    /*padding-top: 20px;*/
    height: 500px;
    padding-top: 50px;
  }
}

@media (max-width: 480px) {
  .mv__heading {
    font-size: 26px;
  }
}

@media (max-width: 400px) {
  .header-logo {
    margin-right: 20px;
  }

  header .sp-container .ribbon {
    /*display: none;*/
  }

  .btn a {
    min-width: unset;
  }

  .top-business__heating {
    padding-top: 0;
    background-position: left top -5px;
  }

  .top-business .inner {
    background-position: left bottom 48%;
  }
}






  .mv__video {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    mask-image: url(../img/ado.svg);
    -webkit-mask-image: url(../img/ado.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center center;
    -webkit-mask-position: center center;
    /* filter: drop-shadow(2px 4px 6px black); */
  }
  .mv__video--video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

@media (min-width: 1200px) {
  .mv__video--video {
 /*   height: 60vh;*/
  }}
  
  
  .mv_video_ribbon_inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
   /* padding-top: 3%;*/
}
.mv_video_ribbon_inner > img {
    position:absolute;
    top:0;
    right:-62px;
    width:150px;
}
@media screen and (max-width: 1200px) {
    .mv_video_ribbon_inner > img {display:none;}
}



.ichiran_link_ps{margin-bottom: -25px;text-align: right;z-index: 50;position: relative;margin-top: 20px;padding-right: 15px;}
  
  
  h2.section__ttl.from-bottom {
    margin-top: -30px;
}



.sub-attractive .section__ttl {
  font-family: var(--font-family-2);
}


@media screen and (max-width: 1200px) {
.ichiran_link_ps {
    margin-top: 0px;
}

/*
.top-news__link {
    padding-left: 15%;
    padding-right: 15%;
}*/


.top-news__ttl {
    padding-left: 0%;
}

h2.section__ttl.from-bottom{
   /* margin-top: 0px;*/
   margin-left:5%;
}

.mv {
    background: #fff url(../img/top-banner_sp.jpg);
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 8vw 2% 0px;
    position: relative;
}

.mv_video_ribbon_inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 13%;
}

.ichiran_link_ps {
    margin-bottom: 0px;
    text-align:center;
}


.mb16 {
    margin-bottom: 16px;
    margin-left: 5%;
}


section#top-news {
    padding-top: 60px;
}

.top-business__heating .top-business__item {
    margin-top: 0%;
}

.section__ttl {
    color: #fff;
    font-weight: 600;
    font-size: 40px;
    font-style: normal;
    letter-spacing: 0.5rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.wrapper.fl {
    flex-direction: row-reverse;
}


a.top-about__link {
    width: 94%;
}

}

.wrapper.his {
    /* margin-bottom: 15px; */
}


@media only screen and (min-width: 576px) and (max-width: 1200px){

.top-about__textbox{
  width: 100%;
  height: 500px;
}
.top-about__imgbox img {
    height: 400px;
}


}

.section__ttl {
    /* font-weight: 500; */
}


section.top-section.top-about.from-bottom {
    margin-top: -4vw;
}

.section__subttl {
    display: block;
    font-size: 28px;
    margin-top: 3px;
    font-family: var(--font-family-2);
    font-weight: 500;
    letter-spacing: 2px;
}