/* コンポーネント */
.c-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Inter", sans-serif;
  color: #1B1918;
}

.c-title__jp {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-title__eg {
  font-size: clamp(4rem, 2.206rem + 7.65vw, 8.75rem);
  font-weight: 700;
  line-height: 1;
}

.c-btn{
  width: 100%;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  .c-btn {
    transition: opacity 0.3s ease 0s;
  }

  .c-btn:hover {
    opacity: 0.7;
  }
}

.c-btn--black {
  background-color: #1b1918;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  padding: 10px 24px;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  transition: 0.3s;
  gap: 10px;
}

/* インナー */
.l-inner {
  width: min(100%, calc(1328px + 20px * 2));
  margin-inline: auto;
  padding-inline: 20px;
}


/*ヘッダー*/
.po-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px 56px;
  z-index: 1;
}

.po-header__inner {}

/* パンくずリスト */
.po-breadcrumb {
  /* padding-top: 90px; */
  padding-top: 30px;
  padding-bottom: 16px;
  background-color: #FDFEF6;
}

.po-breadcrumb .l-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.po-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.po-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.po-breadcrumb__item:not(:last-child)::after {
  content: ">";
  color: #1B1918;
}

.po-breadcrumb__link {
  color: #1B1918;
  text-decoration: none;
  transition: opacity 0.3s ease 0s;
}

@media (hover: hover) and (pointer: fine) {
  .po-breadcrumb__link:hover {
    opacity: 0.7;
  }
}

.po-breadcrumb__text {
  color: #9CCAA9;
}


/* ファーストビュー */
.po-fv {
  height: 800px;
  background: transparent url(../img/porta/bg-fv.png) no-repeat center center / cover;
  position: relative;
  display: grid;
  place-items: center;
  padding-inline: 20px;
}

.po-fv__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.po-fv__head {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.po-fv__contents {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(100%,1000px);
}

.po-fv__title {
  font-size: clamp(2rem, 1.213rem + 3.36vw, 4rem);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1;
}

.po-fv__date {
  font-size: clamp(7rem, 4.836rem + 9.23vw, 12.5rem);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.po-fv__countdown {
  display: flex;
  gap: 32px;
  width: 563px;
}

.po-fv__line {
  height: inherit;
  width: 1px;
  background-color: #fff;
}

.po-fv__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: calc((100% - 65px * 3) / 4);
}

.po-fv__num {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.25rem, 0.774rem + 6.3vw, 6rem);
  font-weight: 500;
  line-height: 1;
}

.po-fv__unit {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1;
}

.po-fv__text {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.6;
  font-size: 20px;
  text-decoration: underline;
}

.po-fv__btn {
  border-radius: 100px;
  background-color: #9CCAA9;
  width: min(100%, 389px);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  font-weight: 700;
}

.po-fv__btnText {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 21px;
  line-height: 1.5;
}

.po-fv__microcopy {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  line-height: 1.25;
  text-align: center;
}

.po-fv__edition {
  display: grid;
  grid-template-columns: repeat(auto-fit, 160px);
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.po-fv__editionItem {
  color: #fff;
  box-shadow: 0 0 64px 0 #000;
  padding: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
}

.po-fv__editionItem--small {
  font-size: 13px;
}

.po-fv__editionItem--mini {
  font-size: 10px;
}



@media (hover: hover) and (pointer: fine) {
  .po-fv__btn {
    transition: opacity 0.3s ease 0s;
  }

  .po-fv__btn:hover {
    opacity: 0.7;
  }
}

.po-fv__copy {
  font-weight: 500;
  line-height: 1.6;
}

.po-fv__link {
  text-decoration: underline;
}

.po-fv__scroll {
  display: inline-block;
  position: absolute;
  bottom: 30px;
  left: min(3.88889vw,56px);
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  writing-mode: vertical-lr;
  z-index: 1;
}

.po-fv__scroll::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, .4);
}

.po-fv__scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #fff;
  animation: sdl 2.0s ease-out infinite;
}

@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ポルタについて */
.po-about {
  padding-block: 120px 240px;
  position: relative;
}

