@charset "UTF-8";


/**************************************************************
* その他の要素
**************************************************************/

/* pagetop-btn
************************************************/
.pagetop-btn {
  position: absolute;
  bottom: 5vw;
  right: 5vw;
  z-index: 999;
  display: block;
  width: 25px;
  height: 25px;
  cursor: pointer;
  border: 1px solid var(--wp--preset--color--primary);
}

.pagetop-btn__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.pagetop-btn__link::after {
  content: "";
  position: relative;
  top: 1.75px;
  width: 5px;
  height: 5px;
  pointer-events: none;
  border-top: 1px solid var(--wp--preset--color--primary);
  border-right: 1px solid var(--wp--preset--color--primary);
  transform: rotate(-45deg);
}

@media all and (min-width: 1024px) {
  .pagetop-btn {
    width: 50px;
    height: 50px;
  }

  .pagetop-btn__link::after {
    top: 2.5px;
    width: 10px;
    height: 10px;
    border-radius: 0.1rem;
    border-width: 2px;
  }
}

/* hover */
@media (hover: hover) {
  .pagetop-btn {
    transition: background 0.15s ease;
  }

  .pagetop-btn:hover {
    background-color: var(--wp--preset--color--primary);
  }

  .pagetop-btn__link:hover::after {
    border-color: var(--wp--preset--color--background);
  }
}


/* wp-theme-btn
************************************************/
.wp-block-button {
  color: var(--wp--preset--color--foreground-inverted);
}

.wp-block-button.has-child-dark-background {
  color: var(--wp--preset--color--foreground);
}

.wp-block-button:not([class*="--backward"])::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5rem;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  z-index: 9;
  margin: auto;
  border-radius: 0.15rem;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotateZ(-45deg);
}

.wp-block-button[class*="--backward"] .wp-block-button__link {
  background-color: rgb(126, 126, 126);
  color: #000000;
}
.wp-block-button[class*="--backward"]::after {
  display: none;
}

/* hovers */
@media (hover: hover) {
  .wp-block-button,
  .wp-block-button__link,
  .wp-block-button__link::before,
  .wp-block-button__link::after {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .wp-block-button__link {
    z-index: 1;
    overflow: hidden;
  }
  .wp-block-button__link::before,
  .wp-block-button__link::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 0%;
    height: 100%;
    display: block;
    background-color: var(--wp--preset--color--foreground);
    transform: skew(30deg);
  }
  .wp-block-button__link::before {
    top: 0;
    left: -20%;
  }
  .wp-block-button__link::after {
    bottom: 0;
    right: -20%;
  }


  .wp-block-button.has-child-dark-background:hover {
    color: var(--wp--preset--color--foreground-inverted);
  }

  .wp-block-button:hover .wp-block-button__link::before,
  .wp-block-button:hover .wp-block-button__link::after {
    width: 120%;
  }

  .wp-block-button:hover .wp-block-button__link.has-foreground-inverted-background-color {
    color: var(--wp--preset--color--foreground-inverted) !important; /* //MEMO remove all important declaration in the global inline styles? */
  }

  .wp-block-button[class*="--backward"]:hover .wp-block-button__link {
    color: var(--wp--preset--color--background-secondary);
  }
}


/* scrolldown-indicator
************************************************/
.scrolldown-indicator {
  position: absolute;
  bottom: 10%;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 10px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
}

.scrolldown-indicator__txt {
position: absolute;
top: 0;
left: 0;
text-align: center;
writing-mode: vertical-rl;
text-orientation: mixed;
font-size: 10px;
line-height: 2.75;
color: var(--wp--preset--color--secondary);
}


.scrolldown-indicator__line {
position: absolute;
top: 0;
left: 0;
display: block;
width: 1.5px;
height: 100px;
margin-left: auto;
margin-right: auto;
background-color: var(--wp--preset--color--secondary);
transform-origin: 0 0;
}

@media all and (min-width: 1024px) {
.scrolldown-indicator {
  bottom: 20%;
  left: 0;
  right: 0;
}
}

/* animations */
.scrolldown-indicator__line {
animation: stretching-effect 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
will-change: animation, clip-path;
}

@keyframes stretching-effect {
  0% {
    clip-path: inset(0 0 100% 0);
    bottom: 5%;
  }
  40%, 60% {
    clip-path: inset(0 0 0 0);
    bottom: 0;
  }
  100% {
    clip-path: inset(100% 0 0 0);
    bottom: -5%;
  }
}



/**************************************************************
* グロバル要素
**************************************************************/

/* gheader
************************************************/
@media (min-width: 1024px) {
  .gheader__nav-block {
    display: flex;
    width: 100%;
  }
}

/* states */
@media (max-width: 1023px) {
  html[class*="ui-state-nav-opened"] .gheader__body .wp-block-columns {
    position: fixed;
    width: 100%;
    z-index: 9999;
  }
}

