@charset "utf-8";
/* CSS Document */
/*==================================================
スライダーのためのcss
===================================*/
.slider {
	position: relative;
	z-index: 1;
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
	border-radius: 20px 20px 0 0 ;
}

/* スライド1枚ずつの枠 */
.slider-item {
	width: 100%;
}

/* スライダーの中の画像を横幅いっぱいに強制する設定 */
.slider-item img {
	width: 100% !important;
	height: auto;
	display: block; /* 下部の隙間を無くす */
}

/* Slickが自動生成する枠も横幅100%にする */
.slick-list,
.slick-track {
	width: 100%;
}

/* --- 矢印の設定 --- */

/* 戻る、次へ矢印の位置 */
.slick-prev, 
.slick-next {
	position: absolute; /* 絶対配置にする */
	z-index: 3;
	top: 50%; /* 【修正】上から50%の位置に固定 */
	cursor: pointer; /* マウスカーソルを指マークに */
	outline: none; /* クリックをしたら出てくる枠線を消す */
	border-top: 4px solid #fff; /* 矢印の色 */
	border-right: 4px solid #fff; /* 矢印の色 */
	height: 20px;
	width: 20px;
}

.slick-prev { /* 戻る矢印の位置と形状 */
	left: 20px; /* 画像の内側へ */
	/* 【修正】垂直中央（-50%）に引っ張りつつ、左向きに回転 */
	transform: translateY(-50%) rotate(-135deg);
}

.slick-next { /* 次へ矢印の位置と形状 */
	right: 20px; /* 画像の内側へ */
	/* 【修正】垂直中央（-50%）に引っ張りつつ、右向きに回転 */
	transform: translateY(-50%) rotate(45deg);
}

/* --- ドットナビゲーションの設定 --- */

.slick-dots {
	position: absolute; /* absoluteに変更して画像の上に重ねる */
	bottom: 15px;       /* 画像の下端から15px内側に配置 */
	left: 50%;          /* 左右中央配置のベース */
	transform: translateX(-50%); /* 完全に中央に寄せる */
	z-index: 3;
	text-align: center;
	margin: 0;
	padding: 0;
}

ul.slick-dots {
	margin: 0;
	padding: 0;
	list-style: none; /* デフォルトの黒丸を非表示に */
}

.slick-dots li {
	display: inline-block;
	margin: 0 5px;
}

.slick-dots button {
	color: transparent;
	font-size: 6px;
	outline: none;
	width: 12px!important; /* パソコン時は12px */
	height: 12px!important;
	display: inline-block;
	border-radius: 50%;
	background: #ccc;
	border: none; 
}

.slick-dots .slick-active button{
	background: #ffeb9c;
}

/* --- レスポンシブ設定（スマホ用） --- */

@media screen and (max-width:991px){
.slick-dots li {
    width: 8px !important;   /* 土台のサイズも8pxに固定 */
    height: 8px !important;
    margin: 0 4px;           /* ドット同士の間隔も少し微調整 */
}

.slick-dots button {
    width: 8px !important;   /* ボタン本体を8pxに */
    height: 8px !important;
    min-width: 0 !important; /* 横に引き伸ばされる原因をリセット */
    max-width: 8px !important;
    padding: 0 !important;   /* 内側の余白を無くす */
}
  
  /* Slickのデフォルトテーマが持つ疑似要素のサイズ悪さを防ぐ */
.slick-dots button::before {
    width: 8px !important;
    height: 8px !important;
    font-size: 0 !important; /* 元のフォント丸ポチを完全に消す */
    line-height: 8px !important;
}
}
@media screen and (max-width:576px){
.slick-prev { left: 10px; } /* スマホ環境でも内側をキープ */
.slick-next { right: 10px; } /* スマホ環境でも内側をキープ */
}

