@charset "UTF-8";

/* CSS Document */

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

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

/*< weight>: Use a value from 100 to 900 */
/* <uniquifier>: Use a unique and descriptive class name */


html {
	width: 100%;
}
body {
    position: relative;
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    margin: 0;
    left: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}



#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto;
}

img {
    max-width: 100%;
}

a:hover img {
    opacity: 0.7;
}

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

ul,li {
    list-style: none;
}

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

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%;
	}

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


/* フェードアップアニメーション用 */
.fadeup {
    opacity: 0;
    transform: translateY(80px);   /* 少し大きめに動かしても自然 */
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    will-change: opacity, transform;   /* パフォーマンス向上 */
}

/* 表示されたら */
.fadeup.show {
    opacity: 1;
    transform: translateY(0);
}

/* 必要に応じて遅延をずらしたい場合（子要素に個別に遅延を付けることも可能） */
.fadeup.show:nth-child(1) { transition-delay: 0.1s; }
.fadeup.show:nth-child(2) { transition-delay: 0.2s; }
.fadeup.show:nth-child(3) { transition-delay: 0.3s; }
/* … 必要に応じて増やす */

/*==================================================
header
=================================================*/
#header {
    width: 100%;
    max-width: 100%;
    background-image: url("../img/bg_01.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
    }

@media (max-width: 768px) {
    #header {
    padding: 60px 0 60px;
    }
}

#header .logo {
    width: 540px;
    max-width: 84%;
    margin: 0 auto 120px;
    padding: 0;
    }
@media (max-width: 768px) {
    #header .logo {
    width: 84%;
    max-width: 100%;
    margin: 0 auto 80px;
    padding: 0;
    }
}

.read_box {
  width: 800px;
  max-width: 98%;
  margin: 40px auto;   /* 上下にも余白を少し */
  padding: 20px 0;
  text-align: center;  /* 中央揃えを確実に */
}

.read_box img.read01 {
    width: 500px;
    max-width: 50%;
}
.read_box img.read02 {
    width: 642px;
    max-width: 64%;
}
.read_box img.read03 {
    width: 510px;
    max-width: 51%;
}
.read_box img.read04 {
    width: 700px;
    max-width: 70%;
}
.read_box img.read05 {
    width: 380px;
    max-width: 38%;
}
.read_box img.read06 {
    width: 310px;
    max-width: 31%;
}
.read_box img.read07 {
    width: 380px;
    max-width: 38%;
}
.read_box img.read08 {
    width: 620px;
    max-width: 62%;
}
.read_box img.read09 {
    width: 320px;
    max-width: 32%;
}
.read_box img.read10 {
    width: 600px;
    max-width: 60%;
}
.read_box img.read11 {
    width: 680px;
    max-width: 68%;
}
.read_box img.read12 {
    width: 370px;
    max-width: 37%;
}
.read_box img.read13 {
    width: 450px;
    max-width: 45%;
}
.read_box img.read14 {
    width: 340px;
    max-width: 64%;
}



.read_box .bg-wrap {
  position: relative;
  display: inline-block;
  margin: 8px 12px;
  padding: 10px 0;
  vertical-align: middle;
  
  /* 下からのフェードイン（全体の登場感） */
  opacity: 0;
  transform: translateY(50px);
  transition: 
    opacity 1s ease-out,
    transform 1s ease-out;
}

.read_box .bg-wrap.inview {
  opacity: 1;
  transform: translateY(0);
}

