@charset "utf-8";

/*mainvisual*/

.mainvisual {
  margin: 0;
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}
.mainvisual::before {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0.15) 100%);
  top: 0;
  left: 0;
  z-index: 1;
}
.mainvisual .slick-track li img {
}
.slick-list {
  overflow: unset;
}

/*---------スライダースマホ用PC用追記----------*/

.mainvisual-sp {
  display: none !important;
}
.mainvisual-pc {
  display: block !important;
}
@media screen and (max-width: 640px) {
  .mainvisual-sp {
    display: block !important;
  }
  .mainvisual-pc {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .mainvisual .slick-track li img {
    width: 200% !important;
    transform: translate(-21%, 0%);
  }
  .mainvisual .slick-track li img.mainvisual-sp {
    width: 100% !important;
    transform: none;
  }

  #particles-js {
    /* height: 540px!important; */
  }
}

.mainvisual .slick-slide img {
  width: 100%;
  object-fit: cover;
  /* opacity: 0.855; */
}

.mainvisual .mainlogo {
  position: absolute;
  width: 80%;
  z-index: 1;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
  opacity: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainvisual .mainlogo img {
  object-fit: cover;
  width: 100%;
  margin: 0 auto;
  display: block;
  opacity: 0.9;
}

.mainvisual .nav_follow {
  display: none;
}
.mainvisual ul.sns {
  display: none;
}
/* .mainvisual .global-nav {
    display: none;
} */

.mainvisual .global-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  left: 0px;
  margin: 0;
  padding: 1rem 0;
  box-sizing: border-box;
  display: flex;
}
@media screen and (min-width: 640px) {
  .mainvisual .global-nav {
    height: 5.5rem;
  }
}
.mainvisual .global-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
}

.mainvisual .global-nav_list li {
  width: auto;
  padding: 0 1rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .mainvisual .global-nav .global-nav_list {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
  }
  .mainvisual .global-nav_list li {
    display: inline-block;
    text-align: center;
    width: 33.33%;
  }

  .global-nav_list li a span {
    display: block;
    font-size: 0.6rem;
  }

  .mainvisual .global-nav .head-nav7 {
    border-right: none;
  }

  .mainvisual .global-nav .global-nav_list a {
    font-size: 0.75rem;
  }

  .mainvisual .global-nav .head-nav1,
  .mainvisual .global-nav .head-nav2,
  .mainvisual .global-nav .head-nav5,
  .mainvisual .global-nav .head-nav6,
  .mainvisual .global-nav .head-nav8,
  .mainvisual .global-nav .head-nav9,
  .mainvisual .global-nav .head-nav10 {
    display: none;
  }
}

@keyframes fadezoom {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-10%);
  }
}

@media screen and (min-width: 768px) {
  .mainvisual {
    padding: 5.5rem 0 5.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  .mainvisual .slide-animation {
    /* animation: fadezoom 9s 0s forwards; */
  }
  .mainvisual .mainlogo img {
    object-fit: cover;
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  .mainvisual .slick-slide img {
    width: 100%;
    height: auto;
    object-position: top center;
  }

  .mainvisual .mainlogo {
    width: 42%;
    top: 0;
  }

  .mainvisual .nav_follow {
    display: block;
    position: absolute;
    top: 0;
  }

  .mainvisual .nav_follow .btn_tel {
    margin: 0;
  }

  .mainvisual .nav_follow .head_btn {
    margin: 0 0 0 0;
  }

  .mainvisual .global-nav .global-nav_list {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
  }

  .mainvisual .global-nav_list li:last-child {
    border-right: none;
  }

  .mainvisual .global-nav .global-nav_list a {
    flex-direction: column;
    font-size: 14px;
    width: max-content;
  }

  .mainvisual .global-nav .global-nav_list span {
    display: block;
    font-size: 11px;
  }
}

@media screen and (min-width: 840px) {
  .mainvisual ul.sns {
    display: flex;
    margin: 0 0 0 auto;
    justify-content: flex-end;
  }

  .mainvisual ul.sns li {
    width: 28px;
    margin: 0 12px 0 0;
  }
}

/* @media screen and (min-width: 1000px) {

.mainvisual .mainlogo {
  width: 660px;

}

} */

/*top_topics*/

.top_topics {
  margin-top: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 640px) {
  .top_topics {
    margin: 2rem auto 0 !important;
  }
}

.top_topics .sh {
  /* padding-top: 5px; */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  z-index: 1;
  width: 90px;
  text-align: center;
  font-size: 18px;
  height: 100%;
  line-height: 2;
}

.top_topics .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 10s linear infinite;
  padding: 5px 0 5px 100%;
}

@keyframes marquee {
  from {
    transform: translate(0);
  }
  to {
    transform: translate(-100%);
  }
}

/*top contents*/

.top_contents {
  width: 96%;
  margin: 0 auto;
  text-align: center;
}
.top_contents .inner {
  width: 92%;
}
.top_contents .inner h2 {
  font-size: 16px;
  padding: 0 0 15px 0;
  line-height: 1.4;
}

@media screen and (min-width: 640px) {
  .top_contents .inner {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 3rem 1rem 4rem;
  }

  .top_contents .inner h2 {
    font-size: 26px;
    padding: 0 0 20px 0;
  }

  .top_contents .inner .read {
    font-size: 16px;
  }
}

/*top_eventbanner */

.top_eventbanner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 20px 0;
}

