@import url('https://fonts.googleapis.com/css?family=Kosugi+Maru');

html,body{
    overflow: hidden;
}
body {  
    font-family: 'Kosugi Maru', sans-serif;
    color: white;
    font-weight: 400;
    text-shadow: 1px 1px 0 #000,
                 -1px 1px 0 #000,
                 1px -1px 0 #000,
                 -1px -1px 0 #000;
}
.picture {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;                   
    width: 100%;
    height: 100%;
}
.LeftScreen {
    width: 40%;
    height: 100%;
    float: left;
    position: relative;
}
.date {
    height: 50%;
    font-size: 2vmax;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    letter-spacing: 0.2em;
    text-align: center;
}
.leftItem{
    margin: 3%;
}
.DateElement {
    font-size: 4.5vmax;
}
.time{
    width: 80%;
    height: 30%;
    margin: auto;
    text-align: center;
}
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}
.ampm{
    display: inline-block;
    width: 30%;
    height: 100%;
    padding-right: 2%;
    text-align: right;
    line-height: 200%;
    float: left;
}
.nowTime{
    width: 68%;
    height: 100%;
    text-align: left;
    float: right;
}
.CollaboMarkDiv {
    width: 45%;
    height: 6%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    left: 3%;
    bottom: 2%;
}
.CollaboMark{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.RightScreen {
    width: 60%;
    height: 100%;
    float: right;
}
.RightTopScreen {
    height: 10%;
    display: flex;
    align-items: center;
}
.RightTopScreen2 {
    width: 99%;
    height: 85%;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
}
.title{
    width: 100%; 
    font-size: 2.2vmax;
    text-align: center;
    position: absolute;
    top: 50%;
    margin-top: -1.1vmax;     
}
.RightBottomScreen {
    height: 18%;
    position: relative;
}
.WeatherElement {
    width: 99%;
    height: 93%;
    background-color: rgba(0, 0, 0, 0.4);
}
.IconDiv {
    width: 10%;
    height: 100%;
    float: left;
    position: relative;
}
.iconAdjust{
    height: 70%;
    width: 70%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.icon{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.element {
    width: 13%;
    height: 100%;
    float: left;
}
.UpperSentence{
    height: 40%;
    font-size: 1.3vmax;
    color: white;
    position: relative;
}
.UpperSentence2{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 3;    
}
.UnderSentence{
    height: 50%;
    font-size: 2.3vmax;
    position: relative;
}
.UnderSentence2{
    width: 100%;
    text-align: center;
    position: absolute;
    top: 3;    
}
/*現在の気象を表示させるdiv*/
.value{
    width: 30%;
    height: 100%;
    float: left;
}
.weather{
    width: 60%; 
    height: 100%;
    float: left;
    position: relative;
}

.ValueText{
    width: 100%;
    text-align: right;    
    font-size: 3.5vmax;
    margin-top: -1.85vmax;
    position: absolute;
    top: 50%;
}

.va{ 
    height: 100%;
    float: left;
    position: relative;
}

.UnitText{
    width: 100%;
    text-align: left;    
    font-size: 2.3vmax;
    margin-top: -1.3vmax;
    position: absolute;
    top: 50%;
}

/*最高・最低値、２４時間積算など*/
.sprit {
    width: 47%;
    height: 100%;
    float: left;
}
.UpperElement{
    height: 45%;
}
.UpperLeftElement {
    width: 40%;
    height: 100%;
    float: left;
    position: relative;
}
.UpperRightElement {
    width: 50%;
    height: 100%;
    float: left;
}

.UnderElement{
    height: 45%;
}
.UnderLeftElement {
    width: 40%;
    height: 100%;
    float: left;
    position: relative;
}
.UnderRightElement {
    width: 50%;
    height: 100%;
    float: left;
}

.RightText{
    width: 70%;
    height: 100%;
    position: relative;
    float: left;
}
.RightSpace{
    height: 100%;
    width: 8%;
    position: relative;
    float: left;
}
.RightUnit{
    height: 100%;
    width: 30%;
    position: relative;
    float: left;
}

.WeatherText{
    width: 100%;
    font-size: 1.5vmax;
    position: absolute;
    top: 50%;
    margin-top: -1.85vmax; 
    text-align: left;
}
.WeatherUpperText{
    margin-top: -0.4vmax; 
}

.WeatherUnderText{
    width: 100%; 
    margin-top: -1.4vmax; 
}

.WeatherText p{
    margin: 0.7vmax 0px;
}

.WeatherValue{
    width:100%;
    font-size: 2.0vmax;
    position: absolute;
    top: 50%;
    margin-top: -1.00vmax; 
    text-align: right;
}

.WeatherUpperValue{
    margin-top: -0.4vmax; 
}

.WeatherUnderValue{
    margin-top: -1.6vmax; 
}

.SumIlluminationValue{
    font-size: 1.9vmax;
}

.unit{
    width: 100%; 
    font-size: 2.0vmax;
    position: absolute;
    top: 50%;
    margin-top: -1.0vmax; 
    margin-left: 1.0vmax; 
    text-align: left;
}

.unit_upper{
    margin-top: -0.4vmax; 
}

.unit_under{
    margin-top: -1.6vmax;
}

.IntegrateElement {
    width: 40%;
    height: 100%;
    float: left;
    position: relative;
}

.IntegrateElementText {
    width: 50%;
}

@media screen and (max-width:480px) { 
    .LeftScreen {
        width: 100%;
        height: 30%;
        float: none;
        position: relative;
    }
    .date{
        height: 70%;
    }
    .RightScreen {
        width: 100%;
        height: auto;
    }
    .CollaboMarkDiv {
    width: 20%;
    height: 15%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
        left: 1%;
        bottom: 0%;
    }
    .leftItem{
        margin: 1%;
    }
    .ampm{
        width: 40%
    }
    .nowTime{
        width: 57%;
    }
    .RightBottomScreen {
        height: 12%;
        position: relative;
    }
    .WeatherElement{
        height: 95%;
    }
    .UpperLeftElement {
        width: 45%;
    }
    .UnderLeftElement {
        width: 45%;
    }
    .IntegrateElement {
        width: 45%;
    }
    .IntegrateElementText {
        width: 50%;
    }
}