/* クリッピング用のコンテナ */
.read_box .bg-wrap .inn {
  display: block;
  line-height: 0;
  
  /* 重要: ここで左から右へ広がるクリップを作成 */
  clip-path: inset(0 100% 0 0);          /* 最初は右側100%隠れ → 左側0% */
  transition: clip-path 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* inview になったらクリップを解除（左から右へ露出） */
.read_box .bg-wrap.inview .inn {
  clip-path: inset(0 0 0 0);             /* 完全に表示 */
}

/* 画像本体 */
.read_box .bg-wrap img {
  display: block;
  height: auto;
  max-width: 100%;
}
@media (max-width: 768px) {
    .read_box .bg-wrap img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: auto;
}

.read_box img.read01 {
    width: 500px;
    max-width: 74%;
}
.read_box img.read02 {
    width: 642px;
    max-width: 92%;
}
.read_box img.read03 {
    width: 510px;
    max-width: 75%;
}
.read_box img.read04 {
    width: 700px;
    max-width: 100%;
}
.read_box img.read05 {
    width: 380px;
    max-width: 58%;
}
.read_box img.read06 {
    width: 310px;
    max-width: 54%;
}
.read_box img.read07 {
    width: 380px;
    max-width: 58%;
}
.read_box img.read08 {
    width: 620px;
    max-width: 90%;
}
.read_box img.read09 {
    width: 320px;
    max-width: 51%;
}
.read_box img.read10 {
    width: 600px;
    max-width: 85%;
}
.read_box img.read11 {
    width: 680px;
    max-width: 99%;
}
.read_box img.read12 {
    width: 370px;
    max-width: 55%;
}
.read_box img.read13 {
    width: 450px;
    max-width: 66%;
}
.read_box img.read14 {
    width: 340px;
    max-width: 51%;
}

.read_box .bg-wrap {
  position: relative;
  display: inline-block;
  margin: 6px 10px;
  padding: 6px 0;
  vertical-align: middle;
  
  /* 下からのフェードイン（全体の登場感） */
  opacity: 0;
  transform: translateY(50px);
  transition: 
    opacity 1s ease-out,
    transform 1s ease-out;
}
}



/* 行ごとの遅延（順番に露出感を出す） */
.read_box.box2 { transition-delay: 0.1s; }
.read_box.box3 { transition-delay: 0.25s; }
.read_box.box4 { transition-delay: 0.4s; }
.read_box.box5 { transition-delay: 0.55s; }
/* 必要ならさらに追加 */



/* ローディング画面（既存のまま） */
.loading {
    position: fixed;
    inset: 0;
    background: #c1c1c1 url('../img/loading.png') center no-repeat;
    background-size: cover;
    z-index: 9999;
    transition: opacity .5s ease-out;
}
.loading.done {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .loading {
    background: #c1c1c1 url('../img/loading_sp.png') center no-repeat;
     background-size: cover;
}
}


/* #header を最初は隠して下にずらしておく */
#header {
    opacity: 0;
    transform: translateY(20px);   /* 下からの距離。お好みで 80px〜200px に調整 */
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

/* 登場させるクラス */
#header.appear {
    opacity: 1;
    transform: translateY(0);
}

/* header の中の .fadeup 要素も連動して自然に登場するように */
#header .fadeup {
    opacity: 0;
    transform: translateY(5px);   /* 子要素は少し控えめな距離 */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

#header .fadeup.show {
    opacity: 1;
    transform: translateY(0);
}




/*==================================================
ani_10th
=================================================*/
#ani_10th {
    width: 100%;
    max-width: 100%;
    background-image: url("../img/bg_02.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 120px;
    }
@media (max-width: 768px) {
    #ani_10th {
    padding: 30px 0 30px;
    }
}

.ani_mv {
    width: 1080px;
    max-width: 100%;
    margin: auto;
    padding: 10px 0;
}

.ani_title {
    width: 80%;
    max-width: 80%;
    margin: 0 0 0 20%;
    text-align: right;
    overflow-x: hidden;
}
@media only screen and (min-width:769px) and (max-width: 1120px) {
.ani_title {
    width: 88%;
    max-width: 88%;
    margin: 0 0 0 12%;
    text-align: right;
    overflow-x: hidden;
}
}
@media (max-width: 768px) {
    .ani_title {
    width: 94%;
    max-width: 94%;
    margin: 0 0 0 6%;
    padding: 40px 0 10px;
    text-align: right;
    }
}



.ani_detail {
    width: 640px;
    max-width: 90%;
    margin: auto;
    padding: 40px 0;
}

/*==================================================
pbl
=================================================*/
#pbl {
    width: 100%;
    max-width: 100%;
    background-image: url("../img/bg_03.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 60px;
    }
@media (max-width: 768px) {
    #pbl {
    background-image: url("../img/bg_03_sp.png");
    background-size: cover;
    padding: 30px 0 0;
    }
}


.pbl_title {
    width: 800px;
    max-width: 90%;
    margin: auto;
    padding: 40px 0;
}
@media (max-width: 768px) {
    .pbl_title {
    width: 800px;
    max-width: 90%;
    margin: auto;
    padding: 40px 0 20px;
}
}


.pbl_read {
        width: 860px;
        max-width: 96%;
        margin: auto;
        padding: 80px 0 80px;
    }
@media (max-width: 768px) {
    .pbl_read {
        width: 95%;
        max-width: 95%;
        margin: 0 0 0 5%;
        padding: 60px 0 0px;
    }
}

