*{
    margin:0;
    padding:0;
}

p{
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 18px;
}

.clear{
    clear:both;
}

.inner {
    width: 980px;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

/*search*/ 
#head-title{
    width:500px;
}

#search {
    position: absolute;
    top:0px;
    right:0;
    width:200px;
    height:auto;
    float:right;
}

#keyword {
    position: absolute;
    top: 0;
    left: 0;
    width: 155px;
    height: 20px;
    border: 1px solid #D9D9D9;
    font-size: 15px;
    color: #999;
}

#search_btn {
    position: absolute;
    height: 20px;
    top: 0;
    left: 159px;
    cursor: pointer;
}

/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}
#top-head h1{
    font-size:12px;
    z-index: 999;
    margin-bottom:10px;
}

#top-head a,
#top-head {
    color: #000;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 36px;
    margin: 0;
}

#logo_img{
    height:56px;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 12px;
}
#global-nav ul li {
    float: left;
    border-left: solid 1px #A6A7A5;
    height:50px;
    width:135px;
}

#global-nav ul li:last-child {
    border-right: solid 1px #A6A7A5;
}

#global-nav ul li a {
    text-align: center;
}

#global-nav ul li p {
    text-align: center;
    margin: 0;
    width: 136px;
    height: 50px;
    line-height: 50px;
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;
    font-size:14px!important;
}
 
#global-nav ul li p:hover {
    background: #ccc;

}

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
 
/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 40px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

@media screen and (max-width: 640px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    #top-head h1 {
    font-size: 9px;
    z-index: 999;
    margin-bottom: 10px;
    }

    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 86px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 0px;
        top: 15px;
        color: #333;
        font-size: 26px;
        margin: 0;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        padding: 0;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
        width: 100%;
    }
    #global-nav ul li p {
        width: 100%;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}

#topslider_wrap{
    margin-top: 153;
    width:100%;
    height:auto;
    position: relative;
}

#topslider_wrap img{
    width:100%;
}

.topslider2{
    display:none!important;
}

@media screen and (max-width: 640px) {
    #topslider_wrap{
    margin-top: 81;
}
}

#backline{
    position:absolute;
    width:80%!important;
    bottom:-60px;
    left:0;
    z-index:-1;
}

@media screen and (max-width: 640px) {
    #backline{
    bottom:-25px;
    }

}

#index{
    width:980px;
    margin:0 auto;
}

#main1{
    width:700px;
    float:left;
    margin-bottom: 100px;
}

#container1{
    width:700px;
    position:relative;
    margin-bottom:80px;
}

#container1 h3{
    margin-top:15px;
    font-size:26px;
}

.border0{
    width:700px!important;
}

.border1{
    position: absolute;
    transition: .3s;
    top:55;
    left: 0;
    width:0;
    content: '';
    height: 1px;
    background-color: black;
    transition: .3s;
}

#c1_column{
    margin-top:40px;
}


#c1_img {
    width:300px;
    float:left;
    margin:30 50 30 0;
    box-shadow: 0px 10px 20px -5px rgba(0, 0, 0, 1);
}

#container2{
    position: relative;
    width:700px;
}

.border2{
    position: absolute;
    transition: .3s;
    top:40;
    left: 0;
    content: '';
    width:0;
    height: 1px;
    background-color: black;
    transition: .3s;
}

.c2_column{
    width:300px;
    display: inline-block;
    margin-top:50px;
    margin-right:20px;
    text-align: center;
}

.c2_column h3{
    margin-bottom:20px;
}

.c2_column p{
    font-size:14px;
}

.c2_column img{
    margin-bottom:20px;
    width:300px;
}

/*サイドバー１*/
#side {
    position: relative;
    float: right;
    width: 280px;
    text-align: center;
}

#side_content {
    float: right;
    width: 280px;
    height: 400px;
}

#side_content h2, h3, h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

#side_content p{
    margin-bottom: 10px;
}

#side_sns {
    padding-left: 40px;
}

#side_sns li {
    float: left;
    list-style-type: none;
    width: 39px;
    margin-left: 10px;
}

/* メイン２ */
#main2{
    color: #fff;
    text-align: center;
    width:100%;
    height:auto;
    background-image:url("../image/homepage1black50.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    clear:both;
}

#main2 h2{
    padding-top: 30px;
    font-size: 30px;
    margin-bottom: 70px;
}

