﻿/*-----ベース-----*/
body {
    margin: 0px;
    padding: 0px;
    background: #fff;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 14px;
    color: #545151;
    line-height: 2;
    background-color: rgb(255, 255, 255);
    /* background-image: url("https://www.transparenttextures.com/patterns/az-subtle.png"); */
}

.tech-btm {
    display: table;
}

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

h1 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

a {
    color: #444444;
    font-weight: bold;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
    /* color: #333; */
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
    /* background-color: #292929; */
    /* background-image: url("https://www.transparenttextures.com/patterns/absurdity.png"); */
}

img {
    max-width: 100%;
}


/*********************************************************************************/


/* Image Style                                                                   */


/*********************************************************************************/

.image {
    display: inline-block;
}

.image img {
    display: block;
    width: 100%;
}

.image-full {
    display: block;
    width: 100%;
    margin: 0;
}

.image-left {
    float: left;
    margin: 0 2em 2em 0;
}

.image-centered {
    display: block;
    margin: 0 0 2em 0;
}

.image-centered img {
    margin: 0 auto;
    width: auto;
}


/*********************************************************************************/


/* List Styles                                                                   */


/*********************************************************************************/

ul.style1 {}


/*********************************************************************************/


/* Social Icon Styles                                                            */


/*********************************************************************************/

ul.contact {
    margin: 0;
    padding: 2em 0em 0em 0em;
    list-style: none;
}

ul.contact li {
    display: inline-block;
    padding: 0em 0.30em;
    font-size: 1em;
}

ul.contact li span {
    display: none;
    margin: 0;
    padding: 0;
}

ul.contact li a {
    color: #FFF;
}

ul.contact li a:before {
    display: inline-block;
    background: #3f3f3f;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    text-align: center;
    color: #FFFFFF;
}

ul.contact li a.icon-twitter:before {
    background: #2DAAE4;
}

ul.contact li a.icon-facebook:before {
    background: #39599F;
}

ul.contact li a.icon-dribbble:before {
    background: #C4376B;
}

ul.contact li a.icon-tumblr:before {
    background: #31516A;
}

ul.contact li a.icon-rss:before {
    background: #F2600B;
}


/*********************************************************************************/


/* Button Style                                                                  */


/*********************************************************************************/

.button {
    display: inline-block;
    margin-top: 2em;
    padding: 1em 2em 1em 2em;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.90em;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.18);
    color: #7b4f40;
    background-color: #ffffff;
    /* background-image: url("https://www.transparenttextures.com/patterns/absurdity.png"); */
}

a.button:hover {
    /* border: 1px solid; */
    /* color: #232323; */
    text-decoration: underline;
}

.button:before {}


/*********************************************************************************/


/* 3-column                                                                      */


/*********************************************************************************/

.boxA,
.boxB,
.boxC {
    width: 384px;
    text-align: center;
}

.boxA h2,
.boxB h2,
.boxC h2 {
    margin-bottom: 1em;
    font-weight: 600;
    font-size: 1.6em;
}

.boxA p,
.boxB p,
.boxC p {
    padding: 0em 1.5em;
}

.boxA,
.boxB {
    float: left;
    margin-right: 20px;
}

.boxC {
    float: right;
}


/*********************************************************************************/


/* Header                                                                        */


/*********************************************************************************/

#header {
    position: relative;
    background: #dddee0;
    /* padding-bottom: 25px; */
}


/*********************************************************************************/


/* Logo                                                                          */


/*********************************************************************************/

#logo {
    margin: 0 auto;
    text-transform: uppercase;
    background: rgb(255, 255, 255);
}

#logo h1 {
    margin: 0;
    text-align: center;
}

#logo a {
    text-decoration: none;
    line-height: 1.7;
    display: -webkit-inline-box;
    margin: 26px 0;
    text-align: left;
    /* position: relative; */
    font-size: 22px;
    color: #464646;
    /* background: rgb(38, 38, 38); */
    border-radius: 10px;
    border-left: 4px double #7b4f40;
    border-right: 4px double #7b4f40;
    padding: 4px 20px;
}

#logo a:hover {
    opacity: 0.7;
}


/*********************************************************************************/


/* Menu                                                                          */


/*********************************************************************************/

#menu {display: table;margin: auto;width: 100%;background: rgb(123, 79, 64);border-top: 1px solid rgba(0, 0, 0, 0.08);}

#menu ul {
    display: table;
    padding: 1px 0;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

#menu li {
    display: block;
    float: left;
    text-align: center;
    /* padding-right: 8px; */
}

