.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}

/* テキスト */
.loader-text {
  z-index: 10;
  color: black;
  text-align: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.page-loader.show-text .loader-text {
  opacity: 1;
}

.page-loader.loaded .loader-text {
  opacity: 0;
 
}

/* 上下ブロック */
.loader-top,
.loader-bottom {
  position: absolute;
  width: 100%;
  height: 50%;
  background-color: white; /* ✅ 最初は白 */
  z-index: 5;
  transition: transform 2s ease, background-color 1s ease;
  border: none;
}

.loader-top {
  top: 0;
  transform: translateY(0);
}

.loader-bottom {
  bottom: 0;
  transform: translateY(0);
}

/* ✅ 背景色が水色に変わる */
.page-loader.bg-change .loader-top,
.page-loader.bg-change .loader-bottom {
  background-color: #4a65d6;
}

/* ✅ スライドと同時に border を追加 */
.page-loader.loaded .loader-top {
  border-bottom: 60px solid green;
  transform: translateY(-100%);
}

.page-loader.loaded .loader-bottom {
  border-top: 60px solid green;
  transform: translateY(100%);
}



header{
  width: 100%;
  padding:0.5em 1em;
  z-index: 10;
  transition: 0.4s ease-out;
}

.h-logo-wrap{
 width: 16em; 
 margin-left:1em;
}
.h-logo {
  position: relative;
  display: inline-block;
}

.pc-navi{
  display: flex;
  gap:1.5em;
  align-items: center;
  justify-content: flex-end;
}
.pc-navi-li a:hover{
  color: #0060B0;
}

.h-sp-hb{
  display: none;
}
.h-sp-navi{
  display: none;
}

@media (max-width:767px){
  main{
    margin-top: 5em;
  }
  header{
    position: fixed;
    top:0;
    left:0;
    height: 5em;
  }
  .h-logo-wrap{
    margin-left: 0;
  }
  .h-pc-navi{
    display: none;
  }
  .h-sp-hb{
   display: block;
  }
  .h-sp-navi{
    padding-inline: 5%;
    position: fixed;
    flex-direction: column;
    align-items: center;
    display: flex;
    top:0;
    right:-100%;
    opacity:0;
    gap:2em;
    z-index: 2;
    width: 60%;
    height: 100vh;
    transition: 0.4s ease-out;
    background-color: #01A0E9;
    color: #fff;
  }
  .h-sp-navi.drawer-show{
    opacity:1;
    right:0%;
  }
  .h-sp-navi-item{
    display: flex;
    flex-direction: column;
    gap:1em;
  }
  .drawer-toggle{
    position: relative;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    margin: 0.5em 0.5em 0.5em auto;
    z-index: 11;
  }
 
  .drawer-toggle span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #0060B0;
    width: 45%;
  }

  .drawer-toggle span:nth-of-type(1) {
  top:15px; 
  }

  .drawer-toggle span:nth-of-type(2) {
  top:23px;
  }

  .drawer-toggle span:nth-of-type(3) {
  top:31px;
  }

  .drawer-toggle.drawer-show span:nth-of-type(1) {
    top: 18px;
    left: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }

  .drawer-toggle.drawer-show span:nth-of-type(2) {
  opacity: 0;
  }

  .drawer-toggle.drawer-show span:nth-of-type(3){
    top: 30px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
  .h-contact{
    margin: 0 auto;
    padding: 0.4em 1.8em;
  }
  .h-sp-table{
    border-bottom:1px solid #ccc;
  }
  .h-sp-table th,.h-sp-table td{
    display: block;
    padding: 0.3em;
  }
  .h-sp-table th{
    background-color: #efefef;
    border:1px solid #ccc;
  }
  .h-sp-table td{
    border:1px solid #ccc;
    border-bottom:none;
    border-top:none;
  }
}

.mv{
  width: 94%;
  height: 90vh;
  overflow: hidden;
  position: relative;
  margin-left:auto;
  z-index: 2;
}
.mv-inner{
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    clip-path: inset(0); 
    z-index: -1;
}
.mv-inner::before{
  content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: url(../image/top/mv.jpg) no-repeat;
      background-size: cover;
      background-position: bottom  center;
      z-index: 1;
}
.mv-content{
  position: absolute;
  left:3em;
  top:50%;
  transform: translate(0,-60%);
  width: 90%;
  z-index: 2;
  .qwitcher{
    position: absolute;
    bottom:0.2em;
    right:0;
    opacity: 1;
  }
}

.txt-flow-wrap {
    margin-top: 30px;
    padding: 0 30px 15px;
    white-space: nowrap;
    display: inline-flex;
    white-space: nowrap;
    overflow: hidden;
    animation: scroll-left 25s linear infinite;
    width: -moz-max-content;
    width: max-content;
  }
  .txt-flow-item {
    display: inline-block;
    margin-right: 1em;
    white-space: nowrap;
  }
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }

