@charset "UTF-8";
/* CSS Document */
html,
body {
	padding: 0;
	margin: 0;
}
img,svg {
	width: 100%;
	border:none;
}
ul,li {
	list-style: none;
	padding: 0;
	margin: 0;
}
h1,h2,h3,h4,p,a {
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
	color: #000;
}
#cl {
	position: relative;
	font-family: "Hanken Grotesk", "Noto Sans JP", sans-serif;
}
#main_head {
	padding: 10% 0 2%;
}
#main_head h1 {
	width: 50%;
    max-width: 200px;
    margin: 0 auto 3%;
}
.wrap {
	position: relative;
	margin-bottom: 10%;
}

.wrap h2 {
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1px;
	z-index: 10;
	color: #000;
	text-align: center;
	margin: 0 auto 10%;
}

.wrap .itemslink {
	text-align: center;
	font-size: 14px;
	margin: 8% auto 15%;
}

.wrap .itemslink a{
	border-bottom: 1px solid #000;
}

@media only screen and (min-width: 768px)  {
	.wrap h2 {
		margin: 0 auto 3%;
	}
	#main_head {
		padding: 5% 0 2%;
	}
	#main_head h1 {
		width: 16%;
	}
	
	.wrap .itemslink {
/*		font-size: 14px;*/
		margin: 5% auto 10%;
	}

}

.main_contents {
	position: relative;
	margin: 0 auto;
	overflow: hidden
}
.main_contents .img {
	overflow: hidden;
	position: relative;
	line-height: 0;
}
.main_contents ul {
	margin: 0 auto;
	display: block;
	box-sizing: border-box;
	padding: 0 7vw;
}
@media only screen and (max-width: 768px)  {
	.main_contents ul {
	padding: 0 0;
	}
}
.main_contents ul li {
	position: relative;
	padding-bottom: 3vw;
}
.main_contents ul li .no {
	text-align: center;
	margin: 2% auto;
	font-weight: 600;
	font-size: 12px;
	
}

	.main_contents ul {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-gap: 1vw;
	}

	.main_contents ul li {
		padding-bottom: 0;
	}	

	.main_contents ul li .no {
		font-size: 16px;
	}

#main_foot {
	margin: 20% auto 15%;
}
#main_foot .logo {
	width: 40%;
	margin: 0 auto;
}
#main_foot .copy {
	text-align: center;
	font-size: 10px;
	margin: 5% auto 0
}


@media only screen and (min-width: 768px)  {
	#main_foot {
		margin: 10% auto 10%;
	}
	#main_foot .logo {
		width: 20%;
		margin: 0 auto;
	}	
}
.modal-wrapper {
	z-index: 999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* ★修正：高さを全画面に固定 */
	height: 100dvh; /* ★修正：スマホのアドレスバー対策 */
	text-align: center;
	background: #ffffff; /* ★修正：背景を完全な白に */
}

.modal-wrapper:not(:target) {
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
	opacity: 1;
	visibility: visible;
	transition: opacity .4s, visibility .4s;
}

/* ★修正：垂直中央揃え用の疑似要素を消して、上下の隙間をなくす */
.modal-wrapper::after {
	display: none;
}

.modal-wrapper .modal-window {
	box-sizing: border-box;
	display: block; /* ★修正：inline-blockからblockに変更 */
	z-index: 20;
	position: relative;
	width: 100%;
	height: 100%; /* ★修正：高さ100%で画面全体を覆う */
	border-radius: 0; /* ★修正：角丸を0にして端まで埋める */
	background: #fff;
}

.modal-wrapper .modal-window .modal-content {
	height: 100%; /* ★修正：100vhから100%に変更 */
	overflow-y: auto;
	text-align: left;
	-webkit-overflow-scrolling: touch; /* ★追加：iOSでのスクロールを滑らかに */
	padding-bottom: 60px; /* ★追加：一番下が詰まらないよう余白を確保 */
	box-sizing: border-box;
}

.modal-wrapper .modal-close {
	width: auto;
	font-size: 14px;
	text-decoration: none;
	text-indent: 0;
	padding-bottom: 5px;
	border-bottom: 1px solid #000;
	z-index: 20;
	position: relative;
	bottom: auto;
	left: auto;
	text-align: center;
	display: inline-block;
	margin: 40px auto 0; /* ★修正：20%からpxに変更して中央配置 */
}

.modal-wrapper .modal-close:hover {
	color: #2b2e38 !important;
}

.modal-content .look_head {
	display: none;
}

.modal-content .look_inner {
	display: block;
	text-align: center;
	position: relative;
	max-width: 900px;
	margin: 0 auto 5%;
}

