body,
input,
textarea,
select {
  font-family: "Zen Maru Gothic", sans-serif;
}

html,
body {
  color: #191919;
}
/*-----------------------------------------------------------
	ヘッダー
-----------------------------------------------------------*/
.community-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 99999;
  transition: all 0.3s ease;
}

.community-header::after {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  width: 100%;
  height: 41px;
  background: url(/assets/images/commchan/bg_uneven01.png) center center / 1928px 41px no-repeat;
  transform: translateX(-50%);
  content: "";
}

.community-header .community-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 3%;
}

.community-header .community-header-wrap .community-header-logo {
  width: 145px;
  height: 50px;
}

.community-header .community-header-wrap .community-header-logo a {
  display: block;
}

.community-header .community-header-wrap .community-header-logo img {
  width: 100%;
  height: auto;
}

.community-header .community-header-wrap .community-header-info {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.community-header .community-header-wrap .community-header-info figure {
  height: 39px;
}

.community-header .community-header-wrap .community-header-info figure img {
  width: auto;
  height: 100%;
}

.community-header .community-header-wrap .community-header-info > p {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
  color: #4a77ba;
}

@media screen and (max-width: 768px) {
  .community-header {
    top: -150px;
  }

  .community-header.js-active {
    top: 0;
  }

  .community-header::after {
    top: calc(100% - 3px);
    height: 27px;
    background: url(/assets/images/commchan/bg_uneven01_sp.png) center center / 776px 27px no-repeat;
  }

  .community-header .community-header-wrap {
    flex-direction: column;
    padding: 13px 16px 12px;
  }

  .community-header .community-header-wrap .community-header-logo {
    position: relative;
    width: 106px;
    height: 36px;
  }

  .community-header .community-header-wrap .community-header-info {
    position: relative;
    column-gap: 12px;
    margin: 23px 0 0;
  }

  .community-header .community-header-wrap .community-header-info::before {
    position: absolute;
    top: -10px;
    left: 50%;
    width: calc(100% - 29px);
    height: 1px;
    background: #d9d9d9;
    content: "";
    transform: translateX(-50%);
  }

  .community-header .community-header-wrap .community-header-info figure {
    height: 28px;
  }

  .community-header .community-header-wrap .community-header-info > p {
    flex: 1;
    font-size: 0.875em;
  }
}

/*-----------------------------------------------------------
	フッター
-----------------------------------------------------------*/
.community-footer {
  position: relative;
  margin: 115px 0 0;
  background: url(/assets/images/commchan/bg_concrete.jpg) top center / 100px 100px repeat;
}

.community-footer::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 100%;
  height: 50px;
  transform: translateX(-50%);
  background: url(/assets/images/commchan/bg_uneven03.png) center center / 1920px 50px no-repeat;
  content: "";
}

.community-footer .community-footer-wrap {
  padding: 35px 20px 56px;
}

.community-footer .community-footer-wrap ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.community-footer .community-footer-wrap ul li a {
  padding: 19px 69px 20px;
  border: 2px solid #d9d9d9;
  border-radius: 16px;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1.5;
  color: #191919;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.community-footer .community-footer-wrap ul li a:hover {
  opacity: 0.7;
}

.community-footer .community-footer-wrap ul li.channavi-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
}

