﻿@charset "utf-8";

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	background: transparent;
	border: 0;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%;
}
body {
  background-color: #fff;
  color: #707070;
  font-size: 1.6rem;
  /* font-family: 'Noto Serif JP', serif; */
  letter-spacing: 0.05em;
	line-height: 1.875em;
  width: 100%;
}
@media screen and (max-width:767px) {
	body {
		font-size: 1.4rem;
    letter-spacing: 0.02em;
	}
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after, q::before, q::after {
	content: '';
	content: none;
}
a {
	background: transparent;
	font-size: 100%;
	margin: 0;
	padding: 0;
  vertical-align: baseline;
}
ins {
	text-decoration: none;
}
mark {
	background-color: #5FC5F5;
	color: #333333;
	font-style: italic;
	font-weight: bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}
hr {
	border: none;
	border-top: 1px dotted #999;
	display: block;
	height: 1px;
	margin: 1em 0;
	padding: 0;
}
input, select {
	vertical-align: middle;
}
input, button, textarea, select {
	-webkit-appearance: none;
	-moz-appearance: none;
  appearance: none;
	background: none;
	border: none;
	border-radius: 0;
  font-family: inherit;
  font-size: 100%;
	margin: 0;
  outline: none;
	padding: 0;
}
button:hover {
  cursor: pointer;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
	-ms-interpolation-mode: bicubic;
	vertical-align: top;
}

/***** Display PC SP Togle *****/
.gen-disp_non {
  display: none !important;
}
.gen-disp_sp, .gen-disp_sp_inline {
	display: none;
}

@media screen and (max-width:767px) {
  .gen-disp_pc {
    display: none !important;
  }
	.gen-disp_sp {
		display: block;
	}
	.gen-disp_sp_inline {
		display: inline;
	}
}

.movie {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.movie video {
  bottom: -100%;
  min-height: 100%;
  left: -100%;
  margin: auto;
  object-fit: cover;
  position: absolute;
  right: -100%;
  top: -100%;
  min-width: 100%;
  z-index: 2;
}
.movie .text {
  z-index: 4;
}
.movie .logo {
  position: absolute;
  bottom: 60px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 537px;
  z-index: 4;
}
.movie .logo a {
  display: block;
}
.logo .site-logo {
  margin: 10px 10% 0 0;
}
.movie .logo2 {
  max-width: 213px;
}
.movie .scroll {
  bottom: 0;
  position: absolute;
  right: 0;
  width: 3.125%;
  z-index: 4;
}
.movie .play {
  position: absolute;
  bottom: 22px;
  left: 20px;
  background: #fff;
  color: #fff;
  font-size: 2.2rem;
  line-height: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  width: 120px;
  height: 32px;
  transition: .3s;
  z-index: 4;
  -webkit-mask-image: url('/cms/corp/laboratory/sleeptech/common/img/st_play_mask.svg');
  mask-image: url('/cms/corp/laboratory/sleeptech/common/img/st_play_mask.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.movie .play:hover {
  background: #00AFBB;
}
.movie .play:hover::before {
  background: #707070;
}
.fixed {
  box-sizing: border-box;
  position: fixed;
  width: 100%;
  height: 100%;
}
.popup {
  background: rgba(255,255,255,.5);
  height: 100vh;
  left: 0;
  position: fixed;
  opacity: 0;
  top: 0;
  width: 100vw;
  z-index: 100;
}
@keyframes popupFadeIn {
0%   { display: none; opacity: 0; }
1%   { display: block; opacity: 0; }
100% { display: block; opacity: 1; }
}
@keyframes popupFadeOut {
0%   { display: block; opacity: 1; }
99%   { display: block; opacity: 0; }
100% { display: none; opacity: 0; }
}
.popup[aria-hidden="false"] {
  animation: popupFadeIn .3s ease-out 0s forwards;
}
.popup[aria-hidden="true"] {
  animation: popupFadeOut .3s ease-out 0s forwards;
}
.popup_inner {
  bottom: 0;
  height: calc(100vw * 0.5626);
  max-height: 560px;
  left: 0;
  position: absolute;
  margin: auto;
  right: 0;
  top: 0;
  width: 80%;
  max-width: 960px;
}
.popup_frameInner {
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.popup_inner iframe {
  border: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.popupCloseBtn {
  height: 50px;
  position: absolute;
  right: -76px;
  top: -5px;
  width: 50px;
}

.sectionBox h2 {
  font-size: 4rem;
  line-height: 2em;
  font-weight: 400;
}

.section1 {
  background: #fff;
  padding: 150px 0 100px 0;
}
.section1 h2 {
  margin: 0 0 0 0;
}
.section1 p {
  font-size: 1.8rem;
  line-height: 2.222em;
}
.section1 p + p {
  margin: 50px 0 0 0;
}
.section1-inner1 {
  max-width: 502px;
  margin: 0 auto;
}
.section1-inner1-text {
  margin: 0 6.25% 0 0;
  width: 31.25%;
}
.section1-inner1-img {
  width: 37.5%;
}
.section1-inner1 .text02 {
  margin: 80px 4.5% 0 0;
}
.section1-inner1 .text03 {
  margin: 100px 26% 0 0;
}

footer {
  padding: 100px 0 0;
}
.footer-title {
  font-size: 3rem;
  margin: 0 0 70px 0;
  text-align: center;
}
.footer-link {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto 130px;
  width: 100%;
  max-width: 480px;
}
.footer-link-list {
  list-style-type: none;
}
.footer-link-list.item01 {
  margin: 0 0 0 40px;
}
.lab-logo_link {
  margin: 100px 0 0 0;
  text-align: center;
}
footer small {
  display: block;
  margin: 57px 0 0 0;
  padding: 14px 0 15px;
  background: #D0D0D0;
  line-height: 1em;
  text-align: center;
  font-size: 1.1rem;
  color: #FFFFFF;
}


@keyframes fader {
  0%{
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  56% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes faderOut {
  0%{
    opacity: 1;
  }
  5% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

@media screen and (max-width:767px) {
  .movie .logo {
    bottom: 125px;
    width: calc(100% - 108px);
    max-width: 536px;
    height: 39px;
  }
  .movie .text {
    width: auto;
    max-width: calc(100% - 108px);
    margin: -75px auto 0;
  }
  .movie .site-logo {
    width: 50%;
  }
  .logo .flex-item:first-child {
    margin: 4px 10% 0 0;
  }
  .movie .logo2 {
    width: 40%;
  }
  .movie .scroll {
    width: 30px;
  }
  .movie .play {
    bottom: 205px;
    left: 50%;
    margin: 0 0 0 -59.25px;
  }
  .movie .play::before {
    height: 20px;
    width: 20px;
    -webkit-mask-size: 100%;
    mask-size: 100%;
  }
  .movie .play:hover::before {
    background: #707070;
  }

  .popup_inner {
    width: calc(100vw - 40px);
  }
  .popupCloseBtn {
    height: 40px;
    right: -16px;
    top: -56px;
    width: 40px;
  }
  .fader {
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
  }
  .fader img {
    animation: faderOut 30s linear infinite;
    bottom: -100%;
    min-height: 100%;
    left: -100%;
    margin: auto;
    object-fit: cover;
    position: absolute;
    right: -100%;
    top: -100%;
    min-width: 100%;
    z-index: 2;
  }
  .fader img:nth-of-type(n+2) {
    animation: fader 30s linear infinite;
    opacity: 0;
    z-index: 3;
  }
  .fader img:nth-of-type(3) {
    animation-delay: 6s;
  }
  .fader img:nth-of-type(4) {
    animation-delay: 12s;
  }
  .fader img:nth-of-type(5) {
    animation-delay: 18s;
  }
  .fader img:nth-of-type(6) {
    animation-delay: 24s;
  }
  .fader img:nth-of-type(7) {
    animation-delay: 30s;
  }

  .sectionBox h2 {
    font-size: 3.2rem;
    line-height: 1.71875em;
    font-weight: 400;
  }

  .section1 {
    background: #fff;
    padding: 80px 0 50px;
  }
  .section1 h2 {
    font-size: 3.6rem;
    line-height: 1.666em;
    margin: 4% 4% 50px 0;
  }
  .section1 .text02 {
    margin: 16% 0 16%;
  }
  .section1 .text03 {
    margin: 16% 30%  0 0;
  }
  .section1 p {
    font-size: 1.6rem;
    line-height: 1.875em;
  }
  .section1-inner1 {
    flex-direction: column;
    margin: 0 auto;
    padding: 0 30px;
    width: calc(100% - 60px);
  }
  .section1-inner1-text {
    margin: 0;
    order: 2;
    width: 100%;
  }
  .section1-inner1-img {
    margin: 0 -40px 0 -20px;
    order: 1;
    width: calc(100% + 60px);
  }

  footer {
    padding: 50px 0 0;
  }
  .footer-title {
    font-size: 2.2rem;
    margin: 0 0 20px 0;
  }
  .footer-link {
    display: block;
    margin: 50px auto 70px;
    width: 120px;
  }
  .footer-link-list {
    height: auto;
    margin: 0 0 22px 0;
    text-align: center;
    width: 100%;
    object-fit: scale-down;
  }
  .footer-link-list.item01 {
    margin: 0 0 70px;
  }
  .footer-link-list.item02 {
    margin: 0 0 100px;
  }
  .footer-link-list a {
    align-items: center;
    display: flex;
    /* height: 46px; */
    justify-content: center;
  }
  .footer-link-list:first-child img {
    max-width: none;
    max-height: 100%;
  }
  .lab-logo_link {
    margin: 32% 0 40px 0;
  }
  .lab-logo_link a {
    display: inline-block;
    width: calc(100% - 125px);
  }
  footer small {
    margin: 16px 0 0 0;
  }
}

/* scroll animation */
.movie .scroll {
  height: 100px;
}
.movie .scroll span {
  position: absolute;
  transform: rotate(90deg);
  left: -15px;
  top: 15px;
  color: #eee;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.movie .scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 200px;
  background: #eee;
  animation: pathmove 3s ease-in-out infinite;
  opacity: 0;
}
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 50px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 100px;
    opacity: 0;
  }
}