.po-about::after {
  content: "";
  width: 100vw;
  aspect-ratio: 1440 / 200;
  background: transparent url(../img/porta/deco-about.png) no-repeat center center / contain;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.po-about__body {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14%;
}

.po-about__text {
  color: #1B1918;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}

.po-about__movie {
  width: 100%;
  aspect-ratio: 1328 / 747;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 80px;
}

.po-about__movie iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.po-spec {
  padding-block: 120px 240px;
  background-color: #D8F0DC;
  position: relative;
  margin-top: -1px;
}

.po-spec::after {
  content: "";
  position: absolute;
  width: 100vw;
  aspect-ratio: 1440 / 199;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent url(../img/porta/deco-spec.png) no-repeat center center / contain;
}

.po-spec__contents {
  width: min(100%, 1080px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #1B1918;
  font-family: "Inter", sans-serif;
  margin-top: 80px;
}

.po-spec__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.po-spec__list {
  /* display: flex;
  flex-direction: column; */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 9;
  gap: 24px;
}

.po-spec__wrap {
  display: flex;
  padding-bottom: 24px;
  padding-left: 8px;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid #1B1918;
}

.po-spec__label {
  width: 160px;
  font-weight: 700;
  line-height: 1.8;
}

.po-spec__data {
  line-height: 2;
  width: calc(100% - 160px - 16px);
}

.po-spec__data--small {
  font-size: 8px;
  vertical-align: top;
}

.po-spec__text {
  line-height: 2;
}

.po-spec__btn{
  width: min(100%, 389px);
  margin-inline: auto;
  margin-top: 80px;
}

.po-story {
  padding-block: 120px 160px;
  background-color: #FDFEF6;
}

.po-story__contents {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.po-story__article {}

.po-story__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1B1918;
  font-family: "Inter", sans-serif;
}

.po-story__num {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.po-story__thumbnail {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 400 / 267;
}

.po-story__thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.po-story__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.po-story__content {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.po-story__link {
  margin-top: 80px;
  width: min(100%, 254px);
  margin-inline: auto;
  text-align: center;
}

.si-main {
  /* margin-top: 90px; */
  background-color: #FDFEF6;
  padding-block: 3.75rem 7.5rem;

  h2,
  h3,
  h4,
  a,
  ul,
  ol,
  p,
  table,
  hr {
    margin-bottom: 2.5rem;
  }

  p {
    a {
      margin-bottom: 0;
      color: #1558d6;
    }
  }

  h2,
  h3,
  h4 {
    position: relative;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.5;
    /* padding-bottom: 0.75rem; */

    &::after {
      content: "";
      position: absolute;
      top: 100%;
      width: 6.25rem;
      height: 0.125rem;
      left: 0;
    }
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.125rem;
    padding: rem(6) 0.75rem;
    border-radius: 2px;
  }

  a {
    position: relative;
    padding-left: rem(28);
  }


  ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 1.5rem;
    list-style-type: disc;

    li {
      ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0.875rem;
        list-style-type: disc;
        margin-bottom: 0;

        li {}
      }
    }
  }

  ol {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: decimal;

    li {

      ol,
      ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0.875rem;
        margin-bottom: 0;

        li {}
      }

      ol {
        list-style-type: decimal;
      }

      ul {
        list-style-type: disc;
      }
    }
  }

  p {
    line-height: 1.8;
  }
}

.si-main__inner {
  background-color: #ffffff;
  padding: 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.si-main__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.6;
}

.si-main__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 5rem
}

.si-main__thumbnail {
  width: 100%;
}

.si-main__thumbnail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.si-main__pagination {
  margin-top: 5rem
}


.p-singlePagination {
  display: grid;
  grid-template-columns: 4.125rem 8.25rem 4.125rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  font-family: var(--ff-head);
  justify-content: space-between
}

.p-singlePagination a {
  margin-bottom: 0;
}

.p-singlePagination__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: .875rem;
  -webkit-transition: opacity var(--ease-time) var(--ease-type) 0s;
  transition: opacity var(--ease-time) var(--ease-type) 0s
}

