﻿body {
    font-size: 16px;
    font-family: "Mplus 1p", verdana,Tahoma,arial,sans-serif,osaka;
    color: #444444;
}

a {
    text-decoration: underline;
}

    a:link {
        color: #444444;
    }

    a:active {
        color: #444444;
    }

    a:visited {
        color: #444444;
    }

@media only screen and (min-width: 480px) {
    a:hover {
        color: #cccccc;
        text-decoration: none;
    }
}




/******　headline　******/

h2 {
    margin-bottom: 10px;
    margin-left: 5px;
    padding: 5px 5px 5px 10px;
    width: 100%;
    text-align: left;
    color: #05437e;
    font-size: 120%;
    font-weight: normal; 
    letter-spacing: 3px;
    font-family: "Mplus 1p", 'courier new','century gothic',verdana,Tahoma,arial,sans-serif,osaka;
    border-left: 5px solid #aaaaaa;
}

.fa-headline{
    font-size: 76%; 
    font-weight: 100;
}
/******　usefulItem　******/

#usefulButton{
    margin: 30px auto 0px;    
    position: relative;
    width: 100%;
    max-width: 960px;
    text-align: right; 
    font-size: 110%;
    z-index: 900;  
}


    #usefulButton li {
        margin-left: 3px;
        display: block;
        float: right;
        padding: 0;
    }

        #serchButton a {
            display: block;
            height: 32px;
            right: 10px;
            text-align: center;
            margin: 0px 0px 0px auto;
            padding: 5px 0px 0px 0px;
            width: 50px;
            border-radius: 17px;
            color: #444444;
            text-decoration: none;
            background: #fffabf;
        }

    #serchButton a:hover {
        background: #fffcde;
    }

#serch-boxField {
    display: none;
    position: absolute;
    top: 40px;
    right: 0px;
    border-radius: 17px;
    background: #fffcde;
    margin: 3px 10px 0px auto;
    padding: 5px 25px 5px 5px;
    width: 370px;
    opacity: 0.9;
}
    #serch-box{
        /*width: 370px;
        margin-left: auto;*/
        text-align: right; 
    }

    #serchSubmit{
        
    }

#nowLang a{
    display: block;
    margin: 0px 0px 0px auto;
    text-align: center;
    padding: 5px 0px 0px 0px;
    width: 70px;
    height: 32px;
    right: 10px;
    border-radius: 17px;
    color: #444444;
    text-decoration: none;
    background: #fffabf;
}

    #nowLang a:hover {
        background: #fffcde;
    }    

#selLang-arrow{
    font-size: 76%; 
    font-weight: 100;
}

#selLang-box{
    display: none;
    position: absolute;
    top: 40px;
    right: 53px;
    border-radius: 17px;
    background: #fffcde;
    margin: 3px 10px 0px auto;
    padding: 5px 15px 5px 0px;
    width: 75px;
    opacity: 0.9;
}

#selLang-box li{
    display: block;   
    float: none;
}

@media only screen and (max-width: 768px) {

    #serch-boxField{
        width: 60%;
    }
}

@media only screen and (max-width: 480px) {

    #serch-boxField {
        width: 80%;
    }
}

/******　title　******/

#title {
    margin: 0px auto 0px;
    position: relative;
    padding: 30px 0px 20px;
    width: 100%;
    max-width: 960px;
}

#titleName {
    display: block;
    text-align: left;
    font-size: 270%;
    font-family: "Mplus 1p", verdana,Tahoma,arial,sans-serif,osaka;
    text-decoration: none;
}

/******　menu　******/

#menu-box {
}

#menu {
    width: 100%;
    position: relative;
    max-width: 960px;
    margin: 0px auto 0px;
    padding: 0;
}

    #menu li {
        display: block;
        float: left;
        width: 25%;
        margin: 0;
        padding: 0;
    }

        #menu li a {
            display: block;
            padding: 12px 0 10px;
            border-bottom: 1px solid #AFE6E2;
            border-radius: 13px;
            background: #9FD6D2;
            color: #fff;
            text-align: center;
            font-size: 100%;
            font-family:  "Sawarabi Mincho", verdana,Tahoma,arial,sans-serif,osaka;
            text-decoration: none;
        }

            #menu li a:hover {
                background: #AFE6E2;
            }

#toggle {
    display: none;
}

@media only screen and (max-width: 768px) {
    #menu li {
        width: 25%;
    }
}

@media only screen and (max-width: 480px) {
    #menu {
        display: none;
    }

        #menu li {
            width: 100%;
            float: none;
        }

            #menu li a {
                padding: 24px 0 20px;
                font-size: 120%;
                border-radius: 26px;
            }

    #toggle {
        display: block;
        position: relative;
        width: 100%;
        border-bottom: 1px solid #AFE6E2;
        border-radius: 26px;
        background: #9FD6D2;
    }

        #toggle a {
            display: block;
            position: relative;
            padding: 24px 0 20px;
            color: #ffffff;
            font-size: 120%;
            font-family:  "Mplus 1p", verdana,Tahoma,arial,sans-serif,osaka;
            text-align: center;
            text-decoration: none;
        }

        #toggle:before {
            display: block;
            content: "";
            position: absolute;
            top: 50%;
            left: 10px;
            width: 30px;
            height: 30px;
            margin-top: -15px;
            background: #ffffff;
        }

        #toggle a:before, #toggle a:after {
            display: block;
            content: "";
            position: absolute;
            top: 50%;
            left: 10px;
            width: 30px;
            height: 6px;
            background: #9FD6D2;
        }

        #toggle a:before {
            margin-top: -9px;
        }

        #toggle a:after {
            margin-top: 3px;
        }
}


/******　note　******/

.note {
    display: block;
    position: relative;
    margin: 55px auto 5px;
    padding: 30px 0px 15px;
    border-radius: 26px;
    width: 100%;
    max-width: 960px;
    text-align: left;
    font-size: 78%;
    font-family: "Mplus 1p", Tahoma,verdana,'ms ui gothic','ＭＳ Ｐゴシック',osaka;
    line-height: 170%;
    letter-spacing: 1px;
    background: #eeffbc;
}

    .note div {
        margin: 0px 80px 30px 50px;
    }

@media only screen and (max-width: 480px) {
    .note {
        margin: 10px auto 5px;
        padding: 30px 0px 5px;
        font-size: 100%;
    }

        .note div {
            margin: 0px 15px 30px 40px;
        }
}



.note ul {
    list-style-image: none;
    list-style-type: none;
}


.note li {
    display: block;
    border-bottom: 1px dotted #999999;
}

.note h2 {
    margin-left: 15px;
}

.worksLists li{
    border-bottom: none;
}

.worksLists a:hover {
    color: #444444;
}


/******　footer　******/

#pageTop {
    position: fixed;
    bottom: 5px;
    right: 20px;
}

    #pageTop a {
        margin-left: 15px;
        display: block;
        z-index: 999;
        padding: 8px 4px 0px;
        border-radius: 35px;
        width: 35px;
        height: 35px;
        background-color: #9FD6D2;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
    }

        #pageTop a:hover {
            text-decoration: none;
            opacity: 0.7;
        }

            #pageTop a:hover + span {
                text-decoration: none;
                opacity: 0.7;
            }

    #pageTop span {
        text-align: right;
        color: #9FD6D2;
    }

#copy {
    margin: 5px auto 0px;
    width: 100%;
    max-width: 960px;
    text-align: center;
    font-size: 60%;
    font-family: verdana,Tahoma,arial,sans-serif,osaka;
}

@media only screen and (max-width: 480px) {
    #copy {
        font-size: 78%;
    }
}