@media (max-width: 767px){
  .mv{
    width: 100%;
    height: 90vh;
  }
  .mv-inner,.mv-inner::after{
    height: 90vh;
  }
 
  .mv-content{
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    .qwitcher{
      bottom:1em;
    }
  }
}

.top-news-item-wrap{
  width: min(90%,33em);
}


.top-message{
  margin-top: -5em;
  z-index:1;
  .qwitcher{
    position: absolute;
    top:50%;
    right:1em;
    translate: 0 -50%;
    opacity: 0.7;
    z-index: -1;
  }
  .wrap-l{
    padding-right: 3em;
  }
}

.top-message h2{
  line-height: 1;
}



@media (max-width: 767px){
.top-message{
    margin-top: 0em;
    .qwitcher{
      top:1em;
      left:50%;
      translate: -50% -50%;
      width: fit-content;
    }
    .wrap-l{
      padding-right: inherit;
    }
  }
  .top-message-pic{
    width: 95%;
    margin-right:auto;
  }
}

.top-strength-btn{
  text-align: right;
}
@media (max-width: 767px){
  .top-strength-btn{
    text-align: center;
  }
}

.top-business{
  .qwitcher{
    position: absolute;
    bottom:0;
    left:50%;
    translate: -50% -50%;
    width: fit-content;
    opacity: 0.4;
    z-index: -1;
  }
}
.top-inner-link{
  position: relative;
  padding-top:1em;
  padding-bottom: 3em;
}
.top-inner-link::after{
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border: 6px solid transparent;
  border-top: 7px solid #0060B0; 
  position: absolute;
  bottom: 1em;
  left:50% 1em;
  translate:-50% 0;
  margin: auto;
}

.top-business-ttl p{
  line-height: 0.9;
  margin-right: -0.6em;
}

.top-business-pic-slick-wrap{
  width: 100%;
  max-width: 100%;
  height: auto;
}
.top-business-pic-slick {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.top-business-pic-slick img {
  width: 100%;
  height: auto;
}

.slick-dots li button:before{
	font-size:10px!important;
  color: #efefef;
  opacity: 1;
}

.slick-dots li{
	width:30px!important;
}


@media (max-width: 767px){
  .top-business-pic{
    order:1;
  }
  .top-business-desc{
    order:2;
  }
  .top-business-pic-slick-wrap{
  width: 100%;
  max-width: 100%;
  height: auto;
  }
  .top-business-pic-slick {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .top-business-pic-slick img {
    width: 100%;
    height: auto;
  }
}



.f-recruit div{
  margin-top: 5em;
}
.f-pic{
  margin-top: -3em;
  z-index: 2;
}
.f-logo img{
  width: 80px;
}
.f-nav{
  margin-right: 5em;
}


@media (max-width: 767px){

  .f-recruit div{
    order:2;
    margin-top: 2em;
  }
  .f-pic{
    order:1;
    width: 90%;
    margin-inline:auto;
  }
  .f-nav{
    margin-right: 0em;
  }
}


.contact-wrap{
  display: flex;
  flex-direction: column;
  position: fixed;
  top:7em;
  right:0;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  translate:-50% 0;
  transition: opacity 0.4s ease;
}
.contact-wrap.show {
  opacity: 1;
  pointer-events: auto;
}
.contact-wrap a:hover{
  opacity: 0.7;
}

.contact-tel,.contact-mail{
  writing-mode: vertical-rl;
  text-align: center;
  margin-inline: auto;
  padding:0.5em 1.25em 2.5em;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
.contact-mail{
  background: rgba(35,159,130,0.8);
  height: 50%;
}
.contact-mail::before{
  display: inline-block;
  margin-bottom: 1em;
  content: url(../image/common/mail.svg);
}
.contact-tel{
  background: rgba(0,95,176,0.8);
  height: auto;
  padding-top: 2em;
  padding-bottom:15em;
  margin-top: -0.5em;
  overflow-y: hidden;
}
.contact-tel::before{
  display: inline-block;
  margin-bottom: 1em;
  content: url(../image/common/tel.svg);
}
@media (max-width: 767px){
  .copyright{
    margin-bottom:60px ;
  }
  .contact-wrap{
    top:inherit;
    bottom:0;
    left:0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    height: auto;
    width: 100%;
	translate:inherit;
  }
  .contact-tel,.contact-mail{
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: inherit;
    text-align: center;
    padding:0.5em 1em;
    font-size: 14px;
    margin: 0;
    width: 100%;
    height: 60px;
  }
  .contact-tel{
    padding-bottom: 0;
  }
  .contact-tel::before{
    display: none;
  }
  .contact-mail::before{
    display: none;
  }
}