/*
/* Mixin
/*
----------------------------------------------------------------- */
:root {
  --padding-side: 80px;
  --height-header: 80px;
  --leading-trim: calc((1em - 1lh) / 2);
  --outer: min(
  	calc((((100vw - var(--scrollbar, 0)) - 1240px) / 2) * -1),
  	calc(var(--padding-side) * -1)
  );
}
@media screen and (max-width: 768px) {
  :root {
    --padding-side: 20px;
  }
}

/** Show icons only. */
/** Displayed with square background. */
/** Shown with circular background. */
/** Style settings for the box. */
/** style settings for the background. */
/** style settings related to borders. */
/**
 * Calculate the size of the svg.
 *
 * If $priority-size is specified, it takes precedence.
 * If $priority-size is not specified, the size of the SVG is a fixed percentage of $element-size.
 */
.top {
  padding: 0 80px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .top {
    padding: 0 20px;
  }
}
.top::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -40px;
  left: 0px;
  z-index: 10;
  width: 280px;
  height: 285px;
  background: url(../../images/common/cat2.webp) no-repeat center/contain;
}
@media screen and (max-width: 1024px) {
  .top::before {
    bottom: -64px;
    right: 0;
    left: auto;
    width: 250px;
    height: 257px;
  }
}
@media screen and (max-width: 768px) {
  .top::before {
    bottom: -40px;
    left: auto;
    width: 160px;
    height: 167px;
  }
}
.top-mv {
  max-width: 100%;
  margin: 120px 0 120px auto;
}
@media screen and (max-width: 1024px) {
  .top-mv {
    margin: 100px auto 80px;
  }
}
.top-mv__item {
  position: relative;
  width: 100%;
}
.top-mv__image {
  width: 100%;
}
.top-mv__image img {
  border-radius: 24px;
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media screen and (max-width: 768px) {
  .top-mv__image img {
    border-radius: 10px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .top-mv__image.-pc {
    display: none;
  }
}
.top-mv__image.-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .top-mv__image.-sp {
    display: block;
  }
}
.top-lead {
  position: relative;
}
@media screen and (max-width: 768px) {
  .top-lead {
    padding: 0;
  }
  .top-lead .text {
    font-size: 0.875rem;
  }
}
.top-lead::after {
  content: "";
  display: block;
  height: 130px;
  max-width: calc(100vw - var(--scrollbar, 0px));
  position: absolute;
  left: 50%;
  right: 50%;
  margin-left: calc((100vw - var(--scrollbar, 0px)) / -2);
  margin-right: calc((100vw - var(--scrollbar, 0px)) / -2);
  bottom: -80px;
  background: url(../../images/top/lead_bg.webp) no-repeat right/cover;
  z-index: -10;
  padding-left: 0;
  padding-right: 0;
}
@media screen and (max-width: 768px) {
  .top-lead::after {
    bottom: -90px;
  }
}
.top-work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
@media screen and (max-width: 1024px) {
  .top-work {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media screen and (max-width: 768px) {
  .top-work {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-top: 24px;
  }
}
.top-work__link {
  text-decoration: none;
}
@media (any-hover: hover) {
  .top-work__link:hover .top-work__header img {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  .top-work__link:hover .top-work__title {
    color: #B2C763;
  }
}
.top-work__header {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
@media screen and (max-width: 768px) {
  .top-work__header {
    border-radius: 6px;
  }
}
.top-work__header img {
  width: 100%;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
}
@media screen and (max-width: 768px) {
  .top-work__header img {
    height: 120px;
  }
}
.top-work__body {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .top-work__body {
    gap: 6px;
    margin-top: 12px;
  }
}
.top-work__title {
  font-size: 1.25rem;
  -webkit-transition: color 300ms ease;
  transition: color 300ms ease;
}
@media screen and (max-width: 768px) {
  .top-work__title {
    font-size: 1.125rem;
  }
}
.top-work__text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.875rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .top-work__text {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}
.top-work__date {
  font-size: 1.125rem;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
}
.top-lesson {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1280px) {
  .top-lesson {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  .top-lesson {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media screen and (max-width: 768px) {
  .top-lesson__body {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .top-lesson__body .button {
    --justify: center;
  }
}
.top-shop {
  margin-top: 24px;
}
.top-shop .text {
  padding-left: var(--padding-side);
  padding-right: var(--padding-side);
}
.top-shop-carousel {
  --slide-width: 290px;
  --gap: 40px;
  --length: 7;
  --duration: 60s;
  margin-top: 40px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .top-shop-carousel {
    --gap: 24px;
    --slide-width: 200px;
    margin-top: 24px;
  }
}
.top-shop-carousel__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--gap);
  -webkit-animation: var(--duration) linear 0s infinite running moveleft;
          animation: var(--duration) linear 0s infinite running moveleft;
}
@-webkit-keyframes moveleft {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc((var(--slide-width) * var(--length) + var(--gap) * var(--length)) * -1));
            transform: translateX(calc((var(--slide-width) * var(--length) + var(--gap) * var(--length)) * -1));
  }
}
@keyframes moveleft {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc((var(--slide-width) * var(--length) + var(--gap) * var(--length)) * -1));
            transform: translateX(calc((var(--slide-width) * var(--length) + var(--gap) * var(--length)) * -1));
  }
}
.top-shop-carousel__slide {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.top-shop-carousel__photo-img {
  width: var(--slide-width);
}
.top-faq {
  margin-top: 24px;
}
.top-access {
  display: grid;
  grid-template-columns: min(350px, 30%) 1fr;
  gap: 40px;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 768px) {
  .top-access {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.top-access__address {
  font-size: 1.125rem;
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  .top-access__address {
    font-size: 1rem;
  }
}
.top-access__address__sm {
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  .top-access__address__sm {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 768px) {
  .top-access__wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.top-access__map {
  width: 100%;
  max-width: 1400px;
  height: auto;
}
.top-access__map iframe {
  width: 100%;
  max-height: 350px;
}
.top-access__text {
  border-top: 1px solid #d8dbd9;
}
@media screen and (max-width: 768px) {
  .top-access__text {
    border-top: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
  }
}
.top-access__map-link {
  margin-top: 24px;
}
.top-access__map-link a {
  text-decoration: underline;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  position: relative;
  font-size: 1.25rem;
  padding-right: 20px;
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
  margin-top: 16px;
}
@media screen and (max-width: 768px) {
  .top-access__map-link a {
    font-size: 1.125rem;
  }
}
.top-access__map-link a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url(../../images/top/top-map-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.top-access__map-link a:hover {
  color: #B2C763;
}
