﻿/*-----ベース-----*/
body {
    margin: 0px;
    padding: 0px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    line-height: 2;
    color: #333333;
    background-color: #ffffff;
}

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

h1 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

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

a:hover {
    text-decoration: underline;
    color: #ffffff;
    -webkit-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

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;
    background: #484644;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.90em;
    color: #ffffff;
}

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

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

/* Logo                                                                          */

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

#logo {
    margin: 0 auto;
    text-transform: uppercase;
}

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

#logo a {
    text-decoration: none;
    line-height: 1.7;
    display: block;
    margin: 20px 0;
    text-align: center;
    position: relative;
    font-size: 22px;
}

#logo a:hover {
    color: #d09255;
}


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

/* Menu                                                                          */

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

#menu {
    /* position: absolute; */
    /* top: 5em; */
    /* right: 0; */
    /* width: 1200px; */
    /* margin: auto; */
    background: #ececec;
}

#menu ul {
    display: table;
    padding: 10px 0;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

#menu li {
    display: block;
    float: left;
    text-align: center;
    padding-left: 10px;
}

#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: #ffffff;
    background: #484644;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 150px;
}

#menu li a:hover,
#menu li a.active {
    color: #ffffff;
    text-decoration: underline;
}

#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: url(../images/mainImg.jpg) no-repeat center;
    background-size: cover;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

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

/* Page                                                                          */

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

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

.oimg {
    max-width: 35%;
    width: 35%;
    padding-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%;
}

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

/* Content                                                                       */

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

#content {}

.box {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    width: 100%;
    display: table;
}

.box .title {
    width: 100%;
    margin: 0;
    padding: 1em 1em;
    border: 1px solid #272625;
    border-bottom: 5px solid #484644;
    color: #6b4923;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.sub-post {
    /* margin-top: 2em; */
}

.tech-btm.subpage {
    margin-bottom: 2em;
}

.more {
    float: right;
    text-align: center;
}

.sub-post > div:last-child {
    border: none;
}

#top-h1-title {
    margin-bottom: 20px;
}

h1.h1-title {
    font-size: 1.2em;
    line-height: 1.5;
}

span.s-foot {
    font-size: 14px;
    font-weight: 600;
    line-height: 190%;
}

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

/* Sidebar                                                                       */

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

#sidebar {}

.sidebar-left {
    display: table;
    width: 100%;
    margin: auto;
    box-shadow: inset 0 0 5px #484644;
}

.sidebar-left ul {
    width: 100%;
}

.sidebar-left ul li {
    display: table;
    clear: both;
    margin: 10px 0;
    width: 100%;
}

.sidebar-left ul li a {
    color: #6b4923;
}

.sidebar-left ul li a:hover {
    background: transparent;
}

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

/* 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);
    color: #ffffff;
    background: #484644;
}

#copyright a {
    text-decoration: none;
    color: #ffffff;
}

#copyright a:hover {
    color: #333333;
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }
}

@media only screen and (max-width: 991px) {
    #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: #484644;
        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;
        left: 0;
        z-index: 100;
        top: 0;
        bottom: 0;
        padding-top: 50px;
        width: 100%;
        height: 100%;
        background: #5d5b59;
        overflow-y: auto;
    }

    #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: #ffffff;
        color: #de772e;
    }

    /*#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: 5px 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;
        padding-right: 10px;
        margin-bottom: 10px;
        max-width: 50%;
        width: 50%;
    }

    .sidebar-left {
        display: none;
    }
}

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

    #banner {
        min-height: 300px;
    }
}

@media only screen and (max-width: 600px) {
    .oimg,
    .twoCol .oimg,
    .threeCol .oimg {
        float: none;
        padding-right: 0px;
        margin-bottom: 0px;
        max-width: 100%;
        width: 100%;
    }
    #banner {
        background: url(../images/mainImg.jpg) no-repeat left 25% center; 
    }
}

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

    #banner {
        min-height: 200px;
    }
}

