.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #029b79;
}
.hero__mosaic {
  position: absolute;
  inset: 0;
}
.hero__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 36.28%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.hero__logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 696.569/295;
  display: block;
}
.hero__logo p {
  margin-top: 100px;
  color: #fff;
  font-size: clamp(1.125rem, 1.28vw, 1.5rem);
  text-align: center;
  letter-spacing: 0.2em;
}

.mv-tile {
  position: absolute;
  overflow: hidden;
}
.mv-tile--a {
  left: 0;
  top: 0;
  width: 52.6042%;
  height: 50.9259%;
}
.mv-tile--b {
  left: 52.6042%;
  top: 0;
  width: 47.3958%;
  height: 36.1111%;
}
.mv-tile--c {
  left: 52.6042%;
  top: 36.1111%;
  width: 47.3958%;
  height: 63.8889%;
}
.mv-tile--d {
  left: 24.4792%;
  top: 50.9259%;
  width: 28.125%;
  height: 49.0741%;
}
.mv-tile--panel {
  left: 0;
  top: 42%;
  width: 24.4792%;
  height: 58%;
  display: flex;
  align-items: center;
}
.mv-tile__media {
  position: absolute;
  inset: 0;
  background-image: var(--mv-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.mv-tile__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mv-img-hover, var(--mv-img));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.mv-tile__media--green {
  background: #029b79;
}
.mv-tile__media--green::before {
  display: none;
}
@media (hover: hover) {
  .mv-tile--a:hover .mv-tile__media, .mv-tile--b:hover .mv-tile__media, .mv-tile--c:hover .mv-tile__media, .mv-tile--d:hover .mv-tile__media {
    transform: scale(1.07);
  }
  .mv-tile--a:hover .mv-tile__media::before, .mv-tile--b:hover .mv-tile__media::before, .mv-tile--c:hover .mv-tile__media::before, .mv-tile--d:hover .mv-tile__media::before {
    opacity: 1;
  }
}
.mv-tile__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.mv-tile__frame rect {
  opacity: 0;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.hero.is-ready .mv-tile__media {
  opacity: 0;
}
.hero.is-ready .hero__logo,
.hero.is-ready .mv-menu__title,
.hero.is-ready .mv-menu__list li,
.hero.is-ready .mv-menu__vr {
  opacity: 0;
}

.hero.is-revealing .mv-tile__frame rect {
  animation: kp-mv-draw 1.3s ease forwards;
  animation-delay: var(--d, 0s);
}
.hero.is-revealing .mv-tile__media {
  animation: kp-mv-fill 1.3s ease forwards;
  animation-delay: var(--d, 0s);
}
.hero.is-revealing .hero__logo {
  animation: kp-mv-fade-logo 1s ease forwards 0.95s;
}
.hero.is-revealing .mv-menu__title {
  animation: kp-mv-fade 0.8s ease forwards 1.05s;
}
.hero.is-revealing .mv-menu__list li {
  animation: kp-mv-fade 0.7s ease forwards;
  animation-delay: calc(1.15s + var(--i) * 0.06s);
}
.hero.is-revealing .mv-menu__vr {
  animation: kp-mv-fade 0.7s ease forwards 1.7s;
}

@keyframes kp-mv-draw {
  0% {
    opacity: 1;
    stroke-dashoffset: 100;
  }
  35% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  60% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}
@keyframes kp-mv-fill {
  0%, 45% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes kp-mv-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kp-mv-fade-logo {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-bottom: var(--sp-banner-clear);
  }
  .hero__mosaic {
    position: relative;
    inset: auto;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mv-tile {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }
  .mv-tile--a {
    grid-column: 1;
    grid-row: 1/3;
  }
  .mv-tile--b {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 200/223;
  }
  .mv-tile--d {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 200/125;
  }
  .mv-tile--c {
    grid-column: 1/-1;
    grid-row: 3;
    aspect-ratio: 400/293;
  }
  .mv-tile--panel {
    display: none;
  }
  .hero__logo {
    left: 50%;
    top: 44%;
    width: 90%;
  }
  .hero__logo p {
    margin-top: clamp(14px, 5vw, 26px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-ready .mv-tile__media,
  .hero.is-ready .hero__logo,
  .hero.is-ready .mv-menu__title,
  .hero.is-ready .mv-menu__list li,
  .hero.is-ready .mv-menu__vr {
    opacity: 1;
  }
  .hero.is-revealing .mv-tile__frame rect {
    animation: none;
  }
}
.story {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #393939;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}
.story__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--story-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background: linear-gradient(71.85deg, #029b79 2.63%, #029b79 100%), linear-gradient(0deg, #029b79, #029b79), var(--story-bg); */
  /* background: linear-gradient(0deg, rgba(2, 155, 121, 0.75) 0%, rgba(2, 155, 121, 0) 100%), var(--story-bg); */
  background: linear-gradient(0deg, rgba(2, 155, 121, 0.95) 0%, rgba(2, 155, 121, 0.25) 100%), var(--story-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply, soft-light, normal;
  transition: transform 0.7s ease;
}
.story__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
}
.story__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 50;
  width: var(--sidebar-w);
  background: #029b79;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
}
.story__rail.is-tab {
  justify-content: flex-start;
  padding-top: 13px;
  gap: 2px;
}
.story__rail.is-tab .story__en,
.story__rail.is-tab .story__jp {
  display: none;
}
.story__rail.is-tab .story__no {
  writing-mode: horizontal-tb;
  font-style: normal;
  font-size: clamp(0.5rem, 0.7vw, 0.625rem);
  letter-spacing: 0.06em;
  opacity: 0.85;
  line-height: 1;
}
.story__en {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.625rem, 3.1vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #fff;
}
.story__no {
  font-style: italic;
  color: #fff;
}
.story__jp {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-feature-settings: "vert" 1;
  font-weight: 700;
  font-size: clamp(0.9375rem, 1vw, 1.125rem);
  letter-spacing: 0.24em;
  color: #fff;
}
.story__lead {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  padding: clamp(40px, 6vw, 100px);
  text-align: left;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.story__text {
  position: absolute;
  bottom: 100px;
  left: calc(var(--sidebar-w) + clamp(24px, 6vw, 120px));
  /*transform: translateY(-50%);*/
  z-index: 3;
  max-width: 60ch;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  line-height: 2;
  /* letter-spacing: 0.04em; */
  letter-spacing: -0.022em;
}
.story__text p {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.story__text .is-space {
  height: 2em;
}
.story__text--sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .story__text--pc {
    display: none;
  }
  .story__text--sp {
    display: block;
  }
}
.story__link {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.story__btn {
  position: absolute;
  right: clamp(-120px, -5vw, -50px);
  bottom: clamp(-130px, -10vw, -60px);
  z-index: 6;
}
@media screen and (max-width: 1024px) {
  .story__text {
    left: calc(var(--sidebar-w) + clamp(20px, 5vw, 80px));
  }
}
@media screen and (max-width: 768px) {
  .story {
    height: auto;
    min-height: 100svh;
    padding: clamp(80px, 18vh, 120px) 16px clamp(60px, 12vh, 100px) calc(var(--sidebar-w) + 16px);
    padding-bottom: calc(clamp(60px, 12vh, 100px) + var(--sp-banner-clear));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }
  .story__en {
    font-size: 1.5rem;
  }
  .story__lead {
    position: static;
    padding: 0;
    text-align: left;
    /* font-size: 1.0625rem; */
    font-size: 1.25rem;
  }
  .story__text {
    position: static;
    transform: none;
    max-width: none;
    line-height: 1.6;
  }
  .story__text .is-space {
    height: 1.6em;
  }
  .story__btn {
    position: absolute;
    /* right: clamp(-40px, -8vw, -16px); */
    right: -24px;
    /* bottom: calc(clamp(-56px, -14vw, -32px) + var(--sp-banner-clear)); */
    bottom: -80px;
    align-self: auto;
  }
  .story::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 80%);
  }
}
.story.story--role .story__bg {
  background: linear-gradient(to top, #029b79 0%, rgba(2, 155, 121, 0) 100%), linear-gradient(0deg, #029b79, #029b79), url(../img/top/img213.png), #ffffff;
  background-blend-mode: multiply, soft-light, normal, normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .story__rail {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
.story--vr {
  background: rgb(0.4785812414%, 37.0900462096%, 28.9541651055%);
}
.story--vr .story__bg {
  transform: scale(1.1);
}
.story--vr .story__overlay {
  /* background: rgba(2, 155, 121, 0.55); */
  /* background: linear-gradient(180deg, rgba(2, 155, 121, 0.75) 0%, rgba(2, 155, 121, 0) 100%);
  background-blend-mode: multiply; */
  backdrop-filter: blur(5px);
/* background: linear-gradient(0deg, #029B79 0%, rgba(2, 155, 121, 0) 100%);
background-blend-mode: multiply; */
}
.story--vr::after {
  content: none;
}
.story--vr::before {
  content: "";
  position: absolute;
  left: var(--sidebar-w);
  right: clamp(100px, 11.5vw, 170px);
  left: clamp(100px, 11.5vw, 170px);
  top: clamp(80px, 17vh, 140px);
  bottom: clamp(80px, 17vh, 140px);
  z-index: 2;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--story-bg);
  /* background-size: cover; */
  background-size: 142%;
  background-position: center;
  transform: scale(0);
  transform-origin: center center;
  opacity: 0;
}
.story--vr .story__lead {
  top: 50%;
  right: auto;
  left: calc(var(--sidebar-w) / 2 + 50% - clamp(50px, 5.75vw, 85px));
  transform: translate(-50%, calc(-100% - 12px));
  text-align: center;
  padding: 0;
  opacity: 0;
}
.story--vr .story__text {
  top: 50%;
  left: calc(var(--sidebar-w) / 2 + 50% - clamp(50px, 5.75vw, 85px));
  transform: translate(-50%, 12px);
  text-align: center;
  max-width: 60ch;
  opacity: 0;
}
.story--vr .story__btn {
  opacity: 0;
}
.story--vr.is-vr-step1::before {
  animation: kp-vr-scale-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.story--vr.is-vr-step2 .story__lead {
  animation: kp-vr-fade-in 0.6s ease forwards;
}
.story--vr.is-vr-step2 .story__text {
  animation: kp-vr-fade-in 0.6s ease 0.15s forwards;
}
.story--vr.is-vr-step2 .story__btn {
  animation: kp-vr-fade-in 0.6s ease 0.3s forwards;
}
@media screen and (max-width: 768px) {
  .story--vr {
    background: #393939;
    padding-top: 0;
    justify-content: flex-start;
  }
  .story--vr::before {
    display: block;
    position: static;
    inset: auto;
    width: auto;
    margin: 0 -16px;
    aspect-ratio: 3/2;
    transform: none;
    opacity: 1;
    background-position: center left;
    background-size: 170%;
  }
  .story--vr .story__lead {
    margin-top: auto;
  }
  .story--vr .story__text--sp {
    margin-bottom: auto;
  }
  .story--vr .story__bg {
    filter: none;
    transform: none;
  }
  .story--vr .story__overlay {
    backdrop-filter: blur(0);
  }
  .story--vr.is-vr-step1::before {
    animation: none;
    transform: none;
    opacity: 1;
  }
  .story--vr.is-vr-step2 .story__lead,
  .story--vr.is-vr-step2 .story__text,
  .story--vr.is-vr-step2 .story__btn {
    animation: none;
  }
  .story--vr .story__lead,
  .story--vr .story__text {
    position: static;
    transform: none;
    text-align: left;
    opacity: 1;
  }
  .story--vr .story__btn {
    opacity: 1;
  }
}

@media (hover: hover) {
  .story--roots:hover .story__bg,
  .story--role:hover .story__bg {
    transform: scale(1.07);
  }
}

.story--roots .story__lead {
  font-weight: 500;
}
.story--roots .story__text {
  font-weight: 400;
}

@media (hover: hover) {
  .story--vr:hover .story__bg {
    transform: scale(1.17);
  }
}

@keyframes kp-vr-scale-in {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes kp-vr-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.story--union {
  background: #029b79;
}
.story--union .story__bg {
  top: clamp(60px, 10vh, 120px);
  right: clamp(50px, 6vw, 120px);
  bottom: clamp(30px, 5vh, 80px);
  left: calc(var(--sidebar-w) + clamp(20px, 3vw, 60px));
  transform: scale(0.2);
  opacity: 0;
  background: linear-gradient(0deg, #029b79, #029b79), var(--story-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply, normal;
}
.story--union .story__overlay {
  background: none;
}
.story--union::after {
  content: none;
}
.story--union .story__text {
  top: auto;
  bottom: clamp(80px, 10vh, 150px);
  transform: none;
  opacity: 0;
	/* font-size: clamp(0.88rem, 1.1vw, 1.25rem); */
	font-size: clamp(1rem, 1.1vw, 1.25rem);
}
.story--union .story__lead {
  opacity: 0;
  top: 20px;
}
.story--union .story__btn {
  opacity: 0;
}
.story--union.is-union-step1 .story__bg {
  animation: kp-union-scale-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.story--union.is-union-step2 .story__lead {
  animation: kp-vr-fade-in 0.6s ease forwards;
}
.story--union.is-union-step2 .story__text {
  animation: kp-vr-fade-in 0.6s ease 0.15s forwards;
}
.story--union.is-union-step2 .story__btn {
  animation: kp-vr-fade-in 0.6s ease 0.3s forwards;
}
@media screen and (max-width: 768px) {
  .story--union {
    background: #393939;
  }
  .story--union .story__bg {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    opacity: 1;
  }
  .story--union.is-union-step1 .story__bg {
    animation: none;
  }
  .story--union.is-union-step2 .story__lead,
  .story--union.is-union-step2 .story__text,
  .story--union.is-union-step2 .story__btn {
    animation: none;
  }
  .story--union .story__lead,
  .story--union .story__text {
    opacity: 1;
    position: static;
    transform: none;
  }
  .story--union .story__btn {
    opacity: 1;
  }
}

@keyframes kp-union-scale-in {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story--union .story__bg {
    transform: none !important;
    opacity: 1 !important;
  }
  .story--union .story__lead,
  .story--union .story__text,
  .story--union .story__btn {
    opacity: 1 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story--vr::before {
    transform: none !important;
    opacity: 1 !important;
  }
  .story--vr .story__lead,
  .story--vr .story__text,
  .story--vr .story__btn {
    opacity: 1 !important;
  }
}
.gallery {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #393939;
  --gallery-slider-left: clamp(180px, 28vw, 540px);
  --gallery-slide-h: clamp(300px, 66.7vh, 720px);
}
.gallery__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--story-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s ease;
}
.gallery__slider {
  position: absolute;
  /* left: var(--gallery-slider-left); */
  left: clamp(0px, 33.9vw, 651px);
  right: auto;
  width: calc(var(--gallery-slide-h) * 1172 / 720);
  /* max-width: calc(95% - var(--gallery-slider-left)); */
  max-width: calc(95% - clamp(0px, 33.9vw, 651px));
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: center center;
  z-index: 6;
  opacity: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__slider::-webkit-scrollbar {
  display: none;
}
.gallery__slider {
  display: flex;
  align-items: center;
}
.gallery__track {
  display: contents;
}
.gallery__slide {
  flex: 0 0 100%;
  height: var(--gallery-slide-h);
  border-radius: 0;
  overflow: hidden;
  scroll-snap-align: start;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__dots {
  position: absolute;
  z-index: 7;
  left: var(--gallery-slider-left);
  top: calc(50% + var(--gallery-slide-h) / 2 + clamp(14px, 1.8vh, 26px));
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 12px);
  opacity: 0;
}
.gallery__dots button {
  width: clamp(7px, 0.6vw, 10px);
  height: clamp(7px, 0.6vw, 10px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 155, 121, 0.3019607843);
  cursor: pointer;
  transition: background 0.3s ease;
}
.gallery__dots button[aria-selected=true] {
  background: #029b79;
}
.gallery__textbox,
.gallery__textbox-bg {
  position: absolute;
  left: calc(var(--sidebar-w) + clamp(50px, 4.2vw, 80px));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 34.7vw, 666px);
  pointer-events: none;
}
.gallery__textbox {
  display: flex;
  justify-content: center;
  /* position: absolute;
  left: calc(var(--sidebar-w) + clamp(50px, 4.2vw, 80px));
  top: 50%;
  transform: translateY(-50%); */
  /* width: clamp(260px, 34.7vw, 580px); */
  z-index: 30;
  pointer-events: none;
}
.gallery__textbox-bg {
  /* position: absolute; */
  /* inset: 0; */
  /* background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), rgba(2, 155, 121, 0.75);
  opacity: 0; */
  z-index: 29;
  background: #029B79;
  mix-blend-mode: multiply;
  height: 470px;
}
.gallery__textbox-body {
  position: relative;
  z-index: 2;
  padding: clamp(44px, 11.2vh, 100px) clamp(36px, 3.3vw, 60px);
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.25vw, 24px);
  line-height: 1.9;
  letter-spacing: 0.12em;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}
.gallery .ring-btn {
  position: absolute;
  right: clamp(-120px, -5vw, -50px);
  bottom: clamp(-130px, -10vw, -60px);
  z-index: 6;
}
@media (hover: hover) {
  .gallery:hover .gallery__bg {
    transform: scale(1.07);
  }
}
.gallery.is-gallery-step1 .gallery__slider {
  animation: kp-gallery-scale-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.gallery.is-gallery-step1 .gallery__dots {
  animation: kp-gallery-fade-in 0.6s ease 0.3s forwards;
}
.gallery.is-gallery-step2 .gallery__textbox-bg {
  animation: kp-gallery-fade-in 0.6s ease forwards;
}
.gallery.is-gallery-step3 .gallery__textbox-body {
  animation: kp-gallery-fade-in 0.6s ease forwards;
}
@media screen and (max-width: 1024px) {
  .gallery {
    --gallery-slider-left: clamp(140px, 22vw, 380px);
  }
  .gallery__textbox {
    left: calc(var(--sidebar-w) + clamp(30px, 3vw, 50px));
  }
}
@media screen and (max-width: 768px) {
  .gallery {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 clamp(60px, 10vh, 100px);
    padding-bottom: calc(clamp(60px, 10vh, 100px) + var(--sp-banner-clear));
  }
  .gallery__slider {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    opacity: 1;
    overflow-x: auto;
    display: block;
    width: auto;
    max-width: none;
    margin-left: var(--sidebar-w);
    scroll-snap-type: x mandatory;
  }
  .gallery__track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    padding-inline: 0;
  }
  .gallery__slide {
    flex: 0 0 calc(100vw - var(--sidebar-w));
    height: auto;
    /* aspect-ratio: 4/3; */
    aspect-ratio: 385/330;
    scroll-snap-align: start;
  }
  .gallery__textbox {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: 0 0 0 var(--sidebar-w);
    height: 206px;
    align-items: center;
  }
  .gallery__textbox-bg {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: 0 0 0 var(--sidebar-w);
    margin-top: -206px;
    height: 206px;
  }
  .gallery.is-gallery-step1 .gallery__slider {
    animation: none;
    transform: none;
  }
  .gallery__dots {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    height: 0;
    align-items: flex-start;
    margin: -20px 0 20px calc(var(--sidebar-w) + 20px);
  }
  .gallery__textbox-bg {
    opacity: 1;
  }
  .gallery__textbox-body {
    opacity: 1;
    padding-inline: 16px;
    font-weight: 500;
  }
  .gallery .ring-btn {
    position: absolute;
    right: clamp(-20px, -4vw, -8px);
    bottom: calc(clamp(-28px, -7vw, -16px) + var(--sp-banner-clear));
    margin: 0;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .gallery .ring-btn {
    /* bottom: calc(clamp(-80px, -16vw, -48px) + var(--sp-banner-clear)); */
    bottom: -80px;
  }
}

@keyframes kp-gallery-scale-in {
  from {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
@keyframes kp-gallery-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__slider {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  .gallery__dots, .gallery__textbox-bg, .gallery__textbox-body {
    opacity: 1;
  }
}
.gallery .story__rail.is-tab {
  justify-content: flex-end;
  padding-top: 0;
  padding-bottom: 13px;
}

.gallery .ring-btn {
  color: #029b79;
}
.gallery .ring-btn .ring-btn__svg path {
  fill: #029b79;
}
.gallery .ring-btn .ring-btn__arrow {
  filter: brightness(0) saturate(100%) invert(39%) sepia(66%) saturate(1005%) hue-rotate(130deg) brightness(95%) contrast(101%);
}

.news-block {
  position: relative;
  background-image: var(--news-bg);
  background-size: cover;
  background-position: center;
}
.news-block .l-inner {
  max-width: calc(1366px + var(--sidebar-w));
  padding-left: calc(var(--sidebar-w) + clamp(24px, 5vw, 80px));
}
@media screen and (max-width: 768px) {
  .news-block .l-inner {
    padding-left: calc(var(--sidebar-w) + 16px);
    padding-right: 16px;
  }
}

.news {
  display: flex;
  flex-direction: column;
  margin-left: var(--sidebar-w);
}

.news-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  height: clamp(160px, 27.8vh, 300px);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background-color: #393939;
  border-bottom: 3px solid #ffffff;
  text-decoration: none;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--band-img);
  background-size: cover;
  background-position: center;
}
.news-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--band-img-hover, var(--band-img));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s ease;
}
.news-band > * {
  position: relative;
  z-index: 1;
}
.news-band__en {
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.news-band__jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.25vw, 1.5rem);
  letter-spacing: 0.2em;
}
@media (hover: hover) {
  .news-band:hover {
    height: clamp(240px, 41.7vh, 450px);
  }
  .news-band:hover::before {
    transform: scale(1.04);
  }
  .news-band:hover::after {
    opacity: 1;
    transform: scale(1.04);
  }
}
@media screen and (max-width: 768px) {
  .news-band {
    height: clamp(120px, 22vw, 180px);
    transition: none;
  }
}

.insta {
  padding-block: clamp(50px, 8vh, 100px);
  padding-bottom: calc(clamp(50px, 8vh, 100px) + var(--sp-banner-clear));
  background: rgba(255, 255, 255, 0.3);
  color: #474747;
}
.insta__head {
  text-align: center;
  margin-bottom: clamp(20px, 3vh, 40px);
}
.insta__en {
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 1;
  color: #029b79;
  letter-spacing: -0.02em;
}
.insta__jp {
  margin-top: 0.35em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.25vw, 1.5rem);
  letter-spacing: 0.2em;
  color: #029b79;
}
.insta__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
  .insta__list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: none;
    margin-inline: 0;
  }
}

.insta-card__link {
  display: block;
  position: relative;
  overflow: hidden;
  height: clamp(240px, 44.4vh, 540px);
  border: 3px solid #696969;
  text-decoration: none;
}
.insta-card__thumb {
  position: absolute;
  inset: 0;
}
.insta-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.insta-card__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 0.8vw, 14px);
  padding: clamp(14px, 1.9vh, 20px);
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  height: clamp(110px, 20vh, 218px);
}
.insta-card__avatar {
  width: clamp(40px, 4.4vw, 68px);
  height: clamp(40px, 4.4vw, 68px);
  border-radius: 50%;
  background: #d3d3d3;
  flex-shrink: 0;
}
.insta-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.3;
  color: #474747;
}
.insta-card__handle {
  font-weight: 700;
  font-size: clamp(0.9375rem, 1vw, 1.125rem);
}
.insta-card__name {
  font-size: clamp(0.9375rem, 0.9vw, 1rem);
}
@media (hover: hover) {
  .insta-card:hover .insta-card__thumb img {
    transform: scale(1.05);
  }
}
@media screen and (max-width: 768px) {
  .insta-card__link {
    height: auto;
    aspect-ratio: 1/1;
    border-width: 2px;
  }
  .insta-card__head {
    height: 46%;
    padding: 10px;
    gap: 8px;
  }
  .insta-card__avatar {
    width: 30px;
    height: 30px;
  }
  .insta-card__handle {
    font-size: 0.6875rem;
  }
  .insta-card__name {
    font-size: 0.625rem;
  }
}

.insta #sb_instagram {
  height: auto !important;
  padding-bottom: 0 !important;
  overflow: visible;
}
.insta #sb_instagram > .sb_instagram_header,
.insta .sb_instagram_header.sbi_header_outside {
  display: none;
}
.insta #sb_instagram .sbi_follow_btn {
  display: none;
}
.insta #sb_instagram #sbi_images {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 !important;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram #sbi_images {
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
  }
}
.insta #sb_instagram #sbi_images .sbi_item {
  position: relative;
  border: 3px solid #696969;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram #sbi_images .sbi_item {
    border-width: 2px;
  }
}
.insta #sb_instagram .sbi_photo_wrap {
  position: static;
}
.insta #sb_instagram .sbi_photo {
  height: clamp(240px, 44.4vh, 540px) !important;
  overflow: hidden;
}
.insta #sb_instagram .sbi_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram .sbi_photo {
    height: auto !important;
    aspect-ratio: 1/1;
  }
}
@media (hover: hover) {
  .insta:hover #sb_instagram .sbi_item:hover .sbi_photo img {
    transform: scale(1.05);
  }
}
.insta #sb_instagram .sbi_header_link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 0.8vw, 14px);
  height: clamp(110px, 20vh, 218px);
  padding: clamp(14px, 1.9vh, 20px);
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram .sbi_header_link {
    height: 46%;
    padding: 10px;
    gap: 8px;
  }
}
.insta #sb_instagram .sbi_header_avatar {
  flex-shrink: 0;
  width: clamp(40px, 4.4vw, 68px);
  height: clamp(40px, 4.4vw, 68px);
  border-radius: 50%;
  object-fit: cover;
  background: #d3d3d3;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram .sbi_header_avatar {
    width: 30px;
    height: 30px;
  }
}
.insta #sb_instagram .sbi_header_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  line-height: 1.3;
  color: #474747;
}
.insta #sb_instagram .sbi_header_handle {
  font-weight: 700;
  font-size: clamp(0.9375rem, 1vw, 1.125rem);
  overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram .sbi_header_handle {
    font-size: 0.6875rem;
  }
}
.insta #sb_instagram .sbi_header_name {
  font-size: clamp(0.9375rem, 0.9vw, 1rem);
}
@media screen and (max-width: 768px) {
  .insta #sb_instagram .sbi_header_name {
    font-size: 0.625rem;
  }
}
