/*-----ベース-----*/


/*
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
*/

body {
    background: #ffffff url(../images/bg.jpg) no-repeat left top fixed;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #504e4a;
    line-height: 2;
    position: relative;
}

body:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/pt.png) repeat;
    background-size: 100px;
    opacity: 0.2;
    z-index: 0;
}

h1,
h2,
h3 {
    font-weight: bold;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.3em;
}

a {
    text-decoration: none;
    color: #57903e;
    border-bottom: 1px dotted;
}

a:hover {
    color: #1b1b1b;
    text-decoration: none;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

img {
    max-width: 100%;
}

#wrapper {
    margin: 0 auto;
    padding: 0;
}


/* Header */

#header-wrapper {
    height: 100px;
    background: #3C3230;
    border-bottom: 10px solid #4F4440;
}

#header {
    margin: 0 auto;
}


/* Logo */

#logo {
    margin: 0;
    padding: 30px 0;
    color: #34312C;
    background: #000000 url(../images/pt.png) repeat;
    position: relative;
    background-size: 90px;
}

#logo h1 {
    margin: 0;
    font-size: 2.3em;
    text-align: center;
    text-transform: lowercase;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#logo a:hover {
    color: #000000;
    text-shadow: 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff, 0 0 2px #ffffff;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

#logo p {
    margin: 0px;
    padding: 0px;
    font-size: 30px;
}

#logo a {
    border: none;
    background: none;
    text-decoration: none;
    color: #fff;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
    text-shadow: 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000;
}

.splash {
    background: #000000;
    position: relative;
    padding: 10px 0;
}

.splash:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(../images/pt.png) repeat;
    z-index: 0;
    opacity: 0.6;
}

.splash .in-splash {
    position: relative;
    border: 3px solid #ffffff;
}
.splash .in-splash img{
    min-height: 375px;
}

/* Menu */

#menu {
    padding: 0;
}

#menu ul {
    margin: 0;
    list-style: none;
    line-height: normal;
}

#menu li {
    margin-bottom: 7px;
}

#menu a {
    display: block;
    border: 0;
    margin: 0px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    /* box-shadow: inset 0 0 6px #293304; */
    background: rgba(0, 0, 0, 0.32);
    position: relative;
}

#menu a:before {
    content: '';
    position: absolute;
    top: 28%;
    left: -8px;
    height: 0;
    border-style: solid;
    width: 0;
    background: transparent;
    border-width: 8px;
    transform: rotate(45deg);
    border-color: #5f5f5f #fcfcfc #636363 #fff;
    box-shadow: 0px 0px 1px #333;
}

#menu a:hover,
#menu a.active {
    text-decoration: none;
    background: #525151 url(../images/pt.png) repeat;
    color: #56bb32;
    background-size: 80px;
    box-shadow: inset 0px 0px 0px 2px #fff;
}

.cv-menu {
    display: none;
    position: relative;
    height: 26px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.cv-menu span {
    height: 4px;
    background: #fff;
    width: 30px;
    display: table;
    margin-top: 11px;
}

.cv-menu span:before,
.cv-menu span:after {
    content: '';
    position: absolute;
    background: #fff;
    width: 30px;
    height: 4px;
}

.cv-menu span:before {
    top: 0;
}

.cv-menu span:after {
    bottom: 0;
}


/* Page */

#page {
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
}

#page-bgtop {}

#page-bgbtm {
    background: #fff;
    padding: 40px 0;
}


/* Content */

#content {}

#content .in-content {
    margin-bottom: 30px;
    padding: 10px;
    background: #fff;
    background-size: 100px;
}

.post {
    margin-bottom: 40px;
}

.post .title {
    padding: 0px 0px 10px 0px;
    text-transform: lowercase;
    border-bottom: 3px double;
    display: table;
}

.post .title a {
    color: #E44D32;
    border: none;
}

.post {
    margin-bottom: 20px;
    display: table;
    width: 100%;
}

.sub-post {
    background: url(../images/pt.png) repeat;
    padding: 10px;
    color: #ccc;
    margin-bottom: 30px;
    box-shadow: inset 0 0 5px #333;
}
.sub-post a:hover{
    color: #fff;
}
#sidebar .sub-post .post {
    background: #fff;
    padding: 10px;
    background-size: 80px;
}

.links {
    padding-top: 20px;
    font-size: 12px;
    font-weight: bold;
}

.oimg {
    max-width: 35%;
    width: 35%;
    margin-right: 15px;
    margin-bottom: 15px;
    float: left;
}

.twoCol .oimg {
    max-width: 50%;
    width: 50%;
}

.threeCol .oimg {
    float: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.more a {
    position: relative;
    padding: 5px 30px;
    border: 2px dotted #ffffff;
    background: #383838 url(../images/pt.png) repeat;
    font-weight: bold;
    background-size: 80px;
    color: #ffffff;
}

.more a:before,
.more a:after {
    position: absolute;
    top: 0;
    bottom: 0;
    border-style: solid;
    border-width: 13px;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

.more a:before {
    left: 0;
    border-color: transparent transparent transparent #449bfb;
}

.more a:after {
    right: 0;
    border-color: transparent #485616 transparent transparent;
}

.more a:hover:before {
    left: 10px;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

.more a:hover:after {
    right: 10px;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

.more:hover a,
.more a:hover {
    color: #fff;
    background: #63775a;
}


/* Sidebar */

#sidebar {
    margin: 0px;
}

#prlinks {
    background: #333 url(../images/pt.png) repeat;
    text-align: center;
    padding: 20px 0;
}

#prlinks ul {
    margin: 0px 0px;
    list-style: none;
    padding: 0;
    padding-bottom: 30px;
}

#prlinks li {
    line-height: 35px;
    border-left: none;
    padding: 2px 0;
    margin-bottom: 15px;
    background: #fff;
    border: 2px solid #2d2d2d;
    box-shadow: 1px 1px 1px #333;
}