/* gnav
************************************************/
@media (max-width: 1023px) {
  .gnav {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--wp--preset--color--primary);
  }
}


@media (min-width: 1024px) {
  .gnav {
    display: flex;
    justify-content: flex-end;
    gap: 10px 40px;
    width: 100%;
  }
}

/* states */
@media all and (max-width: 1023px) {
  .gnav {
    z-index: 999;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-110%);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  html[class*="ui-state-nav-opened"] .gnav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: all;
  }
}



/**************************************************************
* その他の要素 (2)
**************************************************************/

/* c-headline
********************************/
.c-headline::before,
.c-headline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  display: block;
  width: 1px;
  height: 20px;
  margin: auto;
  background: var(--wp--preset--color--primary);
}
.c-headline::before {
  transform: skew(-40deg, 10deg) translate3d(10px, -25px, 10px);
}
.c-headline::after {
  transform: skew(-40deg, 10deg) translate3d(-34px, 14px, 10px);
}

html[class*="ui-state-nav-opened"] .c-headline::before,
html[class*="ui-state-nav-opened"] .c-headline::after {
  transform: none;
}

@media all and (min-width: 1024px) {
  .c-headline::before {
    transform: skew(-40deg, 10deg) translate3d(10px, -30px, 10px);
  }
  .c-headline::after {
    transform: skew(-40deg, 10deg) translate3d(-48px, 22px, 10px);
  }
}


/* hamburger-btn
********************************/
.hamburger-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: calc(40/750 * 100vw);
  height: calc(40/750 * 100vw);
  margin-top: auto;
  margin-bottom: auto;
  cursor: pointer;
  color: var(--wp--preset--color--foreground-inverted);
}

