@import "./common/common.css";

/* under__mv */
.under__mv-inner {
  background-image: url("../../images/top/under_mv_sp.png");
  background-image: image-set(url("../../images/top/under_mv_sp.png") 1x,
      url("../../images/top/under_mv_sp@2x.png") 2x);
  background-size: cover;
  background-repeat: no-repeat;
  height: 53.33vw;
  background-position-x: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1025px) {
  .under__mv .container {
    max-width: none;
  }

  .under__mv-inner {
    background-image: url("../../images/top/under_mv.png");
    background-image: image-set(url("../../images/top/under_mv.png") 1x,
        url("../../images/top/under_mv@2x.png") 2x);
    height: 34.14vw;
    background-position-y: bottom;
  }
}

@media screen and (min-width: 1280px) {
  .under__mv-inner {
    height: 27.34vw;
  }
}

h2.under__mv-title {
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: -10%;
  margin-left: 3px;
}

@media screen and (min-width: 768px) {
  h2.under__mv-title {
    font-size: 3.3rem;
  }
}

@media screen and (min-width: 1025px) {
  h2.under__mv-title {
    font-size: 4rem;
  }
}

@media screen and (min-width: 1280px) {
  h2.under__mv-title {
    font-size: 6rem;
    margin-top: -13%;
    margin-left: 6px;
  }
}

span.under_mv_number {
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 3rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: -1%;
}

@media screen and (min-width: 768px) {
  span.under_mv_number {
    font-size: 5rem;
  }
}

@media screen and (min-width: 1025px) {
  span.under_mv_number {
    font-size: 6rem;
  }
}

@media screen and (min-width: 1280px) {
  span.under_mv_number {
    font-size: 8.8rem;
  }
}

/* concept */
.concept {
  background-color: #f8f8f8;
  padding-bottom: 48px;
}

@media screen and (min-width: 1025px) {
  .concept {
    padding: 96px 0;
  }

  .container.bg {
    max-width: none;
  }

  .concept__wrapper {
    display: flex;
    justify-content: flex-end;
    width: auto;
    padding-left: 83px;
    align-items: flex-start;
    gap: 48px;
  }
}

@media screen and (min-width: 1280px) {
  .concept__wrapper {
    padding-left: 104px;
  }
}

.concept__inner-title {
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 3.6rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  padding: 24px 44px;
}

@media screen and (min-width: 1025px) {
  .concept__inner-title {
    font-size: 2.8rem;
    line-height: 5.2rem;
    padding: 24px 61px 24px 44px;
  }
}

.concept__inner-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 20px;
}

@media screen and (min-width: 1025px) {
  .concept__inner-title-wrapper {
    display: flex;
    width: 600px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 45px;
  }
}

.concept__inner-text {
  color: var(--text);
  text-align: justify;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.6rem;
  /* 185.714% */
  letter-spacing: 0.05em;
  padding: 0 17.5px;
}

@media screen and (min-width: 768px) {
  .concept .u-sp-only {
    display: none;
  }

  .concept__inner-text {
    width: 70%;
  }
}

@media screen and (min-width: 1025px) {
  .concept__inner-text {
    display: flex;
    padding: 0 44px;
    justify-content: center;
    align-items: flex-start;
    font-size: 1.6rem;
    line-height: 3rem;
    width: auto;
  }
}

.concept__inner-right {
  padding: 0 20px;
}

