*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: #FFF;
}

html{ scroll-behavior: smooth; }

body{
    text-align: center;
    color: #FFF;
    font-size: 30px;
    font-family: serif;
    -webkit-text-size-adjust: 100%;
}

body:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/subsea.jpg) top no-repeat;
    background-size: cover;
}

#gorge:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/gorge2b.jpg) top no-repeat;
    background-size: cover;
}

#altar:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/altark.jpg) top no-repeat;
    background-size: cover;
}

#castle:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/castle2.jpg) top no-repeat;
    background-size: cover;
}

#castle02:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/castle02b.jpg) top no-repeat;
    background-size: cover;
}

#entrance:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/entrancekb.jpg) top no-repeat;
    background-size: cover;
}

#western:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/western02y.jpg) top no-repeat;
    background-size: cover;
}

#museum:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/museum04b.jpg) top no-repeat;
    background-size: cover;
}

#bridge:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/bridge.jpg) top no-repeat;
    background-size: cover;
}

#study:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/studyb.jpg) top no-repeat;
    background-size: cover;
}

#header{
    width: 100%;
    height: 50px;
    margin: 0 auto;
    background: rgba(0,0,0,0.5);
    float: none;
    font-size: 24px;
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: calc(infinity);
}

.menu a{
    display: block;
    margin: 0;
    padding: 0;
    height: 50px;
    width: 250px;
    line-height: 50px;
    text-decoration: none;
    color: #FFF;
    transition: 1s;
}

.menu a:hover{
    background: rgba(255,255,255,0.5);
    transition: 0.5s;
	cursor: pointer;
}

#foot{
    width: 100%;
    padding: 24px 0 12px 0;
    font-size: 20px;
    background: rgba(0,0,0,0.5);
}

#foot2{
    height: 120px;
    padding-top: 24px;
    font-size: 20px;
    background: rgba(0,0,0,0.5);
}

#cont{
    width: 1000px;
    margin: 0 auto;
}

#cont2{
    width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
}

#top{
    display: block;
    position: relative;
    width: 1000px;
    margin-bottom: 50px;
    height: 540px;
    overflow: hidden;
}

#topbana{
    position: absolute;
    left: 0;
    right: 0;
}

.bana1{
    position: absolute;
    left: 0;
    width: 1000px;
    height: 500px;
    background: url(../image/art/tops.jpg) no-repeat;
    opacity: 0;
    animation: shine 60s infinite;
}

@keyframes shine{
    0%{ opacity: 0; }
    1%{ opacity: 1; }
    8%{ opacity: 0; }
    100%{ opacity: 0; }
}

.bana2{
    position: absolute;
    left: 0;
    width: 1000px;
    height: 500px;
    background: url(../image/art/tops.jpg) no-repeat;
    opacity: 0;
    transition: 1s;
}

.bana2:hover{
    opacity: 1;
    transition: 0.5s;
}

#main{
    width: 1000px;
}

#preface{
    width: 960px;
    height: 400px;
    margin: 30px 20px 100px;
    background: url(../image/back/preback.png);
}

.title{
    position: relative;
    width: 1000px;
    height: 130px;
    margin: 40px 0;
}

#Ttitle{
    position: relative;
    width: 1000px;
    height: 130px;
    margin: 10px auto 20px;
}

.Utitle{
    position: relative;
    width: 1000px;
    height: 130px;
    margin: 80px 0 20px;
}

.Atitle{
    position: relative;
    width: 1000px;
    height: 130px;
    margin: 0;
}

.Otitle{
    position: relative;
    width: 1000px;
    height: 110px;
    margin: 20px 0 40px;
}

.lowtitle{
    position: relative;
    width: 1000px;
    height: 80px;
    margin: 60px 0 30px;
}