.p-singlePagination__link--disabled {
  cursor: not-allowed;
  opacity: .4;
  pointer-events: none
}

.p-singlePagination__return {
  background-color: var(--color-secondary);
  border-radius: 3px;
  color: var(--color-text3);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  padding: .5rem 1.5rem;
  -webkit-transition: opacity var(--ease-time) var(--ease-type) 0s;
  transition: opacity var(--ease-time) var(--ease-type) 0s;
  margin: 0 !important;
  text-align: center;
}

.l-footer {
  background-color: #FDFEF6;
}

.l-footer__title {
  color: #1B1918;
  font-family: "Inter", sans-serif;
  font-size: clamp(6.5rem, 0.458rem + 25.78vw, 22.5rem);
  font-weight: 700;
  line-height: 1;
  width: 100%;
  text-align: center;
  translate: 0 50px;
}

.l-footer__copyright {
  background-color: #1B1918;
  text-align: center;
  padding-block: 32px;
  font-family: "Inter", sans-serif;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  font-size: 12px;
}

.u-show {
  display: none;
}

@media screen and (max-width: 1400px){
  .po-fv__scroll{
    left: 0;
  }
}


@media screen and (max-width: 768px) {
  .po-story__contents {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .si-main__inner {
    padding: 20px 20px;
  }

  .si-main__title {
    font-size: 24px;
  }

  .c-title__jp {
    font-size: 14px;
  }

  .po-breadcrumb {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .po-breadcrumb__list {
    font-size: 10px;
    gap: 4px;
  }

  .po-breadcrumb__item {
    gap: 4px;
  }

  .l-footer__title {
    translate: 0 14px;
  }

  .po-header {
    padding: 20px;
  }

  .po-fv {
    height: 700px;
    background-image: url(../img/porta/bg-fv-sp.png);
  }

  .po-fv__contents {
    gap: 24px;
  }

  .po-fv__countdown {
    gap: 2px;
    width: 100%;
  }

  .po-fv__item {
    width: calc((100% - 20px * 2) / 4);
  }

  .po-fv__unit {
    font-size: 14px;
  }

  .po-fv__text {
    font-size: 20px;
    text-decoration: none;
    position: relative;
  }

  .po-fv__text::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: 0;
    left: 0;
  }
  .po-fv__btnText {
    font-size: 18px;
  }
  .po-fv__microcopy {
    font-size: 14px;
  }

  .po-fv__btn {
    /* padding: 12px 20px; */
    /* gap: 8px; */
    width: 100%;
  }

  .po-fv__edition {
    grid-template-columns: repeat(3, 1fr);
  }

  .po-fv__editionItem {
    font-size: 12px;
    padding: 8px 4px;
  }

  .po-fv__editionItem--small {
    font-size: 9px;
  }

  .po-fv__editionItem--mini {
    font-size: 8px;
  }

  .po-fv__scroll {
    display: none;
  }

  .po-about {
    padding-block: 64px 96px;
  }

  .po-about__movie {
    margin-top: 48px;
  }

  .po-about__movie video {
    width: 100%;
    
  }

  .po-about__body {
    flex-direction: column;
    gap: 40px;
  }

  .po-about__text {
    font-size: 14px;
  }


  .po-spec {
    padding-block: 64px 96px;
  }

  .po-spec__contents {
    margin-top: 48px;
    margin-left: 0;
  }

  .po-spec__item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .po-spec__list {
    gap: 16px;
  }

  .po-spec__wrap {
    gap: 4px;
    flex-direction: column;
    padding-bottom: 16px;
  }

  .po-spec__label {
    width: 100%;
  }

  .po-spec__data {
    width: 100%;
  }

  .po-spec__btn{
    margin-top: 48px;
  }

  .po-story {
    padding-block: 60px 80px;
  }

  .po-story__contents {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 20px;
  }

  .po-story__num {
    font-size: 14px;
  }

  .po-story__title {
    font-size: 14px;
  }

  .po-story__content {
    font-size: 12px;
  }

  .u-show {
    display: block;
  }
}