.TOP {
    height: 100%;
    background: #c09e7f  0% 0% no-repeat padding-box;
    opacity: 1;
}

main {
    background-color: #fff;
    width: 100%;
}

.enter {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: #E8D2BE 0% 0% no-repeat padding-box;
    opacity: 1;
}

.enter_logo {
    background: transparent url('img/TOKO-LOGO.png') 0% 0% no-repeat padding-box;
}

.enter_logo img[src="img/TOKO-LOGO.png"] {
    top: 215px;
    left: 513px;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation-name: logo_show;
    animation-duration: 3s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}



@keyframes logo_show {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-10%);
    }
}

@keyframes logo_character {
    0% {
        opacity: 0;
    }
    50% {

    }
    100% {
        opacity: 1;
    }
}

/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */

.site-header {
    width: 100%;
    display: flex;
    background: #E8D2BE 0% 0% no-repeat padding-box;
    padding: 20px;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#humMenu {
    padding: 12px;
    background: #E8D2BE;
}

#humCheck, #humClose { display:none; }
#humOpen {
    display: block;
    width: 58px;
    cursor: pointer;
}
#humOpen:hover {
    opacity: 0.5;
}

#humOpen img { display: block; }
#humClose, nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
}
#humClose {
    z-index: 2;
    width: 100%;
    background: gray;
    opacity: 0.8;
    transition: 0.5s;
}
nav {
    z-index: 3;
    width: 230px;
    background: #E8D2BE;
    transition: 0.5s;
    transform: translateX(-100%);
  }
  #humCheck:checked ~ #humClose { display: block; }
  #humCheck:checked ~ nav {
    transform: translateX(0);
  }
  nav ul{
  overflow: hidden;
  list-style: none;
  }
  nav li{
    padding: 15px 0;
    margin: 10px 0;
  }
  nav li:hover{
    opacity: 0.5;
  }
  nav li a{
    font-size: 20px;
    text-decoration: none;
    font-size: 20px;
    padding-left: 20px;
    border-bottom: #E94F47 solid 1px;
    color: #E94F47;
  }
/*=== スライドショー ================================= */

.slider_fade {
    position: relative;
    padding-top: 102px;
    width: 100%;
}

.slider_fade > li {
    position: absolute;
    list-style: none;
    visibility: hidden;
    animation: anime_slider_fade 12s 0s infinite;
}
.slider_fade > li:nth-of-type(2) {
    animation-delay: 4s;
}
.slider_fade > li:nth-of-type(3) {
    animation-delay: 8s;
}

@keyframes anime_slider_fade {
    0% {
        visibility: visible;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
    }
    48.3% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
/*============================================ */

#about {
    text-decoration: none;
    text-align: left;
    width: 100%;
    margin: auto;
    margin-top: 10%;
    padding-top: 500px;
    padding-left: 20px;
    padding-bottom: 50px;
    background: #ffff;
}

/*トコーとはロゴ*/
#about-logo {
    margin-top: 6em;
    width: 60%;
}

/*トコー説明*/
#about-line{
    margin-top: 2em;

}

/*新着情報*/
#news a{
    margin: auto;
    display: block;
    text-align: center;
    width: 80%;
    font-size: 30pt;
    margin-top: 5em;
    line-height: 2em;
    background:#E8D2BE;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

#news a:hover {
    background: #E94F47;
    color: #E8D2BE;
}

/*サービス一覧*/
#service {
    max-width: 80%;
    margin: auto;
    text-align: center;
    line-height: 1.4em;
    margin-top: 3em;
    background: #E6D0B9;
    font-family: monospace ,sans-serif ;
    font-weight: bold;
    font-size: 25pt;
    text-decoration: none;
    color: #E94F47;
}

/*アイコンをタップすると～*/
#service_text {
    max-width: 80%;
    margin: auto;
    background-color: #E6D0B9;
    text-align: center;
    line-height: 1.5em;
    margin-top: .5em;
}

/*flex container*/
.service_icon {
    margin: 0 auto;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    flex-flow: row wrap;
}

/*inside container*/
.service_icon img {
    width: 210px;
    height: auto;
    margin-top: 15px;
}

/*運営*/
.management {
    width: 80%;
    margin-top: 10em;
    margin-left: 10%;
    padding-bottom: 40px;
}

#management_1 {
    background: #E8D2BE;
    line-height: 60px;
    font-size: 40px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    color: #E94F47;
}

.management img {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
}

#management_2 {
    line-height: 30px;
    font-size: 20px;
}

.site-footer {
    padding-top: 70px;
    position: absolute;
    width: 100%;
    display: flex;
    background: #E8D2BE 0% 0% no-repeat padding-box;
    border-top: 2px solid #E94F47;
    padding: 15px;
    opacity: 1;
    text-align: center;
    display: inline;
}


/*タブレット用*/

@media (min-width: 768px) {
    .style-nav ul li {
        display: inline-block;
    }
    .style-nav ul {
        text-align: center;
    }

    /*=== 画像の表示エリア ================================= */

.slide {
    position: relative;
    overflow: hidden;
    /* 画像のサイズに合わせて変更ください */
    width: 768px;
    height: 500px;
    margin-top: 5em;
    /* サンプルは中央寄せの背景：白 */
    background: #E8D2BE;
}

}

/*デスクトップ用*/

@media (min-width: 1024px) {

    main {
        max-width: 1050px;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        margin: auto;
    }

/*=== スライドショー ================================= */

.slider_fade {
    position: relative;
    padding-top: 102px;
    width: 100%;
}

.slider_fade > li {
    position: absolute;
    list-style: none;
    visibility: hidden;
    animation: anime_slider_fade 12s 0s infinite;
}
.slider_fade > li:nth-of-type(2) {
    animation-delay: 4s;
}
.slider_fade > li:nth-of-type(3) {
    animation-delay: 8s;
}

@keyframes anime_slider_fade {
    0% {
        visibility: visible;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
    }
    48.3% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
/*============================================ */


    #about {
        text-align: left;
        padding-left: 110px;
    }

    /*flex container*/
    .service_icon {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-around;
        flex-flow: row wrap;
    }

    /*inside container*/
    .service_icon {
        max-width: 60%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-around;
        flex-flow: row wrap;
    }

    .service_icon img {
        width: 210px;
        height: auto;
        margin-top: 15px;
    }

    #management_img {
        display: inline;
        max-width: 600px;
    }

    #management_img img {
        max-width: 500px;
    }


}