.sub1{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.sub2{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: 1s;
}

.sub2:hover{
    opacity: 1;
    transition: 0.5s;
}

.Tshine1{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.Tshine2{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: 1s;
    animation: shine2 10s infinite;
}

.Tshine2:hover{
    opacity: 1;
    transition: 1s;
}

@keyframes shine2{
    0%{ opacity: 0; }
    60%{ opacity: 0; }
    80%{ opacity: 0.5; }
    100%{ opacity: 0; }
}

.list,.Slist{
    position: relative;
    height: 570px;
    width: 490px;
    margin: 5px 5px 25px 5px;
    float: left;
}

.Hlist{
    position: relative;
    height: 525px;
    width: 490px;
    padding-top: 45px;
    margin: 5px 5px 25px 5px;
    float: left;
}

.art1{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.art2{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: 1s;
}

.art2:hover{
    opacity: 1;
    transition: 0.5s;
}

.name490{
    display: block;
    width: 490px;
    height: 70px;
    position: absolute;
    bottom: 20px;
}

.name980{
    display: none;
    width: 980px;
    height: 110px;
    position: absolute;
    bottom: 20px;
}

.Sname{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    background: url(../image/text/nameback.png) repeat-y;
    background-size: contain;
}

.Hname{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    background: url(../image/text/nameback.png) repeat-y;
    background-size: contain;
}

.typrice{
    width: 1000px;
    margin: 20px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.type{
    position: relative;
    width: 350px;
}

.Stype{
    position: relative;
    left: 0;
    right: 0;
    width: 1000px;
    height: 100px;
    margin: 20px 0 10px;
}

.SEtype{
    position: relative;
    width: 1000px;
    height: 160px;
    margin: 30px 0 20px;
}

.typlan{
    position: relative;
    width: 780px;
    background: rgba(0,0,0,0.5);
    padding: 20px 60px;
    margin: 0 auto 40px;
    font-size: 28px;
    text-align: left;
}

.rank1{
    position: absolute;
    left: 0;
    margin: auto;
}

.rank2{
    position: absolute;
    left: 0;
    margin: auto;
    opacity: 0;
    transition: 1s;
}

.rank2:hover{
    opacity: 1;
    transition: 0.5s;
}

.detail{
    width: 580px;
    padding: 20px 30px;
    margin-right: 10px;
    text-align: left;
    font-size: 24px;
    background: rgba(0,0,0,0.5);
    line-height: 130%;
}

.price{
    margin-top: 20px;
    text-align: right;
    font-size: 24px;
}

.prist{
    margin: 20px 0 0 auto;
}

.prist th{
    margin: 0 10px;
    padding: 2px 10px;
    text-align: center;
}

.prist td{
    margin: 0;
    padding: 0;
    text-align: right;
}

.lest{
    margin: 20px 0 0 auto;
}

.lest th{
    margin: 0 10px;
    padding: 2px 10px;
    text-align: center;
}

.lest td{
    margin: 0;
    padding: 0;
    text-align: right;
}

#selfbox{ margin: 0 10px; }

#profile table{ width: 680px; }

#profile th{
    width: 275px;
    height: 50px;
    margin: 0;
    padding-left: 20px;
    text-align: left;
    background: url(../image/tin/celk.png) repeat-y;
}

#profile td{
    width: 350px;
    height: 50px;
    margin: 0;
    padding-left: 20px;
    text-align: left;
    background: url(../image/tin/celb.png) repeat-y;
    color: #000;
}

#photo{ margin-right: 10px; }

.refarence{ position: relative; }

#accord{
    width: 1000px;
    text-align: left;
    margin: 20px 0 100px;
}

#accord label{
    display: block;
    margin: 5px 10px 0;
    padding: 15px 20px;
    line-height: 1;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

#accord input{
    appearance: none;
    display: none;
    position: absolute;
    left: 470px;
    width: 60px;
    height: 35px;
    z-index: 10;
    background: rgba(255,255,255,0);
    cursor: pointer;
}

#accord li{
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#accord ul{
    margin: 0;
    list-style: none;
}

