@charset "UTF-8";

/* reset
================================================= */
*,*::before,*::after{box-sizing:border-box}
html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
ul[role='list'],ol[role='list']{list-style:none}
body{min-height:100vh}
h1,h2,h3,h4,h5,h6,button,input,label{line-height:1.4}
a:not([class]){text-decoration-skip-ink:auto;color:currentColor}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
textarea:not([rows]){min-height:10em}
:target{scroll-margin-block:5em}
table{border-collapse:collapse;border-spacing:0}
.cf:before,.cf:after{content:"";display:table}
.cf:after{clear:both}


/* base
================================================= */
html {
	font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  background-color: #ffffff;
  color: #373737;
  font-family: "Lexend Deca", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(1.4rem, 3.9vw, 2.1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
  line-break: strict;
}
@media print, screen and (min-width: 600px) {
  body {
    font-size: clamp(1.4rem, 2.0vw, 1.6rem);
  }
}
a {
  color: #1558d6;
}
a:visited {
  color: #681da8;
}
a:hover,
a:active {
  color: #44a0ff;
}
button {
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  width: 100%;
  height: auto;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* keyframes */
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes crossfade {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 1;
  }
  80%{
    opacity: 0;
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}


/* hbc nav
================================================= */
.smp_space {
  display: none;
}
@media print, screen and (min-width: 960px) {
  .g_navi_area {
    position: fixed;
  }
}


/* layout : container & area (display, position, width, height etc)
================================================= */
.container {
  position: relative;
  top: 55px;
  width: 100%;
}
.area.contents {
  width: 100%;
}
.area.site-nav {
  display: none;
}
.area.scene-fade {
  display: none;
}
.area.site-nav-smp {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1;
}
@media print, screen and (min-width: 520px) {
  .container {
    top: 60px;
  }
}
@media print, screen and (min-width: 600px) {
  .area.contents {
    position: absolute;
    left: 45%;
    width: 55%;
  }
  .area.site-nav {
    display: block;
    position: fixed;
    left: 0;
    width: 45%;
    height: calc(100vh - 60px);
  }
  .area.site-nav-smp {
    display: none;
  }
}
@media print, screen and (min-width: 960px) {
  .container {
    top: 70px;
  }
  .area.contents {
    width: 420px;
    left: calc((100% - 420px) / 2);
  }
  .area.site-nav,
  .area.scene-fade {
    width: calc((100% - 420px) / 2);
    height: calc(100vh - 70px);
  }
  .area.scene-fade {
    display: block;
    position: fixed;
    right: 0;
  }
}
@media print, screen and (min-width: 1280px) {
  .container {
    top: 80px;
  }
  .area.site-nav,
  .area.scene-fade {
    height: calc(100vh - 80px);
  }
}


/* area : site nav (smp)
================================================= */
@media print, screen and (max-width: 599px) {
  .area.site-nav-smp {
    background-color: #f76933;
    color: #ffffff;
  }
  .site-nav-smp a,
  .site-nav-smp a:visited {
    color: #ffffff;
    text-decoration: none;
  }
  .site-nav-smp a:hover,
  .site-nav-smp a:active {
    opacity: 0.7;
  }
  .site-nav-smp ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    font-size: clamp(1.35rem, 4.0vw, 1.8rem);
  }
  .site-nav-smp li + li::before {
    content: "／";
    margin: 0 0.7em;
  }
}


/* area : site nav (tab & pc)
================================================= */
@media print, screen and (min-width: 600px) {
  .area.site-nav {
    padding-top: min(3%, 50px);
    padding-bottom: 140px;
    background: #c3e1ec url("../image/bg_sky.webp") no-repeat center center;
    background-size: cover;
    color: #373737;
  }
  .site-nav nav {
    width: min(80%, 350px);
    height: 100%;
    margin-inline: auto;
    overflow: auto;
  }
  .site-nav a,
  .site-nav a:visited,
  .site-nav button {
    color: #373737;
  }
  .site-nav a,
  .site-nav a:visited {
    text-decoration: none;
  }
  .site-nav button {
    background: none;
  }
  .site-nav a:hover,
  .site-nav a:active,
  .site-nav button:hover:not([disabled]),
  .site-nav button:active:not([disabled]) {
    opacity: 0.7;
  }
  .site-nav button:disabled {
    color: #ffffff;
  }

  /* first-level */
  .site-nav ul.first-level {
    width: 100%;
  }
  .site-nav ul.first-level > li + li {
    margin-top: min(10%, 40px);
  }
  .site-nav ul.first-level > li a {
    display: inline-block;
  }
  .site-nav ul.first-level > li img {
    width: auto;
    height: 18px;
  }

  /* second-level */
  .site-nav ul.second-level {
    display: flex;
    flex-wrap: wrap;
    column-gap: 9%;
    width: 100%;
    margin-top: min(2%, 25px);
    font-size: 1.2rem;
    font-weight: 500;
  }
  .site-nav ul.second-level > li {
    width: 90px;
    margin-top: 12px;
  }
  .site-nav ul.second-level button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }
  .site-nav ul.second-level button::after {
    content: "+";
    margin-top: -0.2em;
    font-size: 1.3em;
    font-weight: 200;
  }
}