.community-footer .community-footer-wrap ul li.channavi-link a img {
  width: 43px;
  height: 43px;
  border: 1px solid #87bd42;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .community-footer {
    margin: 68px 0 0;
  }

  .community-footer::before {
    height: 25px;
    background: url(/assets/images/commchan/bg_uneven03_sp.png) center center / 768px 25px no-repeat;
  }

  .community-footer .community-footer-wrap {
    padding: 28px 20px 44px;
  }

  .community-footer .community-footer-wrap ul li a {
    padding: 13px 52px;
  }

  .community-footer .community-footer-wrap ul li.channavi-link a {
    column-gap: 12px;
  }

  .community-footer .community-footer-wrap ul li.channavi-link a img {
    width: 34px;
    height: 34px;
  }
}
/*-----------------------------------------------------------
	共通ブロック
-----------------------------------------------------------*/
.common-mask {
  /* Chrome, Safari, スマホブラウザ用のプレフィックス */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 372 232'%3E%3Cpath d='M370.156 59.5268C369.88 23.2431 346.012 2.23204 313.511 2.23204L186 0L58.489 2.23204C25.9883 2.23204 2.12 23.2343 1.84412 59.5268C1.84412 59.5268 -0.0692567 104.686 0.00193868 115.996C0.0731341 127.305 1.84412 172.473 1.84412 172.473C2.24459 210.541 25.9883 229.768 58.489 229.768L186 232L313.511 229.768C346.012 229.768 369.755 210.541 370.156 172.473C370.156 172.473 371.918 127.305 371.998 115.996C372.069 104.686 370.156 59.5268 370.156 59.5268Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  /* 標準ブラウザ用 */
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 372 232'%3E%3Cpath d='M370.156 59.5268C369.88 23.2431 346.012 2.23204 313.511 2.23204L186 0L58.489 2.23204C25.9883 2.23204 2.12 23.2343 1.84412 59.5268C1.84412 59.5268 -0.0692567 104.686 0.00193868 115.996C0.0731341 127.305 1.84412 172.473 1.84412 172.473C2.24459 210.541 25.9883 229.768 58.489 229.768L186 232L313.511 229.768C346.012 229.768 369.755 210.541 370.156 172.473C370.156 172.473 371.918 127.305 371.998 115.996C372.069 104.686 370.156 59.5268 370.156 59.5268Z' fill='black'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  overflow: hidden;
}

.common-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カードレイアウト */
.community-card-list > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 82px 85px;
  margin: 0 auto;
  padding: 0 75px;
}

.community-card-list .community-card {
  width: calc(100% / 3 - 57px);
}

.community-card-list .community-card.is-new {
  position: relative;
}

.community-card-list .community-card.is-new::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 96px;
  height: 96px;
  background: url(/assets/images/commchan/icon_new.png) center center / cover no-repeat;
  content: "";
  transform: translate(-50%, -50%);
  z-index: 1;
}

.community-card-list .community-card a {
  display: block;
  color: #191919;
  text-decoration: none;
  transition: all 0.3s ease;
}

.community-card-list .community-card a > figure {
  aspect-ratio: 372/232;
}

.community-card-list .community-card a > figure img {
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.community-card-list .community-card a:hover img {
  transform: scale(1.05);
}

.community-card-title {
  margin: 12px 0 0;
  font-size: 1.5em;
  line-height: 1.5;
  letter-spacing: 0;
}

.community-card-desc {
  margin: 15px 0 0;
  font-size: 1em;
  line-height: 1.5;
}

.community-card-categories {
  margin: 10px 0 0;
}

.community-card-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.community-card-categories ul li {
  width: fit-content;
  padding: 2px 13px;
  border-radius: 60px;
  font-size: 0.75em;
  font-weight: 400;
  border: 1px solid var(--post-genre-color);
}

.community-card-info {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.community-card-date {
  position: relative;
  margin: 0;
  padding-left: 10px;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.community-card-date::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--post-main-color);
  content: "";
}

.community-card-region {
  position: relative;
  margin: 0;
  padding: 3px 18px 3px 22px;
  border-radius: 60px;
  background-color: rgb(217, 217, 217, 0.4);
  font-size: 0.75em;
  font-weight: 500;
  line-height: 1.5;
}

.community-card-region::before {
  position: absolute;
  top: calc(50% + 1px);
  left: 7px;
  width: 12px;
  height: 12px;
  background: url(/assets/images/commchan/icon_map.svg) center center / cover no-repeat;
  content: "";
  transform: translateY(-50%);
}

.community-card-list .no-posts-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 0;
  padding: 0 0 30px;
  font-size: 1.25em;
  font-weight: 700;
}

@media screen and (max-width: 1200px) {
  .community-card-list .community-card {
    width: calc(100% / 2 - 43px);
  }
}

@media screen and (max-width: 768px) {
  .community-card-list > ul {
    justify-content: center;
    gap: 44px;
    padding: 0 30px;
  }

  .community-card-list .community-card {
    width: 100%;
    max-width: 500px;
  }

  .community-card-list .community-card.is-new::before {
    top: 17px;
    left: 17px;
    width: 70px;
    height: 70px;
  }

  .community-card-title {
    margin: 8px 0 0;
    font-size: 1.25em;
  }

  .community-card-desc {
    margin: 4px 0 0;
    font-size: 0.875em;
  }

  .community-card-categories ul li {
    padding: 1px 9px 2px;
    font-size: 0.6875em;
    font-weight: 500;
  }

  .community-card-date {
    padding-left: 16px;
    font-size: 0.875em;
  }
}

