:root {
  --color-black: #000;
  --color-white: #fff;
  --color-orange: #f2ad4c;
}

/* TOP button start */
.kankitsu-triangle.h-up {
  bottom: 65px;
  opacity: 0.5;
}

.kankitsu-triangle__obj {
  background: var(--color-white);
  height: calc(tan(60deg) * 25px / 2);
  width: 40px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.kankitsu-triangle__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
}

/* TOP button end */

.kankitsu-body {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-orange);
}

.kankitsu-body__image {
  overflow: hidden;
}

.kankitsu-body__image--up {
  position: absolute;
  top: 0;
  transform: translateY(-20px);
}

.kankitsu-body__image--down {
  position: absolute;
  bottom: 0;
  transform: translateY(270px);
}

@media screen and (max-width: 1000px) {
  .kankitsu-body__image--down {
    transform: translateY(50px);
  }
}

@media screen and (min-width: 1280px) {
  .kankitsu-body__image--down {
    transform: translateY(500px);
  }
}

.kankitsu-body__image img {
  width: 100%;
  user-select: none;
}

.kankitsu-wrapper {
  position: relative;
  z-index: 1;
  padding-top: 22%;
  text-align: center;
}

@media screen and (max-width: 780px) {
  .kankitsu-wrapper {
    padding-top: 35%;
  }
}

.kankitsu-desc {
  margin-top: 0;
  text-align: center;
}

.kankitsu-desc__ttl {
  font-size: 32px;
  line-height: 1.5;
}

@media screen and (max-width: 560px) {
  .kankitsu-desc__ttl {
    font-size: 23px;
  }
}

@media screen and (max-width: 780px) {
  .kankitsu-desc__ttl br {
    display: block;
  }
}

.kankitsu-desc__text {
  margin-top: 32px;
  line-height: 2;
  font-family: serif;
}

@media screen and (max-width: 560px) {
  .kankitsu-desc__text {
    font-size: 14px;
  }
}

.kankitsu-desc__text br.is-pc {
  display: block;
}

.kankitsu-desc__text br.is-sp {
  display: none;
}

@media screen and (max-width: 780px) {
  .kankitsu-desc__text br.is-pc {
    display: none;
  }

  .kankitsu-desc__text br.is-sp {
    display: block;
  }
}

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

  .kankitsu-desc__text br,
  .kankitsu-desc__text br.is-pc,
  .kankitsu-desc__text br.is-sp {
    display: none;
  }
}

.kankitsu-graph__wrapper {
  margin-top: 80px;
  max-width: 1300px;
  margin-inline: auto;
}

@media screen and (max-width: 780px) {
  .kankitsu-graph__wrapper {
    margin-top: 40px;
  }
}

.kankitsu-graph {
  display: block;
  position: relative;
}

@media screen and (max-width: 780px) {
  .kankitsu-graph {
    display: none;
  }
}

.kankitsu-graph__text {
  position: absolute;
  right: 7%;
  bottom: 5%;
  font-size: 14px;
}

@media screen and (max-width: 780px) {
  .kankitsu-graph__text {
    position: absolute;
    right: 2%;
    bottom: 5%;
    font-size: 10px;
  }
}

@media screen and (max-width: 560px) {
  .kankitsu-graph__text {
    position: absolute;
    right: 2%;
    bottom: -5%;
    font-size: 10px;
  }
}

.kankitsu-graph__box {
  color: var(--color-white);
}

.kankitsu-graph__item {
  position: absolute;
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  background-color: var(--color-orange);
}

.kankitsu-graph-is-sp {
  display: none;
}

@media screen and (max-width: 780px) {
  .kankitsu-graph-is-sp {
    position: relative;
    display: block;
    margin-top: 60px;
  }

  .kankitsu-graph-is-sp img {
    width: 100%;
  }

  .kankitsu-graph-text-is-sp {
    position: absolute;
    font-weight: 600;
    height: max-content;
  }

  .kankitsu-graph-text-is-sp:nth-child(1) {
    top: -20px;
    left: 51.5%;
    transform: translate(-50%, 0);
  }

  .kankitsu-graph-text-is-sp:nth-child(2) {
    top: 50%;
    left: -15px;
    transform: translate(0, -50%);
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }

  .kankitsu-graph-text-is-sp:nth-child(3) {
    bottom: -20px;
    left: 51.5%;
    transform: translate(-50%, 0);
  }

  .kankitsu-graph-text-is-sp:nth-child(4) {
    top: 50%;
    right: -15px;
    transform: translate(0, -50%);
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }

  .kankitsu-graph-is-sp img {
    width: 88%;
    margin-inline: auto;
  }
}