/* area : contents
================================================= */
/* header */
header {
  border-bottom: 8px solid #ffffff;
}
header .kv {
  background-color: #b8dfeb;
  animation: fadein 2.0s ease-out forwards;
}

/* main : common */
.contents main > section:not(.story) h2 {
  margin-bottom: 12%;
}
.contents main > section.story h2 {
  margin-bottom: 9%;
}
.contents main .scroll-fadein {
  transition-duration: 0.6s;
  transform: translateY(20px);
  filter: blur(10px);
  opacity: 0;
}
.contents main .scroll-fadein.visible {
  transform: translateY(0px);
  filter: blur(0px);
  opacity: 1;
  visibility: visible;
}
@media print, screen and (min-width: 960px) {
  .contents main .scroll-fadein {
    transition-duration: 0.8s;
  }
}

/* main : story */
section.story {
  position: relative;
  padding: 12% 0 16%;
  background: #f9efde url(../image/bg_craft.webp) repeat-x center center;
  background-size: cover;
}
section.story .wrap {
  position: relative;
  width: 100%;
}
section.story .wrap-flex {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
section.story .wrap .text-box {
  position: relative;
  margin-bottom: 15.5%;
  padding: 0 7%;
  z-index: 1;
}
section.story .wrap .text-box p.catch {
  margin-bottom: 1.0em;
  font-size: 1.35em;
  font-weight: 600;
}
section.story .wrap .text-box p:not(.catch) {
  line-height: 2.0;
}
section.story .wrap img.photo-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 26%;
  margin-top: -12%;
}
section.story .wrap-flex img.photo-b {
  width: 54%;
}
section.story .wrap-flex img.photo-c {
  width: 29%;
  margin-top: 33.8%;
}

/* main : cast */
section.cast {
  padding: 12% 0 16%;
  background: #b8dfeb url(../image/bg_sky.webp) repeat-x center center;
  background-size: cover;
}
section.cast h2 {
  padding-inline: 7%;
}
section.cast .swiper-slide .character,
section.cast .swiper-slide .actor {
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
section.cast .swiper-slide .character {
  margin-top: 8%;
  font-size: 1.37em;
}
section.cast .swiper-slide .actor {
  margin-top: 8.5%;
  font-size: 0.92em;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 41%;
  bottom: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-content: center;
  cursor: pointer;
  z-index: 1;
}
.swiper-button-prev {
  right: calc(100% - 46px);
}
.swiper-button-next {
  left: calc(100% - 46px);
}
.swiper-button-prev::before,
.swiper-button-next::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 100vh;
  background-color: #ffffff;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  width: 14px;
  height: 18px;
  background: rgba(55, 55, 55, 1);
}
.swiper-button-prev::after {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  margin-left: -3px;
}
.swiper-button-next::after {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-left: 5px;
}