/*-----------------------------------------------------------
	トップページ
-----------------------------------------------------------*/
.community-top-heading {
  position: relative;
  width: 100%;
  padding: 33px 0 120px;
  background: url(/assets/images/commchan/bg_concrete.jpg) top center / 100px 100px repeat;
}

/* .top-mv */
.community-top-mv {
}
.community-top-mv picture {
  width: 100%;
}

.community-top-mv picture img {
  width: 100%;
  height: auto;
}

/* おすすめスライダー */
.community-slider {
  margin: 29px auto 0;
  padding: 0 0 68px;
}

.community-slider .community-slider-desc {
  position: relative;
  width: calc(100% - 162px);
  margin: 0 auto;
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.5;
}

.community-slider .community-slider-desc::before,
.community-slider .community-slider-desc::after {
  position: absolute;
  width: calc(50% - 100px);
  height: 2px;
  top: 27px;
  background: url(/assets/images/commchan/deco_border.svg) center center / contain repeat-x;
  transform: translateY(-50%);
  content: "";
}

.community-slider .community-slider-desc::before {
  left: 0;
}

.community-slider .community-slider-desc::after {
  right: 0;
}

.community-slider > ul {
  display: flex;
  margin: 56px auto 0;
  padding: 0;
  transition: transform 0.16s cubic-bezier(0.25, 1, 0.5, 1);
}

.community-slider.is-center > ul {
  justify-content: center;
  margin: 56px auto 0;
}

.community-slider .community-slider-item {
  width: 328px;
}

.community-slider .community-slider-item a {
  display: block;
  text-decoration: none;
  height: 100%;
}

.community-slider .community-slider-item a .community-slider-thumbnail {
  aspect-ratio: 328 / 204;
}

.community-slider .community-slider-item a .community-slider-thumbnail img {
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.community-slider .community-slider-item a:hover .community-slider-thumbnail img {
  transform: scale(1.05);
}

.community-slider .community-slider-item a .community-slider-main {
  margin: 26px 0 0;
}

.community-slider .community-slider-item a .community-slider-main .community-slider-title {
  position: relative;
  padding-bottom: 12px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
  color: #191919;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-slider .community-slider-item a .community-slider-main .community-slider-title::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: url(/assets/images/commchan/deco_border.svg) center center / contain repeat-x;
  content: "";
}

.community-slider .community-slider-item a .community-slider-parent {
  display: flex;
  align-items: center;
  column-gap: 14px;
  margin: 18px 0 0;
}

.community-slider .community-slider-item a .community-slider-parent .community-slider-parent-thumbnail {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
}

.community-slider .community-slider-item a .community-slider-parent .community-slider-parent-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-slider .community-slider-item a .community-slider-parent .community-slider-parent-title {
  margin: 0;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1.5;
  color: #191919;
}

.community-slider .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}

.community-slider .swiper-pagination-bullet {
  margin: 0 !important;
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  opacity: 1;
}

.community-slider .swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background-color: #191919;
}

@media screen and (max-width: 768px) {
  .community-top-heading {
    padding: 33px 0 73px;
  }

  .community-slider {
    padding: 0 0 64px;
  }

  .community-slider .community-slider-desc {
    width: 100%;
    max-width: 314px;
    font-size: 1.25em;
  }

  .community-slider .community-slider-desc::before,
  .community-slider .community-slider-desc::after {
    width: calc(50% - 60px);
    top: 17px;
  }

  .community-slider > ul {
    margin: 36px auto 0;
  }

  .community-slider .community-slider-item {
    width: calc(100% - 40px);
  }

  .community-slider .community-slider-item a {
    display: block;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
  }

  .community-slider .community-slider-item a .community-slider-thumbnail {
    border-radius: 40px;
    aspect-ratio: 300 / 187;
  }

  .community-slider .community-slider-item a .community-slider-main {
    margin: 24px 0 0;
  }

  .community-slider .community-slider-item a .community-slider-main .community-slider-title {
    font-size: 1.25em;
  }

  .community-slider .community-slider-item a .community-slider-parent .community-slider-parent-thumbnail {
    width: 36px;
    height: 36px;
  }
}

