@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
	width: 100%;
}
body {
    position: relative;
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    left: 0;
}

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto;
    background-color: #f2f2f2;;
}

img {
    max-width: 100%;
}

.sp_only {
		display: none;
	}
	.pc_only {
		display: block;
	}



/*==================================================

size m
=================================================*/

@media only screen and (min-width:1px) and (max-width: 768px) {
	
    body {
        background-size: 100% auto;
        left: 0;
    }
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	

	.sp_only {
		display: block;
	}
	.pc_only {
		display: none;
	}
}

/*==================================================

header
=================================================*/

header {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    
}



#header-inner {
	width: 100%;
	margin: 0 auto;
    padding: 0;
    text-align: left;
    position: absolute;
    z-index: 5;
}

/* header PC */

#header-logo {
	width: 100%;
	max-width: 300px;
    line-height: 100%;
    position: absolute;
    z-index: 5;
    left: 20px;
}

.mv {
  width: 70%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 150px 0 150px;
}

.mv img {

}




/* header img */



@media only screen and (min-width:1px) and (max-width: 768px) {

    header {
	width: 100%;
	min-width: 100%;
  position: relative;
}

    #header-logo {
	width: 50%;
	max-width: 100%;
    line-height: 100%;
    position: absolute;
    z-index: 5;
    left: 5%;
}

.mv {
  width: 90%;
  max-width: 100%;

  text-align: center;
  margin: auto;
}

.mv img {
  width: 90%;
  max-width: 100%;
  margin: 0 5%;
  text-align: right;
  padding: 10px 0;
}

.tpotitle {
 position: absolute;
 z-index: 2;
 width: 100%;
	max-width: 55vw;
  left: 30px;
  top: 70vw;
}
    
}

@media print {
	header {
		position: absolute;
	}
}

main {
    margin: 0;
    background-color: #f2f2f2;
    padding: 0;
}

/* 印刷時 */


.slideshow-wrap {
  width: 100vw;
  overflow: hidden;
}

.slideshow {
  display: flex;
  width: max-content;
  animation: slide 30s linear infinite;
}

.slideshow li {
  flex-shrink: 0;
}

.slideshow img {
  display: block;
  width: 300px; /* 好きなサイズに調整 */
  height: auto;
}

/* 左へ流れる */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#reason {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin-top: 150px;
    padding: 50px 0 150px;
}

#reason h2 {
    width: 660px;
    margin: -80px auto 0;
    padding-bottom: 60px;
}

#reason ul {
    margin: auto;
    width: 840px;
    display: flex;
    justify-content: space-between;
}

#reason ul li {
    width: 32%;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

    #reason {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin-top: 50px;
    padding: 50px 0 150px;
}

#reason h2 {
    width: 90%;
    margin: -70px auto 0;
    padding-bottom: 60px;
}
#reason ul {
    margin: auto;
    width: 84%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#reason ul li {
    width: 100%;
    padding: 10px;
}
}


#saku {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin-top: 150px;
    padding: 50px 0 150px;

}

#saku h2 {
    width: 450px;
    margin: -80px auto 0;
    padding-bottom: 60px;
}

#saku ul {
    margin: auto;
    width: 840px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#saku ul li {
    width: 30%;
    padding: 10px;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

    #saku {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin-top: 50px;
    padding: 50px 0 150px;

}

#saku h2 {
    width: 70%;
    margin: -70px auto 0;
    padding-bottom: 60px;
}


    #saku ul {
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#saku ul li {
    width: 44%;
    padding: 10px;
}

}

#step {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
     margin-top: 150px;
    padding: 50px 0 150px;

}


#step h2 {
    width: 600px;
    margin: -80px auto 0;
    padding-bottom: 80px;
}

#step ul {
    margin: auto;
    width: 840px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#step ul li {
    width: 100%;
    padding: 10px;
}



@media only screen and (min-width:1px) and (max-width: 768px) {

    #step {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
     margin-top: 50px;
    padding: 50px 0 100px;

}

    #step h2 {
    width: 80%;
    margin: -70px auto 0;
}

#step ul {
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#step ul li {
    width: 100%;
    padding: 10px;
}

}




#manabi {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
margin-top: 150px;;
    padding: 50px 0 150px;
}

#manabi h2 {
	 width: 380px;
    margin: -80px auto 0px;
    padding-bottom: 100px;
}