.top_information {
  width: 96%;
  margin: 0 auto 50px auto;
}

.top_information .information_list {
  width: 92%;
  margin: 0 auto;
}
.top_information .information_list li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
  align-items: center;
}

.top_information .information_list li h3 {
  width: 100%;
  font-size: 18px;
  line-height: 1.4;
}

.top_information .information_list li p.date {
  width: 100%;
  line-height: 1;
  padding: 5px 0 10px 0;
  text-align: right;
}

.top_information .information_list li .image {
  width: 36%;
}

.top_information .information_list li .image img {
  width: 100%;
  /* height: 90px; */
  object-fit: contain;
  object-position: top center;
}

.top_information .information_list li .disc {
  width: 62%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 3.5rem;
}

/*top twitter*/

.top_twitter {
  width: 90%;
  margin: 0 auto;
  padding: 1rem 0 40px 0;
}

@media screen and (min-width: 640px) {
  .top_infoarea .flex_box {
    width: 98%;
    margin: 0 auto;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .top_infoarea {
    padding: 40px 0;
  }
  .top_information {
    width: 55%;
    margin: 0 auto;
  }
  .top_information .information_list li {
    position: relative;
  }

  .top_information .information_list li h3 {
    width: 67%;
    margin: 0 0 0 auto;
  }
  .top_information .information_list li p.date {
    width: 67%;
    margin: 0 0 0 auto;
  }
  .top_information .information_list li .image {
    width: 30%;
    position: absolute;
  }
  .top_information .information_list li .image img {
    height: 140px;
  }
  .top_information .information_list li .disc {
    width: 67%;
    margin: 0 0 0 auto;
  }

  .top_twitter {
    width: 43%;
    margin: 0;
    padding-top: 0;
  }
}

/*top schedule*/
.schedule h3 {
  padding: 0 !important;
  line-height: 1.4 !important;
  text-align: unset !important;
}

/*top therapist*/

/*top blog*/

/*top_app*/

.top_app h3 {
  text-align: center;
  padding: 5px 0;
  line-height: 1.8;
  margin: 30px 0 0 0;
  font-size: 1rem;
}

.top_app .btn_webreserve {
  width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 7px;
}

.top_app .btn_webreserve img {
  border-radius: 7px;
}

.top_app img {
  width: 100%;
  height: auto;
}

.top_app ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, 48%);
  justify-content: space-between;
  margin: 20px 0;
  text-align: center;
  font-size: 12px;
}

@media screen and (min-width: 640px) {
  .top_app .box {
    width: 47%;
  }

  .top_app ul {
    grid-template-columns: repeat(auto-fit, 47%);
    margin: 50px 0;
  }
}

/*top_credit*/

.top_credit {
  text-align: center;
}
.top_credit img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 30px auto;
}

/*top_menu*/
.top_menu {
  padding: 25px 0;
}

.top_menu ul {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  max-width: 1200px;
}

.top_menu ul li {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0 0 10px;
  aspect-ratio: 7/3;
}

.top_menu ul li img {
  height: auto;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 7/3;
}

