/* ==========================================================================
   KIU Theme
   ========================================================================== */

body {
    color: #3D454D;
    font-size: 1em;
    line-height: 1.6;
}

::-moz-selection {
    background: #cce9fa;
    text-shadow: none;
}

::selection {
    background: #cce9fa;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

body {
    font: 16px/26px 'Oxygen', sans-serif;
}

a,
a:hover,
a:visited{
    color: #0091E5;
}

/* ===================
    ALL: Common
   =================== */

.title {
    margin: 20px 0;
    text-align: center;
}

/* ==============
    MOBILE: Header
   ============== */

.wrapper{
    margin: 0 10px;
}

#header-container {
    padding: 10px 0;
    border-bottom: 3px solid #E0E0EA;
    background:#fff;
    z-index: 10;
}

#header-container .sp-box{
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: box;
}

#header-container .logo{
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    margin: 0;
}

#header-container #menu-btn{
    display: block;
    overflow: hidden;
    width: 40px;
    height:0px;
    padding: 40px 0 0;
    border-radius: 3px;
    background: #0091E5 url(../img/ico_gnav_x2.png) no-repeat center center;
    background-size: 24px 21px;
    text-align: center;
    cursor: pointer;
}

#header-container .gnav-inner{
    display: none;
}

#header-container .gnav-inner{
    position: absolute;
    top: 61px;
    left: 0;
    width: 100%;
    background: #0091E5;
    z-index: 1000;
}
#header-container .gnav-inner ul{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

#header-container .gnav-inner li{
    position: relative;
}

#header-container .gnav-inner li a{
    display: block;
    height: 44px;
    line-height: 44px;
    padding: 0 10px;
    border-bottom: 1px solid #69B4E4;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

#header-container .gnav-inner li:last-child a{
    border-bottom: 3px;
}

#header-container .gnav-inner li a:after{
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    content: ' ';
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ==============
    MOBILE: Main
   ============== */

.main-container{
    width: 100%;
    height: 100%;
    display: block;
}

.main article section{
    width: 100%;
    padding: 40px 0;
}

#home,
#sec01{
    position: relative;
    width: 100%;
    height: 100%;
    background:url(../img/main_bg.jpg) no-repeat 50% 50%;
    background-size: cover;
}

#home .layer,
#sec01 .layer{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#home .wrapper,
#sec01 .wrapper{
    height: 300px;
    position: relative;
}

#home p,
#sec01 p{
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    overflow: hidden;
    width: 300px;
    height: 0;
    margin: 0 0 0 -150px;
    padding: 300px 0 0;
    background: url(../img/main_copy_x2.png) no-repeat left top;
    background-size: 300px 300px;
    z-index: 10;
}

.curtain{
    position: absolute;
    top:0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    background: #0191E5;
    background-image: linear-gradient(top, #0191E5 0%, #fff 100%);
    background-image: -o-linear-gradient(top, #0191E5 0%, #fff 100%);
    background-image: -moz-linear-gradient(top, #0191E5 0%, #fff 100%);
    background-image: -webkit-linear-gradient(top, #0191E5 0%, #fff 100%);
    background-image: -ms-linear-gradient(top, #0191E5 0%, #fff 100%);
    background-image:-webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #0191E5),
        color-stop(1, #fff)
    );
    /*IE6 IE7 */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#0191E5, endcolorstr=#fff));
    /* IE8 IE9 */
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#0191E5, endcolorstr=#fff))";
    zoom: 1;
    background: linear-gradient(to bottom, #0191E5, #fff);/* IE10+, W3C */
    -webkit-transition: opacity 1.5s;
    transition: opacity 1.5s;
    opacity: 0.4;
}
@-webkit-keyframes huerotator {
  0% {
    -webkit-filter: hue-rotate(0deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
  }
}
@keyframes huerotator {
  0% {
    -webkit-filter: hue-rotate(0deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
  }
}

.curtain {
  -webkit-animation: huerotator 8s infinite alternate;
}

#message,
#sec02,
#service,
#sec03,
#work,
#sec04,
#company,
#sec05,
#contact,
#sec07,
#member{
    z-index: 30;
}

#message,
#sec02{
    background: #0091E5;
    color: #fff;
}

#message h2,
#sec02 h2{
    overflow: hidden;
    width: 179px;
    height: 0;
    margin: 0 auto 40px;
    padding: 125px 0 0;
    background: url(../img/hx_message_x2.png) no-repeat left top;
    background-size: 179px 125px;
}

#message figure,
#sec02 figure{
    width: 260px;
    margin: 0 auto;
}

#message p span,
#sec02 p span{
    display: block;
    margin: 20px 0 0;
    text-align: right;
}

#service,
#sec03{
    background: #fff;
    color: #3D454D;
}

#service h2,
#sec03 h2{
    overflow: hidden;
    width: 144px;
    height: 0;
    margin: 0 auto 40px;
    padding: 125px 0 0;
    background: url(../img/hx_service_x2.png) no-repeat left top;
    background-size: 144px 125px;
}

.hx-hex {
  position: relative;
  width: 69px; 
  height: 39.84px;
  background-color: #0091E5;
  margin: 19.92px 0;
  opacity: 0.3
}

.hx-hex:before,
.hx-hex:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 34.5px solid transparent;
  border-right: 34.5px solid transparent;
}