.community-top-main {
  position: relative;
  padding: 58px 0 0;
}

.community-top-main::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 100%;
  height: 50px;
  background: url(/assets/images/commchan/bg_uneven02.png) center center / 1920px 50px no-repeat;
  transform: translateX(-50%);
  content: "";
}

@media screen and (max-width: 768px) {
  .community-top-main {
    padding: 41px 0 0;
  }

  .community-top-main::before {
    height: 25px;
    background: url(/assets/images/commchan/bg_uneven02_sp.png) center center / 768px 25px no-repeat;
  }
}

.community-top-filter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 939px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.community-top-filter::before,
.community-top-filter::after {
  position: absolute;
  width: 100%;
  height: 2px;
  background: url(/assets/images/commchan/deco_border.svg) center center / contain repeat-x;
  transform: translateY(-50%);
  content: "";
}

.community-top-filter::before {
  top: 11px;
}

.community-top-filter::after {
  bottom: 0;
}

.community-top-filter .community-top-filter-desc {
  position: relative;
  width: fit-content;
  padding: 0 29px;
  margin: 0;
  text-align: center;
  font-size: 1em;
  line-height: 1.5;
  background-color: #fff;
}

.community-top-filter .genre-filter {
}

.community-top-filter .genre-filter ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 10px;
  margin: 24px 0 0;
  padding: 0;
  max-width: 650px;
}

.community-top-filter .genre-filter ul li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 7px 24px 8px;
  border-radius: 999px;
  font-size: 1.125em;
  font-weight: 500;
  background-color: transparent;
  border: 2px solid var(--genre-color, #4a77ba);
  color: #191919;
  transition:
    background-color 0.2s,
    color 0.2s,
    opacity 0.3s;
  text-decoration: none;
}

.community-top-filter .genre-filter ul li.is-current a,
.community-top-filter .genre-filter ul li a:hover {
  background-color: var(--genre-color, #4a77ba);
  color: #fff;
}

@media screen and (max-width: 768px) {
  .community-top-filter {
    width: calc(100% - 56px);
    padding: 0 0 26px;
  }

  .community-top-filter::before {
    top: 11px;
  }

  .community-top-filter .community-top-filter-desc {
    padding: 0 12px;
    font-size: 0.875em;
  }

  .community-top-filter .genre-filter ul {
    gap: 10px 12px;
    margin: 22px 0 0;
  }

  .community-top-filter .genre-filter ul li a {
    padding: 5px 18px 7px;
    font-size: 1em;
  }
}

.community-top-filter + .community-card-list {
  margin: 130px 0 0;
}

.community-card-body {
  margin: 28px 0 0;
}

.community-top-main .community-card-title {
  margin: 0;
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.5;

  text-decoration: underline;
  text-decoration-color: var(--post-main-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}

.community-top-main .community-card-categories {
  margin: 22px 0 0;
}

@media screen and (max-width: 768px) {
  .community-top-filter + .community-card-list {
    margin: 56px 0 0;
  }

  .community-card-body {
    margin: 18px 0 0;
  }

  .community-top-main .community-card-title {
    padding-bottom: 5px;
    font-size: 1.25em;
    text-underline-offset: 5px;
  }

  .community-top-main .community-card-categories {
    margin: 18px 0 0;
  }
}

/*-----------------------------------------------------------
	アーカイブページ
-----------------------------------------------------------*/
.community-archive {
  /* background-color: var(--post-genre-color); */
}

.community-archive-heading {
  position: relative;
  width: 100%;
  padding: 83px 30px 116px;
  background: url(/assets/images/commchan/bg_concrete.jpg) top center / 100px 100px repeat;
}

@media screen and (max-width: 768px) {
  .community-archive-heading {
    padding: 40px 30px 80px;
  }
}

.community-archive-mv {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
}

.community-archive-mv figure {
  width: 100%;
  height: 100%;
  aspect-ratio: 1290 / 377;
  border-radius: 56px;
  overflow: hidden;
}

.community-archive-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .community-archive-mv figure {
    aspect-ratio: 315 / 200;
    border-radius: 36px;
  }
}

.community-archive-mv + p {
  width: fit-content;
  margin: 46px auto 0;
  font-size: 1em;
  line-height: 1.75;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .community-archive-mv + p {
    margin: 25px auto 0;
    font-size: 0.875em;
    text-align: left;
  }
}

.community-archive-date {
  width: fit-content;
  margin: 24px auto 0;
}

.community-archive-date dl {
  display: flex;
  align-items: flex-start;
  column-gap: 16px;
  max-width: 810px;
  margin: 0;
}

.community-archive-date dl dt {
  margin: 10px 0 0;
  padding: 3.5px 6.5px;
  border-radius: 8px;
  background-color: #fff;
  font-size: 0.875em;
  font-weight: 500;
}

.community-archive-date dl dd {
  flex: 1;
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.75;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--archive-genre-color) 60%, transparent);
  text-decoration-thickness: 8px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}

