@charset "utf-8";

body{
   font-family: Arial,メイリオ,游ゴシック,sans-serif;
   margin: 0; 
   font-size: 18px;
}
img{
    max-width: 100%;
}
ul{
    list-style: none;
}
.wrap{
    width: 80%;
    margin: 0 auto;
}
.banner{
    margin-bottom: 130px;
}

/*インライン要素をセンターに*/
.inline_center{
    text-align: center;
}
/*ブロック要素をセンターに*/
.center{
    margin: 0 auto;
}
/*h2のボーダー*/
.h2_border,.h2_border02{
    display: inline-block;
    padding-bottom: 20px;
    margin: 0 auto 100px;
    position: relative;
    letter-spacing: 5px;
}
.h2_border02{
    border-bottom: #66b5b5 1px solid;
    position: relative;
    padding-bottom: 10px;
}
.h2_border:before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    display: inline-block;
    width: 150px;
    height: 4px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #66b5b5;
}
.h2_border02:before{
    content: '';
    width: 100%;
    height: 1px;
    border-bottom: #66b5b5 1px solid;
    position: absolute;
    left: 0px;
    bottom: -6px;
}
/*ヘッダー*/

header ul{
    display: flex;
    align-items: center;
}
header ul a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 25px 25px;
}
header ul a:hover{
    background-color: #66b5b5;
    color: #ffffff;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:40px 20px 70px;
}
header ul li{
    margin-left: 30px;
    letter-spacing: 2px;
}
.logo{
    display: block;
    margin-left: 20px;
}
header img{
    vertical-align: middle;
}

/*ハンバーガーメニューチェック非表示*/
#drawer_input{
    display: none;
}

/*トップページ*/

.mv_img img{
    width: 100%;
    height: auto;
    margin-bottom: 65px;
}
.mv_img_sp,.collage-sp{
    display: none !important;
}
h2{
    text-align: center;
}
.top_h2{
    margin-bottom: 30px;
}
.icon_flex li img{
    width: 250px;
    height: auto;
}
.icon_flex{
    display: flex;
    justify-content: space-between;
    margin: 40px 100px 120px;
}
.top_title_h2{
    background-image: url(image/bg_ajstyle.png);
    background-position: center;
    padding: 70px 0;
    margin-bottom: 60px;
}
sec_step{
    margin-bottom: 100px;
}
.about_flex{
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}
.about_flex img{
    width: 43%;
}
.about_flex p{
    width: 50%;
    padding-top: 10px;
}
.about_last{
    margin-bottom: 150px;
}
#btn img,#btn02 img{
    width: 250px;
}
#btn,#btn02{
    display: block;
    text-align: center;
    margin-bottom: 150px;
}

.step_flex{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 120px;
}
.step_flex img{
    margin-bottom: 40px;
}
.step_flex p{
    padding: 0 50px;
}
.top_last{
    margin-bottom: 120px;
}

/*フッター*/

footer .footer_wrap_bg{
    background: #ede9e9;
    padding: 80px 0;
}
.footer_wrap{
    width: 80%;
    margin: 0 auto;
}
.footer_flex{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}
footer  h2{
    letter-spacing: 8px;
    font-weight: normal;
    display: inline-block;
    text-align: left;
    padding-bottom: 15px;
    margin-bottom: 50px;
    position: relative;
}
footer  h2:before{
    content: '';
    position: absolute;
    left: 37%;
    bottom: -15px;
    display: inline-block;
    width: 120px;
    height: 1px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #000000;
}
footer img{
    width: 90px;
    height: auto;
}
.footer_flex p:first-child{
    padding-top: 20px;
    margin-bottom: 10px;
}
.footer_icon_flex a{
    display: inline-block;
}
.footer_icon_flex{
    display: flex;
    justify-content: space-between;
}
.footer_icon_flex a:last-child{
    margin-left: 100px;    
}
.footer_bg{
    background: #000000;
    color: #ffffff;
    padding: 10px 0;
}
footer small{
    display: block;
    text-align: center;
    font-size: 10px;
}

