/* 共通
-------------------------------------*/
#content-wrap {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 130px 0 200px;
}

.ratio-5-4 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ratio-5-4::before {
  content: "";
  display: block;
  padding-top: 80%;
}

/* 5:4=80% */
.ratio-5-4>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all .3s ease;
}

#article-archive #archive-content ul li:hover .ratio-5-4>img {
  transform: scale(1.1, 1.1);
}

.l-article .c-postContent a {
  color: var(--base-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@supports (aspect-ratio: 5 / 4) {
  .ratio-5-4 {
    aspect-ratio: 5/4;
  }

  .ratio-5-4::before {
    display: none;
  }
}

@media screen and (max-width:1000px) {
  body {
    font-size: 14px;
  }
}

/* news-list(投稿一覧)
-------------------------------------*/
#news-list .p-archive__title,
#news-list .p-page__title {
  margin-bottom: 130px;
}

#news-list h1 {
  font-family: var(--mincho-font_family);
  font-weight: 600;
}

#news-list ul.post-list {
  width: 100%;
}

#news-list ul.postlist li.postlist-item {
  border-bottom: solid 1px #969696;
}

#news-list ul.postlist li.postlist-item:first-of-type {
  border-top: solid 1px #969696;
}

#news-list ul.postlist li.postlist-item a {
  position: relative;
  align-items: center;
  padding: 35px 65px 35px 25px;
  transition: all .5s ease;
}

#news-list ul.postlist li.postlist-item a:hover {
  background-color: #EEE;
}

#news-list ul.postlist li.postlist-item a:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 15px;
  height: 24px;
  margin: auto 0;
  background-image: url(../../img/arrow-right-brown.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

#news-list ul.postlist li.postlist-item a p {
  width: 185px;
  color: #969696;
  font-size: 20px;
}

#news-list ul.postlist li.postlist-item a h2 {
  width: calc(100% - 185px);
  color: #A67F0B;
  font-size: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

  #news-list .p-archive__title,
  #news-list .p-page__title {
    margin-bottom: 80px;
  }

  #news-list ul.postlist li.postlist-item a {
    padding: 20px 30px 20px 0px;
  }

  #news-list ul.postlist li.postlist-item a p {
    width: 100%;
    font-size: 13px;
  }

  #news-list ul.postlist li.postlist-item a h2 {
    width: 100%;
    font-size: 15px;
  }

  #news-list ul.postlist li.postlist-item a:after {
    right: 0;
    width: 10px;
    height: 16px;
  }
}

/* article-single(投稿個別)
-------------------------------------*/
#article-single {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 130px 0 200px;
}

#article-single .page-name {
  margin-bottom: 130px;
  font-family: var(--mincho-font_family);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 5px;
}

#article-single h1 {
  padding-bottom: 35px;
  margin-top: 10px;
  border-bottom: solid 1px #969696;
}

#article-single p.date {
  color: #969696;
  font-size: 20px;
}

#article-single .p-entry__content.c-postContent {
  margin-bottom: 130px;
}

@media screen and (max-width:1000px) {
  #article-single {
    padding-top: 80px;
  }

  #article-single .page-name {
    margin-bottom: 70px;
    font-size: 30px;
  }

  #article-single h1 {
    margin-top: 5px;
    font-size: 18px;
  }

  #article-single p.date {
    font-size: 14px;
  }

  #article-single .p-entry__content.c-postContent {
    margin-bottom: 50px;
  }
}


/* article-archive(カスタム投稿archive)
-------------------------------------*/
#article-archive #head-area {
  position: relative;
  height: 450px;
  margin-bottom: 150px;
  background-color: #F2ECDA;
  overflow: hidden;
}

#article-archive #head-area::before {
  content: "";
  position: absolute;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  --stripe: 30px;
  --c1: #FFF;
  --c2: rgba(242, 236, 218, .5);

  /* 1タイル= 2本分を作って横に並べる */
  background-image: linear-gradient(90deg, var(--c1) 50%, var(--c2) 0);
  background-size: calc(var(--stripe) * 2) 100%;
  background-position: center;
}