#menu li:before {
    /* content: ""; */
    font-weight: 700;
    height: 100%;
    width: 100%;
    background: #8dc63f;
    left: 0;
    top: 50%;
    border-left: 1px solid #fff;
    -webkit-transform: translateY(-50%) skewX(-20deg);
    -ms-transform: translateY(-50%) skewX(-20deg);
    -o-transform: translateY(-50%) skewX(-20deg);
    transform: translateY(-50%) skewX(-20deg);
    position: absolute;
    color: rgba(0, 0, 0, .6);
}

#menu li a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1em;
    color: rgb(255, 255, 255);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 160px;
    /* box-shadow: inset 0 0 10px #000000; */
    border-left: 1px dotted #fff;
}

#menu li a:hover,
#menu li a.active {
    /* color: #232323; */
    text-decoration: underline;
    background: transparent;
}

#menu .icon {}

.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;
}

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

#menu .cv-menu:before {
    top: 0;
    left: -15px;
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
}

#menu .cv-menu:after {
    top: 0;
    right: -15px;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
}

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

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


/** PAGE */

.page {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}


/*********************************************************************************/


/* Banner                                                                        */


/*********************************************************************************/

#banner {
    /* background: rgba(0, 0, 0, 0.24); */
    background-size: cover;
    /* border-top: 1px solid rgba(0, 0, 0, 0.08); */
    padding: 2em 0;
    position: relative;
}


/*********************************************************************************/


/* Page                                                                          */


/*********************************************************************************/

.page {
    position: relative;
    overflow: hidden;
    padding: 2em 0em;
}

.oimg {
    /* max-width: 35%; */
    /* width: 35%; */
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
    float: left;
}
.tech-btm .col-md-4 {
    padding: 0;
}
.twoCol .oimg {
    max-width: 50%;
    width: 50%;
}

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


/*********************************************************************************/


/* Content                                                                       */


/*********************************************************************************/

#content {}

.box {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border: 1px solid rgba(0, 0, 0, .1);
    width: 100%;
    display: table;
    padding-left: 10px;
    padding-right: 10px;
    background: rgb(255, 255, 255);
    background-image: url(https://www.transparenttextures.com/patterns/az-subtle.png);
}

.box p {
    margin-top: 10px;
}

.sub-post .title {
    width: 100%;
    margin: 0;
    padding: 1em 0;
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 1.5;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2em;
    color: #b77133;
    /* border-bottom: 5px solid #333a0d; */
}


/*********************************************************************************/


/* Sidebar                                                                       */


/*********************************************************************************/

#sidebar {}


/*********************************************************************************/


/* Footer                                                                        */


/*********************************************************************************/

#footer {}




/*********************************************************************************/


/* Featured                                                                      */


/*********************************************************************************/

#featured {
    overflow: hidden;
    padding: 2em 0em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#featured .align-left {
    float: left;
    width: 384px;
    padding-top: 1em;
    text-align: center;
}

#featured .fa {
    font-size: 14em;
    color: #8dc63f;
}

#featured .align-right {
    float: right;
    width: 792px;
    font-size: 1.4em;
}

#footer {
    text-align: center;
}

#footer h3 {}

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

#footer li {
    margin-bottom: 10px;
}

#footer a {}

#footer a:hover {
    color: #333;
}
/*********************************************************************************/


/* Copyright                                                                     */


/*********************************************************************************/

#copyright {
    text-align: center;
    overflow: hidden;
    padding: 2em 0em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.74);
    color: #ddd;
}

div#copyright a {
    color: #ffffff;
}

div#copyright a:hover {
    text-decoration: underline;
}

#copyright a {
    text-decoration: none;
}
#copyright a:hover {
}
.sub-post > div:last-child {
    /* border: none; */
}
.in-banner {
    /* border: 1px solid #e5e5d3; */
}
.in-banner img {
    width: 100%;
}
h1.h1-title {
    font-size: 1.5em;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    margin-top: 0;
    position: absolute;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.21);
    background-color: rgba(0, 0, 0, 0.42);
    width: 100%;
    top: 70%;
}
span.s-foot {
    font-size: 14px;
    font-weight: 600;
    line-height: 190%;
}
.sidebar-left ul li {
    display: table;
    clear: both;
    margin: 10px 0;
    width: 100%;
}
.sidebar-left ul li a {
    color: #3f4650;
    font-size: 13px;
}
.more.m1 {
    text-align: right;
}
.container {
    max-width: 960px;
}
.sidebar-left {
    display: table;
    width: 100%;
    margin: auto;
    background: #e7f1aa;
}
.sidebar-left ul {
    width: 100%;
}
#sub .more.m1 {
    margin-bottom: 20px;
}
#menu li:last-of-type a {
    border-right: 1px dotted #fff;
}



