/*
Theme Name: shk
Theme URI: https://shk.lu
Description: shk's theme'
Version: 1.1
Author: hrktrmt
Author URI: https://shk.lu/h/
*/

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

a,
p,
li,
body {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0 0 0 2rem;
    padding: 0;
}

hr {
    border: 0;
    border-top: 1px dotted #bbb;
}

html {
    width: 100%;
    height: 100%;
}

body {
    background-color: rgb(244, 244, 244);
}

.site-container {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    min-height: 100%;
}

.site-content {
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    min-height: 100%;
}

.top-title {
    padding-top: 40px;
    height: 50px;
    text-align: center;
}

nav,
main {
    float: left;
}

nav {
    right: 10px;
    width: 50%;
}

.nav {
    padding-top: 1.6rem;
}

.top-nav {
    padding-top: 30px;
}

.sns-nav ul li:last-child {
    padding-bottom: 20%
}




/* :::::: toggle button :::::: */

#navTgl {
    display: none;
}

label.open,
label.close {
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
}

.open {
    z-index: 2;
    width: 50px;
    height: 50px;
    color: black;
    font-size: 2em;
    line-height: 50px;
    text-align: center;
    -webkit-transition: background-color .3s, -webkit-transform .3s;
    transition: background-color .3s, transform .3s;
}

#navTgl:checked + .open {
    -webkit-transform: translateX(250px);
    transform: translateX(250px);
}

.close {
    pointer-events: none;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: background-color .3s;
}

#navTgl:checked ~ .close {
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

/* :::::: drawer menu :::::: */

nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: rgb(244, 244, 244);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform .3s;
    transition: transform .3s;
    overflow: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
}

nav::-webkit-scrollbar {
    display: none;
}

#navTgl:checked ~ nav {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}


nav div {
    padding: 1rem 10%;
    transition: background-color .3s;
}

/*---------------------------*/

main {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 30px);
    height: auto !important;
    height: calc(100vh - 30px);
    /*padding-top: 5%;*/
}

@media only screen and (min-width: 600px) {

    .top-title {
        display: none;
    }

    label.open,
    label.close {
        display: none;
    }

    nav {
        position: relative;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        width: 30%;
        max-width: 300px;
    }

    main {
        padding-top: 0 !important;
        width: 70%;
    }
}


.proj-container {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
    text-align: center;
}

.projects {
    width: 100%;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: left;
}

.tag-title {
    width:100%;
    margin:0 10px;
    margin-top: 35px;
}

.proj-box-multiple {
    width: 100%;
    text-decoration: none;
}

@media only screen and (min-width: 600px) {
    .proj-box-multiple {
        width: 50%;
    }
}

@media only screen and (min-width: 800px) {
    .proj-box-multiple {
        width: calc(100%/3);
    }
}

.proj-box-inner {
    padding: 20px 10px;
}

.proj-title {
    text-align: left;
    padding-top: 20px;
}

.proj-img {
    width: 100%;
}

.proj-box img,
.proj-box p a img,
.proj-box p img {
    width: 100%;
    height: auto;
}

img {
    width: 100%;
    height: auto;
    border: none !important;
}

#gallery-1 .gallery-item {
    margin: 0 !important;
}

iframe {
    width: 100%;
}

.nivo-lightbox-theme-default.nivo-lightbox-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
}

.nivo-lightbox-theme-default .nivo-lightbox-close {
    visibility: hidden;
}

.nivo-lightbox-theme-default .nivo-lightbox-prev,
.nivo-lightbox-theme-default .nivo-lightbox-next {
    background-size: 30%;
}

.nivo-lightbox-theme-default .nivo-lightbox-title {
    background: none !important;
}

.proj-text {
    text-align: left;
    padding: 30px 0;
}

textarea{
	width:100%;
}

.back-to-top {
    text-align: center;
}

#footer {
    position: absolute;
    width: 100%;
    margin-top: 0;
    padding-bottom: 15px;
    text-align: center;
    height: 35px;
    bottom: 0;
}

.restricted {
    pointer-events: none;
}

/* Typography
------------------------------ */

h1,
h2,
h3,
p,
li,
a {
    margin: 0;
}

h1 {
    font-size: 2.4rem;
    line-height: 1.35;
    letter-spacing: -.08rem;
}

h2 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

h3 {
    font-size: 1.4rem;
    line-height: 1.5;
}

p,
li,
a {
    font-size: 1.3rem;
}

small {
    font-size: 1.1rem;
}

/* Larger than phablet */

@media (min-width: 550px) {
    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    p,
    li,
    a {
        font-size: 1.4rem;
    }

    small {
        font-size: 1.0rem;
    }
}

html {
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 62.5%;
    font-family: 'TsukuARdGothic-Regular', 'Avenir', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', YuGothic, 'Yu Gothic', Meiryo, メイリオ, Osaka, sans-serif;
    word-wrap: break-word;
    width: 100%;
    color: #3e4141;
}


@font-face {
    font-family: playgnd;
    src: url(https://shk.lu/wp-content/themes/shk/fonts/playgnd.woff) format("woff"), url(https://shk.lu/wp-content/themes/shk/fonts/playgnd.ttf) format("opentype");
}

@font-face {
    font-family: tsubureji;
    src: url(https://shk.lu/wp-content/themes/shk/fonts/tsu-bu-re-ji_font.ttf) format("opentype");
}

a {
    color: #989898;
}

.top-title a {
    color: #3e4141;
}

nav div a {
    color: #3e4141;
}

.nav ul li a,
.clear-dec {
    text-decoration: none;
}

.nav ul li a:hover,
.clear-dec:hover {
    text-decoration: underline;
}

.proj-box-multiple:hover {
    background-color: rgba(0, 0, 0, 0.03);
    filter: alpha(opacity=70);
    opacity: 0.7;
}

li {
    list-style: none !important;
    line-height: 1;
    padding-top: 1rem;
}

.proj-box {
    color: #3e4141;
}

.back-to-top {
    text-decoration: none;
    color: #3e4141;
}

.current {
    /*text-shadow: 0px 0px 5px rgba(255, 118, 0, 0.46);*/
    background-color: rgba(235, 255, 0, 0.6);
}

/* icon
------------------------------ */

.pg {
    font-family: playgnd;
    font-style: normal;
    font-weight: normal;
}

.pg-tw:before {
    content: "\74";

}

.pg-fb:before {
    content: "\66";
}

.pg-DM:before {
    content: "\4d";
}

.pg-ig:before {
    content: "\69";
}

.pg-竕｡:before {
    content: "\2261";
}

.pg-i:before {
    content: "\3f";
}

.pg-us:before {
    content: "\75";
}

.pg- + :before {
    content: "\2b";
}

.pg-窶ｦ:before {
    content: "\2026";
}

.tsubureji {
    font-family: tsubureji;
    font-style: normal;
    font-weight: normal;
    font-size: 4rem;
}
/*
------------------------------ */