@media screen and (min-width: 768px) {
  .concept__inner-right {
    width: 70%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1025px) {
  .concept__inner-right {
    padding: 0;
    margin: 0;
    width: 42%;
  }
}

@media screen and (min-width: 1280px) {
  .concept__inner-right {
    width: 46%;
  }
}

img.cheer_img {
  aspect-ratio: 335/220;
  object-fit: cover;
}

@media screen and (min-width: 1025px) {
  img.cheer_img {
    aspect-ratio: 538/350;
  }
}

/* story */
.story {
  display: flex;
  padding: 0 0 48px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media screen and (min-width: 1025px) {
  section.story {
    padding: 48px 0 96px;
  }
}

.story .section-header {
  padding-top: 44px;
}

@media screen and (min-width: 1025px) {
  .story .section-header {
    padding-top: 42px;
  }
}

.story__cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 29px;
  margin: 24px auto 0;
  width: 300px;
}

@media screen and (min-width: 768px) {
  .story__cards {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

@media screen and (min-width: 1025px) {
  .story__cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1086px;
    column-gap: 48px;
    row-gap: 34px;
    margin-top: 49px;
  }
}

.story__card {
  border-radius: 10px;
  border: 0.909px solid #c6dae3;
  background-color: #f4fcff;
  width: 300px;
  height: 500px;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

@media screen and (min-width: 1025px) {
  .story__card {
    width: 100%;
    height: 547px;
    border: 1px solid #c6dae3;
  }
}

li.story__card:nth-of-type(6) .story__card-inner--bottom {
  padding: 0 33.1px 0 41px;
}

li.story__card:nth-of-type(6) .story__text-bottom {
  letter-spacing: normal;
}

li.story__card:nth-of-type(7) .story__text-bottom {
  letter-spacing: 0.07em;
}

.story__title {
  color: #558ae1;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 1025px) {
  .story__title {
    font-size: 1.6rem;
  }
}

.story__text {
  color: #676767;
  text-align: justify;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.1rem;
  /* 150% */
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .story__text {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
}

.story__card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.story__card-img {
  padding: 24px 34.5px 22px;
}

@media screen and (min-width: 1025px) {
  .story__card-img {
    padding: 24px 34.5px 21px;
  }
}

.story__card-img img {
  object-fit: cover;
  aspect-ratio: 230/172;
}

.story__card-inner--bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 34.5px;
}

@media screen and (min-width: 1025px) {
  .story__card-inner--bottom {
    gap: 16px;
    padding: 0 37px;
  }
}

span.story__text-bottom {
  display: block;
  margin-top: 14px;
  font-weight: 400;
}

.story__button {
  margin: 0 auto;
}

.button--story {
  width: 230px;
  height: 50px;
  border-radius: 45.455px;
  border: 0.909px solid #5cb9e1;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5cb9e1;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.4rem;
  /* 171.429% */
  letter-spacing: 0.05em;
  position: relative;
}

@media screen and (min-width: 1025px) {
  .button--story {
    font-size: 1.6rem;
    width: 252px;
    border: 1px solid #5cb9e1;
    border-radius: 50px;
  }
}

.button--story:hover {
  color: var(--white);
  background-color: #5cb9e1;
}

.button--story::after {
  content: "";
  background-image: url(../../images/common/arrow_right_blue.svg);
  background-repeat: no-repeat;
  width: 16.36px;
  height: 8.58px;
  position: absolute;
  right: 5%;
}

.button--story:hover::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 16.36px;
  height: 8.58px;
  position: absolute;
  right: 5%;
}

.story__button--all {
  margin: 40px auto 0;
  width: 250px;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .story__button--all {
    margin: 48px auto 0;
    width: 300px;
  }
}

.button.button--all {
  width: 250px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
}

@media screen and (min-width: 1280px) {
  .button.button--all {
    width: 300px;
    height: 50px;
    font-size: 1.6rem;
  }
}

.button.button--all:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button.button--all::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.43px;
  position: absolute;
  right: 7%;
}

.button.button--all:hover::after {
  content: "";
  background-image: url(../../images/common/arrow_right_blue.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.43px;
  position: absolute;
  right: 7%;
}

/* cheer */
.cheer {
  padding: 45px 0 48px;
  background-color: #f8f8f8;
}

@media screen and (min-width: 1280px) {
  .cheer {
    padding: 96px;
  }

  .cheer .container {
    max-width: 1088px;
  }
}

.cheer__wrapper {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1025px) {
  .cheer__wrapper {
    flex-direction: row;
  }
}

img.offering_img {
  aspect-ratio: 375/489;
  object-fit: cover;
}

.cheer__left {
  background-image: url("../../images/top/cheer_offering_sp.png");
  background-image: image-set(url("../../images/top/cheer_offering_sp.png") 1x,
      url("../../images/top/cheer_offering_sp@2x.png") 2x);
  height: 489px;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 375 / 489;
}

@media screen and (min-width: 768px) {
  .cheer__left {
    height: auto;
    width: 84%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__left {
    background-image: url(../../images/top/cheer_offering_pc.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 544/648;
    width: 55%;
  }
}

@media screen and (min-width: 1280px) {
  .cheer__left {
    background-image: url(../../images/top/cheer_offering_pc.jpg);
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 544/648;
    width: 50%;
  }
}

.cheer__title {
  color: #378bae;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 3.4rem;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .cheer__title {
    font-size: 3.2rem;
    line-height: 5.2rem;
    margin-left: 1%;
  }
}

.cheer__text {
  color: #676767;
  text-align: justify;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.4rem;
  letter-spacing: 0.05em;
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff;
}

@media screen and (min-width: 1025px) {
  .cheer__text {
    font-size: 1.6rem;
    line-height: 3rem;
  }
}

.cheer__left-inner {
  display: flex;
  flex-direction: column;
  gap: 19px;
  transform: translateY(32%);
  padding: 0 37.8px 0 40.8px;
}

@media screen and (min-width: 1025px) {
  .cheer__left-inner {
    transform: translateY(36%);
    padding: 0 57px;
    gap: 24px;
  }
}

@media screen and (min-width: 1280px) {}

.cheer__button {
  width: 250px;
  transform: translateY(224%);
}

@media screen and (min-width: 1025px) {
  .cheer__button {
    width: 250px;
    transform: translateY(252%);
  }
}

.button.button--offering {
  width: 250px;
  height: 40px;
  background-color: var(--primary);
  text-align: center;
  font-family: "Noto Sans JP";
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 1025px) {
  .button.button--offering {
    height: 50px;
    font-size: 1.6rem;
  }
}

.button.button--offering:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button__all-text {
  border-bottom: 2px solid #dadd53;
}

.button.button--offering::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.43px;
  position: absolute;
  right: 6%;
}

.button.button--offering:hover::after {
  content: "";
  background-image: url(../../images/common/arrow_right_blue.svg);
  background-repeat: no-repeat;
}

/* cheer__right */
.cheer__right {
  position: relative;
  padding: 28px 20px 33px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--white);
}

@media screen and (min-width: 768px) {
  .cheer__right {
    width: 100%;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__right {
    display: inline-flex;
    padding: 42px 0 0;
    flex-direction: column;
    width: 50%;
    margin: 0;
  }
}

.cheer__right-inner {
  display: inline-block;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .cheer__right-inner {
    margin: 0 auto;
  }
}

.cheer__right::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  width: 1px;
  height: 60px;
  background-color: #5bc8eb;
  transform: rotate(-30deg);
}

@media screen and (min-width: 768px) {
  .cheer__right::before {
    left: 27%;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__right::before {
    top: 40px;
    left: 10%;
    height: 75px;
  }
}

.cheer__right::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 7%;
  width: 1px;
  height: 51.7px;
  background-color: #5bc8eb;
  transform: rotate(30deg);
}

@media screen and (min-width: 768px) {
  .cheer__right::after {
    right: 27%;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__right::after {
    top: 43px;
    right: 9%;
    height: 75px;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__status {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

span.cheer__icon {
  color: #6f6f6f;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  /* margin-left: 7px; */
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  span.cheer__icon {
    font-size: 3.2rem;
    margin-left: 0;
  }
}

span.cheer__number {
  color: #6f6f6f;
  font-family: "Noto Sans JP";
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  span.cheer__number {
    font-size: 3.2rem;
  }
}

span.cheer__label {
  color: #5cb9e1;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 1025px) {
  span.cheer__label {
    font-size: 2.2rem;
  }
}

.cheer__instruction {
  color: #6f6f6f;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-bottom: 2.76px solid #53b6e0;
  width: 80%;
  margin: 0 auto;
  padding-bottom: 5px;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .cheer__instruction {
    font-size: 2rem;
    border-bottom: 4px solid #53b6e0;
    padding-bottom: 9px;
  }
}

.cheer__frame {
  width: 330.82px;
  height: 220.59px;
  border: 0.689px solid #d7d7d7;
  margin-top: 21px;
}

@media screen and (min-width: 768px) {
  .cheer__frame {
    width: 48.83vw;
    height: 48.38vw;
  }
}

@media screen and (min-width: 1025px) {
  .cheer__frame {
    width: 480px;
    height: 320px;
    margin-top: 29px;
  }
}

.cheer__right-text {
  color: #676767;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 23px;
}

@media screen and (min-width: 1025px) {
  .cheer__right-text {
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-top: 29px;
  }
}

.cheer__button--bottom {
  margin-top: 12px;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .cheer__button--bottom {
    margin-top: 15px;
    margin-left: -17px;
  }
}

.button.button--twitter {
  width: 250px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {
  .button.button--twitter {
    height: 50px;
    font-size: 1.6rem;
  }
}

.button.button--twitter::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.43px;
  position: absolute;
  right: 7%;
}

.button.button--twitter:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button.button--twitter:hover::after {
  background-image: url(../../images/common/arrow_right_blue.svg);
}

/* story_list */
.story.story--bg {
  background-color: #f8f8f8;
}

.story__card.card--highlight {
  background-color: var(--white);
}

.story__button--previous {
  width: 250px;
  margin: 24px auto 0;
}

@media screen and (min-width: 1025px) {
  .story__button--previous {
    width: 300px;
    margin: 46px auto 0;
  }
}

.button.button--previous {
  width: 250px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
}

@media screen and (min-width: 1025px) {
  .button.button--previous {
    height: 50px;
    width: 300px;
    font-size: 1.6rem;
  }
}

.button.button--previous:hover {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button.button--previous::after {
  content: "";
  background-image: url(../../images/common/arrow_right_white.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 9.44px;
  position: absolute;
  right: 7%;
}

.button.button--previous:hover::after {
  background-image: url(../../images/common/arrow_right_blue.svg);
}

/* pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

@media screen and (min-width: 1025px) {
  .pagination-wrapper {
    margin-top: 33px;
  }
}

a.page-numbers,
span.page-numbers.current,
span.page-numbers.dots {
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-family: "Noto Sans JP";
  background-color: var(--white);
  color: #5cb9e1;
  margin-right: 6px;
  font-weight: 700;
  border: 1px solid #5cb9e1;
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

a.next.page-numbers:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

a.prev.page-numbers:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.pagination-wrapper .page-numbers:hover {
  background-color: #5cb9e1;
  color: var(--white);
}

.pagination-wrapper .current:hover {
  color: var(--white);
  background-color: #5cb9e1;
}

.pagination-wrapper .current {
  background-color: #5cb9e1;
  color: var(--white);
}

span.page-numbers.dots:hover {
  background-color: #5cb9e1;
  color: var(--white);
}

.pagination-wrapper .page-numbers.current {
  background-color: #5cb9e1;
  /* 背景色（例：黒） */
  color: var(--white);
  /* 文字色（例：白） */
  border-color: #5cb9e1;
  /* 枠線の色 */
  padding: 5px 10px;
  /* 必要に応じて調整 */
  cursor: default;
}

/* single-story.php */
.navigation-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.prev,
.next {
  font-size: 1.4rem;
}

.prev a,
.next a {
  display: flex;
  margin-right: 8px;
}

.prev img {
  margin-right: 8px;
}

.next img {
  margin-left: 5px;
}

.post-navigation {
  text-align: center;
}

/* スマホ（480px以下）のページネーション調整 */
@media only screen and (max-width: 480px) {
  .pagination-wrapper .page-numbers:not(.next):not(.prev):not(.current) {
    display: none;
    /* 前後と現在ページ以外を隠す */
  }

  .pagination-wrapper .page-numbers {
    margin: 0 2px;
    /* 余白を調整して見やすく */
    padding: 8px 12px;
  }
}