.pbl_point {
    width: 880px;
    max-width: 100%;        /* ← height → min-height に変更（最低これだけ） */
    height: auto;
    min-height: 110vw;              /* 自動伸長を許可 */
    margin: auto;
    padding: 0px 0 100px;
    overflow-x: clip;           /* または hidden */
    overflow-y: visible;        /* 縦は隠さない */
    position: relative;

}
@media (max-width: 430px) {
    .pbl_point {
        min-height: 185vh;
        height: auto;
    }
}
@media (max-width: 375px) {
    .pbl_point {
        min-height: 240vh;
        height: auto;
    }
}
@media (min-width: 431px) and (min-width: 1367px) and (min-height: 901px) {
    .pbl_point {
        min-height: 1320px;
    }
}
@media (min-width: 431px) and (max-width: 1366px) and (min-height: 901px) {
    .pbl_point {
        min-height: 1320px;
    }
}

@media  (min-width: 431px) and (max-width: 1366px) and (max-height: 900px) {
    .pbl_point {
        min-height: 180vh;
    }
}
@media (min-width: 431px) and (max-height: 754px) {
    .pbl_point {
        min-height: 130vw;
    }
}
@media (min-width: 431px) and (max-height: 640px) {
    .pbl_point {
        min-height: 140vw;
    }
}
@media (min-width: 431px) and (max-width: 1080px) and (max-height: 520px) {
    .pbl_point {
        min-height: 140vw;
    }
}
@media (min-width: 1081px) and (max-width: 1288px) and (max-height: 640px) {
    .pbl_point {
        min-height: 120vw;
    }
}
@media (min-width: 431px) and (max-width: 1080px) and (max-height: 480px) {
    .pbl_point {
        min-height: 140vw;
    }
}







.pbl_point > div {
    width: 440px;
    max-width: 100%;
    margin: auto;
    padding: 0px;
    position:absolute;
    z-index: 0;
    isolation: isolate;    /* これ重要！ブレンドの範囲を限定 */
}
@media (max-width: 768px) {
    .pbl_point > div {
        max-width: 92vw;          /* ← 画面幅の90%までに抑える */
        left: 5% !important;      /* leftを強制的に内側に */
        right: auto !important;
        transform: none;
    }
}

/* point01〜point04 の位置（元のまま） */
.pbl_point .point01a { 
    top: 0px;
    left: 0px;
    z-index: 1; }
.pbl_point .point01 { 
    background-image: url('../img/pbl_point1b.png');
    mix-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    z-index: 1; }

.pbl_point .point02a { 
    top: 220px;
    right: 0px;
    z-index: 1; }
.pbl_point .point02 { 
    background-image: url('../img/pbl_point2b.png');
    mix-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    top: 220px;
    right: 0px;
    z-index: 1; }

.pbl_point .point03a { 
    top: 640px;  
    left: 0px;    
    z-index: 1;  }
.pbl_point .point03 { 
    background-image: url('../img/pbl_point3b.png');
    mix-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    top: 640px;  
    left: 0px;    
    z-index: 1;  }

.pbl_point .point04a { 
    top: 860px;  
    right: 0px;   
    z-index: 1;  }
.pbl_point .point04 { 
    background-image: url('../img/pbl_point4b.png');
    mix-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    top: 860px;  
    right: 0px;   
    z-index: 1;  }


@media (max-width: 768px) {
    .pbl_point .point01a { 
    top: 0px;
    left: 5%;
    z-index: 1; }
    .pbl_point .point01 { 
    background-image: url('../img/pbl_point1b.png');
    mix-blend-mode: multiply;
    background-size: 94%;
    background-repeat: no-repeat;
    top: 0px;
    left: 5%;
    z-index: 1; }

    .pbl_point .point02a { 
    top: 360px;
    left: 5%;
    z-index: 1; }
    .pbl_point .point02 { 
    background-image: url('../img/pbl_point2b.png');
    mix-blend-mode: multiply;
    background-size: 94%;
    background-repeat: no-repeat;
    top: 360px;
    left: 5%;  
    z-index: 1; }

    .pbl_point .point03a { 
    top: 720px;  
    left: 5%;  
    z-index: 1;  }
    .pbl_point .point03 { 
    background-image: url('../img/pbl_point3b.png');
    mix-blend-mode: multiply;
    background-size: 94%;
    background-repeat: no-repeat;
    top: 720px; 
    left: 5%;  
    z-index: 1;  }

    .pbl_point .point04a { 
    top: 1080px;  
    left: 5%;
    z-index: 1;  }
    .pbl_point .point04 { 
    background-image: url('../img/pbl_point4b.png');
    mix-blend-mode: multiply;
    background-size: 94%;
    background-repeat: no-repeat;
    top: 1080px;
    left: 5%; 
    z-index: 1;  }

}



