@charset "UTF-8";

/* ==========================================================================
   Main Visual (MV) & Video Controls
   ========================================================================== */
/* MVコンテナを基準にボタンを配置 */
.mv_container {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 180px) !important;
  min-height: 600px;
}
@media screen and (max-width: 1000px) {
  .mv_container { height: calc(100vh - 110px) !important; }
}
@media screen and (max-width: 768px) {
  .mv_container {
    height: calc(100vh - 188px) !important;
    justify-content: center;
    min-height: 360px;
    max-height: 600px;
  }
}

.mv_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mv_textarea {
  position: absolute;
  left: 7.5%;
  width: 40vw;
  z-index: 10;
}
.mv_textarea.effect {
  opacity: 1;
  transition: opacity 2s, transform 2s;
  transform: translateY(-20px);
}
@media screen and (max-width: 768px) {
  .mv_textarea {
    width: 74vw;
    left: 6.7%;
    bottom: 40px;
  }
}

.mv_scrolldown {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 4px;
  color: #fff;
  z-index: 10;
}
.mv_scrolldown_line {
  display: block;
  width: 1px;
  height: 56px;
  background: #fff;
  margin: 5px auto 0;
  animation: ScrollBar 2.5s cubic-bezier(0.78, 0.07, 0, 1) infinite forwards;
}
@keyframes ScrollBar {
  0% { transform-origin: top left; transform: scaleY(0); }
  50% { transform-origin: top left; transform: scaleY(1); }
  75% { transform-origin: bottom left; transform: scaleY(1); }
  100% { transform-origin: bottom left; transform: scaleY(0); }
}
@media screen and (max-width: 768px) {
  .mv_scrolldown { display: none; }
}

/* 動画コントロールボタン */
.mv_video_ctrl {
  position: absolute;
  right: 20px;
  bottom: 30px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.mv_video_ctrl:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}
/* 一時停止アイコン (❚❚) */
.mv_video_ctrl .is-pause {
  display: flex;
  justify-content: space-between;
  width: 12px;
  height: 14px;
}
.mv_video_ctrl .is-pause::before,
.mv_video_ctrl .is-pause::after {
  content: "";
  display: block;
  width: 3.5px;
  height: 100%;
  background-color: #fff;
  border-radius: 1px;
}
/* 再生アイコン (▶) */
.mv_video_ctrl .is-play {
  display: none;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}
/* 停止中（paused）のときのアイコン表示切り替え */
.mv_video_ctrl[data-state="paused"] .is-pause { display: none; }
.mv_video_ctrl[data-state="paused"] .is-play { display: block; }
/* スマホ時のサイズ・位置調整 */
@media screen and (max-width: 768px) {
  .mv_video_ctrl {
    right: 15px;
    bottom: 15px;
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   Main Visual (MV) Section
   ========================================================================== */
.movie_container {
  position: relative;
  overflow: hidden;
}
.movie_thumb img {
  width: 100%;
  height: auto;
}

.smartlock_container {
  background: #f2f2f2;
  padding: 130px 0;
  text-align: center;
}
.smartlock_title {
  font-size: 4rem;
  font-weight: 300;
  color: #333;
  line-height: 1.6;
  margin: 0 0 20px;
}
.smartlock_text {
  font-size: 1.4rem;
  font-weight: 300;
  color: #333;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .smartlock_container { padding: 60px 0 85px; }
  .smartlock_title { font-size: 2rem; line-height: 1.7; }
  .smartlock_text { text-align: left; padding: 0 20px; }
}

.lineDraw {
  position: relative;
  height: 600px;
  text-align: center;
}
.lineDraw_line,
.lineDraw_real {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.lineDraw_line {
  display: none;
  z-index: 1;
  width: 240px;
  height: 483px;
  top: 2px;
}
.lineDraw_real {
  display: none;
  background: url(../images/q-sl2/index/QrioLock_bg.png) no-repeat center center;
  background-size: auto 657px;
}
@media only screen and (max-width: 640px) {
  .lineDraw { height: 340px; }
  .lineDraw_line { width: 140px; height: 280px; }
  .lineDraw_real { background-size: auto 380px; }
}

/* ==========================================================================
   Function Grid & Feature Containers
   ========================================================================== */
.function_container {
  background: #d0d0d0 url(../images/q-sl2/index/backcolor.png) repeat-x;
  background-size: auto 50%;
  padding: 0 0 140px;
}
.func_left {
  width: 50%;
  float: left;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #fff;
  box-sizing: border-box;
}
.func_right {
  width: 50%;
  float: right;
  position: relative;
  overflow: hidden;
  border-left: 1px solid #fff;
  box-sizing: border-box;
}
.func_left .func_photo {
  background: url(../images/q-sl2/index/top--contents-img01.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  padding-top: 100%;
}
.func_right .func_photo {
  background: url(../images/q-sl2/index/top--contents-img02.jpg) no-repeat center center;
  background-size: cover;
  width: 100%;
  padding-top: 100%;
}
.func_text {
  padding: 0 6.7%;
  position: absolute;
  bottom: 8.75%;
  color: #fff;
}
.func_text h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.func_text p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .function_container {
    background-size: auto 20%;
    padding: 0 0 60px;
  }
  .func_left, .func_right {
    width: 100%;
    float: none;
    border: none;
  }
  .func_left { border-bottom: 1px solid #fff; }
  .func_text h3 { font-size: 2.2rem; margin-bottom: 5px; }
  .func_text p { font-size: 1.2rem; margin-bottom: 0; }
}

/* Feature Big Sections */
.qriopad_container,
.attachment_container,
.qriolock_container,
.remote_container {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0;
}
.qriopad_container    { background-image: url(../images/q-sl2/index/qriopad_background.jpg); }
.attachment_container { background-image: url(../images/q-sl2/index/attachment_background.jpg); }
.qriolock_container   { background-image: url(../images/q-sl2/index/qriolock_background.jpg); }
.remote_container     { background-image: url(../images/q-sl2/index/remote_background.jpg); }

@media screen and (max-width: 768px) {
  .qriopad_container    { background-image: url(../images/q-sl2/index/qriopad_background_sp.jpg); padding: 64px 0 300px; }
  .attachment_container { background-image: url(../images/q-sl2/index/attachment_background_sp.jpg); padding: 64px 0 300px; }
  .qriolock_container   { background-image: url(../images/q-sl2/index/qriolock_background_sp.jpg); padding: 64px 0 300px; }
  .remote_container     { background-image: url(../images/q-sl2/index/remote_background_sp.jpg); padding: 64px 0 300px; }
}

.text_l { width: 50%; float: left; }
.text_r { width: 50%; float: right; }
@media screen and (max-width: 768px) {
  .text_l, .text_r { width: 100%; float: none; }
}

.attachment_container .title,
.qriolock_container .title,
.qriopad_container .title,
.remote_container .title {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 50px;
  line-height: 1.3;
}
.attachment_container p,
.qriolock_container p,
.qriopad_container p,
.remote_container p {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
}
.remote_container * {
  color: #333 !important;
}
@media screen and (max-width: 768px) {
  .attachment_container .title,
  .qriolock_container .title,
  .qriopad_container .title,
  .remote_container .title {
    font-size: 2.4rem;
    margin-bottom: 32px;
  }
}