body {
    font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    color: #222222;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100px;
    padding: 30px;
    background-color: #fff;
    letter-spacing:0.25px;
    box-shadow: 0 0 8px gray;
}


header h1{
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 24px;
    position: absolute;
    top:30px;
    left: 30px;
    letter-spacing:1px;
}

header a:link, header a:visited, header a:hover, header a:active {
    color: #222222;
  }

header p{
    font-size: 12px;
    position: absolute;
    bottom:20px;
    left: 30px;    
}
header a.contact_btn{
    position: absolute;
    top:20px;
    right: 30px;
    width: 200px;
    height: 60px;
    border-radius: 8px;
    display: block;
    font-size: 18px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    background-color: #ff0000;
    transition: .4s;
}
header a.contact_btn:hover{
    background-color:#777;
}

main{
    overflow: hidden;
}
.mainvisual{
    position: relative;
    overflow: hidden;
    margin-top:100px;
}
.mainvisual div{
    width: 100%;
    height: 1000px;
    display: block;    
    position: absolute;
top:-300px;
    background: url("../img/mainvisual_2.jpg") no-repeat left top;
    background-position: center;
}
.mainvisual div::after {
    content: '';
    background-color: rgba(0,0,0,.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.mainvisual section{
    position: relative;
    display: block;
    padding-top: 140px;
    width: 100%;
    height: 600px;
    
    background-position: center;
    color: #fff;
    text-align: center;
    letter-spacing:0.25px;
}

.endisual{
    position: relative;
    display: block;
    overflow: hidden;
    height: 600px;
}
.endvisual div{
    width: 100%;
    height: 1000px;
    display: block;    
    position: absolute;
    bottom:750px;
    background: url("../img/endvisual_2.jpg") repeat left top;
    background-position: center;
    background-position: 0 100px;
    overflow: hidden;
    z-index: -1;
}
.endvisual div::after {
    content: '';
    background-color: rgba(0,0,0,.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}
.endvisual section{
    position: relative;
    display: block;
    padding-top: 140px;
    width: 100%;
    height: 600px;
    color: #fff;
    background-position: center;
    text-align: center;
    letter-spacing:0.25px;
    overflow: hidden;
}

.mainvisual section h2{
    font-size: 56px;
    margin-bottom: 30px;
    font-weight: bold;
}

.endvisual section h2{
    font-size: 56px;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 90px;
}

.mainvisual section p{
    font-size: 36px;
    line-height: 60px;
    font-weight: bold;
}

.endvisual section p{
    font-size: 14px;
}

.mainvisual section a,.endvisual section a{
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 340px;
    height: 80px;
    border-radius: 10px;
    display: block;
    font-size: 24px;
    line-height: 80px;
    text-align: center;
    color: #fff;
    background-color: #ff0000;
    transition: .4s;
}
.mainvisual section a:hover,.endvisual section a:hover{
    background-color:#777;
}

.service2_bg,.service3_bg,.service4_bg{
    position: relative;
    display: block;
    overflow: hidden;
    height: 200px;
}
.service2_bg div{
    width: 100%;
    height: 100%;
    display: block;    
    position: absolute;
    bottom:200px;
    background: url("../img/service2_bg.jpg") repeat left top;
    background-position: center;
}
.service3_bg div{
    width: 100%;
    height: 100%;
    display: block;    
    position: absolute;
    bottom:400px;
    background: url("../img/service3_bg.jpg") repeat left top;
    background-position: center;
}
.service4_bg div{
    width: 100%;
    height: 100%;
    display: block;    
    position: absolute;
    bottom:600px;
    background: url("../img/service4_bg.jpg") repeat left top;
    background-position: center;
}
.service2_bg div::after,.service3_bg div::after,.service4_bg div::after {
    content: '';
    background-color: rgba(0,0,0,.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.service{
    padding-bottom: 100px;
}


.service_main{
    position: relative;
    text-align: center;
    padding: 120px 0 70px 0;
    letter-spacing:0.25px;
}

.service_main h2{
    font-size: 36px;
    line-height: 60px;
    font-weight: bold;    
}
.service_main div{
    position: relative;
    height: 100px;
}
.service_main p{
    position: absolute;
    top:30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-color: #ff0000;
    font-size: 10px;
    color: #fff;
    width: 200px;
    height: 20px;
    border-radius: 5px;
    line-height: 20px;
    letter-spacing:1px;
}
.service_main span{
    position: absolute;
    overflow-x:hidden;
    top:70px;
    left:0;
    margin-left: 45%;
    font-size: 160px;
    font-weight: bold;
    color:#f9f9f9;
    width: 200%;
    text-align: left;
    z-index: -1;
}
.service_main h3{
    font-size: 14px;
    line-height: 28px;    
}

.service_sub_l,.service_sub_r{
    width: 100%;
    position: relative;
    display: block;
    letter-spacing:0.25px;
    height: 500px;
}
.service_sub_l div{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 386px;
    padding-top: 60px;
    padding-right: 230px;
    margin-left: -200px;
    background-color: #f9f9f9;
    height: 400px;
}
.service_sub_l div::before{
    content: "";
    display: block;
    width: 100%;
    height: 460px;
    position: absolute;
    left: -80%;
    top:0px;
    background-color: #f9f9f9;
    z-index: -1;
}
.service_sub_l h3,.service_sub_r h3,.service_flow div.txt h3{
    font-size: 24px;
    line-height: 42px;
    font-weight: bold;
}
.service_sub_l p,.service_sub_r p,.service_flow div.txt p{
    font-size: 10px;
    letter-spacing:1px;
    position: relative;
    padding-left: 74px;
    margin-top: 14px;
    margin-bottom: 20px;
    color: #ff0000;
}
.service_sub_l p::before,.service_sub_r p::before,.service_flow div.txt p::before{
    content: "";
    position: absolute;
    border-top: 1px solid #ff0000;
    content: "";
    width: 54px;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.service_sub_l h4,.service_sub_r h4,.service_flow div.txt h4{
    font-size: 14px;
    line-height: 28px;
    clear: both;
}
.service_sub_l img{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    margin-left: 280px;
    top:60px;
    width: 450px;
    height: 290px;
    box-shadow: -30px 30px 0 0 rgba(238, 238, 238, 1.0);
}

.service_sub_r div{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    width: 386px;
    padding-top: 60px;
    padding-left: 230px;
    margin-right: -200px;
    background-color: #f9f9f9;
    height: 400px;
}
.service_sub_r div::before{
    content: "";
    display: block;
    width: 100%;
    height: 460px;
    position: absolute;
    right: -80%;
    top:0px;
    background-color: #f9f9f9;
    z-index: -1;
}

.service_sub_r img{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    margin-right: 280px;
    top:60px;
    width: 450px;
    height: 290px;
    box-shadow: 30px 30px 0 0 rgba(238, 238, 238, 1.0);
}

.service_flow{
    width: 100%;
    position: relative;
    display: block;
    height: 840px;
}
.service_flow div.txt{
position: absolute;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
margin-left: 320px;
top:60px;
width: 386px;
z-index: 2;
}

.service_flow div.txt img{
    margin: 30px 0;
    width: 380px;
}

.service_flow ul{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    padding: 60px 0;
    margin-left: -220px;
    background-color: #f9f9f9;    
    width: 600px;
}

.service_flow ul::before{
    content: "";
    display: block;
    width: 100%;
    height: 780px;
    position: absolute;
    left: -100%;
    top:0px;
    background-color: #f9f9f9;
    z-index: -1;
}

.service_flow ul li{
    position: relative;
    float: left;
    width: 50%;
    margin-bottom: 20px;
}
.service_flow ul li div{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #222222;
    float: left;
    position: relative;
}
.service_flow ul li div img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 50%;
}

.service_flow ul li p{
    position: absolute;
    left: 100px;
    top:4px;
    text-align: left;
    font-size: 10px;
    font-weight: bold;
    line-height: 12px;
    border-bottom: solid 1px #222222;
}

.service_flow ul li h4{
    height: 90px;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    padding-top: 38px;
    margin-left: 90px;
    padding-left: 10px;
    box-sizing: border-box;
}
.service_flow ul li:nth-child(2) h4,.service_flow ul li:nth-child(5) h4,.service_flow ul li:nth-child(6) h4{
    padding-top: 24px;
    line-height: 24px;
}

.service_plan{
    background-color: #eeeeee;
    position: relative;
    height: 1200px;
    text-align: center;
    font-size: 14px;
    width: 100%;
}

.plans {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);    
    margin: 50px auto;
    overflow: hidden;
    letter-spacing:0.25px;
    width: 950px;
  }
  
  .plan {
    position: relative;
    float: left;
    width: 250px;
    height: 530px;
    margin: 40px 5px;
    padding: 25px 25px;
    text-align: center;
    background: white;
    background-clip: padding-box;
    border: 2px solid #e5ded6;
    border-color: rgba(0, 0, 0, 0.1);
  }
  
  .plan-title {
    margin-bottom: 12px;
    font-size: 20px;
    color: #222222;
    font-weight: bold;
  }
  
  .plan-price {
    margin-bottom: 20px;
    line-height: 1;
    font-size: 16px;
    color: #222222;
  }
  
  .plan-features {
    width: 260px;
    margin: 15px auto 15px;
    padding: 20px 0;
    border-top: 1px solid #e5ded6;
    text-align: center;
  }
  
  .plan-feature {
    line-height: 24px;
    font-size: 16px;
    font-weight: 500;
    color: #222222;
  }
  .plan-feature + .plan-feature {
    margin-top: 5px;
  }
  
  
  .plan-feature-name {
    font-size: 13px;
    font-weight: normal;
    color: #aaa;
  }
  
  .plan-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);    
    display: block;
    width: 260px;
    line-height: 50px;
    font-size: 16px;
    color: white;
    text-align: center;
    text-decoration: none;
    background: #222222;
    border-radius: 4px;
    transition: .4s;
  }
  .plan-button:hover{
      background: #777;
  }
  .plan-button:active {
    top: 2px;
    margin-bottom: 2px;
    border-bottom: 0;
  }
  
  .plan-highlight {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 15px;
    padding-right: 15px;
    width: 270px;
    border: 4px solid #FF0000;
  }
  .plan-highlight .plan-button {
    font-size: 18px;
    line-height: 54px;
    background: #ff0000;
    transition: .4s;
  }
  .plan-highlight .plan-button:hover{
      background: #777;
  }
  
  .plan-recommended {
    width: 250px;
    margin: -25px auto 15px;
    padding-bottom: 2px;
    line-height: 22px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px rgba(0, 0, 0, 0.05);
    background: #ff0000;
    border-radius: 0 0 4px 4px;
  }

  .contact_box{
      padding-top: 100px;
    position: relative;
    height: auto;
}
.contact_box section.service_main{
    height:340px;
}
  .contact{
    width:700px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

  footer{
      height: 80px;
      text-align: center;
      color: #fff;
      font-size: 14px;
      background-color: #222222;
      line-height: 110px;
  }