
.bx-viewport ul{padding-left: 0;}

/* --- ヘッダーサイズ固定・グラデーション --- */

.header{
    position: fixed;
    top:0;
    width:100%;
    height:70px;
    background:#fff;
    border-bottom:2px solid #71151A;
    z-index:1000;
}


@media screen and (min-width:768px){
.header{
    position: fixed;
    top: 0;
    width: 100%;
    height: 98px;
	    border-bottom:1px solid #71151A;

background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.8) 80%,
    rgba(255,255,255,0.6) 100%
);

    z-index: 1000;
}

}



.header-inner{
    height:100%;
    max-width:1100px;
    margin:0 auto;
    padding:0 20px;   /* ← 上下padding消す */
    display:flex;
    justify-content:space-between;
    align-items:center;
}


/* --------------------------------------- */


body{
    padding-top:70px;
}

@media screen and (min-width:768px){
	
body{
    padding-top:0px;
}

}

#contents {
padding-top:10px;
}




.box{
    position:relative;
}

.box::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.15);  /* 写真を暗く(そのままの場合は一番右を0に) */
    z-index:1;
}


/* 基本（スマホ） */
.slide-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    text-align:center;
    color:#fff;
    font-size:16px;
	font-weight:500;
    line-height:1.6;
    text-shadow:0 4px 20px rgba(0,0,0,0.6);
    z-index:2;   /* ← これが重要 */
}

/* PC */
@media screen and (min-width:768px){

.slide-text{
    top:56%;
    font-size:32px;
    font-weight:500;
    letter-spacing:0.08em;
    max-width:900px;
    margin:0 auto;

    text-shadow:
    0 2px 8px rgba(0,0,0,0.7),
    0 8px 24px rgba(0,0,0,0.6);
}

.slide-text .sub{
    display:block;
    margin-top:20px;
    font-size:22px;
    font-weight:normal;
}

}

.slide-text strong{
color:#ffd900;
font-weight:600;
}


/* スマホスライダー余白バグ対策 */
#slider1 img{
width:100%;
height:auto;
display:block;
}


/* LP定番処理(微調整) */
.slide-text{
padding:0 20px;
}

.slide-text br{
display:inline;
}


.bx-wrapper img{
vertical-align: bottom;
}







