/* Scrollimage */
.scrollimage {
  overflow: hidden;
}

.scrollimage__button a.font__button {
  color: rgb(var(--c-neutral-lightest));
}

.scrollimage .scrollimage__text {
  background: rgb(var(--c-primary));
  border-top-left-radius: var(--b-radius);
  border-top-right-radius: var(--b-radius);
  padding: 0 2rem;
  justify-content: flex-end;
  opacity: 0;
}

.scrollimage.-shown .scrollimage__text {
  opacity: 1;
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.scrollimage__textinner {
  padding: 2rem 0;
}

.scrollimage__title {
  font-size: var(--f-size-l-2);
  letter-spacing: 0.2em;
  line-height: 1.2rem;
  opacity: 0.6;
  text-transform: uppercase;
}

.scrollimage__button,
.scrollimage__bodytext {
  opacity: 0;
}

.scrollimage.-shown .scrollimage__bodytext,
.scrollimage.-shown .scrollimage__button {
  opacity: 1;
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* Text-Image */
.page .textimage__image {
  overflow: hidden;
  width: 96%;
}

.textimage.-right .textimage__image {
  border-bottom-left-radius: var(--b-radius);
  border-top-left-radius: var(--b-radius);
  margin-left: 4%;
}

.textimage.-left .textimage__image {
  border-bottom-right-radius: var(--b-radius);
  border-top-right-radius: var(--b-radius);
}

.textimage__description {
  font-size: var(--f-size-l-3);
  font-family: var(--f-family-i);
  letter-spacing: 0.2em;
  padding: 0 1.5rem;
  line-height: 1.6rem;
  opacity: 0.6;
}

.textimage__content,
.textimage__imagewrap {
  opacity: 0;
}

.textimage.-shown.-left .textimage__imagewrap,
.textimage.-shown.-right .textimage__content {
  opacity: 1;
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.textimage.-shown.-left .textimage__content,
.textimage.-shown.-right .textimage__imagewrap {
  opacity: 1;
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* Gallery */
.paginator__content a {
  border-radius: 1.5rem;
}

.topofimage .album__item {
  object-position: 50% 0;
}

/* Partner Slider */
.partner .slider__iteminner {
  border-radius: var(--b-radius);
}

.partner img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner .slider__item:hover img {
  opacity: 1;
  filter: none;
}

/* Header */
div.header__text {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 4vw;
  z-index: 600;
}

.page.-sub .header .caption__description {
  display: none;
}

div.header__text h1 {
  font-size: 7vw;
  margin-bottom: 0.2em;
}

.header__title {
  font-size: 3vw;
  margin-bottom: 0.5em;
  font-family: var(--f-family);
  color: rgb(var(--c-primary));
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

div.header__text .font__button {
  font-size: 3vw;
}

.page .cycle-next,
.page .cycle-prev {
  background-color: rgba(var(--c-neutral-darkest), 0.65);
}

.page .cycle-next:hover,
.page .cycle-prev:hover {
  background-color: rgba(var(--c-neutral-darkest), 0.8);
}

.cycle-next {
  border-bottom-left-radius: var(--b-radius);
  border-top-left-radius: var(--b-radius);
}

.cycle-prev {
  border-bottom-right-radius: var(--b-radius);
  border-top-right-radius: var(--b-radius);
}

/* Service */
.service {
  display: grid;
  grid-gap: var(--g-gap);
  grid-template-columns: 1fr;
}

.service__item {
  text-align: center;
}

.frame-layout-80 .service__item {
  border-radius: var(--b-radius);
  background: rgb(var(--c-neutral-light));
  position: relative;
  overflow: hidden;
  text-align: left;
}

.frame-layout-80 .service__inner {
  padding: 3rem 2rem;
}

.frame-layout-80 .service__item::after {
  content: '';
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgb(var(--c-primary));
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.frame-layout-80 .service__item:nth-child(odd)::after {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

.no-touch .frame-layout-80 .service__item:hover::after {
  width: 300%;
  height: 300%;
}

.service__icon {
  color: rgb(var(--c-neutral-darker));
  margin-bottom: 1rem;
  z-index: 10;
}

.service__text {
  color: rgb(var(--c-neutral-dark));
  z-index: 10;
  position: relative;
}

.service__icon,
.service__text,
.service__text h3 {
  transition: color 0.6s ease;
}

.no-touch .frame-layout-80 .service__item:hover .service__icon,
.no-touch .frame-layout-80 .service__item:hover .service__text h3,
.no-touch .frame-layout-80 .service__item:hover .service__text {
  color: rgb(var(--c-neutral-lightest));
}

.service__link {
  z-index: 10;
  display: block;
  position: relative;
}

/* LinkTextBox */
.linktextbox:hover a {
  color: rgb(var(--c-neutral-lightest));
}

/* =============================================================================
   Animations
   ========================================================================== */
@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 440px) {
  /* Service */
  .frame-layout-80 .service {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 1.75rem;
  }

  .service {
    grid-template-columns: repeat(2, 1fr);
  }

  .frame-layout-80 .service__item:nth-child(odd) {
    margin-top: 1.75rem;
    margin-bottom: -1.75rem;
  }
}

@media (min-width: 640px) {
  /* Headerslider */
  .header__slider {
    height: 100%;
  }

  div.header__text h1 {
    font-size: 5.5vw;
  }

  .header__title {
    font-size: 2.4vw;
  }

  div.header__text .font__button {
    font-size: 1.7vw;
  }

  /* Scrollimage */
  .scrollimage.-shown .scrollimage__button {
    -webkit-animation-name: slideInRight;
    animation-name: slideInRight;
  }
}

@media (min-width: 800px) {
  /* Service */
  .frame-layout-80 .service__inner {
    padding: 3rem;
  }

  .page.-sub .cycle-slideshow,
  .page.-sub .cycle-slide {
    height: 100%;
  }

  .page.-sub div.header__text {
    bottom: 0;
    transform: none;
    left: 0;
    position: relative;
  }

  .page.-sub .header .caption__description {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 92%;
    border-top-right-radius: var(--b-radius);
    background-color: rgba(var(--c-neutral-darkest), 0.65);
    color: rgb(var(--c-neutral-lightest));
    padding: 1rem 2rem;
    z-index: 600;
  }
}

@media (min-width: 900px) {
  /* Text-Image */
  .page .textimage__image {
    width: 100%;
  }

  .textimage.-right .textimage__image {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  /* Header */
  .page .cycle-prev,
  .page .cycle-next {
    width: 50px;
  }

  .page .cycle-prev-arrow {
    margin: 23px 20px 0 10px;
  }

  .page .cycle-next-arrow {
    margin: 23px 10px 0 20px;
  }
}

@media (min-width: 1280px) {
  /* Service */
  .frame-layout-80 .service__inner {
    padding: 3.5rem;
  }

  .service {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Text-Image */
  .textimage__description {
    font-size: var(--f-size-l-4);
    line-height: 2.1rem;
  }
}

@media (min-width: 1580px) {
  /* Headerslider */
  div.header__text {
    left: calc(50vw - 720px);
  }

  div.header__text h1 {
    font-size: 483%;
    margin-bottom: 0.2em;
  }

  .header__title {
    font-size: var(--f-size-l-3);
    margin-bottom: 0.5em;
  }

  div.header__text .font__button {
    font-size: var(--f-size-l-1);
  }

  /* Service */
  .frame-layout-80 .service__inner {
    padding: 4.5rem;
  }
}