@charset "utf-8";

.main {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
.head-level2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  border-bottom:solid 1px #e8e8e8;
  text-align: center;
  color: #363636;
}
.head-level2 span {
  display: block;
  padding-bottom: 10px;
  font-size: 0.8rem;
  line-height: 1;
}

/* index.html */
.work-informations {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 60px;
}

@media screen and (max-width:768px) {
  .work-informations {
    display: block;
  }
}
.content-wrap {
  flex-basis: 40%;
  max-width: 400px;
  padding: 16px;
  /* margin-bottom: 20px; */
  margin: 0 auto 20px;
  -moz-box-shadow: 0px 10px 20px -11px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 0px 10px 20px -11px rgba(0, 0, 0, 0.65);
  -ms-box-shadow: 0px 10px 20px -11px rgba(0, 0, 0, 0.65);
  box-shadow: 0px 10px 20px -11px rgba(0, 0, 0, 0.65);
}
@media screen and (max-width:768px) {
  .content-wrap {
    flex-basis: 48%;
  }
}
.info-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.info-wrap::before {
  position: absolute;
  bottom: -20px;
  content: '';
  display: block;
  width: calc(100% - 278px);
  transform: translateX(278px);
  height: 2px;
  border-bottom: solid 1px #e8e8e8;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .info-wrap::before {
    width: 90%;
    transform: none;
    margin: 0 5%;
  }
}
.info-inner {
  display: flex;
}

.info__img {
  position: relative;
  max-width: 120px;
  width: 100%;
  margin: auto;
}
@media screen and (max-width:768px) {
  .info__img {
    max-width: 90%;
  }
}
.content__img::before,
.info__img::before {
  content: '';
  display: block;
  padding-top: 75%;
}

.content__img img,
.info__img img {
  /* object-fit: cover; */
  object-fit: contain;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  border: solid 1px #f1f0f0;
}

.info__date {
  font-size: 0.8rem;
}

.info-title-wrap {
  flex-basis: 150px;
  margin-right: 8px;
}

.info-title {
  width: 100%;
  font-size: 1.1rem;
}

.info__text{
  width: calc(100% - 286px);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  line-height: 1.82;
}

@media screen and (max-width:768px) {
  .info-inner {
    display: block;
  }

  .info-title-wrap,
  .info__text {
    width: 90%;
    margin: auto;
  }
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 100px;
}
.button-wrapper {
  margin: 10px;
  width: 40%;
}
.button {
  display: block;
  width: 100%;
  min-width: 250px;
  line-height: 4;
  border-radius: 5px;
  background: #FCD17C;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  transition: all ease .3s;
  cursor: pointer;
}

@media screen and (max-width:768px) {
  .button-wrapper {
    max-width: 250px;
    width: 100%;
  }
}
.button a {
  display: block;
}

@media (hover: hover) and (pointer:fine) {

  .button:hover {
    background: #535353;
    color: #ffffff;
  }
  .button:hover a {
    color: #ececec;
  }
}

/* list.html */
.content-title {
  font-size: 1.2rem;
}
.content__img {
  position: relative;
  width: 100%;
}
.content__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.pagenation-wrap {
  margin-bottom: 30px;
}
.to-index {
  margin-bottom: 100px;
}
.space {
  position: relative;
  left: -8px;
}

@media screen and (max-width:768px) {
  
}
.work-informations-wrapper {
  margin-top: 30px;
  padding: 0 1rem;
}
/* detail.html */
.detail {
  max-width: 600px;
  width: 100%;
  margin: 30px auto;
}
.detail__img {
  width: 100%;
  margin: 0 auto 10px;
}
.detail-title {
  text-align: center;
  font-size: 1.8rem;
}
.detail .info__date {
  font-weight: 800;
}
.detail-button-wrapper {
  padding-bottom: 100px;
  width: 100%;
  max-width: 600px;
  margin: auto;
}
@media screen and (max-width:768px) {
  .detail {
    margin-top: 0;
  }
}