.message{
    width: 900px;
    padding: 30px 40px 40px;
    margin: 0 10px;
    text-align: left;
    font-size: 28px;
    background: rgba(0,0,0,0.5);
}

.close_button{
    width: 60px;
    text-align: center;
    margin: 0 auto;
    animation: blink 2s infinite alternate;
}

.close_button span{
    display: inline-block;
    font-size: 32px;
    transform: scale(2,1);
}

.push80{ height: 80px; }

.push40{ height: 40px; }

#sent1:checked ~ #links01 li{
    height: 1620px;
    opacity: 1;
}

#self1:checked ~ #prof01 li{
    height: 2040px;
    opacity: 1;
}

#self1:checked{
    display: block;
    top: 2025px;
}

#self2:checked ~ #prof02 li{
    height: 1320px;
    opacity: 1;
}

#self3:checked ~ #prof03 li{
    height: 2280px;
    opacity: 1;
}

#self4:checked ~ #prof04 li{
    height: 1280px;
    opacity: 1;
}

#self5:checked ~ #prof05 li{
    height: 1360px;
    opacity: 1;
}

#self6:checked ~ #prof06 li{
    height: 2260px;
    opacity: 1;
}

#self7:checked ~ #prof07 li{
    height: 1860px;
    opacity: 1;
}

#oncord{
    width: 1000px;
    text-align: center;
    margin-bottom: 100px;
}

#oncord label{
    display: block;
    margin: 5px 10px 0;
    padding: 15px 20px;
    line-height: 1;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

#oncord input{ display: none; }

#oncord li{
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#oncord ul{
    margin: 0;
    list-style: none;
}

#oncord iframe{ background: rgba(0,0,0,0.5); }

#onopen1:checked ~ #onsite01 li{
    height: 1600px;
    opacity: 1;
}

.dbox{
    padding: 20px 10px 30px;
    background: rgba(0,0,0,0.5);
    margin: 0 10px 50px;
}

.onbox{
    padding: 30px 50px;
    background: rgba(0,0,0,0.5);
    margin: 0 10px 10px;
    font-size: 28px;
    text-align: left;
}

.onlist{
    margin: 0.5em 2em;
    font-size: 24px;
}

.twinkle:hover{
    text-shadow: 5px 5px 10px rgba(255,255,255,0.5), -5px 5px 10px rgba(255,255,255,0.5), -5px -5px 10px rgba(255,255,255,0.5), 5px -5px 10px rgba(255,255,255,0.5);
    transition: 0.5s;
}

.Sbox{
    width: 900px;
    padding: 30px 50px 40px;
    background: rgba(0,0,0,0.5);
    margin: 0 auto 50px;
    font-size: 28px;
    text-align: left;
}

#other{ width: 960px; }

#other table{
    table-layout: fixed;
    margin: 10px;
}

#other th{
    width: 300px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 28px;
    position: relative;
    background: url(../image/icon/frame300.png) center no-repeat;
    transition: 0.5s;
}

#other th:hover{
    background: url(../image/icon/frame300s.png) center no-repeat;
    transition: 0.5s;
}

#other td{
    width: 580px;
    padding: 5px 20px;
    text-align: left;
    font-size: 24px;
}

#sns{
    display: flex;
    flex-wrap: wrap;
    width: 980px;
    margin: 20px auto;
    padding-top: 40px;
    justify-content: center;
    gap: 1px;
}

.comicicon,.snsicon{
    width: 325px;
    height: 290px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
    object-fit: none;
    transition: 0.5s;
}

.snsicon{ height: 240px; }

.comicicon:hover,.snsicon:hover{
    opacity: 0.6;
    transition: 0.5s;
}

.frame450{
    width: 450px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto;
    font-size: 28px;
    text-align: center;
    background: url(../image/icon/frame450.png) center no-repeat;
    transition: 0.5s;
}

.frame450:hover{
    background: url(../image/icon/frame450s.png) center no-repeat;
    transition: 0.5s;
}

.f25{
    font-size: 25px;
    margin-top: 15px;
}

