@charset "utf-8";
:root {
  --color-white: #ffffff;
  --aqua: #489bd7;
  --lightgreen: #59b49a;
  --yellowgreen: #6dad19;
  --pink: #e76e79;
  --yellow: #ffd000;
  --orange: #f28427;
  --green: #007c64;
  --gray: #c7c4bd;
  --brown: #604b22;
}

@media (max-width: 1023px) {
  .prefectures {
    gap: 30px;
  }
}

body {
  color: var(--main, #604b22);
}

.prefectures {
  position: static;
  padding-bottom: 80px;
  content: none;
}

.prefectures::before {
  position: static;
  content: none;
}

.prefectures-right {
  border-radius: 10px;
}

.prefectures-right .category {
  padding: 12px;
  color: #fff;
  font-size: 18px;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

.prefectures-right .category {
  background-color: #65c0e8;
}

.prefectures-right .category.report {
  background: var(--green);
}

.prefectures-right .category.report_end {
  background-color: var(--gray);
}

.schedule .prefectures-right .archive {
  background-color: #007c64;
}

.prefectures-right .pref {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 12px;
  color: #fff;
  font-size: 18px;
  text-align: center;
  border-radius: 4px;
}

.prefectures-right .hokkaido-tohoku {
  background-color: #489bd7;
}
.prefectures-right .kanto-koshinetsu {
  background-color: #59b49a;
}

.prefectures-right .tokai-hokuriku {
  background-color: #6dad19;
}

.prefectures-right .kinki-kansai {
  background-color: #e76e79;
}

.prefectures-right .chugoku-shikoku {
  background-color: #ffd000;
}

.prefectures-right .kyushu-okinawa {
  background-color: #f28427;
}

.prefectures-right .event-ttl {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}

.prefectures-right-innner {
  padding: 20px 16px 30px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 588px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
  /* 3スライド分 */
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 30px;
}

.slide img {
  width: 100%;
  height: 40vw;
  object-fit: contain;
}

.slide figcaption {
  margin-top: 0.5em;
  color: #000;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
/* Stylelint対策 */
.carousel-button {
  all: unset;
}
.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-button.prev {
  left: 0;
  background-image: url('../img/arrow-br.png');
}

.carousel-button.next {
  right: 0;
  background-image: url('../img/arrow-br.png');
  transform: translateY(-50%) scaleX(-1);
}

.carousel-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 0 0;
}

.carousel-pagination .dot {
  width: 10px;
  height: 10px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-pagination .dot.active {
  background-color: #65c0e8;
}

.detail-list .detail-list__item {
  margin-top: 30px;
  margin-bottom: 25px;
}
.report .detail-list .detail-list__item {
  position: relative;
  padding: 20px 0 40px;
}
.report .detail-list .detail-list__item::before,
.report .detail-list .detail-list__item::after {
  position: absolute;
  top: -2px;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green);
  border-radius: 1em;
  content: '';
}
.report .detail-list .detail-list__item::after {
  top: auto;
  bottom: -2px;
}

.detail-list .detail-list__title {
  margin-bottom: 10px;
  padding-bottom: 8px;
  font-size: 18px;
  text-align: center;
  border-bottom: #007c64 2px solid;
}

.detail-list dl {
  font-size: 14px;
}

.detail-list dt {
  padding: 8px 2px;
  font-weight: bold;
  text-align: center;
  background: #f1eee5;
  border-radius: 2px;
}

.detail-list dd {
  margin: 0 0 1em 0;
  padding-top: 0.5em;
  color: #000;
  font-weight: 400;
  line-height: 1.3;
}
.detail-list dd:last-child {
  margin-bottom: 0;
}

.detail-list dd .map {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  background-color: #604b22;
  border-radius: 30px;
}

.detail-list dd .map:after {
  /*何も入れない*/
  display: inline-block;
  width: 16px;
  /*画像の幅*/
  height: 17px;
  margin-top: -0.2em;
  margin-left: 5px;
  vertical-align: middle;
  /*画像の高さ*/
  background-image: url(../img/blank-wh.png);
  background-size: contain;
  content: '';
}

.prefectures-right-innner .btn {
  position: relative;
  width: 100%;
  padding: 0;
  padding: 14px 9vw;
  color: #fff;
  font-size: min(4vw, 18px);
  background-color: #604b22;
  box-shadow: 0px 6px 0px 0px #413826;
}

.prefectures-right-innner .btn:not(:last-child) {
  margin-bottom: 20px;
}

.prefectures-right-innner .btn::after {
  position: absolute;
  top: 50%;
  right: 3vw;
  transform: translateY(-50%);
}
@media (min-width: 769px) {
  .prefectures-right-innner .btn:hover {
    box-shadow: none;
    transform: translate(0, 3px);
  }
}
@media (min-width: 1024px) {
  .prefectures {
    padding-bottom: 100px;
  }

  .prefectures-right {
    margin-top: 0;
  }

  .prefectures-right .category {
    padding: 18px;
    font-size: 24px;
  }

  .prefectures-right-innner {
    padding: 40px 60px 50px;
  }

  .prefectures-right .pref {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .prefectures-right .event-ttl {
    margin-bottom: 40px;
    font-size: 28px;
  }

  .detail-list .detail-list__title {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 20px;
  }

  .slide {
    padding: 0 44px;
  }

  .slide img {
    height: 364px;
  }

  .slide figcaption {
    font-size: 18px;
    text-align: center;
  }

  .carousel-button {
    width: 32px;
    height: 32px;
    background-size: contain;
  }

  .carousel-button.prev {
    left: 0;
  }

  .carousel-button.next {
    right: 0;
  }

  .carousel-pagination {
    padding-top: 20px;
  }

  .detail-list {
    margin-top: 40px;
  }

  .detail-list .detail-list__item {
    margin-top: 40px;
    margin-bottom: 35px;
  }

  .detail-list dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    gap: 10px 10px;
    align-items: start;
    font-size: 18px;
  }

  .detail-list dt {
    width: 160px;
    font-size: 16px;
  }

  .detail-list dd {
    padding-top: 0.3em;
  }

  .detail-list dd .map {
    margin-top: 16px;
    font-size: 14px;
  }

  .prefectures-right-innner .btn {
    max-width: 440px;
    height: 52px;
    padding: 18px 40px;
  }

  .prefectures-right-innner .btn:not(:last-child) {
    margin-bottom: 24px;
  }

  .prefectures-right-innner .btn::after {
    right: 20px;
  }

  .btn-sink a span {
    font-size: 20px;
  }
}

/*========= Block Editor ===============*/
.postArea {
  padding-bottom: 10px;
}
.postArea p {
  margin-bottom: 24px;
  color: #000;
  font-weight: 400;
  line-height: 1.8;
}
.postArea .wp-block-image {
  margin-bottom: 24px;
}
.postArea .wp-block-image + .wp-block-image {
  margin-top: -14px;
}
.postArea a {
  text-decoration: underline;
}
@media (min-width: 769px) {
  .postArea a:hover {
    text-decoration: none;
  }
}
@media (min-width: 1024px) {
  .postArea p {
    font-size: 18px;
  }
  .postArea .wp-block-image + .wp-block-image {
    margin-top: -8px;
  }
}

.postArea strong {
  font-weight: bold !important;
}
.postArea em {
  font-style: italic !important;
}