@media screen and (max-width: 768px) {
  .community-archive-date {
    margin: 12px auto 0;
  }

  .community-archive-date dl {
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .community-archive-date dl dt {
    margin: 0;
    padding: 2.25px 7px;
    border-radius: 8px;
    font-size: 0.8125em;
  }

  .community-archive-date dl dd {
    font-size: 1.25em;
    text-align: center;
  }
}

.community-archive-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 28px;
  max-width: 810px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.community-archive-filter .community-archive-filter-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% / 3 - 19px);
  padding: 0 17px 13px;
  border-bottom: 2px solid #191919;
}

.community-archive-filter .community-archive-filter-item::after {
  position: absolute;
  top: calc(50% - 7px);
  right: 16px;
  width: 12px;
  height: 10px;
  background-color: var(--archive-genre-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-50%);
  content: "";
}

.community-archive-filter .community-archive-filter-item figure {
}

.community-archive-filter .community-archive-filter-item select {
  max-width: 182px;
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;

  font-size: 1.125em;
  font-weight: 500;
  color: #191919;
  cursor: pointer;
  outline: none;
  padding-right: 24px;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .community-archive-filter {
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
    margin: 32px auto 0;
    padding: 0 20px;
  }

  .community-archive-filter .community-archive-filter-item {
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 17px 12px;
  }

  .community-archive-filter .community-archive-filter-item::after {
    top: calc(50% - 7px);
    right: 16px;
  }

  .community-archive-filter .community-archive-filter-item figure {
  }

  .community-archive-filter .community-archive-filter-item select {
    max-width: 200px;
    font-size: 0.875em;
    padding-right: 24px;
  }
}

.community-archive-main {
  position: relative;
  padding: 81px 0 0;
}

.community-archive-main::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 100%;
  height: 50px;
  background: url(/assets/images/commchan/bg_uneven02.png) center center / 1920px 50px no-repeat;
  transform: translateX(-50%);
  content: "";
}

@media screen and (max-width: 768px) {
  .community-archive-main {
    padding: 28px 0 0;
  }
}

.community-archive-more-btn {
  margin: 87px auto 0;
}

.community-archive-more-btn a {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 11px 62px;
  border: 2px solid #191919;
  border-radius: 60px;
  box-shadow: 2px 3px 0 #d9d9d9;
  color: #191919;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.community-archive-more-btn a:hover {
  box-shadow: 2px 3px 0 transparent;
}

.community-archive-more-btn a::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 12px;
  height: 10px;
  background-color: var(--archive-genre-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-50%);
  content: "";
}

@media screen and (max-width: 768px) {
  .community-archive-more-btn {
    margin: 70px auto 121px;
  }

  .community-archive-more-btn a {
    padding: 12.5px 69px;
    font-size: 0.875em;
  }
}

/*-----------------------------------------------------------
	詳細ページ
-----------------------------------------------------------*/
.community-detail {
  position: relative;
  width: 100%;
  padding: 61px 0 145px;
  background: url(/assets/images/commchan/bg_concrete.jpg) top center / 100px 100px repeat;
}

.community-detail-backlink {
  padding: 0 75px;
}

.community-detail-backlink a {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #191919;
  font-size: 0.8125em;
  font-weight: 500;
  text-decoration: underline;
}

.community-detail-backlink a::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--post-main-color);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translateY(-50%);
  content: "";
}