.kankitsu-tag__wrapper {
  max-width: 1000px;
  margin-top: 80px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hashtag-filter {
  display: inline-block;
  padding: 5px;
  margin: 4px;
  background-color: white;
  color: black;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hashtag-filter.tag-active {
  background-color: black;
  color: white;
  border-color: black;
}

.hashtag-filter.tag-active {
  background-color: black;
  color: white;
  border-color: black;
}

.kankitsu-no-results {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.kankitsu-no-results__message {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.kankitsu-graph__item span:nth-of-type(1) {
  display: block;
}

.kankitsu-graph__item span:nth-of-type(2) {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--color-orange);
  background-color: var(--color-white);
}

@media screen and (max-width: 1240px) {
  .kankitsu-graph__item span:nth-of-type(1) {
    display: none;
  }

  .kankitsu-graph__item span:nth-of-type(2) {
    display: flex;
  }
}

/* graph item start */
.kankitsu-graph__item:nth-of-type(1) {
  top: 17%;
  left: 30%;
}

.kankitsu-graph__item:nth-of-type(2) {
  top: 22%;
  left: 26%;
}

.kankitsu-graph__item:nth-of-type(3) {
  top: 28%;
  left: 23%;
}

.kankitsu-graph__item:nth-of-type(4) {
  top: 33%;
  left: 20%;
}

.kankitsu-graph__item:nth-of-type(5) {
  top: 33%;
  left: 32%;
}

.kankitsu-graph__item:nth-of-type(6) {
  top: 43%;
  left: 38%;
}

.kankitsu-graph__item:nth-of-type(7) {
  top: 15%;
  left: 55%;
}

.kankitsu-graph__item:nth-of-type(8) {
  top: 15%;
  left: 70%;
}

.kankitsu-graph__item:nth-of-type(9) {
  top: 18%;
  left: 70%;
}

.kankitsu-graph__item:nth-of-type(10) {
  top: 23%;
  left: 62%;
}

.kankitsu-graph__item:nth-of-type(11) {
  top: 33%;
  left: 55%;
}

.kankitsu-graph__item:nth-of-type(12) {
  top: 55%;
  left: 55%;
}

.kankitsu-graph__item:nth-of-type(13) {
  top: 68%;
  left: 52%;
}

.kankitsu-graph__item:nth-of-type(14) {
  top: 88%;
  left: 48.3%;
}

.kankitsu-graph__item:nth-of-type(15) {
  top: 69%;
  left: 36%;
}

.kankitsu-graph__item:nth-of-type(16) {
  top: 60%;
  left: 28%;
}

.kankitsu-graph__item:nth-of-type(17) {
  top: 60%;
  left: 39%;
}

.kankitsu-graph__item:nth-of-type(18) {
  top: 49.3%;
  left: 24%;
}

/* graph item end */
.kankitsu-graph img {
  width: 100%;
}

@media screen and (max-width: 780px) {
  .kankitsu-graph img {
    width: 100vw;
    transform: translateX(-30px);
  }

  .kankitsu-graph-text-is-sp_txt {
    font-size: 10px;
    position: absolute;
    right: 0;
    bottom: -50px;
  }
}

.kankitsu-graph__desc {
  display: none;
  grid-template-rows: repeat(6, auto);
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: column;
  gap: 12px 32px;
  margin-top: 40px;
  max-width: 750px;
  margin-inline: auto;
}

.kankitsu-graph__desc .is-sp {
  display: none;
}

@media screen and (max-width: 1240px) {
  .kankitsu-graph__desc {
    display: grid;
  }
}

@media screen and (max-width: 560px) {
  .kankitsu-graph__desc {
    grid-template-rows: repeat(10, auto);
    grid-template-columns: repeat(2, 1fr);
  }

  .kankitsu-graph__desc .is-sp {
    display: block;
  }
}

.kankitsu-graph__name {
  display: flex;
  align-items: center;
  gap: 2px;
  width: fit-content;
  font-size: 15px;
  color: var(--color-white);
  text-align: left;
}

.kankitsu-graph__name:hover {
  opacity: 0.7;
}

.kankitsu-graph__name span:nth-of-type(1) {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 10px;
  color: var(--color-orange);
  background-color: var(--color-white);
  border-radius: 50%;
}

@media screen and (max-width: 560px) {
  .kankitsu-graph__name:nth-child(3) {
    span:last-child {
      line-height: 1.3;
    }
  }

  .kankitsu-graph__name:nth-child(11) {
    span:last-child {
      line-height: 1.3;
    }
  }

  .kankitsu-graph__name:nth-child(12) {
    span:last-child {
      line-height: 1.3;
    }
  }
}

.kankitsu-select {
  margin-top: 80px;
  margin-bottom: 40px;
}

.kankitsu-select select {
  font-size: 20px;
  font-weight: 600;
  font-family: "source-han-sans-japanese", sans-serif;
  color: var(--color-white);
  background-color: var(--color-orange);
}

.kankitsu-select select+span img {
  filter: invert(100%);
}

.kankitsu-list__wrapper {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 80px;
}

.kankitsu-list {
  display: grid;
  row-gap: 4em;
  column-gap: 2em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

@media screen and (max-width: 1000px) {
  .kankitsu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 650px) {
  .kankitsu-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.kankitsu-item {
  display: grid;
  gap: 0;
  grid-template-rows: subgrid;
  grid-row: span 7;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kankitsu-item__ttl {}

.kankitsu-item__ttl--main {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.kankitsu-item__ttl--sub {
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.5;
}

.kankitsu-item__image {
  margin-top: 8px;
}

.swiper.kankitsu-swiper {
  position: relative;
  margin-top: 8px;
  width: 100%;
  z-index: 100 !important;
}

.kankitsu-swiper .swiper-slide img {
  width: 100% !important;
  object-fit: cover;
}

.kankitsu-swiper .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-black) !important;
  z-index: 100;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-black) !important;
  transform: scale(1.3);
}

.kankitsu-item__text {
  line-height: 1.8;
  text-align: justify;
}

.kankitsu-item__graph {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
}

.kankitsu-item__graph span:nth-child(1) {
  flex-shrink: 0;
  font-size: 17px;
  white-space: nowrap;
  width: 10%;
}

.kankitsu-item__graph__number_1 {
  position: absolute;
  bottom: -5px;
  left: 17.5%;
  font-size: 13px;
}

.kankitsu-item__graph__number_6 {
  position: absolute;
  bottom: -5px;
  left: 53.5%;
  transform: translateX(-50%);
  font-size: 13px;
}

.kankitsu-item__graph__number_12 {
  position: absolute;
  bottom: -5px;
  right: 2%;
  font-size: 13px;
}

.kankitsu-item__inline {
  position: relative;
  width: calc(90% - 15px);
}

.kankitsu-item__inline img {
  width: 100%;
}

/**
* memo
* 1月 left 22%
* 12月 left 92%

* 1ヶ月 width 6％
*/
.kankitsu-item__graph__bar {
  position: absolute;
  top: 27%;
  left: 0;
  /* base */
  width: 98%;
  /* base */
  height: 50%;
  background-color: var(--color-white);
  opacity: 0.5;
}

.kankitsu-item__tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  row-gap: 4px;
  column-gap: 4px;
  margin-top: 20px;
}

.kankitsu-item__tag {
  height: fit-content;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.kankitsu-item__button {
  display: block;
  margin-top: 20px;
  margin-inline: auto;
  padding: 16px 32px;
  border-radius: 25px;
  width: 200px;
  text-align: center;
  color: var(--color-black);
  background-color: var(--color-white);
  font-weight: 600;
}

.kankitsu-item__button:hover {
  opacity: 0.8;
}

.kankitsu-note {
  display: none;
}

.kankitsu-graph__wrapper>.kankitsu-desc__ttl {
  display: none;
}

.kankitsu-banner-image {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.kankitsu-banner-image img {
  width: 50%;
}

.note-text-indent_txt {
  text-indent: -1em;
  padding-left: 1em;
  text-align: left;
}


@media screen and (max-width: 780px) {
  .kankitsu-note {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    text-align: left;
    line-height: 1.5;
  }

  .kankitsu-graph__wrapper>.kankitsu-desc__ttl {
    display: block;
  }

  .kankitsu-banner-image img {
    width: 80%;
  }

  .note-text-indent_txt {
    text-align: center !important;
    padding: 0 35px !important;
  }

  .kankitsu-note__text {
    text-indent: -1em;
    padding-left: 1em;
    font-size: 12px;
    margin: 40px 0 -30px;
  }
}