.look_inner .look_data {
	width: 90%;
	margin: 5% auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	text-align: left;
	/*追加*/
	margin-right: auto;
    margin-left: auto;
}
.look_inner .look_img {
	line-height: 0;
}
.look_inner .slide {
	position   : relative;
  	overflow   : hidden;
     /* 画像のサイズに合わせて変更ください */
  	width      : 450px;
  	height     : 675px;
  	margin     : auto;  /* サンプルは中央寄せの背景：白 */
  	background : #fff;
}
.look_inner .slide  img{
  display    : block;
  position   : absolute;
	opacity    : 0;
  animation  : slideAnime 6s ease infinite;
}
 /*=== スライドのアニメーションを段差で開始する ========= */
.look_inner .slide img:nth-of-type(1) { animation-delay: 0s }
.look_inner .slide img:nth-of-type(2) { animation-delay: 3s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   25% { opacity: 1 }
  50% { opacity: 1 }
  75% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (max-width: 768px)  {
	.look_inner .slide {
    width: 100%;
    height: 580px;
	}
}
.look_inner .item {
	display: block;
	margin-bottom: 5%;
	width: 100%;
	margin-left: 0%;
	position: relative;
}
.look_inner .item a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}
.look_inner .item .item_name {
	width: 100%;
	margin-left: 0%;
}
.look_inner .item .item_name p {
	font-size: 10px;
}
.look_inner .item .item_name p.time {
	font-size: 10px;
	color: #999;
	margin-top: 10px;
}
.look_inner .item .item_name .arrow {
	width: 16%;
	margin-top: 10%;
	
}
@media only screen and (min-width: 768px)  {
	.modal-wrapper .modal-close {
		z-index: 20;
		position: absolute;
		bottom: 0;
		left: 55%;
		text-align: center;
		display: block;
		margin-top: 0;
	}
	.modal-content .look_head {
		display: block;
		width: 14%;
		margin: 5% auto;
		line-height: 0;
	}
	.modal-content .look_inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin: 0 auto 40%;
	}	
	.look_inner .look_data {
		width: 100%;
		margin: 0 auto;
		display: block;
		text-align: left;
	}
	.look_inner .item {
		display: grid;
		grid-template-columns: 30% 70%;
		margin-bottom: 5%;
		width: 90%;
		margin-left: 10%;
		position: relative;
	}
	.look_inner .item .item_name {
		width: 90%;
		margin-left: 10%;
	}
	.look_inner .item .item_name p {
		font-size: 14px;
	}
	.look_inner .item .item_name p.time {
		font-size: 12px;
	}
	.look_inner .item .item_name .arrow {
		width: 10%;
		margin-top: 10%;
	}
}

  
 /* --- スライダー全体の枠組み --- */
  .slider {
    position: relative;
    width: 100%;
    /* PC表示時に縦に長くなりすぎないよう横幅上限を設定 */
    max-width: 420px; 
    /* 縦長画像に合わせたアスペクト比（幅2 : 高さ3） */
    aspect-ratio: 2 / 3; 
    margin: 0 auto;
    overflow: hidden;
    /*border-radius: 8px;*/
    background-color: #f5f5f5;
  }

  /* 画像表示エリア */
  .slides {
    position: relative;
    width: 100%;
    height: 100%;
  }

/* 画像のスタイル */
.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 画像の歪みを防ぎ、枠いっぱいに綺麗に収める */
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  pointer-events: none; /* ★超重要：画像がマウスクリック判定を吸い込まないようにする */
  user-select: none; /* PCで画像を青く選択させない */
  -webkit-user-drag: none; /* PCで画像をドラッグさせない */
}

/* 表示中の画像 */
.slide-img.active {
  opacity: 1;
  z-index: 2;
}

  /* ドットインジケーター（下部配置） */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20; /* ★画像(z-index: 2)より上に配置 */
  pointer-events: auto; /* クリックを確実に受け取る */
}

/* ドット共通 */
.dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* ★ 左右の判定幅を -15px から -5px に変更（重なりを防止） */
.dot::before {
    content: "";
    position: absolute;
    top: -12px;    /* 上下は押しやすいよう広めに保持 */
    bottom: -12px;
    left: -5px;    /* ★左右は隣のドットと被らないサイズに修正 */
    right: -5px;   /* ★ */
}

/* アクティブ時（透過させた黒 ＝ ニュアンスグレー） */
.dot.active {
    background-color: rgba(88, 88, 88, 0.8);
    transform: scale(1.2);
}


.img,.visual {
	opacity: 0;
	transition: 1.6s all 0s ease;
}
.img.ac,.ac .visual {
	opacity: 1;
}
.wrap h2 ul {
  margin-left: -1px; /* 一番左のボーダー幅と同じ値の負のマージン */
}

.wrap h2 li {
  padding: 0 10px;
  display: inline; /* 横並びにさせる */
  border-left: 1px solid #c0c0c0; /* 区切り線 */
}
.wrap h2 li:first-child {
  border: none; /* 親要素から見て一番目のli要素のボーダーを無しに */
}
.wrap h2 .line{
	border-bottom: solid 1px #000;
	color: #000;
	padding-bottom: 5px;
}
.wrap h2 a{
	color: #c0c0c0;
}