.community-detail-backlink a:hover {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .community-detail-backlink {
    padding: 0 16px;
  }
}

.community-detail-heading {
  max-width: 900px;
  margin: 29px auto 0;
  padding: 0 30px;
}

.community-detail-heading h2 {
  margin: 24px auto 0;
  font-size: 3em;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.community-detail-tags ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.community-detail-tags ul li.community-detail-parent {
  position: relative;
  padding: 4px 16px 6px;
  border-radius: 40px;
}

.community-detail-tags ul li.community-detail-parent span {
  position: relative;
  color: #191919;
  font-size: 1em;
  font-weight: 500;
  z-index: 1;
}

.community-detail-tags ul li.community-detail-parent::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background-color: var(--post-main-color);
  opacity: 0.25;
  content: "";
  z-index: 1;
}

.community-detail-tags ul li.community-detail-parent::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background-color: #fff;
  content: "";
}

.community-detail-tags ul li.community-detail-date {
  padding: 4px 16px 6px;
  border-radius: 40px;
  background-color: #fff;
  font-size: 1em;
  font-weight: 500;
}

.community-detail-region {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px auto 0;
}

.community-detail-region p {
  position: relative;
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  padding-left: 25px;
}

.community-detail-region p::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 18px;
  background: url(/assets/images/commchan/icon_map.svg) center center / cover no-repeat;
  content: "";
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .community-detail-heading {
    margin: 32px auto 0;
  }

  .community-detail-heading h2 {
    margin: 14px auto 0;
    font-size: 2.25em;
  }

  .community-detail-tags ul {
    gap: 10px;
  }

  .community-detail-tags ul li.community-detail-parent {
    padding: 1px 16px 5px;
  }

  .community-detail-tags ul li.community-detail-parent span {
    font-size: 0.8125em;
  }

  .community-detail-tags ul li.community-detail-date {
    padding: 1px 16px 5px;
    font-size: 0.8125em;
  }

  .community-detail-region {
    margin: 8px auto 0;
  }

  .community-detail-region p {
    font-size: 0.875em;
    padding-left: 24px;
  }
}

.community-detail-mv {
  position: relative;
  margin: 48px auto 0;
  padding: 0 30px;
}

.community-detail-mv::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 525;
  background: url(/assets/images/commchan/deco_detail_mv.png) center center / cover no-repeat;
  content: "";
}

.community-detail-mv figure {
  max-width: 900px;
  aspect-ratio: 900 / 562;
  margin: 0 auto;
}

.community-detail-mv .thumbnail-caption {
  margin: 32px auto 0;
  max-width: 750px;
}

.community-detail-mv .thumbnail-caption p {
  margin: 0;
  font-size: 0.9375em;
  line-height: 1.75;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
  .community-detail-mv {
    margin: 31px auto 0;
  }

  .community-detail-mv::before {
    top: -22px;
    aspect-ratio: 390 / 256;
    background: url(/assets/images/commchan/deco_detail_mv_sp.png) top center / cover no-repeat;
  }

  .community-detail-mv .thumbnail-caption {
    margin: 12px auto 0;
  }

  .community-detail-mv .thumbnail-caption p {
    font-size: 0.8125em;
  }
}

.community-detail-info {
  position: relative;
  width: calc(100% - 30px);
  max-width: 900px;
  margin: 82px auto 0;
  padding: 40px 75px 50px;
}

.community-detail-info::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 64px;
  background-color: var(--post-main-color);
  opacity: 0.25;
  content: "";
  z-index: 1;
}

.community-detail-info::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 64px;
  background-color: #fff;
  content: "";
}

.community-detail-info > * {
  position: relative;
  z-index: 1;
}

.community-detail-info-broadcast-date {
  width: fit-content;
  margin: 0;
}

.community-detail-info-broadcast-date dl {
  display: flex;
  align-items: flex-start;
  column-gap: 16px;
  margin: 0;
}

.community-detail-info-broadcast-date dl dt {
  margin: 0;
  padding: 3.5px 7px;
  border-radius: 8px;
  background-color: #fff;
  font-size: 0.875em;
  font-weight: 500;
}

.community-detail-info-broadcast-date dl dd {
  flex: 1;
  margin: 0;
  font-size: 1.125em;
  font-weight: 700;
  line-height: 1.75;
}

