Commit ae01b1a7 by Orine Matsui

TOPのMVをのみclassを変更

parent 69adc06b
...@@ -1012,6 +1012,12 @@ header ...@@ -1012,6 +1012,12 @@ header
transform: translateY(-100%); transform: translateY(-100%);
} }
@media screen and (max-width: 767px) {
.fixed-nav {
display: none;
}
}
.is-show { .is-show {
transform: translateY(0); transform: translateY(0);
} }
......
...@@ -253,17 +253,17 @@ body { ...@@ -253,17 +253,17 @@ body {
margin: 4px 0 0; margin: 4px 0 0;
} }
.c-mainvisual { .top-mainvisual {
position: relative; position: relative;
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.c-mainvisual { .top-mainvisual {
margin-top: 50px; margin-top: 50px;
} }
} }
.c-mainvisual__video { .top-mainvisual__video {
position: relative; position: relative;
width: 100%; width: 100%;
height: 0; height: 0;
...@@ -272,12 +272,12 @@ body { ...@@ -272,12 +272,12 @@ body {
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.c-mainvisual__video { .top-mainvisual__video {
height: 300px; height: 300px;
} }
} }
.c-mainvisual__video iframe { .top-mainvisual__video iframe {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -285,7 +285,7 @@ body { ...@@ -285,7 +285,7 @@ body {
height: 100%; height: 100%;
} }
.c-mainvisual__btn { .top-mainvisual__btn {
width: 1200px; width: 1200px;
margin: -58px auto 0; margin: -58px auto 0;
display: -webkit-box; display: -webkit-box;
...@@ -301,7 +301,7 @@ body { ...@@ -301,7 +301,7 @@ body {
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.c-mainvisual__btn { .top-mainvisual__btn {
width: 100%; width: 100%;
position: absolute; position: absolute;
z-index: 100; z-index: 100;
...@@ -312,7 +312,7 @@ body { ...@@ -312,7 +312,7 @@ body {
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.c-mainvisual__btn .c-btn1 { .top-mainvisual__btn .c-btn1 {
width: calc(50% - 2px); width: calc(50% - 2px);
} }
} }
...@@ -1031,9 +1031,9 @@ body { ...@@ -1031,9 +1031,9 @@ body {
#movie-preview { #movie-preview {
margin-top: 50px; margin-top: 50px;
} }
.c-mainvisual { .top-mainvisual {
} }
.c-mainvisual__video { .top-mainvisual__video {
height: auto; height: auto;
padding: 0; padding: 0;
} }
...@@ -1055,7 +1055,7 @@ body { ...@@ -1055,7 +1055,7 @@ body {
color: #fff; color: #fff;
border: 2px solid #fff; border: 2px solid #fff;
} }
.page-top .c-mainvisual:before { .page-top .top-mainvisual:before {
z-index: 1; z-index: 1;
content: ""; content: "";
position: absolute; position: absolute;
...@@ -1069,7 +1069,7 @@ body { ...@@ -1069,7 +1069,7 @@ body {
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
} }
.page-top .c-mainvisual:before { .page-top .top-mainvisual:before {
background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0) 100%); background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.1) 30%,rgba(0,0,0,0) 100%); background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.1) 30%,rgba(0,0,0,0) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.1) 30%,rgba(0,0,0,0) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.1) 30%,rgba(0,0,0,0) 100%);
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?> <?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?>
<main class="top"> <main class="top">
<div class="c-mainvisual"> <div class="top-mainvisual">
<div class="c-mainvisual__video"> <div class="top-mainvisual__video">
<video src="/common_previous/mov/OS_TOP5.mp4" preload="auto" class="movie-player-image" id="movie-preview" height="100%" width="100%" autoplay="" loop="" muted="" playsinline=""></video> <video src="/common_previous/mov/OS_TOP5.mp4" preload="auto" class="movie-player-image" id="movie-preview" height="100%" width="100%" autoplay="" loop="" muted="" playsinline=""></video>
</div> </div>
<div class="c-mainvisual__btn"> <div class="top-mainvisual__btn">
<div class="c-btn1"> <div class="c-btn1">
<a href="/service/" class="c-btn1__txt">サービス一覧</a> <a href="/service/" class="c-btn1__txt">サービス一覧</a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment