.mv {
  position: relative;
  overflow: hidden;
  height: 800px;
  overflow: hidden;
  z-index: 1;
  svg{
    height: 0;
    max-height: 0;
    overflow: hidden;
    line-height: 0;
  }
  @media screen and (max-width: 767px) {
    height: 463px;
  }
}

/* 幅制御（指定通り） */
.mv_inner {
  position: relative;
  width: calc(50% + 656px);
  min-width: 1216px;
  max-width: 100%;
  height: 800px;
  overflow: hidden;
  margin-left: auto;
  @media screen and (max-width: 767px) {
    min-width:0;
    height: 463px;
  }
}

/* マスク適用 */
.mv_slide {
  position: relative;
  width: 100%;
  height: 800px; /* 適宜調整 */
  clip-path: url(#mvClip);
  -webkit-clip-path: url(#mvClip);
  @media screen and (max-width: 767px) {
    clip-path:none;
    -webkit-clip-path:none;
    height: 463px;
  }
}

/* 動画 */
.mv_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  line-height: 0;
  @media screen and (max-width: 767px) {
    position: relative;
  }
}

.mv_logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.mv_catch {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-top: 130px;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
  @media screen and (max-width: 767px) {
    padding-top: 30px;
  }
}
.catch_inner {
  max-width: 1200px;
  width: 90%;
  color: var(--main-color);
}
.catch_main {
  font-size: min(4rem,6vw);
  font-weight: bold;
  span{
    border-bottom: 3px solid var(--sub-color);
  }
  @media screen and (max-width: 767px) {
    line-height: 2;
  } 
}
.catch_sub{
  font-size: min(2.2rem,3.2vw);
  font-weight: bold;
  margin-top: 15px;
  @media screen and (max-width: 767px) {
    line-height: 2;
  } 
}
.mv_news {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(50% - 112px);
  background: #fff;
  z-index: 5;
  padding: 20px 80px;
  color: var(--main-color);
  font-weight: bold;
  a{
    color: var(--main-color);
  }
  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
    padding: 20px 5%;
    width: 90%;
  }
}
.mv_news_tag{
  color: var(--sub-color);
}
.mv_news_tit {
  @media screen and (max-width: 767px) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
}
}
/* 共通パーツ */
/* ＜ボタン＞ */
.more_button a{
  color: #fff;
  background-color: var(--sub-color);
  border-radius: 50px;
  padding: 10px 98px;
  @media screen and (max-width: 767px) {
    font-size: 1.2rem;
    padding: 8px 44px;
  }
}

/* intro */
.intro{
  position: relative;
  color: #fff;
  padding-top: 390px;
  padding-bottom: 50px;
  margin: -340px 0 0;
  &::before{
    content: '';
    display: block;
    width: calc(50% + 560px);
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: url(../img/mvback.webp) no-repeat right bottom,linear-gradient(90deg,var(--main-color) 0,var(--main-color) 75%,transparent 75%);
    background-size: auto;
  }
  @media screen and (max-width: 767px) {
    overflow: hidden;
    padding-top: 30px;
    margin-top: 0;
  }
}
.intro_inner{
  position: relative;
  max-width: 1024px;
  width: 90%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap:30px;
  @media screen and (max-width: 767px) {
    text-align: left;
  }
}

.intro_com{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap:30px;
  @media screen and (max-width: 767px) {
    gap: 10px;
    line-height: 2;
  }
}
.intro_head {
  @media screen and (max-width: 767px) {
    max-width: 65%;
    padding-right: 5%;
  }
}

/* 取扱商品 */
.items{
  overflow: hidden;
  margin: var(--sp-64) 0 0;
}
.items_top{
  max-width: 1200px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  & > h2 {
    margin-bottom: 20px;
  }
}
.items_top p{
  margin-bottom: var(--sp-32);
}
.items_button {
  position: absolute;
  right: 50%;
  bottom: var(--sp-32);
  transform: translateX(50%);
  margin: auto;
}
.tabs {
  max-width: 1200px;
  width: 100%;
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 0 auto;
  @media screen and (max-width: 767px) {
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    height: 109px;
  }
}
.tab {
  max-width: 183px;
  width: calc(100% / 5 - 30px);
  padding: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--main-color);
  color: #fff;
  transition: all 0.2s ease;
  @media screen and (max-width: 767px) {
    width: calc((100% / 3) - (20px / 3));
    padding: 0;
    min-height: 44px;
    font-size: min(1.4rem, 3vw);
  }
}
.tab:hover {
  cursor: pointer;
}