.community-detail-info-desc {
  margin: 28px 0 0;
}

.community-detail-info-desc p {
  font-size: 1.125em;
  line-height: 2;
}

.community-detail-info-shop {
  margin: 36px 0 0;
}

.community-detail-info-shop p {
  margin: 0;
  font-size: 2.25em;
  font-weight: 700;
  line-height: 1.5;
}

.community-detail-info-detail {
  margin: 24px 0 0;
  font-family: "Noto Sans JP", sans-serif;
}

.community-detail-info-detail dl {
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  margin: 0;
  padding: 0;
}

.community-detail-info-detail dl > div {
  display: flex;
  column-gap: 34px;
}

.community-detail-info-detail dl dt {
  position: relative;
  width: 78px;
  padding-left: 14px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
}

.community-detail-info-detail dl dt::before {
    position: absolute;
    top: 11px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #191919;
    content: "";
}

.community-detail-info-detail dl dd {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .community-detail-info {
    margin: 50px auto 0;
    padding: 32px 24px 48px;
  }

  .community-detail-info::before {
    border-radius: 24px;
  }

  .community-detail-info::after {
    border-radius: 24px;
  }

  .community-detail-info-broadcast-date {
    width: 100%;
  }

  .community-detail-info-broadcast-date dl {
    flex-direction: column;
    gap: 6px;
  }

  .community-detail-info-broadcast-date dl dt {
    padding: 2.25px 7px;
    font-size: 0.8125em;
  }

  .community-detail-info-broadcast-date dl dd {
    font-size: 1em;
  }

  .community-detail-info-desc {
    margin: 16px 0 0;
  }

  .community-detail-info-desc p {
    font-size: 0.9375em;
    line-height: 1.75;
  }

  .community-detail-info-shop {
    margin: 32px 0 0;
  }

  .community-detail-info-shop p {
    font-size: 1.5em;
  }

  .community-detail-info-detail {
    margin: 12px 0 0;
  }

  .community-detail-info-detail dl {
    row-gap: 12px;
  }

  .community-detail-info-detail dl > div {
    flex-direction: column;
    gap: 6px;
  }

  .community-detail-info-detail dl dt {
    width: auto;
    padding-left: 10px;
    font-size: 0.875em;
  }

  .community-detail-info-detail dl dt::before {
    top: 9px;
    width: 4px;
    height: 4px;
  }

  .community-detail-info-detail dl dd {
    font-size: 0.875em;
  }
}

/* 記事本文 */
.community-detail-main {
  width: calc(100% - 30px);
  max-width: 900px;
  margin: 32px auto 0;
  padding: 72px 75px 129px;
  border-radius: 64px;
  background-color: #fff;
}

.community-detail-main h2 {
  position: relative;
  padding: 0 0 18px 37px;
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.5;
}

.community-detail-main * + h2 {
  margin: 102px 0 0;
}

.community-detail-main h2::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: calc(100% - 18px);
  border-radius: 2px;
  background-color: var(--post-main-color);
  content: "";
}

.community-detail-main h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: url(/assets/images/commchan/deco_border.svg) center center / contain repeat-x;
  transform: translateY(-50%);
  content: "";
}

.community-detail-main h3 {
  position: relative;
  padding-left: 20px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
}

.community-detail-main * + h3 {
  margin: 64px 0 0;
}

.community-detail-main h3::before,
.community-detail-main h3::after {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  content: "";
}
.community-detail-main h3::before {
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--post-main-color);
}

.community-detail-main h3::after {
  left: 3px;
  width: 4px;
  height: 4px;
  background-color: #fff;
}

.community-detail-main p {
  font-size: 1.125em;
  font-weight: 400;
  line-height: 2;
  font-family: "Noto Sans JP", sans-serif;
}

.community-detail-main * + p {
  margin: 42px 0 0;
}

/* 画像 */
.community-detail-main figure {
}

.community-detail-main * + figure {
  margin: 50px 0 0;
}

.community-detail-main img {
  width: 100%;
  height: auto;
  border-radius: 64px;
  overflow: hidden;
}

/* キャプション */
.wp-element-caption {
  width: fit-content;
  margin: 8px 0 0 auto;
}

/* リンク */
.community-detail-main a {
  position: relative;
  color: #4a77ba;
  text-decoration: underline;
}

