html {
font-size: 62.5%;
}
body {
color: #000;
background-color: #fff;
line-height: 1;
font-size: 1.6rem;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
width: 100%;
height: 100%;
min-width: 320px;
margin: 0 auto;
font-family: Meiryo, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
}
a {
color: #000;
-webkit-transition: 0.5s;
transition: 0.5s;
}
button {
font-family: Meiryo, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
}
.container {
display: block;
position: relative;
margin: 0 auto;
width: 100%;
}
.page-container {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: 100vh;
}
.page {
width: calc(100% - 200px);
max-width: 1410px;
aspect-ratio: 1 / 0.765;
margin: 0 auto;
}
@media only screen and (min-width: 1610px) {
.page {
width: 1410px;
height: 1080px;
}
}
@media only screen and (max-height: 767px) {
.page {
margin: 0 auto;
}
}
.main {
position: relative;
width: 100%;
height: 100%;
background-color: #fff;
z-index: 10;
}
.main-box {
position: relative;
padding: 15vw 5vw;
height: 100%;
}
@media only screen and (min-width: 1610px) {
.main-box {
padding: 170px;
}
}
.clock-analog {
position: absolute;
width: 446px;
height: 446px;
top: 120px;
background-image: url("../img/common/clock/clock_base.png");
background-size: cover;
background-position: 50%;
z-index: 10;
}
.clock-analog::before {
content: '';
display: block;
position: absolute;
width: 30px;
height: 30px;
top: 50%;
left: 50%;
margin-left: -15px;
margin-top: -15px;
background-image: url("../img/common/clock/clock_center.png");
background-size: cover;
background-position: 50%;
z-index: 30;
}
.clock-analog__hand-box, .clock-analog__hand-box--hour, .clock-analog__hand-box--minute {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 15;
pointer-events: none;
}
.clock-analog__hand-box--hour {
z-index: 20;
}
.clock-analog__hand-box--minute {
z-index: 15;
}
.clock-analog__hand, .clock-analog__hand--hour, .clock-analog__hand--minute {
position: absolute;
background-size: cover;
background-position: 50%;
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
pointer-events: all;
}
.clock-analog__hand--hour {
width: 39px;
height: 125px;
top: 98px;
left: 50%;
margin-left: -19px;
z-index: 12;
background-image: url("../img/common/clock/clock_hour_hand.png");
}
.clock-analog__hand--minute {
width: 19px;
height: 184px;
top: 39px;
left: 50%;
margin-left: -9px;
z-index: 11;
background-image: url("../img/common/clock/clock_minute_hand.png");
}
@font-face {
font-family: 'NichibunDigitalNumber-Regular';
src: url("../font/NichibunDigitalNumber-Regular.svg") format("svg"), url("../font/NichibunDigitalNumber-Regular.ttf") format("truetype"), url("../font/NichibunDigitalNumber-Regular.eot");
}
.clock-digital {
position: absolute;
width: 400px;
height: 160px;
padding-right: 30px;
top: 250px;
right: 60px;
border: solid #76aede 10px;
border-radius: 10px;
text-align: right;
white-space: nowrap;
}
.clock-digital__hour,
.clock-digital__minute {
display: inline-block;
position: relative;
font-size: 160px;
font-family: 'NichibunDigitalNumber-Regular', sans-serif;
vertical-align: middle;
}
.clock-digital__separate {
display: inline-block;
position: relative;
top: -20px;
color: #000;
font-size: 100px;
vertical-align: middle;
}
.control {
position: absolute;
top: 480px;
right: 155px;
}
.control .nav {
width: 200px;
}
.control .nav__btn {
width: 100%;
height: 60px;
padding: 15px;
color: #fff;
background-color: #f42733;
border-radius: 30px;
border: 0;
outline: 0;
font-size: 1.8em;
font-weight: 700;
cursor: pointer;
}
/*# sourceMappingURL=maps/01_06.css.map */