/* site-loader */
.site-loader {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}
@keyframes bubble-floating {
  0% {
    bottom: calc(-1 * var(--bubble-image-height));
  }

  100% {
    bottom: calc(100% + var(--bubble-image-height));
  }
}
.site-loader .loader-bg-1 {
  background-color: #61bab7;
  z-index: 3;
}
.site-loader .loader-bg-2 {
  background-color: white;
  z-index: 2;
}
.loader-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.site-loader.show .loader-bg-1 {
  top: -100%;
  transition: top 0.5s linear;
}
.site-loader.show .loader-bg-2 {
  opacity: 0;
  transition-duration: 1s;
  transition-timing-function: linear;
  transition-delay: 1.5s;
  transition-property: opacity;
}
.speech-bubble {
  --bubble-animate-duration: 1s;
  --bubble-animate-delay: 0.5s;
}
.speech-bubble {
  position: absolute;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  aspect-ratio: 25/20;
  height: var(--bubble-image-height);
  bottom: calc(-1 * var(--bubble-image-height));
}
.site-loader.show .speech-bubble {
  animation-duration: var(--bubble-animate-duration);
  animation-timing-function: linear;
  animation-delay: var(--bubble-animate-delay);
  animation-iteration-count: infinite;
  animation-name: bubble-floating;
}
.speech-bubble.large {
  --bubble-image-height: 83px;
  --bubble-animate-duration: 2s;
  left: 50%;
}
.speech-bubble.medium {
  --bubble-image-height: 64px;
  left: 20%;
}
.speech-bubble.small {
  --bubble-image-height: 47.5px;
}
.speech-bubble.extra-small {
  --bubble-image-height: 32px;
}
.speech-bubble img {
  height: 100%;
}
.speech-bubble:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("/sp/tepra_arekore/img/chat-bubble.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.speech-bubble.color-1:after {
    filter: invert(69%) sepia(37%) saturate(445%) hue-rotate(129deg) brightness(91%) contrast(88%);
    will-change: filter;
  }
  .speech-bubble.color-2:after{
    filter: invert(89%) sepia(26%) saturate(276%) hue-rotate(186deg) brightness(104%) contrast(95%);
    will-change: filter;
  }
  .speech-bubble.color-3:after{
    filter: invert(0%) sepia(26%) saturate(6444%) hue-rotate(58deg) brightness(87%) contrast(105%);
    will-change: filter;
  }
.site-loader.hide,
.site-loader.show.hide {
  display: none;
}
.site-loader.hide .speech-bubble {
  animation: none;
}

/* MV */
.page_intro {
  display: inline-block;
  position: relative;
  z-index: 10;
}

.page_intro .page_intro_catch {
  font-size: 26px;
  line-height: 39px;
  letter-spacing: 4px;
  margin-bottom: 30px;
  font-weight: normal;
}

.page_intro img {
  width: 420px;
}

.scroll {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 44px;
  left: 25%;
  z-index: 10;
  transform: translateX(-50%) rotate(90deg);
  -webkit-transform: translateX(-50%) rotate(90deg);
  -moz-transform: translateX(-50%) rotate(90deg);
}

.scroll>span {
  color: #000;
  transform: rotate(-90deg);
  font-weight: 500;
  font-family: "Lato";
}

.scroll span.line {
  width: 104px;
  height: 2px;
  margin-left: 10px;
  background-color: #000;
  transform: none;
}

.page_banner_wrap .page_intro {
  background-color: transparent;
  padding: 16px;
}
.page_banner_wrap .page_intro:after {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background-color: rgba(255,255,255, 0.9);
  box-shadow: 0 0 50px 70px rgba(255,255,255, 0.9);
  z-index: -1;
}

@media screen and (max-width:1279px) {}