.community-detail-main a:hover {
  text-decoration: none;
}

.community-detail-main a[target$="_blank"],
.community-detail-main a[href$=".pdf"] {
  padding-right: 20px;
}

.community-detail-main a[target$="_blank"]::after,
.community-detail-main a[href$=".pdf"]::after {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "";
}

.community-detail-main a[target$="_blank"]::after {
  background: url(/assets/images/commchan/icon_link_outer.svg) center center / cover no-repeat;
}

.community-detail-main a[href$=".pdf"]::after {
  background: url(/assets/images/commchan/icon_link_pdf.svg) center center / cover no-repeat;
}

.top-news .top-news-main ul li a[href$=".pdf"]:hover .top-news-item-title::before {
  animation: none;
}

/* ボタン */
.community-detail-main * + .wp-block-buttons {
  margin: 60px 0 0;
}

.community-detail-main .wp-block-button {
  max-width: 240px;
}

.community-detail-main .wp-element-button {
  position: relative;
  display: block;
  width: fit-content;
  padding: 12px 44px 14px;
  border: 2px solid #191919;
  border-radius: 60px;
  box-shadow: 2px 3px 0 #d9d9d9;
  color: #191919;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.community-detail-main .wp-element-button:hover {
  box-shadow: 2px 3px 0 transparent;
}

.community-detail-main .wp-element-button::after {
  position: absolute;
  top: 50%;
  right: 19px;
  width: 10px;
  height: 10px;
  background-color: var(--post-main-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
  content: "";
}

.community-detail-main ul {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  margin: 0;
  padding: 0;
}

.community-detail-main * + ul {
  margin: 20px 0 0;
}

.community-detail-main ul li {
  position: relative;
  padding-left: 14px;
  font-size: 1.125em;
  color: #191919;
  line-height: 1.5;
}

.community-detail-main ul li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--post-main-color);
}

#main:has(.community-detail) + .community-footer {
  margin: 0;
  background: none;
}

#main:has(.community-detail) + .community-footer::before {
  background: url(/assets/images/commchan/bg_uneven04.png) center center / 1920px 50px no-repeat;
}

@media screen and (max-width: 768px) {
  .community-detail-main {
    margin: 20px auto 0;
    padding: 48px 24px 70px;
    border-radius: 40px;
  }

  .community-detail-main h2 {
    padding: 0 0 12px 23px;
    font-size: 1.375em;
  }

  .community-detail-main * + h2 {
    margin: 70px 0 0;
  }

  .community-detail-main h2::before {
    width: 5px;
    height: calc(100% - 18px);
  }

  .community-detail-main h3 {
    font-size: 1.2em;
  }

  .community-detail-main * + h3 {
    margin: 40px 0 0;
  }

  .community-detail-main h3::before {
    width: 8px;
    height: 8px;
  }

  .community-detail {
    padding: 61px 0 113px;
  }

  .community-detail-main p {
    font-size: 0.9375em;
    line-height: 1.75;
  }

  .community-detail-main * + p {
    margin: 20px 0 0;
  }

  .community-detail-main figure {
  }

  .community-detail-main * + figure {
    margin: 30px 0 0;
  }

  .community-detail-main img {
    border-radius: 32px;
  }

  .community-detail-main .wp-block-button {
    max-width: 264px;
  }

  .community-detail-main .wp-element-button {
    padding: 12px 48px 14px;
    font-size: 0.875em;
  }

  .community-detail-main ul {
    row-gap: 8px;
  }

  .community-detail-main * + ul {
    margin: 20px 0 0;
  }

  .community-detail-main ul li {
    font-size: 0.9375em;
  }

  #main:has(.community-detail) + .community-footer::before {
    background: url(/assets/images/commchan/bg_uneven04_sp.png) center center / 768px 25px no-repeat;
  }
}

/* 記事がない場合 */
.community-archive-main:has(.no-posts) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  padding: 25px 20px 0;
}

.community-archive-main .no-posts {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
  color: #191919;
}

@media screen and (max-width: 768px) {
  .community-archive-main:has(.no-posts) {
    min-height: 110px;
    padding: 0 20px;
  }

  .community-archive-main .no-posts {
    font-size: 1.25em;
  }
}
