@charset "UTF-8";

/* CSS Document */

html {
    
    font-family: '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
    
    /*
    font-family: '游ゴシック', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo,　sans-serif　;
    */
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

body{
    
}

#header .inner ul li,
#footer .blog li
{
    font-weight: bold;
}

/*
#gmenu ul li,
#footer .com li,
#footer #copy,
#categoryMenu,
#listContainer{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
}
*/

/*------------------------ header -------------------------------*/
#header{
    min-width: 1000px;
    width: 100%;
    border-top: 3px solid #000000; 
    border-bottom: 1px solid #dcdcdc;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

#header .inner{
    width: 1000px;
    height: 103px;
    margin: 0 auto;
    position: relative;
}

#header .inner #logoText{
    position: absolute;
    top: 27px;
    left: 0px;
}

#logoText svg {
    width: 138px;
}

#header .inner ul {
    display: flex;
	justify-content: center;
    padding-top: 31px;
}

#header .inner ul li {
    font-size: 12px;
    margin-left: 18px;
}

#header .inner ul li:first-child {
    margin-left: 0;
}

#header .inner ul li a:hover {
    color: #7f7f7f;
}

#header .inner #search {
    position: absolute;
    right: 0;
    top: 31px;
    height: 34px;
    width: 200px;
    background: url(../img/search_bg.png) repeat-x;
}

#header .inner #search input {
    width: 165px;
    height: 32px;
    font-size: 18px;
    border: 0;
    background-color: transparent;
}

#header .inner #search input:focus {
    outline:none;
}

#header .inner #search a img {
    width: 25px;
    height: 25px;
}



/*------------------------ global menu -------------------------------*/
#gmenu{
    position: relative;
    background-color: #fff;
    width: 1000px;
    margin: 0 auto;
}

#gmenu ul{
    display: flex;
    overflow: hidden;
}

#gmenu ul li{
    height: 22px;
    font-size: 12px;
    margin-left: 23px;
    padding-bottom: 10px;
}

#gmenu ul li a{
    display: block;
    height: 29px;
    border-bottom-style: solid;
    border-bottom-width: 0;
}

#gmenu ul li:first-child{
    margin-left: 0;
}

/* menu color */
#gmenu ul li.g1 a{border-bottom-color:#000000;}
#gmenu ul li.g2 a{border-bottom-color:#e60000;}
#gmenu ul li.g3 a{border-bottom-color:#47a0f0;}
#gmenu ul li.g4 a{border-bottom-color:#ffc800;}
#gmenu ul li.g5 a{border-bottom-color:#96c800;}
#gmenu ul li.g6 a{border-bottom-color:#ff65a0;}
#gmenu ul li.g7 a{border-bottom-color:#8c51a0;}
#gmenu ul li.g8 a{border-bottom-color:#00796f;}
#gmenu ul li.g9 a{border-bottom-color:#a0966f;}
#gmenu ul li.g10 a{border-bottom-color:#a0a0a0;}
#gmenu ul li.g11 a{border-bottom:#FFFFFF 3px solid;}

#gmenu ul li.selected a{
    border-bottom-width: 3px !important;
}

#gmenu ul li a:hover{
    color: #7f7f7f;
    border-bottom-width:3px;
}


/*------------------------ category menu -------------------------------*/
#categoryMenu{
    width: 100%;
    height: 45px;
    border-top: 3px solid #ffffff;
    position: fixed;
    top: 139px;
    left: 0;
    z-index: 101;
}

#categoryMenu ul{
    /*
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    */

    overflow: hidden;
    text-align: center;
    width: 100%;
    margin:0 auto;
    height: 45px;
}

#categoryMenu ul li{
    display: inline-block;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 11px;
 
    margin-left: 27px;
    padding-bottom: 10px;
    line-height: 45px;
    color: #ffffff;
}

#categoryMenu ul li a{
    color:#ffffff;
}

#categoryMenu ul li.selected a{
    color:#a0a0a0;
}

#categoryMenu ul li a:hover{
    color:#000000;
}

#categoryMenu ul li.selected{
    color: #000000;
}

#categoryMenu ul li:first-child{
    margin-left: 0;
}

