:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-line: #d9d9d9;
  --color-text: #222222;
  --color-accent: #8daa16;
  --color-accent-dark: #6f8c00;
  --color-panel: #ffffff;
  --font-family-base:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Yu Gothic Medium", "Meiryo", sans-serif;
  --container-width: 1160px;
  --container-narrow: 980px;
  --header-height: 80px;
  --header-inner-width: 1300px;
  --shadow-sm: 0 5px 4px rgba(0, 0, 0, 0.2);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  font-family: var(--font-family-base);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

body.page {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button {
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

a:hover,
button:hover {
  opacity: 1;
}

.l-container {
  width: min(100% - 4rem, var(--container-width));
  margin-inline: auto;
}

.l-container--narrow {
  width: min(100% - 4rem, var(--container-narrow));
  margin-inline: auto;
}

.l-main {
  position: relative;
}

.l-header {
  width: 100%;
  height: var(--header-height);
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

.l-header__inner {
  width: min(100% - 4rem, var(--header-inner-width));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.8rem;
}

.l-header__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.l-header__nav {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.c-site-logo {
  display: inline-flex;
  align-items: center;
  width: 175px;
  height: 48px;
  flex: 0 0 auto;
  text-decoration: none;
}

.c-site-logo__image {
  width: 175px;
  height: 48px;
  object-fit: contain;
}

.c-global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4.8rem;
}

.c-global-nav__item {
  display: flex;
  align-items: center;
}

.c-global-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 4rem;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
}

.c-global-nav__link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-right: 4px solid #82a008;
  border-bottom: 4px solid #82a008;
  transform: rotate(45deg) translateY(-5px);
}

.p-hero {
  padding: 0;
  background:
    url("../assets/images/mv_bg.png") no-repeat center / cover,
    #94ae15;
}

.p-hero__inner {
  width: min(100%, 1300px);
  margin-inline: auto;
}

.p-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1300 / 620;
  overflow: hidden;
  padding: clamp(1.6rem, 2.5vw, 3.2rem);
}

.p-hero__picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.p-hero__copy-image {
  display: block;
  width: min(660px, 100%);
  max-height: 80%;
  height: auto;
}

.p-movie {
  padding: 8rem 0 4rem;
  background-color: #f1e9bb;
}

.p-section-heading {
  margin-bottom: 4.8rem;
  text-align: center;
}

.p-section-heading__title {
  margin-bottom: 0.8rem;
  font-size: 4.8rem;
  font-weight: 700;
  color: #82a008;
}

.p-section-heading__title img {
  display: block;
  width: 100%;
  max-width: 337px;
  height: auto;
  margin: 0 auto 30px;
}

.p-section-heading__eyebrow {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: #82a008;
}

.p-section-heading__lead {
  max-width: 72rem;
  margin-inline: auto;
  font-size: 1.8rem;
  color: #222222;
  letter-spacing: 1px;
}

.p-movie__panel {
  max-width: 1100px;
  margin: auto;
  padding: 0;
}

.p-movie__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  margin-bottom: 5.2rem;
  padding-inline: 5rem;
}

.p-movie__tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.3rem;
  background-color: #82a008;
}

.p-movie__tab {
  position: relative;
  z-index: 1;
  min-height: 8rem;
  padding: 1.6rem 2.4rem;
  border: 3px solid #82a008;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background-color: #cccccc;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  color: #4d4d4d;
  cursor: pointer;
}

.p-movie__tab.is-active {
  z-index: 2;
  background-color: #f1e9bb;
  color: #82a008;
}

.p-movie__tab:not(.is-active) {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 3px solid #82a008;
}

.p-movie__content {
  display: grid;
}

.p-movie__featured-center {
  display: flex;
  justify-content: center;
  margin-bottom: 3.6rem;
}

.p-movie__pane {
  display: none;
}

.p-movie__pane.is-active {
  display: block;
}

.p-movie__columns {
  display: grid;
  grid-template-columns: repeat(2, 472px);
  justify-content: center;
  column-gap: 6.4rem;
}

.p-movie__column {
  display: grid;
  justify-items: center;
  align-content: start;
  row-gap: 3.6rem;
}

.p-movie__stack {
  display: grid;
  justify-items: start;
  row-gap: 3.6rem;
}

.c-movie-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 408px;
  height: 94px;
  padding: 0 2.4rem;
  border: 3px solid #82a008;
  background-color: #ffffff;
  box-shadow: 0.4rem 0.4rem 0 0 #a9be3e;
  text-decoration: none;
}