#article-archive #head-area::after {
  content: "";
  position: absolute;
  bottom: -170px;
  left: -45px;
  width: 602px;
  height: 570px;
  background-image: url(../../img/event/event-ebopi01.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

#article-archive #head-area .title-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: fit-content;
  height: fit-content;
  margin: auto;
  font-family: var(--mincho-font_family);
  font-weight: 600;
  text-align: center;
}

#article-archive #head-area .title-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -370px;
  width: 318px;
  height: 275px;
  margin: auto 0;
  background-image: url(../../img/event/event-ebopi02.webp);
  background-repeat: no-repeat;
  background-size: 100%;
}

#article-archive #head-area .title-wrap h1 {
  font-size: 65px;
  font-weight: 500;
  line-height: 1.6;
}

#article-archive #head-area .title-wrap .sub-title {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  font-size: 40px;
}

#article-archive #head-area .title-wrap .sub-title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -15px;
  left: -10px;
  width: 2px;
  height: 30px;
  margin: auto 0;
  background-color: #000;
  transform: rotate(-20deg);
  border-radius: 5px;
}

#article-archive #head-area .title-wrap .sub-title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -15px;
  right: -10px;
  width: 2px;
  height: 30px;
  margin: auto 0;
  background-color: #000;
  transform: rotate(20deg);
  border-radius: 5px;
}

#article-archive #archive-content {
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}

#article-archive #archive-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 70px;
}

#article-archive #archive-content ul li {
  width: calc((100% - 140px) / 3);
  margin-bottom: 100px;
}

#article-archive #archive-content ul li .img-wrap {
  margin-bottom: 15px;
  border-radius: 10px;
}

#article-archive #archive-content ul li dl {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#article-archive #archive-content ul li dl dt,
#article-archive #archive-content ul li dl dd {
  font-size: 16px;
}

#article-archive #archive-content ul li dl dt {
  width: fit-content;
  min-width: 100px;
  max-width: calc(100% - 130px);
  padding: 3px 18px;
  margin-right: 20px;
  background-color: #A67F0B;
  color: #FFF;
  font-weight: 600;
  text-align: center;
}

#article-archive #archive-content ul li dl dd {
  width: 110px;
}

#article-archive #archive-content ul li .text-wrap h3 {
  font-size: 20px;
}

#article-archive #archive-content ul li .text-wrap p {
  background-color: #F2ECDA;
  padding: 5px 15px;
  margin-top: 10px;
  font-size: 15px;
}

#article-archive #archive-content .p-archive__title {
  margin-bottom: 70px;
}

#article-archive #archive-content .p-archive__title .c-pageTitle__main {
  text-align: center;
  font-family: var(--mincho-font_family);
}

@media screen and (max-width:1536px) {
  #article-archive #head-area::after {
    bottom: -95px;
    left: -25px;
    width: 402px;
    height: 385px;
  }
}

@media screen and (max-width:1280px) {
  #article-archive #head-area::after {
    bottom: -70px;
    left: -5px;
    width: 302px;
    height: 285px;
  }
}

@media screen and (max-width:1000px) {
  #article-archive #head-area {
    height: 470px;
    margin-bottom: 80px;
  }

  #article-archive #head-area::after {
    left: -8px;
    bottom: -100px;
    width: 324px;
    height: 302px;
  }

  #article-archive #head-area .title-wrap {
    top: 50px;
    bottom: auto;
  }

  #article-archive #head-area .title-wrap::after {
    content: none;
  }

  #article-archive #head-area .title-wrap h1 {
    font-size: 50px;
    line-height: 1.4;
  }

  #article-archive #head-area .title-wrap .sub-title {
    font-size: 30px;
  }

  #article-archive #head-area .title-wrap .sub-title::before {
    height: 25px;
  }

  #article-archive #head-area .title-wrap .sub-title::after {
    height: 25px;
  }

  #article-archive #archive-content ul {
    gap: 0 40px;
  }

  #article-archive #archive-content ul li {
    width: calc((100% - 40px) / 2);
  }

  #article-archive #archive-content ul li .text-wrap h3 {
    font-size: 18px;
  }
}

