@charset "utf-8";
/* CSS Document */
#workList{
	margin-bottom: clamp(100px,12vw,200px);
}
#workList li{
	margin-bottom: 50px;
}

#detail{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:16px;

}


.l_ttl{
    position: relative;
    margin-bottom: 1em;
    padding:.5rem .8rem 0.8rem 3rem;	
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5em;
}
.l_ttl::before{
	position: absolute;
	content: '';
	left: 0;
	top: 50%;
	background: url("../img/logomark.png")no-repeat center/contain;
	width: 2rem;
	height: 2rem;
	transform: translateY(-50%);
}

.l_ttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: #f3d723;
  border-radius: 0.5333333333vw;
}
.detail { 
	width: 90%;
	margin:10px auto 0;
}

.img-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin: 10px 0 14px;
}
.img-cell {
  aspect-ratio: 3 / 2;   /* 横長 */
  overflow: hidden;
}

.img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detailText { 
	padding: 1rem;
	border:3px solid #fff000;
	background: #fff;
	border-radius: 10px;
	margin: 10px 0 16px; 
	line-height: 1.8; 
}

@media(max-width:500px){
  .img-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}