.c-movie-button--featured {
  width: 472px;
  height: 106px;
  padding: 0 3.2rem;
}

.c-movie-button__label {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.45;
  color: #82a008;
}

.c-movie-button:not(.c-movie-button--featured) .c-movie-button__label {
  font-size: 1.8rem;
  line-height: 1.5;
}

.c-movie-button__icon {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.c-movie-button__icon--featured {
  width: 56.2383px;
  height: 56.2383px;
}

.p-download {
  padding: 8rem 0;
  background-color: #f1e9bb;
}

.p-download__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.6rem;
}

.c-download-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.6rem;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.c-download-card__media {
  min-height: 18rem;
  background-color: #9eb73a;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
}

.c-download-card:nth-child(1) .c-download-card__media {
  background-image: url("../assets/images/download_img01.png");
}

.c-download-card:nth-child(2) .c-download-card__media {
  background-image: url("../assets/images/download_img02.png");
}

.c-download-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
}

.c-download-card__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #82a008;
}

.c-download-card__text {
  font-size: 1.5rem;
}

.c-download-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 5rem;
  margin-top: auto;
  padding: 0 2.4rem;
  border-radius: 9999px;
  background-color: #f4bf00;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
}

.c-download-card__button::after {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  background: url("../assets/images/icon_download.svg") no-repeat center /
    contain;
}

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

.l-footer__inner {
  width: min(100% - 4rem, 1300px);
  margin-inline: auto;
  padding: 3rem 0 1rem;
  display: flex;
  justify-content: center;
}

.pc-br {
  display: inline;
}

.sp-br {
  display: none;
}

.c-menu-button {
  display: none;
  position: relative;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1101;
}

.c-menu-button__line {
  position: absolute;
  left: 50%;
  width: 32px;
  height: 3px;
  border-radius: 9999px;
  background-color: #82a008;
  transform: translateX(-50%);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.c-menu-button__line:nth-child(1) {
  top: 17px;
}

.c-menu-button__line:nth-child(2) {
  top: 26px;
}

.c-menu-button__line:nth-child(3) {
  top: 35px;
}

.c-menu-button.is-open .c-menu-button__line:nth-child(1),
.c-menu-button--close .c-menu-button__line:nth-child(1) {
  top: 26px;
  transform: translateX(-50%) rotate(38deg) scaleX(1.2);
}

.c-menu-button.is-open .c-menu-button__line:nth-child(2),
.c-menu-button--close .c-menu-button__line:nth-child(2) {
  opacity: 0;
}

.c-menu-button.is-open .c-menu-button__line:nth-child(3),
.c-menu-button--close .c-menu-button__line:nth-child(3) {
  top: 26px;
  transform: translateX(-50%) rotate(-38deg) scaleX(1.2);
}

.c-menu-button:not(.c-menu-button--close).is-open {
  opacity: 0;
  pointer-events: none;
}

.c-sp-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.c-sp-menu[hidden] {
  display: none;
}

.c-sp-menu__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.6rem 1.6rem 2.4rem;
  background-color: #ffffff;
}

.c-sp-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 40px;
}

.c-site-logo--sp-menu {
  display: inline-flex;
  align-items: center;
  width: 146px;
  height: 40px;
  flex: 0 0 auto;
  transform: translateY(-4px);
}
.c-site-logo--sp-menu .c-site-logo__image {
  width: 146px;
  height: 40px;
  object-fit: contain;
}

.c-menu-button--close {
  display: block;
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  top: -5px;
  left: -5px;
}

.c-sp-menu__nav {
  margin-top: 1.6rem;
  border-top: 1px solid #b3b3b3;
}

.c-sp-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 4rem 0 0;
  border-bottom: 1px solid #b3b3b3;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
  text-decoration: none;
}

.c-sp-menu__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 16px;
  border-top: 4px solid #82a008;
  border-right: 4px solid #82a008;
  transform: translateY(-50%) rotate(45deg);
}

.c-sp-menu__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.45);
}
@media (max-width: 1100px) {
  .p-movie__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.2rem;
  }

  .c-movie-button {
    max-width: 90%;
  }

  .p-movie__stack {
    justify-items: stretch;
  }
}

