@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

body {
	line-height: 0;
}

#stocklist_content {
	line-height: 1.5;
}

/*=======================
=========================
モーダルウィンドウのレイアウト
=========================
=======================*/

.modalwindow {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalwindow .modalBg {
  width: 100%;
  height: 100%;
  background-color: #1e1e1ec7;
}

.modalwindow .modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
	width: 98%;
  max-width: 1140px;
  padding: 20px;
  background-color: #fff;
	border-radius: 30px;
}

.modalwindow .modalContents h3 {
	font-size: 20px;
	font-weight: bold;
	border-bottom: none;
	box-shadow: none;
	padding: 0 0 0 20px;
}

.modalwindow .modalContents h3::before {
	content: '';
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: -5px;
  font-size: 20px;
  background-image: url(../lightning/images/search_btn_icon.svg);
}

.modalwindow .modalContents h3::after {
	display: none;
}

.modalwindow .modal_cont_list ul {
	margin: 0;
	padding: 0;
}

.modalwindow .modal_cont_list ul li {
	display: inline-block;
	text-align: center;
	border-radius: 10px;
	background: linear-gradient(#fff 0%, #fff 84.73%, #f2f2f2 100%);
	border: 1px solid #ccc;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.16);
	height: 80px;
	line-height: 80px;
	width: 100%;
	max-width: 200px;
}

.modalwindow .modal_cont_list ul li a {
	display: block;
	width: 100%;
	height: auto;
	font-size: 18px;
	font-weight: bold;
	color: #333333;
	position: relative;
}

.modalwindow .modal_type_list ul li,
.modalwindow .modal_maker_list ul li {
	max-width: 257px;
}

.modalwindow .modal_type_list ul li a::before,
.modalwindow .modal_maker_list ul li a::before {
	content: '';
	display: block;
	width: 25px;
	height: 25px;
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	top: 27px;
}

.modalwindow .modal_type_list ul li:nth-child(1) a::before {
	background-image: url(../lightning/images/type-01.svg);
  left: calc(50% - 63px);
}

.modalwindow .modal_type_list ul li:nth-child(2) a::before {
	background-image: url(../lightning/images/type-02.svg);
  left: calc(50% - 71px);
}

.modalwindow .modal_type_list ul li:nth-child(3) a::before {
	background-image: url(../lightning/images/type-03.svg);
  left: calc(50% - 55px);
}

.modalwindow .modal_type_list ul li:nth-child(4) a::before {
	background-image: url(../lightning/images/type-04.svg);
  left: calc(50% - 97px);
}

.modalwindow .modal_type_list ul li:nth-child(5) a::before {
	background-image: url(../lightning/images/type-05.svg);
  left: calc(50% - 121px);
}

.modalwindow .modal_type_list ul li:nth-child(6) a::before {
	background-image: url(../lightning/images/type-06.svg);
  left: calc(50% - 76px);
}

.modalwindow .modal_type_list ul li:nth-child(7) a::before {
	background-image: url(../lightning/images/type-07.svg);
  left: calc(50% - 108px);
}

.modalwindow .modal_type_list ul li:nth-child(8) a::before {
	background-image: url(../lightning/images/type-08.svg);
  left: calc(50% - 88px);
}

.modalwindow .modal_maker_list ul li:nth-child(1) a::before {
	background-image: url(../lightning/images/maker-01.jpg);
	left: calc(50% - 61px);
}

.modalwindow .modal_maker_list ul li:nth-child(2) a::before {
	background-image: url(../lightning/images/maker-02.jpg);
	left: calc(50% - 52px);
}

.modalwindow .modal_maker_list ul li:nth-child(3) a::before {
	background-image: url(../lightning/images/maker-03.jpg);
	left: calc(50% - 44px);
}

.modalwindow .modal_maker_list ul li:nth-child(4) a::before {
	background-image: url(../lightning/images/maker-04.jpg);
	left: calc(50% - 52px);
}

.modalwindow .modal_maker_list ul li:nth-child(5) a::before {
	background-image: url(../lightning/images/maker-05.jpg);
	left: calc(50% - 52px);
}

.modalwindow .modal_maker_list ul li:nth-child(6) a::before {
	background-image: url(../lightning/images/maker-06.jpg);
	left: calc(50% - 61px);
}

.modalwindow .modal_maker_list ul li:nth-child(7) a::before {
	background-image: url(../lightning/images/maker-07.jpg);
	left: calc(50% - 52px);
}

.modalwindow .modal_maker_list ul li:nth-child(8) a::before {
	background-image: url(../lightning/images/maker-08.jpg);
	left: calc(50% - 52px);
}

.modalwindow .modal_maker_list ul li:nth-child(9) a::before {
	background-image: url(../lightning/images/maker-09.jpg);
	left: calc(50% - 44px);
}

.modalwindow .closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

@media screen and (max-width:767px) {
	.modalwindow .modalWrapper {
		padding: 15px;
		width: 90%;
		max-height: 500px;
    overflow-y: scroll;
		border-radius: 0;
	}
	.modalwindow .modalWrapper::-webkit-scrollbar {
		width: 10px;
	}
	.modalwindow .modalWrapper::-webkit-scrollbar-track {
		border-radius: 10px;
  	box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
	}
	.modalwindow .modalWrapper::-webkit-scrollbar-thumb {
		background-color: rgba(187, 187, 187, .5);
	  border-radius: 10px;
	  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
	}
	.modalwindow .modal_cont_list ul {
		text-align: center;
	}
	.modalwindow .modal_cont_list ul li {
		height: 60px;
		line-height: 60px;
	}
	.modalwindow .modal_type_list ul li a::before,
	.modalwindow .modal_maker_list ul li a::before {
		top: 17px;
	}
}
@media screen and (max-width: 575px) {
	.modalwindow .modal_cont_list ul li a {
		font-size: 16px;
	}
}


/*=======================
=========================
在庫一覧の検索ボタンレイアウト
=========================
=======================*/
.search_btn ul {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
}

.search_btn ul li {
	display: inline-block;
	margin: 0;
	max-width: 350px;
  width: 100%;
	height: 100px;
	line-height: 100px;
	text-align: center;
	border-radius: 10px;
	background: linear-gradient(#fff 0%, #fff 84.73%, #f2f2f2 100%);
	border: 1px solid #ccc;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.16);
}

.search_btn ul li:nth-child(2) {
	margin: 0 10px;
}

.search_btn ul li a {
	display: block;
	width: 100%;
	height: auto;
	color: #333333;
	font-weight: bold;
	cursor: pointer;
}

.search_btn ul li a span {
	position: relative;
}

.search_btn ul li a span::before {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 0;
  left: -25px;
	font-size: 20px;
	background-image: url("../lightning/images/search_btn_icon.svg");
}

#stocklist_content h2 {
	font-size: 30px;
	font-weight: bold;
	border-bottom: solid 3px #F21020;
	border-top: none;
	padding: 0;
	margin: 40px 0 20px 0;
	background-color: transparent;
}

#stocklist_content .stock_number {
    display: block;
    text-align: right;
    margin: -46px 0 22px 0;
}

@media screen and (max-width:767px) {
	.search_btn ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.search_btn ul li {
		max-width: 400px;
		margin: 5px 0;
		height: 60px;
		line-height: 60px;
	}
	.search_btn ul li:nth-child(2) {
		margin: 5px 0;
	}
	#stocklist_content .stock_number {
		margin: -20px 0 15px 0;
	}
}


/*=======================
=========================
在庫一覧のレイアウト
=========================
=======================*/
#stocklist_content .row #main {
	padding: 0;
}

#stocklist_content .pnavi {
	margin: 50px auto;
	text-align: center;
}
#stocklist_content .pnavi .dots {
	border: none;
}
#stocklist_content .pnavi a:hover {
	background-color: red;
	color: #fff;
	text-decoration: none;
}

.stock_page_btn {
	text-align: center;
}

.stock_page_btn a {
	color: #333;
	text-decoration: underline;
}

.stock_page_btn a:hover {
	text-decoration: none;
}
