@charset "utf-8";

body{
    margin: 0;
    padding: 0;
    background-color: #eeffff;
    color: #333333;
    font-size: 15px;
    line-height: 2;
}

p,h1,h2,h3,h4,h5,h6{
    margin-top: 0;
}

img{
    vertical-align: bottom;
}

ul{
    margin: 0;
    padding: 0;
}

a{
    color: #ff0000;
    text-decoration: none;
}

a:visited{
    color: #788d98;
}

a:hover{
    text-decoration: underline;
}

header{
    width: 960px;
    height: 100px;
    margin: 0 auto;
}

.logo{
    float: left;
    margin-top: 50px;
}

.global-nav{
    float: right;
    margin-top: 60px;
}

.global-nav li{
    float: left;
    margin: 0 16px;
    font-size: 20px;
    list-style: none;
}

.global-nav li a{
    color: #0000cc;
}
/*
.global-nav li a:hover{
    border-bottom: 2px solid #666fff;
    padding-bottom: 3px;
    text-decoration: none;
}*/

/*-- 新ボタン--*/
.global-nav li a{
    color: #0000cc;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  padding: 18px 30px;
  border: 3px solid #0000cc;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  transition: .3s;
}
.global-nav li a::before{
    content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #666fff;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease .3s;
}
.global-nav li a:hover{
    color: #fff;
}
.global-nav li a:hover::before{
    transform-origin: 0% 50%;
  transform: scaleX(1);
}
/*-- 新ボタン--*/

/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:1%;
  right:50%;
    /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
  position: absolute;
  left:-20px;
  bottom:10px;
    /*テキストの形状*/
  color: #0000cc;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #0000cc;
    transform: skewX(-31deg);
}

.scrolldown4:after{
  content:"";
    /*描画位置*/
  position: absolute;
  bottom:0;
  right:0;
    /*矢印の形状*/
  width:1px;
  height: 50px;
  background:#0000cc;
}

#wrap{
    clear: both;
}

.content{
    width: 960px;
    margin: 0 auto;
}

footer{
    text-align: center;
    color: #6b8e23;
    padding: 20px 0;
    background-color: #ffdab9;
}

footer small{
    font-size: 12px;

}

#index h1{
    font-size: 65px;
    line-height: 1;
    color: #333333;
    border: none;

}

#index .content{
    margin-top: 300px;
}
#index .content2{
    background-image: url(image/tophaike.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    margin-top: 200px;
    height: 1300px;
    float: left;
}



#index p{
    font-size: 20px;
}

.btn a{
    background-color: #009cd3;
    color: #ffffff;
    font-size: 20px;
    width: 250px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 5px;
    border: 3px solid #009cd3;
}

.btn a:hover{
    text-decoration: none;
    background-color: #ffffff;
    color: #009cd3;
}

#index footer{
    width: 960px;
    margin:150px auto 0 auto;
    text-align: left;
    background-color: transparent;
}

#index{
    background-image: url(image/haikei1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

#about{
    background-image: url(image/newtakuto1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#wrap{
    clear: both;
    background-color: #ffffff;
    margin-top: 220px;
    padding: 35px 0;
}

.main-center{
    width: 940px;
    margin: 0 auto;
}

h1{
    font-size: 65px;
    border-bottom: 1px solid #cccccc;
}

h2{
    font-size: 35px;
}

.icon:before{
    content:"";
    padding-right: 10px;
    border-left: 7px solid #9cb4a4;
}

.clearfix:after{
    content:"";
    display: block;
    clear: both;
}

section{
    margin-bottom: 35px;
}

#index #wrap{
    background-color: transparent;
    /*background-color: red;*/
    margin-top: 0;
    padding: 0;
    height: 1300px;
    /*height: 1800px;*/
}
#index .section-contents{
    width: 850px;
    height: 325px;
    /*background-color: blue;*/
}
#index .section-contents2{
    width: 850px;
    height: 325px;
    /*background-color: blue;*/
}
#index #item1{
    position: relative;
    top: 50px;
    left: 300px;
}
#index #item1 h2{
    position: absolute;
    top: 0;
    left: 0;
}
#index #item2{
    position: relative;
    top: 50px;
    left: 650px;
    clear: both;
}
#index #item2 h2{
    position: absolute;
    top: 0;
    right: 0;
}
#index #item3{
    position: relative;
    top: 50px;
    left: 300px;
}
#index #item4{
    position: relative;
    top: 50px;
    left: 650px;
}
#index .section-contents p{
    position: relative;
    top: 50px;
    left: 70px;
    font-style: italic;
    font-size: 30px;
    font-weight: 900;
}
#index .section-contents2 p{
    position: relative;
    top: 90px;
    left: 0px;
    font-style: italic;
    font-size: 30px;
    font-weight: 900;
}

#about #wrap a{
    font-size: 26px;
}

#work{
    background-image: url(image/kakoutakutoimage1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

.main{
    width: 700px;
    margin: 0 10px;
    float: left;
}

.sidebar{
    width: 200px;
    margin:0 10px 0 30px;
    float: right;
}

#work .work-list li{
    float: left;
    list-style: none;
    margin: 0 20px 15px 0;
}

#user{
    background-image: url(image/newtakuto4.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#company{
    background-image: url(image/kakoutakutoimage1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#company .main th{
    width: 240px;
    background-color: #f0f0f0;
    padding: 12px 0;
    border:1px solid #cccccc;
}

#company .main td{
    width: 660px;
    padding: 12px 0 12px 40px;
    border:1px solid #cccccc;
}

table{
    border-spacing: 0;
    border-collapse: collapse;
}

#work .main th{
    width: 200px;
    background-color: #f0f0f0;
    padding: 3px 0;
    border:1px solid #cccccc;
}

#work .main td{
    width: 200px;
    padding: 3px 0 3px 40px;
    border:1px solid #cccccc;
}

#staff{
    background-image: url(image/kakoutakutoimage1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

#staff .main th{
    width: 200px;
    background-color: #f0f0f0;
    padding: 3px 0;
    border:1px solid #cccccc;
}

#staff .main td{
    width: 280px;
    padding: 3px 0 3px 40px;
    border:1px solid #cccccc;
}

#inquiry{
    background-image: url(image/kakoutakutoimage1.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: 100% auto;
}

/*
#text-chenge{
    position: relative;
}
#text-chenge h2{
    position: absolute;
    top:0;
	left:0;
    z-index: 8;
    opacity: 0.0;
}
#text-chenge h2.active {
    z-index: 10;
    opacity: 1.0;
}
#text-chenge h2.last-active {
    z-index: 9;
}
*/