@media (max-width: 900px) {
  .p-download__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .l-header {
    position: relative;
    z-index: 1000;
  }

  .l-container,
  .l-container--narrow,
  .l-header__inner {
    width: min(100% - 3.2rem, var(--container-width));
  }

  .l-header__inner {
    gap: 1.6rem;
  }

  .l-header__brand {
    display: flex;
    align-items: center;
    min-height: 40px;
  }

  .l-header__nav {
    display: none;
  }

  .c-site-logo {
    width: 146px;
    height: 40px;
  }

  .c-site-logo__image {
    width: 146px;
    height: 40px;
  }

  .c-menu-button {
    display: block;
    margin-left: auto;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }

  .p-hero__inner {
    width: 100%;
  }

  .p-hero__visual {
    padding: 2rem;
  }

  .p-hero__copy-image {
    max-width: min(540px, 100%);
    max-height: 74%;
  }

  .p-section-heading__title {
    font-size: 3.6rem;
  }

  .p-section-heading__eyebrow {
    font-size: 1.8rem;
  }

  .p-section-heading__lead {
    font-size: 1.6rem;
  }

  .p-movie {
    padding: 5.6rem 0 1.4rem;
  }

  .p-movie__content,
  .p-movie__pane,
  .p-movie__columns {
    width: 100%;
  }

  .p-movie__featured-center .c-movie-button--featured {
    width: 100%;
    max-width: none;
  }

  .p-movie__columns {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }

  .p-movie__pane .c-movie-button--featured,
  .p-movie__pane .p-movie__stack,
  .p-movie__pane .c-movie-button {
    width: 100%;
    max-width: none;
  }

  .p-download {
    padding: 5.6rem 0 7.4rem;
  }

  .p-movie__panel {
    padding: 0 1.6rem;
  }

  .p-movie__tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.4rem;
    padding-inline: 0;
  }

  .p-movie__tab {
    min-height: 6.4rem;
    padding: 1.2rem 1rem;
    border-radius: 10px 10px 0 0;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
  }

  .p-movie__columns {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
    letter-spacing: 1px;
  }

  .p-movie__column {
    display: contents;
  }
  .p-movie__stack {
    display: grid;
    row-gap: 1.2rem;
    justify-items: stretch;
  }

  .p-movie__pane .c-movie-button--featured {
    margin: 0;
  }

  .p-movie__pane .p-movie__column:first-child > .c-movie-button--featured {
    order: 1;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
  }

  .p-movie__pane .p-movie__column:last-child > .c-movie-button--featured {
    order: 2;
    margin-bottom: 3rem;
  }

  .p-movie__pane .p-movie__column:first-child .p-movie__stack {
    order: 3;
  }

  .p-movie__pane .p-movie__column:last-child .p-movie__stack {
    order: 4;
  }
  .c-movie-button {
    width: 100%;
    height: 8rem;
    padding: 0 2rem;
    box-shadow: 0.5rem 0.5rem 0 0 #a9be3e;
    margin-bottom: 10px;
  }

  .c-movie-button--featured {
    height: 8.8rem;
    padding: 0 2rem;
  }

  .c-movie-button__label {
    font-size: 1.8rem;
  }

  .c-movie-button:not(.c-movie-button--featured) .c-movie-button__label {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 60%;
  }

  .p-hero__visual {
    min-height: 600px;
    padding: 1.6rem;
  }

  .p-hero__copy-image {
    max-width: 100%;
    max-height: 70%;
  }

  .p-section-heading__title {
    font-size: 3rem;
  }

  .p-section-heading__title img {
    display: block;
    width: 100%;
    max-width: 70%;
    height: auto;
    margin: 0 auto 30px;
  }

  .p-movie__panel {
    padding: 1.6rem;
  }

  .c-movie-button__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .c-movie-button__icon--featured {
    width: 36px;
    height: 36px;
  }

  .c-movie-button__label {
    font-size: 1.6rem;
  }

  .c-movie-button:not(.c-movie-button--featured) .c-movie-button__label {
    font-size: 1.8rem;
  }

  .c-download-card__title {
    font-size: 1.8rem;
  }
}

.c-video-modal[hidden] {
  display: none;
}

.c-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.c-video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.c-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 3.2rem, 960px);
  margin: 6vh auto 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 0.4rem;
}

.c-video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  border: none;
  background: transparent;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.c-video-modal__title {
  margin: 0 4rem 1.6rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: #82a008;
}

.c-video-modal__player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  aspect-ratio: 16 / 9;
}