#prlinks li a:hover {}

#prlinks h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    background: #ffffff;
    letter-spacing: 0.1em;
    padding: 10px;
    box-shadow: 1px 1px 1px #333;
    text-shadow: 0 0 0.2px #000;
}


/* Footer */

#footer {
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    padding: 30px 0;
    background: #000000;
}

#footer p {
    line-height: normal;
    font-size: 0.9em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

#footer a {}

#footer a:hover {
    color: #fff;
}

@media only screen and (max-width: 991px) {
    #logo h1 {
        font-size: 1.7em;
    }
    #menu .cv-menu {
        display: table;
        z-index: 1000;
        cursor: pointer;
    }
    #menu .cv-menu.focus span {
        background: transparent;
    }
    #menu .cv-menu span:before,
    #menu .cv-menu span:after {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: transform 0.3s, top 0.2s, bottom 0.2s;
        -o-transition: transform 0.3s, top 0.2s, bottom 0.2s;
        transition: transform 0.3s, top 0.2s, bottom 0.2s;
    }
    #menu .cv-menu.focus span:before {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: transform 0.3s, top 0.2s;
        -o-transition: transform 0.3s, top 0.2s;
        transition: transform 0.3s, top 0.2s;
        top: 45%;
    }
    #menu .cv-menu.focus span:after {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: transform 0.3s, bottom 0.2s;
        -o-transition: transform 0.3s, bottom 0.2s;
        transition: transform 0.3s, bottom 0.2s;
        bottom: 45%;
    }
    #menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        margin-top: 0;
        padding: 4px;
        background: #282729;
    }
    #menu ul {
        display: block;
        visibility: hidden;
        left: -150px;
        opacity: 0;
        -webkit-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        transition: all ease-in 0.3s;
        position: fixed;
        z-index: 100;
        top: 0;
        bottom: 0;
        padding-top: 40px;
        background: #272727;
    }
    #menu ul.open {
        opacity: 1;
        left: 0;
        visibility: visible;
        -webkit-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        transition: all cubic-bezier(0, -0.71, 0.88, 0.92) 0.3s;
    }
    #menu li {
        float: none;
        display: block;
        margin-left: -50px;
        -webkit-transition: all ease-in 0.4s;
        -o-transition: all ease-in 0.4s;
        transition: all ease-in 0.4s;
    }
    #menu a:before,
    #menu a:after {
        display: none;
    }
    #menu li a:hover,
    #menu li a.active {
        /* background: #39737d; */
        color: #ffffff;
    }
    #menu ul.open li {
        margin-left: 0;
        -webkit-transition: all ease-in 0.4s;
        -o-transition: all ease-in 0.4s;
        transition: all ease-in 0.4s;
    }
    #menu ul.open li:nth-child(1) {
        -webkit-transition-delay: 0ms;
        -o-transition-delay: 0ms;
        transition-delay: 0ms;
    }
    #menu ul.open li:nth-child(2) {
        -webkit-transition-delay: 66ms;
        -o-transition-delay: 66ms;
        transition-delay: 66ms;
    }
    #menu ul.open li:nth-child(3) {
        -webkit-transition-delay: 133ms;
        -o-transition-delay: 133ms;
        transition-delay: 133ms;
    }
    #menu ul.open li:nth-child(4) {
        -webkit-transition-delay: 200ms;
        -o-transition-delay: 200ms;
        transition-delay: 200ms;
    }
    #menu ul.open li:nth-child(5) {
        -webkit-transition-delay: 260ms;
        -o-transition-delay: 260ms;
        transition-delay: 260ms;
    }
    #menu ul.open li:nth-child(6) {
        -webkit-transition-delay: 310ms;
        -o-transition-delay: 310ms;
        transition-delay: 310ms;
    }
    #menu ul.open li:nth-child(7) {
        -webkit-transition-delay: 350ms;
        -o-transition-delay: 310ms;
        transition-delay: 310ms;
    }
    #menu ul.open li:nth-child(8) {
        -webkit-transition-delay: 390ms;
        -o-transition-delay: 310ms;
        transition-delay: 310ms;
    }
    #menu li a {
        display: block;
        font-size: 1em;
        width: 100%;
        background: transparent;
    }
    .oimg,
    .twoCol .oimg,
    .threeCol .oimg {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
        max-width: 50%;
        width: 50%;
    }
    .splash .in-splash img{
        min-height: auto;
    }
}

@media only screen and (max-width: 991px) and (max-height: 320px) {
    #menu ul {
        overflow-y: scroll;
    }
}

@media only screen and (max-width: 768px) {
    #logo h1 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 600px) {
    .oimg,
    .twoCol .oimg,
    .threeCol .oimg {
        float: none;
        margin-right: 0px;
        margin-bottom: 0px;
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    #logo h1 {
        font-size: 1.3em;
    }
}

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