@charset "utf-8";

#sec02 {
	position: relative;
	margin-bottom: 32px;
	padding: 0 15px;
	background-color: #fff;
}
#sec02::after {
	position: absolute;
	content: '';
	display: block;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 1px;
}
#sec02 .container {
	position: relative;
	padding-top: 47px;
	padding-bottom: 29px;
}
#sec02 .bloc_ttl {
	position: absolute;
	top: -40px;
	line-height: 1.4;
}
#sec02 .bloc_ttl h2 {
	font-size: 4.2rem;
	font-weight: bold;
}
#sec02 .bloc_ttl .jp {
	font-size: 1.8rem;
	font-weight: bold;
}
#sec02 .bloc_ttl .jp span{
	font-weight: normal;
}
#sec02 .bloc_ttl h2 span {
	font-weight: normal;
	color: #e54746;
}
#sec02 .works {
	margin-bottom: 22px;
}
#sec02 .col{
	max-width: 19%;
	width: 100%;
}
#sec02 .col a {
	display: block;
	z-index: 10;
	width: 100%;
	left: 100%;
}
#sec02 .col a:hover {
	text-decoration: none;
}
#sec02 figure {
	position: relative;
	width: 100%;
	height: 180px;
	margin-bottom: 18px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
  -webkit-transition: All 0.3s ease;
  -moz-transition: All 0.3s ease;
  -o-transition: All 0.3s ease;
}
#sec02 figure:hover{
	background-size: 105%;
}
#sec02 figure .bg {
  -webkit-transition: All 0.3s ease;
  -moz-transition: All 0.3s ease;
  -o-transition: All 0.3s ease;
}
#sec02 figure:hover .bg {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.55);
}
#sec02 .col:nth-child(1) figure {
	background-image: url(../images/works01.jpg);
}
#sec02 .col:nth-child(2) figure {
	background-image: url(../images/works02.jpg);
}
#sec02 .col:nth-child(3) figure {
	background-image: url(../images/works03.jpg);
}
#sec02 .col:nth-child(4) figure {
	background-image: url(../images/works04.jpg);
}
#sec02 .col:nth-child(5) figure {
	background-image: url(../images/works05.jpg);
}
#sec02 figure p{
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 2.0rem;
	color: #f2f5f8;
	line-height: 1;
	text-align: center;
	width: 98%;
}
#sec02 figure span {
	font-size: 2.3rem;
	font-weight: bold;
	font-family: 'Roboto', sans-serif;
}
#sec02 .ttl {
	min-height: 50px;
	font-size: 1.4rem;
	line-height: 1.5;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: solid 1px #f2f5f8;
}
#sec02 .col .btn {
	position: relative;
	text-align: right;
	font-size: 1.5rem;
	padding-right: 1em;
}

#sec02 .ttl span {
padding: 10px;
display: inline-block;
margin-bottom: -40px;
}
#sec02 .col .btn::after {
	position: absolute;
	content: '';
	display: block;
	top: 50%;
	right: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid #f2f5f8;
  border-bottom: 1px solid #f2f5f8;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#sec02 .col .btn:hover {
	color: #D82E2D;
}
#sec02 .col .btn:hover::after {
  border-right: 1px solid #D82E2D;
  border-bottom: 1px solid #D82E2D;
}



@media screen and (max-width: 736px) {
	
	#sec02 {
		padding: 0px;
	}
	#sec02 .bloc_ttl {
		padding-right: 23px;
		left: 6.67vw;
	}
	#sec02 .bloc_ttl h2 {
		text-align: left;
		letter-spacing: 0.06em;
	}
	#sec02 .bloc_ttl .jp {
	}
	#sec02 .ttl span {
		padding: 0;
	}
	#sec02 .works {
		padding: 0 6.88vw;
	}
	#sec02 .col {
		max-width: none;
		width: 41.67vw;
	}
	#sec02 .ttl {
		margin-bottom: 30px;
		font-size: 1.2rem;
	}
	
	.characters-section {
  text-align: center;
  padding: 40px 20px;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}
}

.characters-section {
  text-align: center;
  padding: 30px 20px;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}

.character-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  justify-items: center;
}

.character {
  max-width: 500px;
  text-align: center;
}

.character-image {
  width: 280px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 12px;
}

.name {
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.cv {
  font-size: 16px;
  color: #9d7855;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .character-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 716px) {
  .character-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