/*サービス紹介ページ*/
.service_flex01,.service_flex02{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.service_flex01 li{
    width: 32%;
}
.service_flex02 li{
    width: 47%;
}
.arrow,.service_ea,.collage{
    margin-bottom: 50px;
}
.textarea{
    margin-bottom: 80px;
}
.text_under{
    margin-bottom: 110px;
}
.text_flex img{
    vertical-align: middle;
}
.text_flex p{
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 8px;
}
.text_flex li{
    width: 32%;
    margin-bottom: 30px;
}
.text_flex{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
/*サービス紹介のwidth*/
.service_wrap{
    width: 80%;
    margin: 0 auto;
}

/*料金ページ*/

.img_under{
    margin-bottom: 50px;
}
.price_table{
    margin-bottom: 100px;
    border-spacing: 0px;
    border-collapse: collapse;
}
.price_table th,.price_table td{
    padding: 20px;
    border-right: #bababa 1px solid;
    border-bottom: #bababa 1px solid;
}
.price_table .table_border{
    border-right: none;
}
.price_table .table_border02{
    border-bottom: none;
}
.price_table td{
    text-align: center;
}
.last_table{
    margin-bottom: 30px;
}
.last_table_p{
    margin-bottom: 100px;
    font-size: 16px;
}
/*事業概要ページ*/
.text_line{
    border-bottom: #000000 1px solid;
}
.img_under02{
    margin-bottom: 100px;
}
.company_table{
    width: 80%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 120px;
}
.company_table td{
    padding: 20px;
    border: #bababa 1px solid;
}
.table_bg{
    background-color: #000000;
    color: #ffffff;
}
/*お問い合わせぺーじ*/
.text_under02{
    margin-bottom: 60px;
}
#formWrap {
	margin:0 auto;
	color:#000000;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:80%;
	margin:0 auto 120px;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:15px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
input,textarea{
    width: 100%;
}
.color_led{
    color: #c63737;
    font-size: 10px;
}
input[type="submit"]{
    width: 200px;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 40px;
    margin-bottom: 120px;
}
@media screen and (max-width:640px){
    body{
        font-size: 15px;
    }
    h2{
        font-size: 20px;
    }
    header {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        position: relative;
        margin: 30px 0px;
      }
      .logo{
        margin-left: 0;
      }
      .logo img{
        width: 180px;
        height: auto;
      }
      
      /* ここから下がハンバーガーメニューに関するCSS */
        
      /* チェックボックスを非表示にする */
      .drawer_hidden {
        display: none;
      }
      
      /* ハンバーガーアイコンの設置スペース */
      .drawer_open {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 16%;
        z-index: 100;/* 重なり順を一番上にする */
        cursor: pointer;
      }
      
      /* ハンバーガーメニューのアイコン */
      .drawer_open span,
      .drawer_open span:before,
      .drawer_open span:after {
        content: '';
        display: block;
        height: 2px;
        width: 25px;
        background: #6e6e6e;
        transition: 0.5s;
        position: absolute;
      }
      
      /* 三本線の一番上の棒の位置調整 */
      .drawer_open span:before {
        bottom: 10px;
      }
      
      /* 三本線の一番下の棒の位置調整 */
      .drawer_open span:after {
        top: 10px;
      }
      
      /* アイコンがクリックされたら真ん中の線を透明にする */
      #drawer_input:checked ~ .drawer_open span {
        background: rgba(255, 255, 255, 0);
      }
      
      /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
      #drawer_input:checked ~ .drawer_open span::before {
        bottom: 0;
        transform: rotate(45deg);
      }
      
      #drawer_input:checked ~ .drawer_open span::after {
        top: 0;
        transform: rotate(-45deg);
      }
        
      /* メニューのデザイン*/
      .nav_content {
        width: 100%;
        height: 100%;
        position: fixed;
        bottom: 100%;
        left: 0%; /* メニューを画面の外に飛ばす */
        z-index: 99;
        background: rgb(194, 195, 196);
        transition: .5s;
        text-align: center;
        padding-top: 40px;
      }

    /*全ページフレックス解除*/

      header ul,.about_flex,.step_flex,.footer_flex,.service_flex01,.service_flex02,
      .text_flex{
        flex-direction: column;
    }
    header ul li{
        margin-bottom: 30px;
        margin-left: 0;
        border-bottom: 1px solid #686868;
    }
    header ul li a{
        padding: 0;
        color: #ffffff;
    }
      
      /* メニュー黒ポチを消す */
      .nav_list {
        list-style: none;
      }
      
      /* アイコンがクリックされたらメニューを表示 */
      #drawer_input:checked ~ .nav_content {
        bottom: 0;/* メニューを画面に入れる */
        
      }

      /*トップページ*/
      .mv_img_sp,.collage-sp{
        display: block !important;
        margin-bottom: 60px;
      }
      .mv_img,.collage{
        display: none !important;
      }
      .wrap,.service_wrap{
        width: 95%;
    }
    .icon_flex li img{
        width: 120px;
        height: auto;
    }
    .icon_flex{
        margin: 40px 50px 50px;
    }
    .top_title_h2{
        background-image: url(image/bg_ajstyle_sp.png);
        padding: 20px 0;
        margin-bottom: 50px;
    }
    .about_flex img{
        width: 350px;
        height: auto;
        margin: 0 auto 20px;
    }
    .about_flex p{
        width: 100%;
        text-align: center;
    }
    .about_last{
        margin-bottom: 60px;
    }
    #btn img,#btn02 img{
        width: 200px;
    }
    #btn,#btn02{
        margin-bottom: 90px;
    }
    .step_flex img{
        width: 130px;
        margin-bottom: 20px;
    }
    .step_flex p{
        margin-bottom: 50px;
        padding-top: 13px;
        position: relative;
    }
    .step_flex p:before{
        content: '';
        position: absolute;
        left: 50%;
        top: -12px;
        display: inline-block;
        width: 220px;
        height: 0.5px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #bcbcbc;
    }
    .step_flex{
        margin-bottom: 10px;
    }

    /*フッター*/
    footer .footer_wrap_bg{
        padding: 60px 0;
    }
    .footer_wrap{
        width: 93%;
    }
    footer h2:before{
        left: 45%;
    }
    .footer_icon_flex{
        justify-content: flex-start;
    }
    .footer_icon_flex a img{
        width: 70px;
    }
    footer address{
        margin-bottom: 40px;
    }
    .footer_flex{
        font-size: 13px;
    }
    /*サービスページ*/
    .banner{
        margin-bottom: 60px;
    }
    .h2_border,.h2_border02{
        margin-bottom: 60px;
    }
    .service_flex01,.service_flex02{
        width: 80%;
        margin:  0 auto 35px;
    }
    .service_flex01 li,.service_flex02 li{
        width: 100%;
        margin: 0 auto;
    }
    .service_flex01 li img,.service_flex02 li img{
        width: 100%;
        margin-bottom: 15px;
    }
    .text_flex{
        width: 80%;
        margin-left: 50px;
    }
    .text_flex li{
        width: 100%;
        margin-bottom: 10px;
    }
    .text_flex li p{
        letter-spacing: 0;
    }
    .arrow img{
        width: 80px;
    }
    /*料金ページ*/
    .img_under{
        width: 250px;
        margin: 0 auto 50px;
    }
    .price_table th,.price_table td{
        padding: 8px;
    } 
    /*事業概要ページ*/
    .img_under02{
        width: 70%;
        margin: 0 auto 60px;
    }
    .company_table td{
        display: block;
        padding: 10px
    } 
    .company_table{
        margin-bottom: 60px;
    }
    .formTable th,.formTable td{
        font-size: 11px;
    }

    table.formTable{
        margin:0 auto 60px;
    }
}
@media screen and (min-width:641px){
    .br-sp{
        display: none;
    }
}