@media screen and (max-width: 767px) {
  .page_intro .page_intro_catch {
    font-size: 20px;
    line-height: 32px;
  }
  .scroll {
    left: 50%;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}

/* これなに？ */
.flash {
  -moz-animation: flash 2s infinite;
  -webkit-animation: flash 2s infinite;
  animation: flash 2s infinite;
}

@keyframes flash {
  0% {
    width: 0;
    margin-right: 60px;
  }

  100% {
    width: 60px;
    margin-right: 0;
  }
}

/* Read */
.tepra_feature_wrap {
  background-color: #e6eff7;
  padding-top: 110px;
  padding-bottom: 110px;
}

.tepra_feature_wrap .container {
  max-width: 800px;
}

.tepra_feature_wrap .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.tepra_feature_wrap .row .context {
  max-width: 356px;
  width: 100%;
  line-height: 28px;
}

.tepra_feature_wrap .row .feature_links {
  max-width: 356px;
  width: 100%;
}

@media screen and (max-width:1279px) {
  .tepra_feature_wrap {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 767px) {
  .tepra_feature_wrap .row {
    flex-wrap: wrap;
    gap: 40px;
  }

  .tepra_feature_wrap .row .context {
    max-width: 100%;
  }

  .tepra_feature_wrap .row .feature_links {
    max-width: 100%;
  }

}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}

/* Featured */
.tepra_featured_section {
  padding: 210px 0;
}

.tepra_featured_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 768px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}

.tepra_featured_header .media img {
  width: 100%;
}

.scene_section .tepra_featured_header .media img {
  width: 368px;
}

.keyword_section .tepra_featured_header .media img {
  width: 428px;
}

.guide_section .tepra_featured_header .media img {
  width: 796px;
}

.tepra_featured_header .context {
  max-width: 238px;
  width: 100%;
  line-height: 28px;
  letter-spacing: 2px;
  text-align: justify;
}

.tepra_featured_section.scene_section {
  padding-bottom: 0;
}