@media only screen and (min-width:1px) and (max-width: 768px) {
    #manabi {
	width: 100%;
	min-width: 100%;
  position: relative;
    background-image: url("../../img/bk_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
margin-top: 50px;;
    padding: 50px 0 50px;
}

#manabi h2 {
	 width: 50%;
    margin: -70px auto 0px;
    padding-bottom: 100px;
}
}

/* 全体 */
.slider-area {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 80px; /* ← PCの左右余白 */
    height: 420px;
}

/* 表示領域 */
.slider-viewport {
    overflow: hidden;
    height: 100%;
}

/* スライダー */
.slider {
    display: flex;
    gap: 24px; /* ← ここでカード間隔を制御 */
    height: 100%;
    transition: transform 0.5s ease;
}

.slider li {
    flex: 0 0 20.333%;
    list-style: none;
    height: 100%;
}

.slider img {
    width: 236px;
    height: 388px;
    object-fit: cover;
    display: block;
}

/* 矢印 */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    color: #111;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;

            display: flex;
        align-items: center;
        justify-content: center;
}

.prev { left: 10px; }
.next { right: 10px; }

/* スマホ */
@media (max-width: 768px) {
    .slider-area {
        padding: 0 14px; /* ← 少し余白残す */
        /* height: 500px; */
        height: auto;
    }

    .slider li {
        flex: 0 0 66%;
    }

    .slider img {
        /* width: 236px;
    height: 388px; */
    width: 100%;
    height: 100%;
    }

    .nav {
        top: 0;
        transform: none;
        bottom: 0;
        margin: auto;
    }

    .prev { left: 10px; }
    .next { right: 10px; }
}

p {
    color:#111;
    text-align: center;
    font-size: 1.76rem;
    padding-bottom: 50px;
    font-weight: 400;
    line-height: 2.4;
}




h4 {
    margin: auto;
    text-align: center;
    font-size: 2.26rem;
    color: #fff;
    padding: 30px 0 10px;
    font-weight: 400;
    border-top: #EEE 1px solid;
}

p.qed {
    padding-bottom: 10px;
}
   

#link {
    margin: auto;
    padding: 60px 0 0;
    width: 100%;
    text-align: center;
}

#link .btn {
    margin: 60px auto 0;
    padding-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 800px;
}

#link .btn li {
    width: 360px;
    padding: 20px;
}

.link a:hover img {
    opacity: 0.8;
}

@media (max-width: 768px) {


#link .btn {
    margin: 20px auto 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

#link .btn li {
    width: 100%;
    padding: 10px 20px;
}

#link .btn li:last-child {
    width: 100%;
    padding: 10px 20px 10px;
}


}

/*==================================================

footer
=================================================*/




.pagetop {
	width: 150px;
	height: 45px;
	position: fixed;
	right: -150px;
	bottom: 200px;
	z-index: 1001!important;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.pagetop-visible {
	right: 0;
}
#footer-pagetop {
	width: 100%;
	max-width: 49px;
	text-align: center;
	margin: 5% auto 0;
}




/* footer img */

footer img,#footer-pagetop img {
	width: 100%;
	max-width: 100%;
	height: auto;	
}


	
	
	/*==================================================
	
	footer
	=================================================*/
	
    .pagetop {
        bottom: 100px;
    }
	.pagetop-visible {
		right: -100px;
	}
    footer {
        width: 100%;

        margin-top: 0;
        z-index: 6!important;
        background-color: #004b3b;
    }

footer .footer_inner {
    
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 50px 0 40px;
}


footer .footer_inner .footer_logo {
    width: 400px;
    max-width: 74%;
    margin: 10px auto ;
}

footer .footer_inner .copyright {
    width: 380px;
    max-width: 74%;
    margin: 2% auto 0;
}

@media (max-width: 768px) {
    footer .footer_inner .footer_logo {
    width: 64%;
    max-width: 64%;
    margin: 10px auto ;
}

footer .footer_inner .copyright {
    width: 64%;
    max-width: 64%;
    margin: 20px auto 0;
}
}

.footer_recruit {
    padding: 30px;
    background-color: #fff;
}

.footer_recruit img {
    width: 258px;
}



/* 全体 */
.swiper-area {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 80px; /* ← PCの左右余白 */

}

@media (max-width: 768px) {
    .swiper-area {
        padding: 0 14px; /* ← 少し余白残す */
    }
}

.nav span{
    display: inline-block;
    margin-bottom: 5px;
}