.hx-hex:before {
  bottom: 100%;
  border-bottom: 19.92px solid #0091E5;
}

.hx-hex:after {
  top: 100%;
  width: 0;
  border-top: 19.92px solid #0091E5;
}

#service ul,
#service li,
#service dl,
#sec03 ul,
#sec03 li,
#sec03 dl,
#company dl,
#sec05 dl{
    margin: 0;
    padding: 0;
}

#service dt,
#sec03 dt{
    position: relative;
    margin: 0 0 30px;
    padding: 0;
    font-weight: bold;
    font-size: 120%;
}

#service dt .span-hex,
#sec03 dt .span-hex{
    position: absolute;
    display: block;
    top: 5px;
    left: 30px;
    z-index: 10;
}

#service dt .link,
#sec03 dt .link{
    font-weight: normal;
}

#service dd,
#sec03 dd{
    margin: 0 0 20px 30px;
    font-size: 100%;
}

#work,
#sec04{
    background: #69B4E4;
    color: #3D454C;
}

#work h2,
#sec04 h2{
    overflow: hidden;
    width: 144px;
    height: 0;
    margin: 0 auto 40px;
    padding: 125px 0 0;
    background: url(../img/hx_work_x2.png) no-repeat left top;
    background-size: 144px 125px;
}

#work ul,
#sec04 ul{
    margin: 0 auto;
    padding: 0;
    text-align: center;
    list-style: none;
}

#work li,
#sec04 li{
    margin: 0 0 20px;
}

#work li figure,
#sec04 li figure{

}

#work li img,
#sec04 li img{
    border: 1px solid #3D454C;
}

#work li figcaption p,
#sec04 li figcaption p{
    margin: 10px auto 20px;
    font-size: 14px;
}

#work a,
#sec04 a{
    color: #fff;
}

#company,
#sec05{
    background: #3D454D;
    color: #fff;
}

#company h2,
#sec05 h2{
    overflow: hidden;
    width: 144px;
    height: 0;
    margin: 0 auto 40px;
    padding: 125px 0 0;
    background: url(../img/hx_company_x2.png) no-repeat left top;
    background-size: 144px 125px;
}

#company dl,
#sec05 dl{
    font-size: 14px;
}

#company dt,
#sec05 dt{
    margin: 0 0 10px;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: bold;
}

#company dd,
#sec05 dd{
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px dotted #e5e5e5;
}

#company dd:last-child,
#sec05 dd:last-child{
    border: none;
}

#member{
    background: #fff;
}

#member h2{
    overflow: hidden;
    width: 144px;
    height: 0;
    margin: 0 auto 40px;
    padding: 125px 0 0;
    background: url(../img/hx_member_x2.png) no-repeat left top;
    background-size: 144px 125px;
}

#member .flex-box{
    list-style: none;
    margin: 0;
    padding: 0;
}

#member .flex-box li {
    margin: 0 auto 10px;
}

#member .flex-box li img{
    display: block;
    margin: 0 auto 20px;
    width: 200px;
}

#member .flex-box li p{
    text-align: center;
}

#member .flex-box li p .name{
    font-weight: bold;
}

#contact,
#sec07{
    background: #0091E5;
    color: #fff;
}

#contact h2,
#sec07 h2{
    overflow: hidden;
    width: 214px;
    height: 0;
    margin: 0 auto 40px;
    padding: 121px 0 0;
    background: url(../img/hx_contact_x2.png) no-repeat left top;
    background-size: 214px 121px;
}

#contact .form-area,
#sec07 .form-area{
    width: 300px;
    margin: 0 auto;
}

#contact .form-area ul,
#sec07 .form-area ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

input[type="text"],
input[type="email"]{
    width: 100%;
    height: 40px;
}

input[type="text"],
input[type="email"],
textarea{
    margin: 0 0 20px;
    padding: 0 10px;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 1px 1px 1px rgba(61,69,77,0.3) inset;
    -moz-box-shadow: 1px 1px 1px rgba(61,69,77,0.3) inset;
    -o-box-shadow: 1px 1px 1px rgba(61,69,77,0.3) inset;
    -ms-box-shadow: 1px 1px 1px rgba(61,69,77,0.3) inset;
    box-shadow: 1px 1px 1px rgba(61,69,77,0.3) inset;
    color: #3D454D;
    cursor: pointer;
    resize: none;
}

textarea{
    width: 100%;
    height: 120px;
    padding: 10px;
}