/* 画像本体を上に持ってくる（z-indexで制御） */
.pbl_point > div img {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 0;
    position: relative;
    z-index: 2;
    background-blend-mode: multiply;
}
@media (max-width: 768px) {
    .pbl_point > div img {
    display: block;
    width: 94%;
    height: auto;
    padding-top: 0;
    position: relative;
    z-index: 2;
    background-blend-mode: multiply;
}
}

.pbl_point img {
    width: 100%;
    height: auto;
}

/*==================================================
next
=================================================*/
#next {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 0;
    background-color: #fff;
    }

    
.next_coming {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.slider-wrapper {
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
  height: 100px;
  margin: 0;
  padding: 18px 0;
  background-color: #000;
}
/* スライド3枚のグループ */
.slider {
  animation: scroll-left 40s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
}
/* スライド */
.slide {
  width: 100%
}
/* スライドの画像 */
.slide img {
  height: 64px !important;
  width: auto !important;
  min-width: 1920px;
  display: block;
}
/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.next_title {
    width: 520px;
    max-width: 70%;
    margin: auto;
    padding: 120px 0 40px;
}

.next_class {
    width: 940px;
    max-width: 70%;
    margin: auto;
    padding: 40px 0 80px;
}
.next_class ul {
    width: 940px;
    max-width: 100%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
}
.next_class ul li {
    width: 420px;
    max-width: 100%;
    margin: auto;
    padding: 10px;
}

@media (max-width: 768px) {
    .next_title {
    width: 520px;
    max-width: 70%;
    margin: auto;
    padding: 100px 0 20px;
}
    .next_class {
    width: 80%;
    max-width: 100%;
    margin: auto;
    padding: 20px 0 80px;
}
    .next_class ul {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 20px 0;
    display: block;
    justify-content: space-between;
}
    .next_class ul li {
    width: 420px;
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
}


}



.next_read {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 40px 0;
    background: linear-gradient(to right, #e94820 0%, #6f5572 50%, #187fc4 100%);
}


.next_read img {
    width: 1080px;
    max-width: 80%;
    margin: auto;
    padding: 40px 0;
}




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

footer {
    width: 100%;
    margin-top: 0;
}


footer .footer_inner {
    width: 90%;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
}

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

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

footer .footer_inner .copyright {
    width: 90%;
    max-width: 90%;
    margin: auto;
}

footer .footer_inner .copyright img {
    width: 160px;
    max-width: 100%;
}

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

footer .footer_inner .copyright {
    width: 50%;
    max-width: 50%;
    margin: 20px auto 0;
    text-align: center;
}
}



.r-footer {
    background: #fff;
    padding: 15px;
    position: relative;
    z-index: 10;
    border-top: 1px solid #bebebe;
    overflow: hidden;
}

.r-footer ul li a {
    position: relative;
    padding: 0 0 0 10px;
    font-size: 12px;
    line-height: 1;
    color: #333;
    text-decoration: none;
}

.r-footer ul li a:hover {
    opacity: 0.7;
}

@media (min-width: 769px) {
    .r-footer {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 15px 20px;
}

    .r-footer ul {
        display: flex;
        list-style: none;
        flex-wrap: nowrap;
        margin: 0;
    }

    .r-footer ul li a::after {
        content: "｜";
        padding: 0 0 0 5px;
    }

     .r-footer ul li:last-child a::after {
        content: "";
        padding: 0 0 0 5px;
    }
}




@media (max-width: 768px) {
    .r-footer {
        padding-bottom: 40px;
    }

    .r-footer ul {
        list-style: none;
        padding: 0;
    }

    .r-footer ul li a::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 6px;
    left: 0;
    border-style: solid;
    border-width: 4px 4px 4px 5px;
    border-color: transparent transparent transparent #454545;
}
}

.footer_recruit {
    background-color: #fff;
    text-align: left;
}

.footer_recruit img {
    width: 258px;
}



.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;
}

    .pagetop {
        bottom: 100px;
    }
	.pagetop-visible {
		right: -100px;
	}

  
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}
.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}
.modal-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}
.modal-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}