/* main : movie */
section.movie {
  padding: 12% 7%;
  background: #f9efde url(../image/bg_craft.webp) repeat-x center center;
  background-size: cover;
}
section.movie ul.movie-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-top: -4%;
}
section.movie ul.movie-list li {
  width: 48%;
  margin-top: 4%;
}
section.movie ul.movie-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.0em 0.8em;
  background-color: #f76933;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
section.movie ul.movie-list button::after {
  content: "+";
  margin-top: -0.2em;
  font-size: 1.3em;
  font-weight: 200;
}
section.movie ul.movie-list button:hover,
section.movie ul.movie-list button:active {
  opacity: 0.7;
}
section.movie ul.movie-list button:disabled {
  background-color: #ffffff;
  color: #c1c1c1;
  opacity: 1.0;
}
section.movie .sns ul.account-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12%;
}
section.movie .sns ul.account-list li + li {
  margin-left: 7.5%;
}
section.movie .sns ul.account-list li.instagram {
  width: 12%;
}
section.movie .sns ul.account-list li.youtube {
  width: 13%;
}
section.movie .sns ul.account-list li.tiktok {
  width: 12%;
}

/* main : sponsor */
section.sponsor {
  padding: 12% 7%;
}

/* main : scene */
div.scene .wrap-photo {
	position: relative;
  width: 100%;
  aspect-ratio: 100 / 607.2;
}
div.scene .parallax {
	position: sticky;
	top: 55px;
	width: 100%;
  aspect-ratio: 100 / 202.4;
	z-index: -1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
div.scene .parallax.photo-a {
	background-image: url(../image/scene_photo-a.webp);
}
div.scene .parallax.photo-b {
	background-image: url(../image/scene_photo-b.webp);
}
div.scene .parallax.photo-c {
	background-image: url(../image/scene_photo-c.webp);
}
@media print, screen and (min-width: 520px) {
  div.scene .parallax {
    top: 55px;
  }
}
@media print, screen and (min-width: 960px) {
  div.scene .parallax {
    top: 70px;
  }
}
@media print, screen and (min-width: 1280px) {
  div.scene .parallax {
    top: 80px;
  }
}

/* main : staffroll */
div.staffroll {
  padding-top: 12%;
  padding-bottom: calc(55px + 12px + 7vw + 18%);
  background: #b8dfeb url(../image/bg_sky-l.webp) repeat-x center center;
  background-size: cover;
}
div.staffroll > section {
  padding-inline: 7%;
  font-size: 0.9em;
}
div.staffroll > section + section {
  margin-top: 9%;
}
div.staffroll > section h2 {
  margin-bottom: 5%;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
div.staffroll > section  ul + ul {
  margin-top: 9%;
}
div.staffroll > section li {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
div.staffroll > section li + li {
  margin-top: 0.6em;
}
div.staffroll > section li.staffroll-logo {
  margin-top: 0.85em;
}
div.staffroll img.sapporo-smile {
  width: 2.3em;
  margin-left: 0.8em;
}
div.staffroll img.flag {
  width: 4.45em;
}
div.staffroll img.pr-center {
  width: 5.45em;
}
div.staffroll img.hbc {
  width: 3.35em;
}
div.staffroll .logo {
  margin-top: 12%;
  padding-inline: 5%;
}
@media print, screen and (min-width: 600px) {
  div.staffroll {
    padding-bottom: 18%;
  }
}


/* area : contents : modal window
================================================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 55px;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100% - 55px);
  background-color: rgba(0,0,0,0.8);
  z-index: 5;
  animation: fadein 0.35s ease-out;
}
@media print, screen and (min-width: 520px) {
  .modal-overlay {
    top: 60px;
    height: calc(100% - 60px);
  }
}
@media print, screen and (min-width: 960px) {
  .modal-overlay {
    top: 70px;
    height: calc(100% - 70px);
  }
}
@media print, screen and (min-width: 1280px) {
  .modal-overlay {
    top: 80px;
    height: calc(100% - 80px);
  }
}

/* close button */
.modal-window button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 100vh;
  background-color: #f76933;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.modal-window button.close-circle {
  width: 30px;
  height: 30px;
  margin: -40px 0 10px auto;
}
.modal-window button.close-circle img {
  width: 12px;
  height: 12px;
}
.modal-window button.close-wide {
  width: 150px;
  height: 52px;
  margin-inline: auto;
  font-size: 0.92em;
  line-height: 1.2;
}

/* character */
.modal-window.characters {
  width: min(85%, 375px);
}
.modal-window.characters .profile {
  max-height: calc(85vh - 80px - 40px);
  padding: 17px;
  background-color: #ffffff;
  overflow: auto;
  text-align: center;
}
.modal-window.characters .profile .character,
.modal-window.characters .profile .actor {
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.modal-window.characters .profile .character {
  margin-top: 9%;
  font-size: 1.7em;
}
.modal-window.characters .profile .actor {
  margin-top: 5%;
  font-size: 0.92em;
}
.modal-window.characters .profile p {
  width: 100%;
  margin-block: 9%;
  font-size: 0.94em;
  line-height: 2.0;
}

/* movie */
.modal-window.movies {
  width: min(75%, 310px);
}
.modal-window.movies .youtube {
  line-height: 1.0;
}
.modal-window.movies .youtube iframe {
  aspect-ratio: 9 / 16;
  width: 100%;
  height: auto;
}


/* area : scene-fade
================================================= */
@media print, screen and (min-width: 960px) {
  .scene-fade .wrap-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .scene-fade .crossfade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    opacity: 0;
    animation-name: crossfade;
    animation-duration: 28s;
    animation-delay: -1s;
    animation-iteration-count: infinite;
  }
  .scene-fade .crossfade.photo-a {
    background-image: url(../image/scene-fade_photo-a.webp);
  }
  .scene-fade .crossfade.photo-b {
    background-image: url(../image/scene-fade_photo-b.webp);
    animation-delay: 6s;
  }
  .scene-fade .crossfade.photo-c {
    background-image: url(../image/scene-fade_photo-c.webp);
    animation-delay: 13s;
  }
  .scene-fade .crossfade.photo-d {
    background-image: url(../image/scene-fade_photo-d.webp);
    animation-delay: 20s;
  }
  .scene-fade .wrap-deco {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 17px;
    z-index: 2;
  }
  .scene-fade .wrap-deco .logo-sub {
    align-self: center;
  }
  .scene-fade .wrap-deco .moveup {
    align-self: flex-end;
  }
  .scene-fade .wrap-deco .moveup a {
    display: block;
    width: 12px;
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    line-height: 1.0;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}
@media print, screen and (min-width: 1280px) {
  .scene-fade .wrap-photo {
    top: 80px;
    height: calc(100vh - 80px);
  }
}


/* footer
================================================= */
footer {
  position: relative;
  bottom: calc(7vw + 12px);
  width: 100%;
}
footer .sns {
  display: none;
}
footer address {
  font-size: 1.0rem;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}
@media print, screen and (min-width: 600px) {
  footer {
    position: fixed;
    bottom: 0;
    width: 45%;
    padding-bottom: min(2%, 40px);
    z-index: 1;
  }
  footer .sns {
    display: block;
    width: min(80%, 350px);
    margin-inline: auto;
  }
  footer .sns p img {
    width: 85px;
  }
  footer .sns ul.account-list {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 15px 0;
  }
  footer .sns ul.account-list li + li {
    margin-left: 15px;
  }
  footer .sns ul.account-list li.youtube {
     width: 30px;
  }
  footer .sns ul.account-list li.instagram {
     width: 26px;
  }
  footer .sns ul.account-list li.tiktok {
     width: 23px;
  }
  footer address {
    width: min(80%, 350px);
    margin-inline: auto;
    font-size: min(1.6vw, 1.0rem);
    text-align: left;
  }
}
@media print, screen and (min-width: 960px) {
  footer {
    width: calc((100% - 420px) / 2);
  }
  footer .sns ul.account-list {
    margin: 20px 0;
  }
}
