@charset "UTF-8";

/*-------------------------------------------
CSS
-------------------------------------------*/

/*-------------------------------------------
産業別ソリューション各種一覧ページ
-------------------------------------------*/

/*コンテンツ*/
.industry-item {
    /* border-radius: 10px; */
    background: #fff;
    padding: 0;
    text-align: center;
    /* font-weight: bold; */
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0);
    border: solid 1px #eee;
    height: auto;
	cursor: pointer;
}

.industry-item p {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 0;
    background: #eee;
    margin: 20px;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.industry-item img {
    padding-bottom: 5px;
    object-fit: contain;
    width: 130px;
    height: 130px;
}

.industry-item__scale img {
	scale: 1.3;
}

.industry-item ul li {
    padding-bottom: 10px;
    font-size: 0.8rem;
}

 @media (width < 768px) {
	.industry-item__scale img {
	scale: 1.0;
	}
 }

/*ポップアップ用CSS*/

	/*-------------------------------------------
	ワーク詳細用CSS
	-------------------------------------------*/
	.products-industry__button {
		background: #00A42C;
		color: #fff;
		border: 1px solid #00A42C;
		padding: 10px;
		font-weight: 900;
		font-size: 0.8rem;
	}

	.products-industry__button:hover{
		background: #fff;
		color: #00A42C;
		border: 1px solid #00A42C;
		cursor:pointer;
	}

	.products-industry__title{
    font-size: 1.5rem;
    padding: 5px;
    margin-bottom: 50px;
    background-color: #333;
    color: white;
	}

	.products-industry__text {
	font-size: 0.9rem;
	text-align: left;
	margin-bottom: 50px;
	}

	.products-industry__text--title {
	font-weight: 900;
	margin-bottom: 10px;
	}

	.products-industry__text--list {
	padding-left: 1em;
  	text-indent: -1em;
	}

	.products-industry__text span {
		display: grid;
	}

	.products-industry__table {
	margin: 0 auto 50px;
    max-width: 500px;
    width: 100%;
	}

	#products-industry {
	width: 100vw; /*画面に大きさを合わせる*/
	height: 100vh;
	position: fixed; /*ラッパーの左上隅を画面左上に固定*/
	top: 0px;
	left: 0px;
	display: none;
	z-index:1000;
	}

	#products-industry__bg{
	width: 100%; /*ラッパー全体を覆うようにする*/
	height: 100%;
	background-color: rgba(224, 224, 224, 0.8); /*半透明の黒*/
	cursor: pointer;
	z-index:1001;
	}

	#products-industry__body{
	width: 50%;
    height: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 50px 5%;
    border: 0;
    overflow: scroll;
    background-color: #fff;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4);
	text-align: center;
    z-index: 1000;
	}

	@media only screen and (max-width: 960px) {
	#products-industry__body {
	width: 90%;
	}
	.products-industry__title {
	font-size: 1.0rem;
	}
	}

	.products-industry__close{
	position: fixed;
	top: 0px;
	right: 10px;
	font-size: 3.0em;
	font-weight: bold;
	cursor: pointer;
	z-index:1000;
	}

	@media only screen and (max-width: 40.063em) {
	.products-industry__title{
		font-size: 1.5em;
	}
	#products-industry__body{
		width: 90%;
		padding: 20px 5%;
	}
	}

	 .products-industry__work {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		justify-content: center;
		margin-bottom: 50px;
	 }

	 .products-industry__work--secondary {
		grid-template-columns: 1fr;
	 }

	 .products-industry__work img {
		margin: 0 auto 30px;
		text-align: center;
		width: 150px;
	 }

	 .products-industry__work--scale img {
		transform: scale(2);
	 }

	 .products-industry__connection {
		display: grid;
		gap: 20px;
		grid-template-columns: 1fr 1fr 1fr;
	 }

	 .products-industry__connection--item {
		width: calc(100% - 30px);
    	margin: 0 auto;
	 }

	.products-industry__connection--item ul {
		text-align: left;
		white-space: pre-line;
		font-size: 0.9rem;
	 }

	.products-industry__connection--item ul span {
		font-size:1.0rem;
		font-weight: 900;
	 }

	.products-industry__connection--item ul li {
		font-size: 0.8rem;
	}

	.products-industry__youtube {
		margin: 0 auto;
		margin-bottom: 50px;
	}

	.products-industry__youtube--secondary {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.products-industry__youtube img {
		width: calc(100% / 2 - 20px);
		height: auto;
		object-fit: contain;
	}

	.products-industry__youtube--secondary img {
		width: calc(100% - 20px);
	}

	@media (width < 768px) {
    .products-industry__work  {
      display: block;
    }
	.products-industry__work--scale img {
		transform: scale(1);
	}
	}

	@media screen and (max-width: 768px) {
		.products-industry__youtube img {
			width: calc(100% - 20px);
	 	}
		.products-industry__connection {
			grid-template-columns: 1fr;
	 	}

		.products-industry__youtube iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
		}
	}

	img.videoThumb {
		cursor: pointer;
	}

	img.videoThumb:hover {
		opacity: 0.8;
	}

	.modalContent {
		background-color: #fefefe;
		margin: 15% auto;
		padding: 0;
		border: 1px solid #888;
		animation: fadeIn 0.7s ease 0s 1 normal;
		position: relative;
		width: 100%;
		aspect-ratio: 16 / 9;
		max-width: 600px;
	}

	.modalContent iframe {
		position: absolute;
		width: 100%;
		height: 100%;
	}

	button.closeBtn {
		display: inline-block;
		vertical-align: middle;
		color: #FFF;
		line-height: 1;
		width: 1.6rem;
		height: 0.2rem;
		background: currentColor;
		border-radius: 0.1rem;
		position: absolute;
		transform: rotate(45deg);
		border: none;
		right: -35px;
		top: 7px;
		opacity: 0.6;
		transition: 0.2s ease-in-out;
	}

	button.closeBtn:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: inherit;
		border-radius: inherit;
		transform: rotate(90deg);
	}

	button.closeBtn:hover {
		opacity: 1;
	}

	@keyframes fadeIn {
		0% {
			opacity: 0;
			transform: translateY(30px);
		}

		100% {
			opacity: 1;
		}
	}

	@keyframes fadeOut {
		0% {
			opacity: 1;
		}

		100% {
			opacity: 0;
			transform: translateY(60px);
		}
	}


	/*-------------------------------------------
	JavaScript
	-------------------------------------------*/
	.products-industry__popup--title{
	font-size: 1.5rem;
	text-align: center;
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 15px;
	background-color: #333;
	color: white;
	}

	.products-industry__popup--text {
	font-size: 0.9rem;
	text-align: left;
	}

	#products-industry__popup1,
	#products-industry__popup2,
	#products-industry__popup3,
	#products-industry__popup4,
	#products-industry__popup5,
	#products-industry__popup6,
	#products-industry__popup7,
	#products-industry__popup8,
	#products-industry__popup9,
	#products-industry__popup10,
	#products-industry__popup11,
	#products-industry__popup12,
	#products-industry__popup13,
	#products-industry__popup14,
	#products-industry__popup15,
	#products-industry__popup16,
	#products-industry__popup17 {
	width: 100vw; /*画面に大きさを合わせる*/
	height: 100vh;
	position: fixed; /*ラッパーの左上隅を画面左上に固定*/
	top: 0px;
	left: 0px;
	display: none;
	z-index:1000;
	}

	#products-industry__popup--bg{
	width: 100%; /*ラッパー全体を覆うようにする*/
	height: 100%;
	background-color: rgba(224, 224, 224, 0.8); /*半透明の黒*/
	cursor: pointer;
	z-index:1001;
	}

	#products-industry__popup--body{
	width: 50%;
    height: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 50px 5%;
    border: 0;
    overflow: scroll;
    background-color: #fff;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4);
	text-align: center;
    z-index: 1000;
	}

	@media only screen and (max-width: 960px) {
	#products-industry__popup--body {
	width: 90%;
	}
	.products-industry__popup--title {
	font-size: 1.0rem;
	}
	}

	.products-industry__popup--close{
	position: fixed;
	top: 0px;
	right: 10px;
	font-size: 3.0em;
	font-weight: bold;
	cursor: pointer;
	z-index:1000;
	}

	@media only screen and (max-width: 40.063em) {
	.products-industry__popup--title{
		font-size: 1.5em;
	}
	#products-industry__popup--body{
		width: 90%;
		padding: 20px 5%;
	}
	}


/*SP*/
 @media screen and (max-width: 821px) {
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 0));
    }
  }

  @media screen and (max-width: 521px) {
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(165px, 0));
      gap: 10px;
    }
    .industry-item p {
        margin: 10px;
    }
  }
