@charset "UTF-8";

.m-page {
  padding: 0;
}

.p-activity {
  position: relative;
  padding: 120px 30px 0;
}

.p-activity::before {
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100% + 80px);
  top: 0;
  left: 0;
  z-index: 1;
  background: url("../../../images/post/activity/bg_activity_ptn01.png")repeat, #FAFDF7;
  background-size: 200px;
}


.p-activity-content {
    background: #fff;
    border-radius: 5px;
    max-width: 880px;
    margin: 0 auto;
    padding: 80px 60px;
    position: relative;
    z-index: 2;
}


.p-heading {
  color: #777777;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.p-heading small {
  font-size: 1.2rem;
}

.p-heading span {
  display: block;
  color: #568541;
  font-size: 1.4rem;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-style: normal;
  padding: 0 0 20px;
}



.p-activity-list {
    position: relative;
    padding: 0 30px 100px;
}

.p-activity-list::before {
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
  bottom: 0;
  height: calc(100% - 80px);
  background: url("../../../images/post/activity/bg_activity_ptn02.png")repeat, #568541;
  background-size: 200px;
  z-index: 1;
}

.p-activity-inner {
  position: relative;
  z-index: 2;
}

.p-pic {
  max-width: 1040px;
  margin: 0 auto 100px;
}

#activity .m-heading {
  color: #fff;
}

.p-bottom {
  padding: 80px 40px 100px;
  text-align: center;
  font-size: 1.6rem;
}




@media screen and (max-width: 767px){

  .p-heading span {
    font-size: 1rem;
  }


  .p-heading {
    margin-bottom: 60px;
  }


  .p-activity {
    padding: 80px 20px 0;
  }

  .p-activity-content {
      padding: 60px 20px;
  }

  .p-activity-list {
    padding: 0 0 80px;
  }

  .p-pic {
    margin: 0 auto 130px;
    width: calc(100% - 40px);
  }


  .p-bottom {
    padding: 60px 40px 80px;
    font-size: 1.3rem;
    line-height: 2;
    text-align: left;
  }

  .m-archive {
    padding: 0 30px 40px;
  }


}


/* single */
.p-single {
  background: url("../../../images/post/activity/bg_activity_ptn01.png")repeat, #FAFDF7;
  background-size: 200px;
  padding: 120px 30px 100px;
}

.p-single-inner {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  padding: 40px 40px 80px;
}

.p-single-ttl {
    font-size: 1.8rem;
    margin: 0 0 40px;
}

.p-single-thumbnail {
  margin: 0 auto 40px;
  width: 100%;
}

.p-single-thumbnail img {
  width: 100%;
}

.p-slider-content {
  margin: 0 auto 40px;
  width: 100%;
}

#activity_single .slider {
  margin: 0 0 20px;
}

#activity_single .p-slider-content img {
  height: auto;
  width: 100%;
}

#activity_single .thumbnail {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

#activity_single .thumb {
  flex: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

#activity_single .thumb.active {
  opacity: 1;
}

.p-single-editor {
  padding: 0 0 20px;
}

.p-single-editor p {
  font-size: 1.4rem;
  line-height: 1.7;
}

.p-single-editor p + p {
  padding-top: 30px;
}

.p-single-editor p strong {
  font-weight: bold;
}

.p-single-editor p small {
  font-size: 1.2rem;
}

.p-detail {
  width: 100%;
  font-size: 1.4rem;
  margin: 0 0 60px;
}

.p-detail th {
  padding: 20px 0;
  width: 150px;
  text-align: left;
}

.p-detail td {
  padding: 20px 0;
}

.p-detail tr {
  border-bottom: solid 1px #CCCCCC;
}



@media screen and (max-width: 767px){
  .p-single {
    padding: 80px 20px;
  }

  .p-single-inner {
    padding: 60px 20px 80px;
  }

  .p-single-ttl {
      font-size: 1.6rem;
  }

  #activity_single .slider .slide {
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      position: relative;
    }

    #activity_single .slider .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
    }

  #activity_single .thumbnail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #activity_single .thumb {
    width: 100%; /* グリッド内で均等幅 */
  }

  .p-single-editor p {
    font-size: 1.3rem;
  }

  .p-single-editor p + p {
    padding-top: 25px;
  }

  .p-single-editor p small {
    font-size: 1rem;
  }

  .p-detail {
    font-size: 1.2rem;
    margin: 0 0 80px;
  }

  .p-detail th {
    display: block;
    width: 100%;
    padding: 20px 0 10px;
  }

  .p-detail td {
    display: block;
    padding: 0 0 20px;
  }
}
