@charset "UTF-8";

#comic {
  background: #666;
}

#comic .comic-innner {
  background: #fff;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 50px;
}

#comic .comic-innner ul li {
  text-align: center;
}

#comic .comic-innner ul li img {
  width: 80%;
}

#comic .comic-ttl {
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 0.5em;
  padding: 5px;
  background: var(--pink);
  color:#fff;
  font-weight: 700;
  position: relative;
}

#comic .comic-ttl:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: var(--pink) transparent transparent transparent;
  border-width: 20px 20px 0 20px;
}


#comic .comic-item:nth-of-type(2) .comic-ttl {
  background: var(--blue);
}

#comic .comic-item:nth-of-type(2) .comic-ttl:after {
  border-color: var(--blue) transparent transparent transparent;
}

#comic .comic-item:nth-of-type(3) .comic-ttl {
  background: var(--orange);
}

#comic .comic-item:nth-of-type(3) .comic-ttl:after {
  border-color: var(--orange) transparent transparent transparent;
}

#comic .comic-item:nth-of-type(4) .comic-ttl {
  background: var(--green);
}

#comic .comic-item:nth-of-type(4) .comic-ttl:after {
  border-color: var(--green) transparent transparent transparent;
}

#comic .link {
  width: 80%;
  margin: 0 auto;
}

#comic .link a {
  display: block;
}

#comic .link a:hover {
  opacity: 0.5;
}

#comic .link img {
  width: 100%;
}

/* ---------------------------------
SP用
--------------------------------- */
@media screen and (max-width: 992px) {
  #comic .comic-innner {
    padding: 50px 15px;
  }

  #comic .comic-ttl {
    font-size:1.8rem;
  }

  comic .comic-ttl:after {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
  }

  #comic .comic-innner ul li img {
    width: 100%;
  }

  #comic .link {
    width: 90%;
  }
}