#main2 p{
    width:490px;
    height:auto;
    margin: 0px auto;
    padding:90px 0 40px;
    font-size:20px;
}

/* サンプル 1*/
#index2_content{width:980px; margin: 0 auto;}
.box{display:inline-block; width: 280px; height: 100px; line-height: 100px; text-align: center; position: relative; margin-right:30px;}
.box h3{ font-size: 24px;}
.bd div{background: #fff; position:absolute; -webkit-transition:all 0.2s;transition:all 0.2s;}
.bd div.bdT{transition-delay:0.3s;}
.bd div.bdL{transition-delay:0.2s;}
.bd div.bdB{transition-delay:0.1s;}
.bd div.bdR{transition-delay:0s;}
.bd div.bdT{width: 100%; height:2px; top:30; left:0;}
.bd div.bdB{width: 100%; height:2px; bottom:30; right:0;}
.bd div.bdR{height:100%; width :2px; right:30; top:0;}
.bd div.bdL{height:100%; width :2px; left:30; bottom:0;}

/* サンプル 2*/
.bd2 div{-webkit-transition:all 0.1s;transition:all 0.1s;}
.bd2 div.bdT{transition-delay:0.3s;}
.bd2 div.bdL{transition-delay:0.2s;}
.bd2 div.bdB{transition-delay:0.1s;}
.bd2 div.bdR{transition-delay:0s;}
.bd2 div.bdT{width: 100%; height:2px; top:0; left:0;}
.bd2 div.bdB{width: 100%; height:2px; bottom:0; right:0;}
.bd2 div.bdR{height:100%; width :2px; right:0; top:0;}
.bd2 div.bdL{height:100%; width :2px; left:0; bottom:0;}
.box:hover .bd2 div.bdT{width: 0;transition-delay:0s;}
.box:hover .bd2 div.bdL{height:0;transition-delay:0.1s;}
.box:hover .bd2 div.bdB{width: 0;transition-delay:0.2s;}
.box:hover .bd2 div.bdR{height:0;transition-delay:0.3s;}

/* サンプル 3*/
.bd3 div{-webkit-transition:all 0.2s;transition:all 0.2s;}
.bd3 div.bdT{transition-delay:0.6s;}
.bd3 div.bdL{transition-delay:0.5s;}
.bd3 div.bdB{transition-delay:0.4s;}
.bd3 div.bdR{transition-delay:0.3s;}

.bd3 div.bdT{width: 100%; height:2px; top:-20; left:0;}
.bd3 div.bdB{width: 100%; height:2px; bottom:-20; right:0;}
.bd3 div.bdR{height:100%; width :2px; right:-20; top:0;}
.bd3 div.bdL{height:100%; width :2px; left:-20; bottom:0;}



#index2{
    width: 980px;
    margin:0 auto;
}

#main3{
    width: 700px;
    float: left;
    margin-bottom:100px;
}

#container3{
    width: 700px;
    position: relative;
    padding-top: 80px;
}

.border3{
    position: absolute;
    transition: .3s;
    top:110;
    left: 0;
    width:0;
    content: '';
    height: 1px;
    background-color: black;
    transition: .3s;
}

#main3_content{
    width:700px;
    height:250px;
}

#main3_sentence{
    width:350px;
    font-size:16px;
    float:left;
    margin-top: 20px;
}

#main3_contentImg{
    float: right;
    width:300px;
    margin-top: 20px;
}

.main3_contentImg2{
    float:left;
    width: 30%;
    margin-top: 50px;
    margin-right:5%;
}

#main3_contentImg2L{
    float:left;
    width: 30%;
    margin-top: 50px;
}

.main3_contentImg2 p, #main3_contentImg2L p{
    text-align: center;
    font-size:16px; 
}


#container5{
    width: 700px;
    position: relative;
    padding-top: 80px;
    margin-bottom: 80px;
}

#container5 p{
    padding-top: 20px;
}

#buttonku1{
    padding-top: 20px;
}

#container6 h2{
    margin-bottom: 30px;
}

#container6 ul{
    list-style:none;
}

#main2_blog{
    height:150px;
    border:solid 1px black;
    margin-bottom: 50px;
    text-decoration: none;
}

#main2_blog img{
    max-width:100px;
    max-height:100px;
    margin:20px 10px;
}

