/**
 * Web font
 */

 @font-face {
  font-family: "primaryfont";
  src: url("../../fonts/GerTT-Regular.woff2") format("woff2"),
    url("../../fonts/GerTT-Regular.woff") format("woff"),
    url("../../fonts/GerTT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "primaryfont";
  src: url("../../fonts/GerTT-Medium.woff2") format("woff2"),
    url("../../fonts/GerTT-Medium.woff") format("woff"),
    url("../../fonts/GerTT-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: bolder;
}

@font-face {
  font-family: "primaryfont";
  src: url("../../fonts/GerTT-Bold.woff2") format("woff2"),
    url("../../fonts/GerTT-Bold.woff") format("woff"),
    url("../../fonts/GerTT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: bold;
}

body.fixed {
  overflow: hidden;
}

/* hero */
.p-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 160px;
  min-height: 50vw;
  background-size: cover;
}

.p-hero__heading img {
  width: 36.75vw;
  height: auto;
}

.p-section {
  width: 100%;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.p-section + .p-section {
  margin-top: 250px;
}

.p-section__heading {
  margin: 0;
  padding: 0;
  font-size: 40px;
  font-weight: bold;
  font-family: 'primaryfont', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'ＭＳ Ｐゴシック', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  text-transform: uppercase;
}

.p-section__heading span {
  font-weight: 400;
}

/* Movie */
.p-movie {
  position: relative;
}

.p-movie__body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.p-section--movie .p-section__heading {
  margin-bottom: 125px;
}

/* Style -- 共通 */
.c-style {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.c-style__heading {
  margin: 0;
  padding: 0;
  align-self: center;
  justify-self: center;
}

.c-style__heading img {
  width: 44.5px;
  height: auto;
}

.c-style__image img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.c-style__detail {
  align-self: flex-end;
  font-size: 1em;
  font-family: 'primaryfont', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'ＭＳ Ｐゴシック', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 2.0;

}

/* Special Features and Topics */
.p-section + .p-section--feature-and-topics {
  margin-top: 100px;
}

.p-archive + .p-section--feature-and-topics {
  margin-top: 200px;
}

.p-section--feature-and-topics .p-section__heading {
  margin-bottom: 100px;
}

.c-ft-banners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.c-ft-banners a:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Archive */
.p-archive {
  position: relative;
  margin-top: 250px;
  margin-bottom: 70px;
}

.p-archive .p-hero {
  margin-bottom: 0;
  height: 480px;
  min-height: unset;
  background-size: contain;
}

.p-archive .p-hero__heading {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  font-family: 'primaryfont', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'ＭＳ Ｐゴシック', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 2px;
}

.p-archive .p-hero__heading span {
  font-weight: 400;
}

.p-archive-cover {
  display: block grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s;
}

.p-archive-cover > * {
  overflow: hidden;
}

.p-archive-cover[data-is-active="true"] {
  grid-template-rows: 1fr;
}

.p-archive-cover::after {
  content: '';
  display: block;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 200px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%);
}

.p-archive-cover[data-is-active="true"]::after {
  opacity: 0;
  height: 0;
  transition: all .5s ease-in-out;
}

.p-archive-readmore {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 2px #000 solid;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color .4s ease;
  height: 46px;
  min-width: 345px;
  font-size: 1.4rem;
}

.p-archive-readmore:hover {
  cursor: pointer;
  background-color: #fff;
  color: #000;
}

.p-archive-content > :first-child {
  padding-top: 160px;
}

/* modal */
.p-stylemodal {
  --button: #fff;

  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.p-stylemodal.is-disabled {
  visibility: hidden;
  pointer-events : none;
}

.js-thumbnail {
  cursor: pointer;
}

.js-thumbnail:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#cover {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vw;
  background-color: rgba(0, 0, 0, 0.34);
  z-index: 20;
}

.p-stylemodal__close {
  position: absolute;
  top: -22px;
  right: -22px;
  border: none;
  background: var(--button);
  width: 41px;
  height: 41px;
  border-radius: 41px;
  border: 1px solid var(--button);
  cursor: pointer;
}

.p-stylemodal__close::before,
.p-stylemodal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 15px;
  height: 1px;
  background-color: #666;
}

.p-stylemodal__close:hover {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
}

.p-stylemodal__close::before {
  transform: translateX(-50%) rotate(45deg);
}

.p-stylemodal__close::after {
  transform: translateX(-50%) rotate(-45deg);
}

/* slider */
.p-stylemodal__content {
  width: calc(80vh / 3 * 2);
  max-width: 444px;
  padding: 40px;
  background-color: #fff;
  margin: 0 auto;
  box-sizing: content-box;
}

/* slick */
.c-slider .slick-prev,
.c-slider .slick-next {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.c-slider .slick-arrow:hover::before {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
}

.c-slider .slick-prev {
  left: -16vw;
}

.c-slider .slick-next {
  right: -16vw;
}

.c-slider .slick-prev::before,
.c-slider .slick-next::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 48px;
  background-color: var(--button);
}

.c-slider .slick-prev:hover::before,
.c-slider .slick-next:hover::before {
  background-color: #fff;
}

.c-slider .slick-prev::after,
.c-slider .slick-next::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 18px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
}
.c-slider .slick-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.c-slider .slick-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}

/* utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}