.hamburger-btn > span {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.hamburger-btn > span:nth-child(1) {
  transform: translateY(-10px);
}

.hamburger-btn > span:nth-child(2) {
  transform: translateY(10px) scaleX(0.75);
  transform-origin: 0 0;
}

@media all and (max-width: 1023px) {
  .hamburger-btn {
    /* position: fixed; */
    right: 5.333%;
  }

  .gnav {
    position: fixed;
  }
}

@media all and (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

/* hovers / states */
.hamburger-btn > span:nth-child(1),
.hamburger-btn > span:nth-child(2) {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.hamburger-btn > span:nth-child(3) {
  transition: all 0.2s ease-out;
  transition-delay: 0.125s;
}

@media (hover: hover) {
  .hamburger-btn {
    transition: color 0.3s;
  }

  .hamburger-btn:hover {
    color: var(--wp--preset--color--foreground);
  }

  html[class*="ui-state-nav-opened"] .hamburger-btn {
    color: var(--wp--preset--color--background);
  }

  .hamburger-btn:hover > i:before,
  .hamburger-btn:hover > i:after {
    transform: translateY(0) scaleX(1);
    filter: blur(0.5px);
  }
}

/* states */
html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(1) {
  transform-origin: center;
  transform: translateY(0) rotateZ(-135deg) scaleX(0.75);
  filter: blur(0);
}

html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(2) {
  transform-origin: center;
  transform: translateY(0) rotateZ(135deg) scaleX(0.75);
  filter: blur(0);
}

html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(3) {
  transform-origin: center;
  transform: scaleX(0);
  filter: blur(0);
}

/* nav-links
********************************/

/* states */
@media all and (max-width: 1023px) {
  html[class*="ui-state-nav-opened"] .nav-links > li {
    overflow: hidden;
  }

  .nav-links > li {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0.6s;
  }

  html[class*="ui-state-nav-opened"] .nav-links > li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-entry-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0.8s;
  }

  html[class*="ui-state-nav-opened"] .nav-contact-btn {
    opacity: 1;
  }
}

/* hovers */
@media (hover: hover) and (min-width: 1024px) {
  .nav-links > li,
  .nav-links > li.is-current {
    position: relative;
    transition: all 0.3s ease-out;
    transition-delay: 0.15s;
  }

  .nav-links > li:hover,
  .nav-links > li.is-current {
    display: block;
    /* transform: translateY(-5px); */
  }
}



/**************************************************************
* HERO
**************************************************************/
.hero .rail-horizontal-txt {
  transform: translateY(-100%);
}

@media all and (min-width: 1800px) {
  .hero .rail-horizontal-txt__body > p {
    font-size: 120px;
  }
}

@media all and (max-width: 1023px) {
  .swiper-slide.swiper-slide-active {
    z-index: 99;
  }
}



/**************************************************************
* CONCEPT
**************************************************************/



/**************************************************************
* EQUIPEMENT
**************************************************************/

.equipement {
  position: relative;
}

.equipment__body {
  margin-left: auto;
}

.equipement .slider-controls {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
  margin-left: auto;
  font-family: var(--alphabetic-font);
  color: var(--wp--preset--color--foreground-inverted);
  background: var(--wp--preset--color--primary);
}

.equipement .slider-controls__counter {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.equipement .swiper-button-next,
.equipement .swiper-button-prev {
  all: unset;
  display: revert;
}
.equipement .swiper-button-next::after,
.equipement .swiper-button-prev::after {
  all: unset;
  display: revert;
}

.equipement .swiper-button-next,
.equipement .swiper-button-prev {
  cursor: pointer;
}
.equipement .swiper-button-next {
  transform: scaleX(-1);
}

.equipement .swiper-button-next.swiper-button-disabled,
.equipement .swiper-button-prev.swiper-button-disabled {
  opacity: 0.2;
  cursor: none;
}

@media all and (max-width: 1023px) {
  .equipement .slider-controls {
    width: 150px;
    height: 45px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media all and (min-width: 1024px) {
  .equipement .slider-controls {
    width: 266px;
    height: 80px;
    margin-top: calc(120/var(--wp--custom--ratio-break-point) * 100vw);
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* equipement-contents
********************************/
.equipement-contents {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  color: var(--wp--preset--color--foreground-inverted);
  background-color: var(--wp--preset--color--foreground);
}

@media all and (max-width: 1023px) {
  .equipement-contents {
    padding-top: calc(10% + 60px); /* slider top position */
    padding-bottom: 10%;
  }
}

@media all and (min-width: 1024px) {
  .equipement-contents {
    width: 50%;
    min-height: 630px;
    padding-left: 60px;
    padding-right: 60px;
  }
  .equipement-contents::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1px;
    display: block;
    width: 50%;
    height: 100%;
    background-color: var(--wp--preset--color--foreground);
    transform: translateX(-100%);
  }
}

/* equipement-sliders
********************************/
.equipement-sliders {
  position: relative;
}

@media all and (max-width: 1023px) {

}

@media all and (min-width: 1024px) {
  .equipement-sliders {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
}

/* equipement-visual-slider
********************************/
.equipement-visual-slider {
  position: relative;
  align-self: center;
}
.equipement-visual-slider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: calc(100% - 10px);
  display: block;
  background-color: #000;
}

.equipement-visual-slider .swiper-slide img {
  object-fit: cover;
}

@media all and (max-width: 1023px) {
  .equipement-visual-slider {
    top: 60px;
    width: 90%;
    margin-top: -60px;
    margin-right: auto;
    margin-left: inherit;
  }
}

@media all and (min-width: 1024px) {
  .equipement-visual-slider {
    width: 50%;
  }
}

/* equipement-desc-slider
********************************/
.equipement-desc-slider {
  position: relative;
}

/* equipement-desc-data
********************************/
.equipement-desc-data {
  position: relative;
}
.equipement-desc-data > dt {
  margin-bottom: calc(50/var(--wp--custom--ratio-break-point) * 100vw);
  font-size: clamp(1.3rem, 1.3rem + ((1vw - 0.48rem) * 0.4), 2rem);
  line-height: 1.2;
}
.equipement-desc-data > dd {
  line-height: 2;
}

@media all and (max-width: 767px) {
  .equipement-desc-data > dt {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .equipement-desc-data > dd {
    font-size: 12px;
    line-height: 1.8;
  }
}

@media all and (min-width: 1024px) {
  .equipement-desc-data {
    padding-top: 2rem;
  }
}


/**************************************************************
* PLAN
**************************************************************/
.plan-item :where(h3, h4, h5, h6)::after {
  content: "";
  width: 20px;
  height: 1px;
  display: block;
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--wp--preset--color--primary);
}

.plan-item__check-list > li::before {
  content: "";
  position: relative;
  top: 3px;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 0.5rem;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath fill='currentColor' d='M17.857 20H2.143A2.143 2.143 0 0 1 0 17.857V2.143A2.143 2.143 0 0 1 2.143 0h15.714A2.143 2.143 0 0 1 20 2.143v15.714A2.143 2.143 0 0 1 17.857 20Zm-9.138-4.378 8.214-8.214a.714.714 0 0 0 0-1.01l-1.01-1.01a.714.714 0 0 0-1.01 0l-6.7 6.7-3.126-3.129a.714.714 0 0 0-1.01 0l-1.01 1.01a.714.714 0 0 0 0 1.01l4.643 4.643a.714.714 0 0 0 1.01 0Z'/%3E%3C/svg%3E");
  filter: invert(100%) sepia(22%) saturate(6232%) hue-rotate(17deg) brightness(114%) contrast(88%);
}

@media all and (min-width: 768px) and (max-width: 1599px) {
  .plan-item {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .plan-item__check-list > li {
    font-size: 1vmax;
  }
  .plan-item__check-list > li::before {
    vertical-align: top;
  }
}

@media all and (min-width: 1600px) {
  .plan:target {
    scroll-margin: -650px;
  }

  .plan-list {
    gap: calc(60/1920 * 100vw);
  }
}



/**************************************************************
* PROGRAM
**************************************************************/
.program-item > :where(h3, h4, h5, h6)::after {
  content: "";
  width: 20px;
  height: 1px;
  display: block;
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--wp--preset--color--primary);
}



/**************************************************************
* STAFF
**************************************************************/
.staff {
  position: relative;
}
.staff::before {
  content: "";
  position: absolute;
  top:  12.5vmax;
  left: 0;
  width: calc(600/var(--wp--custom--ratio-break-point) * 100vw);
  height: calc(600/var(--wp--custom--ratio-break-point) * 100vw);
  display: block;
  background-color: var(--wp--preset--color--background-secondary);
}

.staff > .wp-block-group {
  position: relative;
  padding-bottom: 5vmax;
}

.staff-carousel {
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: inherit;
}

.staff-list {
  position: relative;
}
.staff-list.is-not-carousel-state {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  visibility: hidden;
}

.staff-item__body {
  height: 100%;
  display: flex;
  flex-flow: column;
}

.staff-item__body > .wp-block-heading,
.staff-item__body > p {
  margin-bottom: 1rem;
}

.staff-item__body .wp-block-buttons {
  margin-top: auto;
}

.staff-item__body .wp-block-button__link {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.staff .swiper-buttons {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.staff .swiper-button-next,
.staff .swiper-button-prev {
  all: unset;
  display: revert;
}

.staff .swiper-button-next,
.staff .swiper-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 100%;
  cursor: pointer;
  border: 2px solid currentColor;
}
.staff .swiper-button-next::after,
.staff .swiper-button-prev::after {
  font-size: 12px;
}

@media all and (max-width: 768px) {
  .staff.is-layout-constrained {
    padding-left: 10%;
    padding-right: inherit;
  }

  .staff-item__body > p {
    --staff-item-body-paragraph-height: 180px;
    min-height: var(--staff-item-body-paragraph-height);
  }

  .staff .swiper-buttons {
    display: none;
  }

  .staff .swiper-pagination-bullet {
    opacity: 0.8;
    background-color: var(--wp--preset--color--foreground);
  }
  .staff .swiper-pagination-bullet-active {
    background-color: var(--wp--preset--color--primary);
  }
}

@media all and (min-width: 1024px) {
  .swiper-pagination {
    display: none;
  }

  .staff .swiper-buttons {
    width: 150px;
    height: 60px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: 12vw;
  }

  .staff-item__body > .wp-block-heading,
  .staff-item__body > p {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* hover */
@media (hover: hover) {
  .staff .swiper-button-next,
  .staff .swiper-button-prev {
    transition: opacity 0.3s ease-out;
  }

  .staff .swiper-button-next:hover,
  .staff .swiper-button-prev:hover {
    opacity: 0.8;
  }
}



/**************************************************************
* NEWS
**************************************************************/

@media all and (min-width: 1024px) {
  .news .c-headline {
    transform: translateY(30%);
  }
}



/**************************************************************
* INSTAGRAM
**************************************************************/
.instagram .wp-block-buttons {
  display: flex;
}

.instagram .c-headline::before,
.instagram .c-headline::after {
  background-color: var(--wp--preset--color--foreground-inverted);
}

/* hide message for the editor */
.instagram-gallery > .wp-block-group p {
  display: none;
}

/* fix grid when no gallery is dsiplayed */
.instagram-gallery:has(p.has-text-align-center) {
  text-align: center;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
}



/**************************************************************
* FAQ
**************************************************************/
.faq-list {
  display: grid;
  align-items: stretch;
  gap: calc(60/1920 * 100vw);
}

@media all and (min-width: 1024px) {
  .faq-list {
    grid-template-columns: repeat(2, 2fr);
  }
}



/**************************************************************
   * 追従ボタン（2024/08/05 追記）
**************************************************************/
.floating-btns {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  bottom: 3%;
  right: 5.8vw;
  z-index: 100;
}

.floting-btns__free-link .wp-block-button__link {
	background-color:#b0b0b0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .floating-btns {
    width: 80%;
  }
}

@media (max-width: 767px) {
  .floating-btns {
    left: unset;
    bottom: 0;
    right: 0;
    width: 100%;
    gap: 0;
  }

  .floating-btns .wp-block-button {
    min-width:0;
  }

  .floating-btns .wp-block-button {
    height: 48px;
  }

  .floating-btns .wp-block-button__link {
    border-radius:0;
  }
}

@media (min-width: 1024px) {
  .wp-block-button:not(.has-custom-width) {
    max-width: 300px;
    min-width: 300px;
  }
}