.tab.-active, .tab:hover {
  padding: 32px 0px;
  background: var(--sub-color);
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0);
  color: #fff;
  cursor: pointer;
  @media screen and (max-width: 767px) {
    padding: 0;
    min-height: 55px;
  }
}
.tab_content {
  display: none;
}
.tab_content.-active {
  display: block;
}
.items_list{
  counter-reset: num 0;
}
.items_list p::before {
  padding: 0 15px 0 20px;
  counter-increment: num 1;
  content: counter(num) '';
  @media screen and (max-width: 767px) {
    padding: 0 12px 0 16px;
  }
}
.items_list p.list_none::before {
  content: '※';
}
.items_all .title_h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--main-color);
  padding-bottom: var(--sp-32);
  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
}
.tab_all {
  padding-bottom: 186px;
  position: relative;
  @media screen and (max-width: 767px) {
    padding: 0 5% 60px;
  }
}
.items_all {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: var(--sp-32) 40px 101px;
  background: rgba(255, 255, 255, 0.75);
  position: relative;
  @media screen and (max-width: 767px) {
    padding: 20px 5% 60px;
  }

}
.tab_content{
  position: relative;
}
.tab_all::before {
  content: '';
  display: block;
  width: 100%;
  height: calc(100% - 96px);
  background: url(/img/items_backimg.webp) center no-repeat;
  background-size: cover;
  position: absolute;
  top: 96px;
  left: 0;
  @media screen and (max-width: 767px){
    height: calc(100% - 109px);
    top: 109px;
  }
}
.items_inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
     @media screen and (max-width: 767px) {
      max-width: 329px;
      flex-direction: column;
      gap: 20px;
      margin: auto;
     }
}
.items_inner img {
    width: 329px;
    max-width: 100%;
    height: auto;
}
.items_list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 39px);
    grid-auto-flow: column; 
    column-gap: 40px;
    height: 235px;
    @media screen and (max-width: 767px) {
      width: 100%;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      grid-auto-flow: initial;
    }
}
.items_list p {
    border-top: 1px solid #000;
}
.items_list_bottom{
    border-bottom: 1px solid #000;
}
.items_list p:nth-child(8){
  @media screen and (max-width: 767px) {
    border-bottom: none;
  }
}

