@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy');

/* reset */
body, ul, ol, li,
h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea,
p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

address, caption, cite, code, dfn,
em, strong, th, var {
    font-style: normal;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

q:before,
q:after {
    content: '';
}

object,
embed {
    vertical-align: top;
}

legend {
    display: none;
}

img, abbr, acronym, fieldset {
    border: 0;
}

body {
    font: 14px/1.9 Arial, Verdana, 游ゴシック, YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;
    font-weight: 300;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    color: #000;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)), url(../img/global_bg2_R7.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    /*color: #3ac4e7; */
    text-decoration: none;
}

a:hover,
.active {
    text-decoration: underline;
}

a:active,
a:focus,
input:active,
input:focus {
    outline: 0;
}


/* main navigation bar
------------------------------------------------------------*/
#mainnav a {
    color: #000;
    font-family: 'Luckiest Guy', cursive;
}


/* footer
------------------------------------------------------------*/
#footer {
    clear: both;
    padding: 50px 0;
    text-align: center;
    font-size: 12px;
}


/* main settings
------------------------------------------------------------*/
h1,
h2 {
    font-family: 'Luckiest Guy', cursive;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    clear: both;
}

section h2 {
    width: 60%;
    margin: 70px auto;
    font-weight: normal;
    text-align: center;
}

section h2 span {
    padding-bottom: 20px;
    border-bottom: 3px solid #000;
}

.inner {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 50px;
}

#sec02 .inner,
#sec03 .inner {
    border-bottom: 1px solid #a0a0a0;
}

.top {
    font-family: 'Luckiest Guy', cursive;
    text-align: right;
    padding: 0 30px 20px 0;
}

/* SEC02 BRAND
------------------------------------------------------------*/
.col4 .img {
    margin: 0 auto;
}



/* SEC03 PROJECT
------------------------------------------------------------*/
#sec03 {
    padding-bottom: 0 !important;
}

#sec03 p {
    margin-bottom: 20px;
}

.article {
    clear: both;
    overflow: hidden;
}

.danchou {
    width: 40%;
    float: left;
    margin: 20px 20px;
}


/* SEC04 COMPANY
------------------------------------------------------------*/
#sec04 p {
    margin-bottom: 20px;
}

.col2 li {
    display: inline-block;
    width: 100%;
    margin: 20px 0;
}

#map {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    z-index: 0;
}

#map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}



/* RESPONSIVE
------------------------------------------------------------*/
/* screen width >= 800px */
@media only screen and (min-width: 800px) {
    body {
        font-size: 14px;
    }

    #wrapper {
        width: 100%;
    }

    #content {
        width: 80%;
    }

    #sidebar {
        width: 12%;
        position: fixed;
        top: 0;
        right: 4%;
        /*        background: #fff;*/
    }

    .top{
        display: none;
    }

    a#menu {
        display: none;
    }

    .panel {
        display: block !important;
    }

    #sidebar h1 {
        padding: 30px 0;
    }

    #mainnav li {
        font-size: 14px;
        padding: 10px 0;
    }

    #sns {
        margin-top: 50px;
    }

    #sns li {
        display: inline-block;
        padding-right: 10px;
    }

    #sns a:hover img {
        opacity: .8;
    }

    /* SEC02 BRAND
	-----------------*/
    .col4 {
        text-align: center;
    }

    .col4 li {
        display: inline-block;
        width: 24%;
        padding: 0 3%;
        vertical-align: top;
        text-align: left;
    }

    /*
	#map iframe {
	    height: 200px !important;
	}
*/

    #footer {
        padding: 30px 10px 70px 0;
    }
}

/* screen width >= 641px */
@media only screen and (min-width: 641px) {
    .col2 li {
        width: 60%;
        vertical-align: top;
    }

    .col2 li:first-child {
        width: 35%;
        padding-right: 4%;
    }
}

/* screen width <= 640px */
@media only screen and (max-width: 640px) {
    .innerS {
        width: 94%;
        padding-bottom: 30px;
    }

    #gallery li {
        float: none;
        width: 100%;
    }

    .article img {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }

    #map iframe {
        width: 96% !important;
        left: 2%;
    }
}

/* screen width <= 799px*/
@media only screen and (max-width: 799px) {
    body:before {
        content: "";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100vh;
        background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url(../img/m_global_bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    #sidebar h1 {
        width: 12%;
    }

    #sidebar ul {
        display: inline-block;
    }

    #sidebar li {
        display: inline-block;
        font-size: 14px;
        padding: 0 10px 0 0;
    }

    #sidebar li span {
        display: none;
    }

    #sns li{
        display: inline-block;
        padding: 0 0 0 15px;
    }

    .col4 li {
        margin: 0 auto 50px;
        display: block;
        text-align: center;
    }

    section h2 {
        margin: 55px auto;
    }

    .danchou {
        width: auto;
        float: none;
        margin: 20px 20px;
    }
}

.center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.p_20 {
    padding: 20px 0;
}