.top_menu ul li a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.top_menu ul li a:hover {
  opacity: 1;
}

.top_menu ul li a p {
  font-size: 26px;
  font-weight: 200;
}

.top_menu ul li a h3 {
  font-weight: normal;
  font-size: 14px;
}

@media screen and (min-width: 640px) {
  .top_menu ul {
    display: flex;
    justify-content: space-between;
  }

  .top_menu ul li {
    width: 31%;
    height: auto;
    position: relative;
    padding: 0;
    margin: 0;
  }
}

/*top_access*/

/*toplink*/

.top_link ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, 48%);
  justify-content: space-between;
  grid-gap: 10px;
}

.top_link ul img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 640px) {
  .top_link ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, 23%);
    justify-content: unset;
    grid-gap: 25px;
  }
}

/*top_realtime*/

.top_realtime {
  width: 96%;
  margin: 0 auto 50px auto;
}
.realtime-box {
  /* width: 90%; */
  padding: 2rem 1rem;
  margin: 0 auto;
  /* text-align: center; */
  height: 350px;
  overflow-y: auto;
  box-sizing: border-box;
  /* font-size: 1rem; */
  word-break: break-all;
}
.realtime-box img {
  max-width: 100%;
}

@media screen and (min-width: 640px) {
  .top_realtime {
    width: 43%;
    margin: 0;
  }
  .top_credit p {
    font-size: 0.75rem;
  }
}
.mainvisual .global-nav {
  display: none;
}
.marquee2 {
  /* --marquee--colour: #f3bb0b; */
  --marquee--repeat-count: 6;
  --marquee--base-duration: 1s;
  --marquee--repeat-size: calc(100% / var(--marquee--repeat-count));
  --marquee--double-size: calc(var(--marquee--repeat-size) * 2);
  --marquee--duration: calc(var(--marquee--base-duration) * var(--char-count, 60));
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9rem;
  overflow: hidden;
  width: 110%;
  margin-left: -5%;
  /* mix-blend-mode: color-burn; */
  transform: rotate(-15deg);
  background: var(--marquee--colour);
  /* color: #000; */
  &:nth-child(even) {
    --marquee--direction: -1;
    /* transform: rotate(5deg); */
    /* background: #000; */
    color: var(--marquee--colour);
    p {
    }
  }

  .marquee--inner p {
    /* transform: translateY(0.07em); */
    margin: 0;
    display: flex;
    gap: 0.25em;
    line-height: 1.1;
    font-size: 2rem;
    font-weight: 100;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    transform: scale(1, 1.2);
    opacity: 0.855;
    &::after {
      content: "";
      /* transform: translateY(0.175em); */
    }
    /* An empty psuedo element creates a gap after the last element */
    &::before {
      content: "";
    }
  }
}

.marquee--inner {
  width: max-content;
  display: flex;
  text-transform: uppercase;
  @media (prefers-reduced-motion: no-preference) {
    animation: marquee var(--marquee--duration) infinite linear, reduce-marquee var(--marquee--duration) infinite linear paused;
    animation-composition: add;
    &:hover {
      animation-play-state: running;
    }
  }
}

$to: translateX(calc(var(--marquee--double-size) * -1));
$from: translateX(calc((-1 * var(--marquee--double-size)) - (var(--marquee--double-size) * var(--marquee--direction, 1))));
$reduce-from: translateX(calc(var(--marquee--repeat-size) * var(--marquee--direction, 1)));

@keyframes marquee {
  from {
    transform: $from;
  }
  to {
    transform: $to;
  }
}

@keyframes reduce-marquee {
  from {
    transform: $reduce-from;
  }
  to {
    transfrom: $to;
  }
}

.marquees {
  align-content: center;
  height: 100%;
  display: grid;
  gap: 5vw;
  overflow: hidden;
}

button {
  position: absolute;
  top: 20px;
  left: 20px;

  &[aria-pressed="true"] {
    filter: invert(1);
  }
}

[aria-pressed="true"] + * .marquee--inner {
  animation-play-state: paused !important;
}
@media screen and (min-width: 640px) {
  .marquee2 {
    bottom: 30%;
  }
}
.balloons div {
  /* z-index: -1; */
}
.mainvisual .slick-slider {
  /* z-index: -2; */
}