@media only screen and (max-width: 991px) {
    #sidebar-left {display: none;}
        .sub-post.n1 .more.m1 {
    text-align: center !important;
}
#menu li:last-of-type a {
    border-right: none;
}
    #logo a {
        text-decoration: none;
        line-height: 1.7;
        display: table;
        width: 100%;
        margin: 60px 0 10px 0;
        position: relative;
        text-align: center;
        font-size: 18px;
    }
    #logo h1 {
        margin-top: 45px;
        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);
        left: 0;
        -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: translateX(-30px);
        -ms-transform: translateX(-30px);
        -o-transform: translateX(-30px);
        transform: translateX(-30px);
        -webkit-transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        -o-transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        opacity: 0;
        /*top: 45%;*/
    }
    #menu .cv-menu.focus span:after {
        -webkit-transform: translateX(30px);
        -ms-transform: translateX(30px);
        -o-transform: translateX(30px);
        transform: translateX(30px);
        -webkit-transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        -o-transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        transition: transform 0.3s, bottom 0.2s, opacity 0.3s;
        opacity: 0;
        /*bottom: 45%;*/
    }
    #menu .cv-menu.focus:before {
        left: 0;
        top: 13px;
        opacity: 1;
        -webkit-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        transition: all ease-in 0.3s;
    }
    #menu .cv-menu.focus:after {
        right: 0;
        top: 13px;
        opacity: 1;
        -webkit-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        transition: all ease-in 0.3s;
    }
    #menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgb(123, 79, 64);
        z-index: 1000;
        margin-top: 0;
        padding: 10px;
    }
    #menu ul {
        display: block;
        visibility: hidden;
        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: -1%;
        left: 50%;
        right: -51%;
        padding-top: 50px;
        /* width: 100%; */
        background-color: rgb(156, 110, 94);
        background-image: url("https://www.transparenttextures.com/patterns/absurdity.png");
    }
    #menu ul.open {
        opacity: 1;
        visibility: visible;
        -webkit-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        transition: all ease-in 0.3s;
        -webkit-perspective: 500px;
        -moz-perspective: 500px;
        -ms-perspective: 500px;
        perspective: 500px;
    }
    #menu li {
        float: none;
        margin-left: 0;
        display: block;
        padding: 20px;
        -webkit-transform:rotateX(90deg);
        -ms-transform: rotateX(90deg);
        -o-transform: rotateX(90deg);
        transform: rotateX(90deg);
        -webkit-transition: all ease-in 0.4s;
        -o-transition: all ease-in 0.4s;
        transition: all ease-in 0.4s;
        -webkit-transform-origin: 100% 0;
        -moz-transform-origin: 100% 0;
        -ms-transform-origin: 100% 0;
        -o-transform-origin: 100% 0;
        transform-origin: 100% 0;
    }
    #menu a:before,
    #menu a:after,
    #menu a span:before,
    #menu a span:after {
        display: none;
    }
    #menu li a:hover,
    #menu li a.active {
        background: #2d2d2d;
        color: #8dc63f;
    }
    /*#menu ul li:nth-child(1),
    #menu ul li:nth-child(3) {
        -webkit-transform: translateX(-50px);
        -ms-transform: translateX(-50px);
        -o-transform: translateX(-50px);
        transform: translateX(-50px);
    }
    #menu ul li:nth-child(2),
    #menu ul li:nth-child(4) {
        -webkit-transform: translateX(50px);
        -ms-transform: translateX(50px);
        -o-transform: translateX(50px);
        transform: translateX(50px);
    }*/
    #menu ul.open li {
        -webkit-transition: all ease-in 0.4s;
        -o-transition: all ease-in 0.4s;
        transition: all ease-in 0.4s;
        -webkit-transform: rotateX(0);
        -ms-transform: rotateX(0);
        -o-transform: rotateX(0);
        transform: rotateX(0);
    }
    #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: 266ms;
        -o-transition-delay: 266ms;
        transition-delay: 266ms;
    }
    #menu ul.open li:nth-child(6) {
        -webkit-transition-delay: 330ms;
        -o-transition-delay: 330ms;
        transition-delay: 330ms;
    }
    #menu li a {
        display: block;
        font-size: 1em;
        padding: 10px 20px;
        color: #ffffff;
        background: transparent;
        margin: auto;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 300px;
    }
    .oimg,
    .twoCol .oimg,
    .threeCol .oimg {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
        max-width: 100%;
        width: 100%;
    }
}

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

        .more.m1 {
        text-align: center;
        font-size: 13px;
    }
    h1.h1-title {
        font-size: 1em;
        margin-top: 25px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.23);
    }

.page {
    margin-top: 30px;
}
    .box .title {font-size: 1em}
}

@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.2em;
    }
    .button {
        padding: 10px
    }
}

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

.sub-post.n1 .more.m1 {
    text-align: left;
}
.sub-post.n1 .more.m1 a{
    padding:1em;
}
.sub-post.n1 img {
    box-shadow: 0px 4px 9px #000;
}