.linkR{
    text-align: right;
    margin-top: 15px;
}

.linkR a{
    text-decoration: none;
    color: #FFF;
    transition: 0.5s;
}

.linkR a:hover{
    text-shadow: 5px 5px 10px rgba(255,255,255,0.7), -5px 5px 10px rgba(255,255,255,0.7), -5px -5px 10px rgba(255,255,255,0.7), 5px -5px 10px rgba(255,255,255,0.7);
    transition: 0.5s;
}

.blinking{
    margin-right: 10px;
    animation: blink 2s ease-in-out infinite alternate;
}

#feature{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px;
    width: 980px;
    margin: 20px 10px 50px;
    text-align: center;
}

.frame320{
    width: 320px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto;
    font-size: 28px;
    text-align: center;
    background: url(../image/icon/frame320.png) center no-repeat;
    transition: 0.5s;
}

.frame320:hover{
    background: url(../image/icon/frame320s.png) center no-repeat;
    transition: 0.5s;
}

.range{
    width: 490px;
    height: 80px;
    font-size: 28px;
    line-height: 80px;
    background: url(../image/icon/frame490.png) center no-repeat;
    transition: 0.5s;
}

.range:hover{
    background: url(../image/icon/frame490s.png) center no-repeat;
    transition: 0.5s;
}

#Ulink{
    width: 500px;
    margin: 50px auto 30px;
}

#Uband{    
    width: 900px;
    margin: 0 auto 80px;
    text-align: right;
}

.Rband{
    width: 840px;
    padding: 15px 30px;
    margin: 10px 0 0;
    font-size: 28px;
    line-height: 1em;
    background: url(../image/tin/rband.png) right repeat-y;
}

.Rband a{
    text-decoration: none;
    color: #FFF;
    transition: 0.5s;
}

.Rband a:hover{
    text-shadow: 5px 5px 10px rgba(255,255,255,0.7), -5px 5px 10px rgba(255,255,255,0.7), -5px -5px 10px rgba(255,255,255,0.7), 5px -5px 10px rgba(255,255,255,0.7);
    transition: 0.5s;
}

.merideri{
    margin: 5px 15px 25px;
    font-size: 24px;
}

.merideri p{
    margin-left: 30px;
    text-align: left;
}

@keyframes blink {
    0% {opacity: 0.5;}
    50% {opacity: 1;}
    100% {opacity: 1;}
}

h2{
    font-size: 33px;
    text-align: left;
    background: rgba(0,0,0,0.5);
    margin-bottom: 10px;
    padding: 15px 20px;
    line-height: 33px;
}

h2:hover{
    text-shadow: 5px 5px 10px rgba(255,255,255,0.5), -5px 5px 10px rgba(255,255,255,0.5), -5px -5px 10px rgba(255,255,255,0.5), 5px -5px 10px rgba(255,255,255,0.5);
    transition: 0.5s;
}

.phrase { display: inline-block; }

.red{ color: #F30; }

.yellow{ color: yellow; }

@media screen and ( max-width: 767px )
{
    body{
        width: 1000px;
    }

    body:before{
        background-position: center;
    }

    #foot{
        width: 928px;
        padding: 24px 36px 12px 36px;
        margin: 0 auto;
    }

    #foot2{
        position: fixed;
        padding: 24px 24px 12px;
        bottom: 0;
    }

    .list{
        height: 1020px;
        width: 980px;
        margin: 10px 10px 50px;
    }
    
    .Slist{
        height: 1040px;
        width: 980px;
        margin: 10px 10px 50px;
    }

    .Hlist{
        height: 825px;
        width: 980px;
        margin: 10px 10px 50px;
    }

    .name490{ display: none; }

    .name980{
        display: block;
        bottom: -20px;
    }

    .Hname{
        width: 980px;
        font-size: 45px;
        bottom: 100px;
    }
    
    .Sname{
        font-size: 45px;
        bottom: 0;
    }
}