@media screen and (max-width:1279px) {
  .tepra_featured_section {
    padding-top: 155px;
  }

  .tepra_featured_header .media {
    max-width: 50%;
  }

  .tepra_featured_header .context {
    max-width: 50%;
  }

  .tepra_featured_header {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .tepra_featured_section {
    padding-bottom: 155px;
  }

  .tepra_featured_header {
    flex-wrap: wrap;
    gap: 50px;
  }

  .tepra_featured_header .media {
    max-width: 100%;
  }

  .scene_section .tepra_featured_header .media img,
  .keyword_section .tepra_featured_header .media img,
  .guide_section .tepra_featured_header .media img {
    width: auto;
    height: 125px;
  }

  .tepra_featured_header .context {
    max-width: 100%;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}


.scene_grid {
  display: grid;
  grid-template-columns: repeat(7, 146px);
  gap: 13px;
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .scene_grid {
    margin-bottom: 80px;
  }
}

.scene_grid .item {
  background-color: #b0dcdb;
  position: relative;
  text-align: center;
  min-height: 300px;
  cursor: pointer;
}

.scene_grid .item .content_box {
  color: #000;
  padding: 24px 22px;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.scene_grid .item .over_content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.scene_grid .item .over_content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene_grid .item:nth-child(even) {
  background-color: #f0efe7;
}

.scene_grid .item .icon {
  width: 40px;
  margin-left: auto;
  margin-right: auto;
  /*  margin-bottom: 30px;*/
}

.scene_grid .item .icon img {
  height: 40px;
  width: 100%;
  object-fit: contain;
  transition: filter 0.3s ease-in-out;
  will-change: filter;
}

.scene_grid .item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 20px solid #000;
  border-left: 20px solid transparent;
  transition: border 0.3s ease-in-out;
}

.scene_grid .item .content {
  /*  margin-bottom: 20px;*/
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.scene_grid .item .content ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  margin-bottom: 8px;
}

.scene_grid .item .content ul li {
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

.scene_grid .item .content p {
  font-size: 18px;
  line-height: 22.5px;
  font-weight: 600;
  margin-bottom: 0;
  transition: color 0.3s ease-in-out;
}

@media (hover: hover) {
  .scene_grid .item:hover .over_content {
    opacity: 1;
    visibility: visible;
  }
  .scene_grid .item:hover .icon img {
    filter: invert(1);
    will-change: filter;
  }
  .scene_grid .item:hover::after {
    border-bottom-color: #61BAB7;
  }
  .scene_grid .item:hover .content ul li {
    color: #fff;
  }
  .scene_grid .item:hover .content ul li+li::before {
    background-color: #fff;
  }
  .scene_grid .item:hover .content p {
    color: #fff;
  }
  .scene_grid .item:hover .btnStripe:after {
    opacity: 1;
    visibility: visible;
  }
}
@media screen and (max-width:1279px) {
  .scene_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .scene_grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .scene_grid .item {
    min-height: 120px;
    margin-left: -16px;
    margin-right: -16px;
    text-align: left;
  }

  .scene_grid .item .content_box {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .scene_grid .item .icon {
    width: 40px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .scene_grid .item .action_wrap {
    position: static;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
  }

  .scene_grid .item::after {
    border-bottom-width: 32px;
    border-left-width: 32px;
  }

  .scene_grid .item .content {
    display: block;
    margin-bottom: 0px;
    width: calc(100% - 40px - 20px - 20px - 84px);
  }

  .scene_grid .item .content ul {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;
  }

  .scene_grid .item .content ul li {
    font-size: 14px;
    line-height: 24px;
  }

  .scene_grid .item .content ul li::marker {
    font-size: 11px;
    margin-right: 8px;
  }

  .scene_grid .item .content ul li+li::before {
    content: "";
    width: 3px;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }

  .scene_grid .item .content p {
    font-size: 14px;
    display: inline-block;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}

.scene-special-link {
  position: relative;
  transform: translateX(calc(96px / 2));
}

@media screen and (max-width: 767px) {
  .scene-special-link {
    transform: translateX(calc(61px / 2));
  }
}

.btnStripe .scene-special {
  position: absolute;
  top: -2px;
  left: -96px;
  width: 96px;
  height: calc(100% + 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  font-family: "Lato";
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  background-color: #FFFF00;
}

@media screen and (max-width: 767px) {
  .btnStripe .scene-special {
    left: -61px;
    width: 61px;
    font-size: 12px;
  }
}
@media screen and (max-width: 767px) {
  .scene-special-link span:nth-child(2) {
      font-size: 14px;
      line-height: 1.75;
  }
}

/* homeのみの設定かどうか確認 */
.scene_grid .item .btnStripe,
.btnStripe.sml_btn {
  min-width: 84px;
  padding: 0 16px;
  line-height: 20px;
}

.scene_grid .item .btnStripe:after,
.btnStripe.sml_btn:after {
  background-image: repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3) 2px,
      transparent 2px,
      transparent 5px);
}

.btnStripe.sml_btn::after,
.scene_grid .item .btnStripe:after {
  top: 4px;
  left: 4px;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  content: "";
}

.keyword_carousel {
  margin-bottom: 50px;
}

.keyword_carousel .item {
  position: relative;
  cursor: pointer;
  margin:  0 5px;
}

.over_context {
  background-color: rgba(97, 186, 183, 0.8);
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.keyword_carousel .item .over_context p {
  margin-bottom: 4px;
}

.keyword_carousel .item .over_context .content {
  margin-bottom: 48px;
  color: #000;
}

/* hover */
.keyword_carousel .item:hover .over_context,
.keyword_carousel .item:hover .btnStripe::after {
  opacity: 1;
  visibility: visible;
}

.keyword_carousel .item .btnStripe:hover,
.keyword_carousel .item .btnStripe:hover::after {
  color: #000;
  border-color: #000;
}
.keyword_carousel .item .btnStripe:hover::before,
.keyword_carousel .item .btnStripe:hover span.line,
.keyword_carousel .item .btnStripe:hover span.border-bottom {
  background-color: #000;
}

.guide_section {
  background-color: #e6eff7;
  padding-top: 100px;
  padding-bottom: 100px;
}

.tepra_featured_content .media {
  text-align: center;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.guide_section .btnStripe::after {
  background-image: repeating-linear-gradient(-45deg, #fff, #fff 2px, transparent 2px, transparent 5px);
}

.information_holder .content_box p {
  margin-bottom: 12px;
}

.information_holder .content_box p,
.information_holder .content_box ul li {
  font-size: 12px;
  line-height: 18px;
}

@media (hover: hover) {
  .btnStripe.sml_btn:hover .border-bottom,
  .scene_grid .item:hover .btnStripe .border-bottom {
    background-color: #fff;
  }
  .scene_grid .item:hover .btnStripe,
  .btnStripe.sml_btn:hover {
    border-color: #fff;
    color: #fff;
  }

  .scene_grid .item:hover .btnStripe::before,
  .btnStripe.sml_btn:hover:before {
    background-color: #fff;
  }

  .scene_grid .item:hover .btnStripe span.line,
  .btnStripe.sml_btn:hover span.line {
    background-color: #fff;
  }

}

@media screen and (max-width:1279px) {}

@media screen and (max-width: 767px) {
  .guide_section .tepra_featured_content .media {
    margin-left: -16px;
    margin-right: -16px;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}


/* Footer Information */
.tepra_info_wrap {
  padding: 75px 0;
}

.information_holder {}

.information_holder .content_box ul {
  margin: 0;
  margin-left: 22px;
  padding: 0;
}

.information_holder .content_box ul li::marker {
  /* font-size: 20px; */
}

@media screen and (max-width:1279px) {}

@media screen and (max-width: 767px) {
  .tepra_info_wrap {
    padding: 100px 0;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}


/* Floating Animation front page start here */
@keyframes floating {
  0% {
    bottom: calc(-1 * var(--f-image-height));
    transform: translateX(0);
  }

  100% {
    bottom: calc(100% + var(--f-image-height));
    transform: translateX(0px);
  }
}

.float-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  top: 0px;
  left: 0;
  bottom: 0px;
}
.f-image img {
  height: 100%;
}
.f-image {
  --f-image-animation-duration: 10s;
  height: var(--f-image-height);
  position: absolute;
  bottom: calc(-1 * var(--f-image-height));
  opacity: 1;
  animation: floating 10s infinite ease-in;
}
.f-image:nth-child(1) {
  --f-image-height: 62px;
  left: 53%;
  animation-duration: 16s;
  z-index: 1;
}
.f-image:nth-child(2) {
  --f-image-height: 130px;
  left: 50%;
  animation-duration: 16s;
  animation-delay: 5s;
}
.f-image:nth-child(3) {
  --f-image-height: 256px;
  right: 15%;
  animation-duration: 16s;
  animation-delay: 6s;
}
.f-image:nth-child(4) {
  --f-image-height: 295px;
  right: -3%;
  animation-duration: 16s;
  animation-delay: 0s;
  z-index: 1;
}
.f-image:nth-child(14) {
  --f-image-height: 150px;
  left: 56%;
  animation-duration: 16s;
  animation-delay: 2s;
}
.f-image:nth-child(15) {
  --f-image-height: 295px;
  right: 5%;
  animation-duration: 16s;
  animation-delay: 12s;
}
.f-image:nth-child(16) {
  --f-image-height: 250px;
  right: 27%;
  animation-duration: 16s;
  animation-delay: 9s;
}
.f-image:nth-child(17) {
  --f-image-height: 220px;
  left: 15%;
  animation-duration: 14s;
  animation-delay: 10s;
}
.f-image:nth-child(5) {
  --f-image-height: 47px;
  right: 10%;
  animation-duration: 16s;
  animation-delay: 6s;
}
.f-image:nth-child(6) {
  --f-image-height: 41px;
  right: 12%;
    animation-duration: 14s;
    animation-delay: 6s;
}
.f-image:nth-child(7) {
  --f-image-height: 62px;
  left: 42%;
  z-index: 1;
  animation-duration: 10s;
  animation-delay: 2s;
}
.f-image:nth-child(8) {
  --f-image-height: 192px;
  left: 50%;
  animation-duration: 16s;
  animation-delay: 14s;
}
.f-image:nth-child(9) {
  --f-image-height: 161.33px;
  left: 45px;
  animation-duration: 12s;
  animation-delay: 6s;
}
.f-image:nth-child(10) {
  --f-image-height: 84px;
  left: 70px;
  animation-duration: 12s;
  animation-delay: 8s;
}
.f-image:nth-child(11) {
  --f-image-height: 176px;
  left: -20px;
  animation-duration: 12s;
  animation-delay: 2s;
}
.f-image:nth-child(12) {
  --f-image-height: 70px;
  left: 13%;
  animation-duration: 8s;
  animation-delay: 8s;
}
.f-image:nth-child(13) {
  --f-image-height: 40px;
  right: 2%;
    animation-duration: 16s;
    animation-delay: 2s;
}
.f-image:nth-child(18) {
  --f-image-height: 45px;
    left: 15%;
    animation-duration: 10s;
    animation-delay: 2s;
    z-index: -1;
}
.f-image:nth-child(19) {
  --f-image-height: 65px;
  left: 20%;
    animation-duration: 20s;
    animation-delay: 0s;
    filter: invert(69%) sepia(37%) saturate(445%) hue-rotate(129deg) brightness(91%) contrast(88%);
    will-change: filter;
    z-index: -1;
}

@media screen and (max-width:1279px) {
  .f-image:nth-child(17){
    left: 1%;
    animation-duration: 12s;
    animation-delay: 12s;
  }
  .f-image:nth-child(8){
      left: 49%;
      animation-delay: 14s;
  }
  .f-image:nth-child(19){
      left: 0.5%;
  }
}

@media screen and (max-width: 767px) {
  .f-image:nth-child(1) {
    --f-image-height: 45px;
    left: 22%;
    }
    .f-image:nth-child(2) {
    --f-image-height: 80px;
    }
    .f-image:nth-child(3) {
    --f-image-height: 150px;
    }
    .f-image:nth-child(4) {
    --f-image-height: 170px;
    }
    .f-image:nth-child(5) {
    --f-image-height: 40px;
    }
    .f-image:nth-child(6) {
    --f-image-height: 35px;
    }
    .f-image:nth-child(7) {
    --f-image-height: 48px;
    }
    .f-image:nth-child(8) {
    --f-image-height: 130px;
    animation-delay: 10s;
    left: 10%;
    }
    .f-image:nth-child(9) {
    --f-image-height: 100px;
    }
    .f-image:nth-child(10) {
    --f-image-height: 70px;
    }
    .f-image:nth-child(11) {
    --f-image-height: 110px;
    }
    .f-image:nth-child(12) {
    --f-image-height: 50px;
    }
    .f-image:nth-child(13) {
    --f-image-height: 32px;
    left: 75%;
    }
    .f-image:nth-child(14) {
    --f-image-height: 100px;
    }
    .f-image:nth-child(15) {
    --f-image-height: 115px;
    }
    .f-image:nth-child(16) {
      --f-image-height: 110px;
      right: 10%;
    }
    .f-image:nth-child(17) {
      --f-image-height: 85px;
    }
    .f-image:nth-child(18) {
        --f-image-height: 45px;
        right: 10%;
        left: auto;
        animation-duration: 12s;
        animation-delay: 4s;
        z-index: -1;
    }
}

@media screen and (max-width: 539px) {
  .f-image:nth-child(2),
  .f-image:nth-child(6),
  .f-image:nth-child(7),
  .f-image:nth-child(5),
  .f-image:nth-child(9),
  .f-image:nth-child(12),
  .f-image:nth-child(14),
  .f-image:nth-child(17) {
      display: none;
  }
}

@media screen and (max-width: 480px) {}