input[type="submit"]{
    width: 100%;
    height: 50px;
    line-height: 50px;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 4px #2C3238;
    -moz-box-shadow: 0 4px #2C3238;
    -o-box-shadow: 0 4px #2C3238;
    -ms-box-shadow: 0 4px #2C3238;
    box-shadow: 0 4px #2C3238;
    background: #3D454D url(../img/arrow_x2.png) no-repeat 30% center;
    background-size: 20px 20px;
    color: #fff;
    cursor: pointer;
}

#footer-container{
    width: 100%;
    background: #3D454D;
    text-align: center;
}

#footer-container footer {
    color: white;
    padding: 20px 0;
}

.map {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 45%; // これが縦横比
    height: 0;
    overflow: hidden;
}
.map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ===============
    ALL: Other
   =============== */
  
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

/* ============
    WIDE: Header
   ============ */

    .wrapper {
        width: 90%;
        margin: 0 5%;
    }

   #header-container{
        position: fixed;
        background-color: #ffffff;
        width: 100%;
        filter:alpha(opacity=85);
        -moz-opacity: 0.85;
        opacity: 0.85;
        z-index: 40;
        padding: 5px 0;
        border-bottom: 3px solid #E0E0EA;
    }

    #header-container .sp-box{
        display: block;
    }

    #header-container nav{
        display: inline;
        float: right;
        width: auto;
}

    #header-container #menu-btn{
        display: none;
    }

    #header-container .logo{
        width: 116px;
        float: left;
        display: inline;
        margin-right: 20px;
        box-flex: 0;
    }

    #header-container .gnav-inner{
        display: inline;
        position: relative;
        top: 0;
        float: right;
        width: auto;
        background: #fff;
    }

    #header-container .gnav-inner ul{
        width: auto;
    }

    #header-container .gnav-inner li{
        float: left;
        display: inline;
        width: auto;
    }

    #header-container .gnav-inner li a{
        display: block;
        height: 40px;
        line-height: 40px;
        padding: 0 10px 0 10px;
        border-bottom: none;
        color: #333;
        font-size: 14px;
        text-decoration: none;
    }

    #header-container .gnav-inner li:last-child a{
        padding: 0 0 0 10px;
    }

    #header-container .gnav-inner li a:hover{
        color: #0091E5;
    }

    #header-container .gnav-inner li a:after{
        border: none;
    }


/* ============
    WIDE: Main
   ============ */

    .main article{
        width: 100%;
    }

    .main article section{
        padding: 80px 0;
    }

    #home .wrapper,
    #sec01 .wrapper{
        height: auto;
    }

    #home p,
    #sec01 p{
        position: fixed;
        top: 50%;
        left: 50%;
        width: 350px;
        margin: -175px 0 0 -175px;
        padding: 350px 0 0;
        background-size: 350px 350px;
    }

    #service li:first-child,
    #sec03 li:first-child{
        float: left;
        display: inline;
        width: 48%;
        margin-right: 2%;
    }

    #message figure,
    #sec02 figure{
        float: left;
        display: inline;
        width: 30%;
        margin: 0 5% 0 0;
    }
    
    #message p,
    #sec02 p{
        float: left;
        display: inline;
        width: 65%;
    }

    #service li:last-child,
    #sec03 li:last-child{
        float: left;
        display: inline;
        width:45%;
        margin-left: 2%;
    }

    #work li,
    #sec04 li{
        float: left;
        display: inline;
        width: 40%;
        margin: 0 auto 30px;
        padding: 0 5%;
    }

    #work figure,
    #sec04 figure {
        position: relative;
        overflow: hidden;
        width: 302px;
        margin: 0 auto;
    }
    #work figcaption,
    #sec04 figcaption {
        position: absolute;
        bottom: -82px;
        left: 0;
        z-index: 2;
        width: 100%;
        height: 82px;
        background: rgba(61,69,76,.8);
        -webkit-transition: .3s;
        transition: .3s;
    }
    #work figure:hover figcaption,
    #sec04 figure:hover figcaption {
        bottom: 0;
    }

    #work figcaption p,
    #sec04 figcaption p{
        padding: 5px;
        text-align:center;
        color: #fff;
    }

    #company dl,
    #sec05 dl{
        display: inline;
        float: left;
        width: 52%;
        margin-right: 9%;
    }

    #company dt,
    #sec05 dt{
        float: left;
        display: inline;
        width: 15%;
        margin: 0 0 10px;
        font-weight: bold;
    }
    
    #company dd,
    #sec05 dd{
        float: left;
        display: inline;
        width: 85%;
        margin: 0 0 10px;
        padding: 0;
        border-bottom: 0;
    }

    #member .flex-box{
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        align-items: stretch;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #member .flex-box li {
        width: 50%;
        padding: 0 40px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    #contact .form-area,
    #sec07 .form-area{
        width: 340px;
    }

    #footer-container{
        position: absolute;
        bottom: 0;
    }

}

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

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

}