/* 施工実績 */
.work{
  position: relative;
  padding-top: 60px;
  margin-top: -102px;
}
.work::before{
  content: '';
  display: block;
  width: calc(50% + 295px);
  height: 102px;
  background: url(/img/work_back.webp) left top no-repeat,linear-gradient(90deg,transparent 0,transparent 119px, #fff 119px );
  position: absolute;
  top: 1px;
  right: 0;
  @media screen and (max-width: 767px) {
    width: auto;
    height: 33px;
    left: 64px;
    background: url(/img/work_back.webp) left top no-repeat,linear-gradient(90deg,transparent 0,transparent 33px, #fff 33px );
    background-size: contain;
    top: 70px;

  }
}
.work_top{
  max-width: 692px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto;
  position: relative;
  & > h2 {
    margin-bottom: 0;
  }
  @media screen and (max-width: 767px) {
    display: inline-block;
    margin: 73px 0 26px;
    padding: 0 5% 0;
  }
}
.work_inner {
  position: relative;
  .more_button{
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    @media screen and (max-width: 767px) {
      position: inherit;
      margin: auto;
      left: auto;
      justify-content: center;
      transform: none;
    }
  }
}
.work_txt{
  max-width: 1200px;
  width: 90%;
  text-align: start;
  padding-bottom: 40px;
  padding-top: 30px;
  margin: auto;
  @media screen and (max-width: 767px) {
    padding-top: 0;
  }
}
.work_card {
  display: block;
  min-height: 274px;
  max-width: 285px;
  width: 100%;
}
.work_toptxt{
  font-weight: bold;
}
.work_inner_txt{
  padding-top: 24px;
}

/* 無限スライドのキーアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* 選ばれる理由 */
.reason{
  position: relative;
  margin: var(--sp-64) auto;
  @media screen and (max-width: 767px) {
    overflow: hidden;
    background: url(../img/reason.webp) no-repeat center;
    background-size: cover;
  }
}
.reason::before{
  content: "";
  width: calc(50% + 560px);
  height: 693px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(/img/reason.webp) no-repeat right bottom ,linear-gradient(90deg,#C4DBF9 0,#C4DBF9 65%,transparent 65%);
  background-size: auto 100%;
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.reason_top{
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-64);
  margin: auto;
  position: relative;
  & > h2 {
    margin-bottom: 0;
  }
  @media screen and (max-width: 767px) {
    padding:30px 5% 0;
  }
}
.reason_inner{
  position: relative;
}
.reason_list{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: var(--sp-64) 0 125px;
  @media screen and (max-width: 767px) {
    padding: 20px 5% 36px;
  }
}
.reason_item{
  background-color: var(--main-color);
  max-width: 795px;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 20px 48px 20px 39px;
  margin-left: auto;
  @media screen and (max-width: 767px) {
    padding: 20px 5%;
    height: auto;
  }
}
.reason_item_img{
  @media screen and (max-width: 767px) {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.reason_item_flx{
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap:10px;
    line-height: 2;
  }
}
.reason_item_inner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  @media screen and (max-width: 767px) {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
    font-size: 1.6rem;
  }
}
/* ニュース */
.article{
  padding: var(--sp-64) 0 0;
  @media screen and (max-width: 767px) {
  }
}
.news_01{
  max-width: 1200px;
  width: 90%;
  margin: auto;
}
.news_data{
  display: flex;
  justify-content: space-between;
  & > h2 {
    margin-bottom: 20px;
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
.news_box{
  max-width: calc(100% - 310px);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.news_box dl{
  width: 100%;
  border-top: 1px solid #CECECE;
  dt{
    float: left;
    min-width: 150px;
    padding: 15px 0;
    margin-left: 70px;
    @media screen and (max-width: 767px) {
      float: none;
      min-width: 90px;
      margin-left: 5%;
      padding-bottom: 5px;
    }
  }
  dd{
    width: 100%;
    padding: 15px 0 15px 220px;
    border-bottom: 1px solid #CECECE;
    @media screen and (max-width: 767px) {
      padding: 0 5% 15px;
    } 
  }
}

/* 採用情報 */
.recruit{
  position: relative;
  width: 100%;
  min-height: 455px;
  height: 100%;
  overflow: hidden;
  margin: var(--sp-64) auto;
}
.recruit::before{
  content: "";
  position: absolute;
  width: calc(50% + 560px);
  height: 455px;
  top: 0;
  right: 0;
  margin: auto 0;
  background: url(/img/recruit.webp) no-repeat center left ,linear-gradient(90deg,transparent 0,transparent 25%,#ccc 25%);
  background-size: contain;
  z-index: -1;
  @media screen and (max-width: 767px) {
    background-position: center;
    background: url(/img/recruit_sp.webp) no-repeat center right;
    background-size: cover;
    width: 125%;
    height: 100%;
    right: -10%;
    top: 0;
  }
}

.recruit_inner{
  max-width: 1200px;
  width: 100%;
  padding: 117px 0 66px 0;
  margin: auto;
  @media screen and (max-width: 767px) {
    padding: 32px 0 72px 0;
  }
}
.recruit_txt{
  max-width: 498px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-32);
  margin-left: auto;
  margin-right: 120px;
  & > h2 {
    margin-bottom: 0;
    white-space: nowrap;
  }
  @media screen and (max-width: 767px) {
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    padding: 0 5%;
    max-width: inherit;
    gap: 60px;
  }
}

.recruit_txt02 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-32);
  & > p {
    line-height: 2;
  }
  @media screen and (max-width: 767px){
    .recruit_txt02 > p:first-child{
  width: 100%;
    }
  }
}