@media screen and (max-width:768px) {
  #article-archive #archive-content ul li {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 70px;
  }

  #article-archive #archive-content .p-archive__title .c-pageTitle__main {
    font-size: 24px;
  }
}

/* custom-post(カスタム投稿single)
-------------------------------------*/
#custom-post #head-area {
  position: relative;
  height: 450px;
  margin-bottom: 150px;
  background-color: #F2ECDA;
}

#custom-post #head-area::before {
  content: "";
  position: absolute;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  --stripe: 30px;
  --c1: #FFF;
  --c2: rgba(242, 236, 218, .5);

  /* 1タイル= 2本分を作って横に並べる */
  background-image: linear-gradient(90deg, var(--c1) 50%, var(--c2) 0);
  background-size: calc(var(--stripe) * 2) 100%;
  background-position: center;
}

#custom-post #head-area:after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  width: 151px;
  height: 144px;
  margin: 0 auto;
  background-image: url(../../img/event/event-ebopi03.webp);
  background-repeat: no-repeat;
  background-size: 100%;
}

#custom-post #head-area .title-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 90%;
  max-width: 1000px;
  height: fit-content;
  margin: auto;
  font-weight: 600;
}

#custom-post #head-area .title-wrap .category {
  width: fit-content;
  min-width: 100px;
  padding: 3px 18px;
  margin-bottom: 25px;
  margin-right: 20px;
  background-color: #A67F0B;
  color: #FFF;
  text-align: center;
}

#custom-post #head-area .title-wrap .event-date {
  font-size: 22px;
}

#custom-post #head-area .title-wrap h1 {
  font-size: 55px;
  line-height: 1.3;
}

#custom-post #custom-post-content {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 200px;
}

#custom-post #custom-post-content .img-wrap {
  max-width: 800px;
  margin: 0 auto 100px;
}

#custom-post #custom-post-content .c-postContent {
  margin-top: 0 !important;
}

#custom-post #custom-post-content .event-detail {
  padding: 20px 45px;
  margin-top: 50px;
  background-color: #F3F3E9;
}

#custom-post #custom-post-content dl.event-detail-content {
  display: flex;
  flex-wrap: wrap;
  padding: 25px 0;
  border-bottom: dotted 1px #969696;
}

#custom-post #custom-post-content dl.event-detail-content:last-of-type {
  border: none;
}

#custom-post #custom-post-content dl dt {
  width: 180px;
}

#custom-post #custom-post-content dl dd {
  width: calc(100% - 180px);
}

#custom-post #custom-post-content p.date {
  margin-top: 70px;
  margin-bottom: 40px;
  color: #969696;
  text-align: center;
}

@media screen and (max-width:1000px) {
  #custom-post #custom-post-content {
    padding-bottom: 150px;
  }

  #custom-post #head-area {
    height: 470px;
    margin-bottom: 80px;
  }

  #custom-post #head-area:after {
    bottom: -25px;
    width: 107px;
    height: 102px;
  }

  #custom-post #head-area .title-wrap .category {
    margin-bottom: 15px;
  }

  #custom-post #head-area .title-wrap .event-date {
    font-size: 16px;
  }

  #custom-post #head-area .title-wrap h1 {
    font-size: 35px;
  }

  #custom-post #custom-post-content .img-wrap {
    margin-bottom: 25px;
  }

  #custom-post #custom-post-content p.date {
    margin-top: 35px;
  }
}

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

  #custom-post #custom-post-content .event-detail {
    padding: 10px 17px;
  }

  #custom-post #custom-post-content dl dt,
  #custom-post #custom-post-content dl dd {
    width: 100%;
  }
}