.categoryArt      {background-color: #e60000;}
.categoryArt ul   {width: 490px;}
.categoryDesign   {background-color: #47a0f0;}
.categoryDesign ul{width: 752px;}
.categoryComic    {background-color: #ffc800;}
.categoryComic ul {width: 295px;}
.categoryUtil     {background-color: #96c800;}
.categoryUtil ul  {width: 337px;}
.categoryHobby    {background-color: #8c51a0;}
.categoryHobby ul {width: 340px;}
.categoryBuild    {background-color: #00796f;}
.categoryBuild ul {width: 340px;}
.categoryVisual   {background-color: #a0966f;}
.categoryVisual ul{width: 415px;}
.categoryOther    {background-color: #a0a0a0;}
.categoryOther ul {width: 280px;}
.categorySub{background-color: #000000;}
.categorySub ul {width: 280px;}
.categorySub ul li.selected, .categorySub ul li a:hover{
    color: #a0a0a0 !important;
}




/*------------------------ footer -------------------------------*/

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

#footer .blog{
    display: flex;
	justify-content: center;
    margin: 0 auto 26px;
}

#footer .blog li{
    margin-left: 18px;
}

#footer .blog li:first-child{
    margin-left: 0 ;
}

#footer .blog li img {
    height: 38px;
}

#footer li{
    float: left;
    font-size: 11px;
}

#footer hr{
    height: 0;
    border: 0;
    border-top: 3px solid #000000;
    margin-bottom: 35px;
}


#footer .com {
/*    padding-bottom: 15px;*/
}
#footer .com li{
    margin-left: 9px;
}

#footer .com li:first-child{
    margin-left: 0 ;
}

#footer .com li{
    line-height: 22px;
}

#footer #copy{
    padding-bottom: 13px;
    float: right;
    font-size: 10px;
    line-height: 22px;
}


#footer a:hover{
    color: #7f7f7f;
}

#totop {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 2px;
}

#totop:hover{
    opacity: 0.5;
}

.display-pc {
    display: block !important;
}

.display-sp {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .display-pc {
        display: none !important;
    }
    
    .display-sp {
        display: block !important;
    }

    body{
        overflow-x: hidden;
    }

    #header{
        overflow: hidden;
        width: 100%;
        min-width: 100%;
        border-top: 3px solid #000000;
        border-bottom: 2px solid #dcdcdc;
    }
    
    #header .inner{
        width: 100%;
        height: 109px;
    }
    
    #header .inner #logoText{
        top: 18px;
        left: 15px;
    }

    #header .inner ul li{
        margin-left: 18px;
    }

    #logoText svg {
        width: 90px;
    }

    #header .inner ul{

    }

    #header .inner ul li{
        font-size: 10px;
    }

    #header .inner ul li:first-child{
        margin-left: -12px;
    }
    
    /*------------------------ category menu -------------------------------*/
    #categoryMenuContainer{
        position: relative;
        border: 1px solid #ff0000;  
        width: 100%;
        min-width: 100%;
    }

    #categoryMenu {
        width: 100%;
        height: 40px;
        top: 139px;
        margin: 0;
        border-top: 3px solid #ffffff;
    }

    #categoryMenu ul{
        justify-content: start;
        height: 40px;
        margin: 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    #categoryMenu ul li{
        font-size: 10px;
        line-height: 40px;
        padding-bottom: 0px;
    }

    #categoryMenu ul li:first-child{
        margin-left: 24px;
    }

    #categoryMenu ul li:last-child{
        margin-right: 24px;
    }

    /*------------------------ global menu -------------------------------*/

    #gmenu{
        position: relative;
        width: 100%;
        height: 26px;  
        margin: 0;
    }

    #gmenu ul {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    #gmenu ul li{
        height: 26px;  
        font-size: 10px;
        margin: 0 12px;
        padding-bottom: 3px;
    }

    #gmenu ul li:first-child{
        margin-left: 24px;
    }

    #gmenu ul li:last-child{
        margin-right: 24px;
    }

    #gmenu ul li a{
        height: 23px;
    }

    #gmenu ul li.selected a{
        border-bottom-width: 3px !important;
    }
    
    #gmenu ul li a:hover{
        border-bottom-width:3px;
    }

    #header .inner #search{
        right: 13px;
        top: 20px;
        height: 21px;
        width: 120px;
        background: url(../img/search_bg_sp.svg) repeat-x;
        background-size:cover;
    }
    
    #header .inner #search input{
        vertical-align: top;
        width: 100px;
        height: 20px;
        font-size: 12px;
        border: 0;
        background-color: transparent;
    }
    
    #header .inner #search a img {
        vertical-align: top;
        width: 15px;
        height: 15px;
    }

    #footer{
        width:100%;
        box-sizing: border-box;
        padding:0 20px;
    }

    #footer .blog{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin: 0 auto 26px;
    }
    
    #footer .blog li{
        margin: 7px 14px 7px 0;
    }

    #footer .blog li:first-child{
        margin: 7px 14px 7px 0;
    }

    #footer .blog li img {
        height: 35px;
    }

    #footer li{
        float: none;
    }

    #footer hr{
        margin-bottom: 27px;
    }

    #footer .com {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    #footer .com li{
        margin: 5px 12px 5px 0;
    }

    #footer .com li:first-child{
        margin: 5px 12px 5px 0;
    }
        
    #footer .com li{
        font-size: 12px;
        line-height: 12px;
    }
        
    #footer #copy{
        float: none;
        margin: 20px auto;
        text-align: center;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 767.98px) {
    #header .inner ul{
        padding: 70px 0 0 0;
    }
    
    /*
    #categoryMenu{
        width: 100%;
        height: 40px;
        top: 139px;
        margin: 0;
        border-top: 3px solid #ffffff;
    }
    */
}
