@charset "utf-8";


/*機材ラインナップ
---------------------------------------------------------------------------*/
.eq-list {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0!important;
}
.eq-list li{
  width: 48%;
  margin-bottom: 4rem;
  box-shadow: 10px 7px 0px #d1d1d1;
  overflow: hidden;
  position: relative;
  transition: .3s;
}

/* マウスオーバー時 */
.eq-list li:hover{
  box-shadow: 10px 7px 0px #d1d1d1;
  transform: translateY(-15px);
  cursor: pointer;

}
.eq-list li:hover .eq-txt {
  color: #878787;
}


.eq-list li .eq-img {
  width: 100%;
  background-image: radial-gradient(rgba(233, 233, 233, 1), rgba(114, 114, 114, 1));
  overflow: hidden;
  text-align: center;
  aspect-ratio: 1000 / 650;
}
.eq-list li .eq-img img {
  /* max-height: 100%; */
  width: auto;
}
.eq-list li .eq-txt {
  padding: 20px 30px;
  background-color: #fff;
  transition: .3s;
}
.eq-list li .eq-txt .tokkyo{
  font-size: .9em;
  color: #fff;
  background-color: #000;
  padding: 4px 20px;
  display: inline-block;
  letter-spacing: .1em;
  border-radius: 30px;
  margin: 0;
}
.eq-list li .eq-txt .eq-ttl{
  font-size: 1.8em;
  font-weight: bold;
  margin: .5rem 0;
  letter-spacing: .1em;
}
.eq-list li .openModal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  box-sizing: border-box;
  background: none;
  border: 1px solid #dfdfdf;

}

/*モーダル
---------------------------------------------------------------------------*/
.modal {
  display: none; /* 初期状態で非表示 */
  position: fixed; /* 画面全体の中央に表示するためにfixedを使用 */
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 背景を暗くする */
  backdrop-filter: blur(5px); /* 背景をぼかす */
  justify-content: center; /* 横方向に中央揃え */
  align-items: center; /* 縦方向に中央揃え */
}


.modal-content {
  background-color: #ffffff;
  padding: 3rem 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 80%;
  width: 80%;
  animation: fadeIn 0.4s ease;
  position: relative;
}



.close {
  color: #333;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #e74c3c; /* ホバー時に鮮やかな赤色に */
  text-decoration: none;
  cursor: pointer;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*機材詳細
---------------------------------------------------------------------------*/
/* flexbox */
.detail-fl {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}
.detail-fl .detail-img {
	width: 45%;
}
.detail-fl .detail-txt {
	width: 53%;
}

/*その他機材
---------------------------------------------------------------------------*/
.other-list {
  position: relative;
  padding: 3.5em 4.5em;
  border: 1px solid #222;
  box-shadow: 10px 7px 0px #d1d1d1;
  width: 80%;
  margin: 0 auto 2rem;
}

.other-list > div {
  position: absolute;
  top: -.75em;
  left: 1em;
  padding: 0 .5em;
  background-color: #fff;
  color: #222;
  font-weight: 600;
  font-size: 1.8em;
  letter-spacing: .02em;
}

.other-list ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style-position: inside;
}

.other-list li {
  padding: .3em .3em .3em 0;
  margin-right: 1rem;

}

.other-list li::marker {
  color: #222;
  font-size: 1.1em;
}

/*---------------------------------------------------------------------------
【SP】画面サイズが767px以下
---------------------------------------------------------------------------*/
@media screen and (max-width:767px) { 

/*機材ラインナップ
---------------------------------------------------------------------------*/
.eq-list {
  width: 90%;
  flex-wrap: wrap;
}
.eq-list li{
  width: 100%;
  margin-bottom: 2rem;
}

  /*モーダル
---------------------------------------------------------------------------*/

.modal-content {
  padding: 3rem 1rem;
  overflow: scroll;
  max-height: 70%;
}

  /*機材詳細
---------------------------------------------------------------------------*/
.content-area {
	width: 90%;
	padding: 2rem 2rem;
}
/* flexbox */
.detail-fl {
	flex-wrap: wrap;
}
.detail-fl .detail-img {
	width: 100%;
	margin-bottom: 1rem;
}
.detail-fl .detail-txt {
	width: 100%;
}
 
#contentTitle {
	font-size: 1.8em;
	border-bottom: 1px solid;
	text-align: left;
}


/*その他機材
---------------------------------------------------------------------------*/
.other-list {
  width: 100%;
}

/*メイン画像
---------------------------------------------------------------------------*/
#mainimg {
  height: 50vw;
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}





/*---------------------------------------------------------------------------
【Tab】画面サイズ768px以上1024px以下
---------------------------------------------------------------------------*/
@media screen and (min-width:768px) and ( max-width:1024px) {


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}





/*---------------------------------------------------------------------------
【PC】画面サイズ1025px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:1025px) {

/*menubarブロック設定
---------------------------------------------------------------------------*/

/*メニュー１個あたりの設定*/
.p #menubar a {
	color: #616161;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}