.post_left{
    width:100px;
    float: left;
}

.post_left img{
    width:100px;
    height:100px;
}


.post_center{
    width:400px;
    height:150px;
    float: left;
    padding-top:30px;
}

.post_right{
    width:140px;
    height:150px;
    float: left;
}

.post_right img{
    padding-left:20px;
}

/* フッター */
.ft-inner{
    width:100%;
    height:150px;
    padding-top:20px;
    background-color: #333333;
    color: #fff;
    background-image: url("../image/logo2.png");
    background-position: right bottom; 
    background-repeat: no-repeat;   
}

.ft-left,.ft-center{
    margin-left: 100px;
    width: 320px;
    float: left;    
    text-decoration: none;
}

.ft-left a, .ft-center a, .ft-right a{
    font-size:14px;
    color: #fff;
    text-decoration: none;
}

.ft-left ul, .ft-center ul, .ft-right ul{
    list-style-type: none;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.ft-left li, .ft-center li{
    height: 26px;
}

.ft-left a:before, .ft-center a:before {
      content: ">" ;
}

.ft-right{
    width: 203px;
    float: right;   
}

.copyright{
    padding-top: 20px;
    margin-bottom:0px;
    }



/*モバイル６４０px以下*/
@media screen and (max-width: 640px) {
    #top-head h1{
        padding-top:5px;    
    }

    #logo_img{
        width:150px;
        margin-top:10px;
    }

    #search {
        display:none;
    }


    #index{
        width:300px;
        margin:0 auto;
    }

    #main1{
    width:300px;
    }

    #container1 {
        width:300px;
    }
    
    .border0{
    width:300!important;
    }

    .border1{
    position: absolute;
    top:33;
    left: 0;
    content: '';
    height: 1px;
    background-color: black;
    transition: .3s;
    }
    
    #container1 h2 img{
    width: 130px;
    }

    #container1 h3{
    font-size:14px;
    }

    p{
    font-size:12px;
    }

    #c1_column{
    margin-top:20px;
    }

    #c1_img {
    width:300px;
    float:left;
    margin-top:0px;
    margin-bottom: 20px;
    }

    #container2{
    position: relative;
    width:300px;
    margin:0 auto;
    }

    #container2 h2 img{
        width: 130px;
        }


    .border2{
        position: absolute;
        transition: .3s;
        top:35;
        left: 0;
        content: '';
        height: 1px;
        background-color: black;
        transition: .3s;
    }

    .c2_column{
        width:300px;
        display: inline-block;
        margin-top:50px;
        margin-right:0px;
        text-align: center;
    }

    .c2_column h3{
        margin-bottom:20px;
    }

    .c2_column p{
        font-size:14px;
    }

    .c2_column img{
        margin-bottom:20px;
        width:300px;
    }

    #side{
        display:none;
    }

    /* メイン２ */
    #main2{
    color: #fff;
    text-align: center;
    width:100%;
    height:100%;
    max-width:1400px;
    background-image:url("../image/homepage1black50.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    clear:both;
    }

    #main2 h2{
    padding-top: 30px;
    font-size: 24px;
    margin-bottom: 40px;
    }

    #main2 p{
    width:280px;
    height:250px;
    margin: 0px auto;
    padding-top:0px;
    font-size:12px;
    }

    
    /* サンプル 1*/
    #index2_content{width:300px; margin: 0 auto 20;}
    .box{display:inline-block; width: 280px; height: 50px; line-height: 50px; text-align: center; position: relative; margin:0 0 30 0;}
    .box h3{ font-size: 18px;}
    .bd div{background: #fff; position:absolute; -webkit-transition:all 0.2s;transition:all 0.2s;}
    .bd div.bdT{transition-delay:0.3s;}
    .bd div.bdL{transition-delay:0.2s;}
    .bd div.bdB{transition-delay:0.1s;}
    .bd div.bdR{transition-delay:0s;}
    .bd div.bdT{width: 100%; height:2px; top:30; left:0;}
    .bd div.bdB{width: 100%; height:2px; bottom:30; right:0;}
    .bd div.bdR{height:100%; width :2px; right:30; top:0;}
    .bd div.bdL{height:100%; width :2px; left:30; bottom:0;}

    /* サンプル 2*/
    .bd2 div{-webkit-transition:all 0.1s;transition:all 0.1s;}
    .bd2 div.bdT{transition-delay:0.3s;}
    .bd2 div.bdL{transition-delay:0.2s;}
    .bd2 div.bdB{transition-delay:0.1s;}
    .bd2 div.bdR{transition-delay:0s;}
    .bd2 div.bdT{width: 100%; height:2px; top:0; left:0;}
    .bd2 div.bdB{width: 100%; height:2px; bottom:0; right:0;}
    .bd2 div.bdR{height:100%; width :2px; right:0; top:0;}
    .bd2 div.bdL{height:100%; width :2px; left:0; bottom:0;}
    .box:hover .bd2 div.bdT{width: 0;transition-delay:0s;}
    .box:hover .bd2 div.bdL{height:0;transition-delay:0.1s;}
    .box:hover .bd2 div.bdB{width: 0;transition-delay:0.2s;}
    .box:hover .bd2 div.bdR{height:0;transition-delay:0.3s;}

    /* サンプル 3*/
    .bd3 div{-webkit-transition:all 0.2s;transition:all 0.2s;}
    .bd3 div.bdT{transition-delay:0.6s;}
    .bd3 div.bdL{transition-delay:0.5s;}
    .bd3 div.bdB{transition-delay:0.4s;}
    .bd3 div.bdR{transition-delay:0.3s;}

    .bd3 div.bdT{width: 100%; height:2px; top:-20; left:0;}
    .bd3 div.bdB{width: 100%; height:2px; bottom:-20; right:0;}
    .bd3 div.bdR{height:100%; width :2px; right:-20; top:0;}
    .bd3 div.bdL{height:100%; width :2px; left:-20; bottom:0;}

    #index2{
    width: 300px;
    margin:0 auto;
    }

    #main3{
        width: 300px;
        float: left;
    }

    #container3{
        width: 300px;
        position: relative;
    }

    .border3{
        position: absolute;
        transition: .3s;
        top:110;
        left: 0;
        content: '';
        height: 1px;
        background-color: black;
        transition: .3s;
    }

    #main3_content{
        width:300px;
        height:250px;
    }

    #main3_sentence{
        width:300px;
        font-size:12px;
        margin-top: 20px;
    }

    #main3_contentImg{
        width:300px;
        margin-top: 20px;
    }

    .main3_contentImg2{
        float:left;
        width: 100%;
        margin-top: 50px;
        margin-right:5%;
    }

    #main3_contentImg2L{
        float:left;
        width: 100%;
        margin-top: 50px;
    }

    .main3_contentImg2, #main3_contentImg2L{
        text-align: center;
        font-size:16px; 

    }

    #container5{
    width: 300px;
    position: relative;
    padding-top: 80px;
    }

    #container5 p{
        padding-top: 20px;
    }

    #buttonku1{
        padding-top: 20px;
    }

    #container6 h2{
        margin-bottom: 10px;
    }

    #container6 ul{
        list-style:none;
    }

    #main2_blog{
        height:80px;
        border:solid 1px black;
        margin-bottom: 10px;
        text-decoration: none;
    }

    #main2_blog img{
        width:50px;
        height:50px;
        margin:15px 10px;
    }

    .post_left{
        float: left;
    }

    .post_center{
        width:220px;
        height:50px;
        float: left;
        padding-top:10px;
        font-size:12px;
    }

    .post_right{
        display:none;
        width:60px;
        height:150px;
        float: left;
    }

    .post_right img{
        padding-left:20px;
    }

    /* フッター */
    .ft-inner{
    width:100%;
    height:170px;
    padding-top:20px;
    background-color: #333333;
    color: #fff;
    background-image: url("../image/logo2.png");
    background-position: right bottom; 
    background-repeat: no-repeat;   
    }

    .ft-left{
    margin:0;
    width:50%;
    float: left;
    }

    .ft-center{
    margin:0;
    width:50%;
    float: right;
    }

    .ft-left li:first-child{
        display:none;
    }
    

    .ft-right{
    display:none;  
    }

    .copyright{
    font-size:9px;
    padding-top: 10px;
    margin-bottom:0px;
    }

}

@media screen and (max-width: 400px) {
    
    #logo_img{
        width:150px;
        margin-top:10px;
    }

    #search {
        display:none;
    }

    .topslider{
        display: none!important;
    }

    .topslider2{
        display:block!important;
    }
}
