@charset "UTF-8";
html{
    box-sizing: border-box;
    overflow-x: hidden; /*横スクロールバーを非表示*/
}
body{
    background-color: #ffffff;
    color: #3c3c3c;
    /* max-width: 1980px; */
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.5rem;

    font-weight: 500;
    letter-spacing: 0.8px;
}

/* フォント */
/* // <weight>: Use a value from 100 to 900 */
.noto-sans-jp {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
}

.section_container{ /*各コンテンツの中身*/
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 10px 70px;
}
.flex_center{
    display: flex;
    justify-content: center;
}
h1{
    font-size: 1.5rem;
    text-align: center;
    padding-bottom:10px;
}
.h1_sub{
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 30px;
}
.flex{
display: flex;
justify-content: space-between;
}

/* ///////↓ヘッダーstyle/////// */
header{
    background-color: #fff;
    opacity: 0.9;
    margin: 0 auto;
    align-items: center;
    position: sticky;
    top: -50px;
    height: 140px;
    padding-bottom: 10px;
    z-index: 999;
}
.header_container{
    background-color: #fff;
    opacity: 0.9;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 10px;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 999;
}
.header_flex{
    align-items: flex-end;
}
header nav ul li{
    padding: 0 10px;
}
header nav ul li::after{
    content:"|";
    padding-left: 15px;
    font-size: small;
}
header nav ul li:last-child::after{
    content: none;
}
header nav ul li a{
    width: 100%;
    height: 100%;
    padding: 5px;
    position: relative;
}
header nav ul li a::before {
    background: #555;
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}
header nav ul li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}
header nav ul li a:hover{
font-weight: 600;
transition: transform .3s;
}

/* ///////↓信州開発についてstyle/////// */
#about{
    background-color: #bfbfbf;
    padding-bottom: 100px;
}
.about_title{
    font-size: 1.3rem;
    display: flex;
    align-items: center; /* 垂直中心 */
    justify-content: center; /* 水平中心 */
    margin-bottom: 100px;
}
.about_title:before, .about_title:after {
    border-top: 1px solid;
    content: "";
    width: 15rem; /* 線の長さ */
}
.about_title:before {
    margin-right: 5rem; /* 文字の右隣 */
}
.about_title:after {
    margin-left: 5rem; /* 文字の左隣 */
}
.about_text{
    display: block;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
    line-height: 2.5rem;
    padding: 0 20px 60px;
    position: absolute;
    z-index: 900;
    right: 0; /*左右中央*/
    left: 0; /*左右中央*/
}

.about_text p{
    padding: 10px 0;
}

.square_box{
    text-align: right; /*要素右寄せ*/
    position: relative;
    padding-right:60px ;
}
#square1{
    position: absolute;
    top: 8%;
    opacity: 0.5;
}
#square2{
    position: relative;
    opacity: 0.4;
}
.bg_triangle{
    width: 100%;
    height: auto;
    float: inline-start;
}
/* ///////↓事業内容紹介style/////// */
#service{
    /* padding-top: 50px; */
    background-color: #3c3c3c;
    color: #eee;
    margin-bottom: 50px;
    background-image: linear-gradient(0deg, #9b9b9b, #3c3c3c);

    background: #3C3C3C;
    background: linear-gradient(180deg,rgba(60, 60, 60, 1) 0%, rgba(74, 74, 74, 1) 30%, rgba(140, 140, 140, 1) 56%, rgba(201, 201, 201, 1) 100%);
}
.service{
    padding-top:200px ;
}
.service_title_box{
    width: 80%;
    display: block;
    margin: 120px auto 0;
}
.service_title{
    /* margin: 30px auto 0; */
    width: fit-content;
    font-size: 2rem;
    padding: 20px 60px;
    font-weight: 700;
    letter-spacing: 0.3rem;
    line-height: 5rem;
    color: #eee;
    position: relative;
}
.fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 2s, transform 2s;
}
.fade.active {
	opacity: 1;
	transform: translateY(0px);
}
.service_title::before,
.service_title::after {
    position: absolute;
    width: 30px;
    height: 30px;
    content: '';
}
.service_title::before {
    border-left: solid 2px;
    border-top: solid 2px;
    top: 0;
    left: 0;
}

.service_title::after {
    border-right: solid 2px;
    border-bottom: solid 2px;
    bottom: 0;
    right: 0;
}

.service_container{
    display: flex;
    justify-content: space-between;
    margin: 100px auto 80px;
    width: 90%;
    flex-wrap: wrap;
    align-items: top;
}
.service_box{
    display: block;
    background-color: #fff;
    color: #000;
    padding: 25px;
    margin: 10px;
    width: 22%;
    height: 270px;
    border-radius: 8px;
    position: relative;
}
.service_container:after{ /*最後の要素左寄せのためのCSS*/
    content: "";
    display: block;
    width: 22%;
    height: 0;
    margin: 10px;
}
.service_box p{
    text-align: center;
    margin-bottom: 110px;
}
.service_box img{
    size: 80%;
    width: 50%;
    height: fit-content;
    position: absolute;
    bottom: 5%;
    left: 25%;
}

.service_box img{
    align-items: baseline; /* 垂直中心 */
    justify-content: center; /* 水平中心 */
    display: block;
    margin: 0 auto;
}
.service_text{
    color: #3c3c3c;
    text-align: center;
    font-size: 1.2rem;
    margin: 20px 0;
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); */
}
/* ///////↓会社概要style/////// */
#company{
    background-color: #fff;
    margin-bottom: 50px;
}
table{
    margin: 80px auto;
    line-height: 1.7rem;
    padding-left:30px ;
}

table tr{
    border-bottom: 1px solid #ccc;
}
table tr:last-child{
    border-bottom: none;
}
table th{
    vertical-align: top;
    text-align: left;
    padding:30px 80px 30px 20px;
}
table td{
    padding:30px 20px 30px 0;
}
.access_map{
    display: flex;
    justify-content: space-evenly;
}
.access_map iframe{
    width: 400px;
    height: 300px;
}

/* ///////↓お問い合わせstyle/////// */

.bg_round{
    width: 100%;
    height: auto;
}
#contact{
    background-color: #555;
    color: #eee;
}
.contact{
    padding: 100px 0 ;
}
.contact_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact_left{
    width: 45%;
}
.form_text{
    width: fit-content;
    height: fit-content;
    margin: 60px 80px 20px 0px;
    position: relative;
}
/* 矢印 */
.form_text:after{
    position: absolute;
    width: 350px;
    height: 15px;
    content: '';
    border-bottom: #eee solid 1px;
    border-right: #eee solid 1px;
    /*傾きを調節*/
    transform: skew(45deg);
    bottom: 0;
}
.form_text p{
    width: fit-content;
    padding-right: 20px;
    line-height: 2rem;
    padding-bottom: 20px;
}
/* .contact_left ul{
    width: 90%;
    display: block;
    margin: 60px 20px 20px;
    list-style: none;
}
.contact_left ul li{
    font-size: 0.9rem ;
    margin: 20px 0;
    position: relative;
    padding-left: 24px;
}
.contact_left ul li::before{
    content: '';
    width: 10px;
    height: 10px;
    background-color: #eee;
    border-radius: 50%;
    position: absolute;
    left: 0;
    margin: 10px 0;
    transform: translateY(-50%);
} */
form{
    width: 45%;
    margin: 20px;
    background-color:#fff ;
    color: #555;
    padding: 50px 30px;
    border-radius: 10px;
}

label{
    display: block;
    margin: 0px auto 5px;
    width: 90%;
    font-size: 0.9rem;
}
.required{
    font-size: 0.7rem;
    padding: 1px 5px;
    margin-right: 10px;
    border-radius: 5px;
    border: solid 1px orange;
    background-color: orange;
    color:#fff;
}
.optional{
    font-size: 0.7rem;
    padding: 1px 5px;
    margin-right: 10px;
    border-radius: 5px;
    border: solid 1px orange;
    background-color: #fff;
    color:orange;
}
#company_name{
    border: #555 1px solid;
    border-radius: 2px;
}
input{
    display: block;
    margin: 0 auto 30px;
    padding: 10px;
    width: 90%;
    font-size: 1rem;
}
input:focus{
    width: 95%;
    outline: 0;
    background-color: none;
}
select{
    display: block;
    margin: 0 auto 30px;
    padding: 10px;
    width: 90%;
    font-size: 1rem;
}
select:focus{
    width: 95%;
}
textarea{
    width: 90%;
    display: block;
    margin: 0 auto;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.5rem;
}
textarea:focus{
    width: 95%;
}
.button{
    display: block;
    width: 90%;
    margin: 50px auto 10px;
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 50px;
    background-color: #555;
    color:#fff;
    border-color: #ccc;
    outline: none;
    cursor: pointer;
}
form input{
    cursor: pointer;
}
/* スパム対策用なので非表示 */
.hp-field {
    position: absolute;
    left: -9999px;
}
input.button:hover{
    background-color: #333;
    border-color: #eee;
}
.privacy_note{
    font-size: 0.8rem;
    text-align: left;
    margin-top: 50px;
    color: #3c3c3c;
}
/* ///////↓フッターstyle/////// */
footer{
    background-image: url(../images/footer.png);
    background-size: cover;
    background-position: bottom;
    color: #eee;
}
.footer_container{ /*各コンテンツの中身*/
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 10px;
}
footer address{
    margin-top: 30px;
    font-size: 0.9rem;
    }
footer address a{
    color: #fff;
    text-decoration: none;
    padding-top: 8px;
}
.privacy_policy_link{
    display: block;
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 10px;
    font-size: 0.8rem;
    color: #fff;
}
.privacy_policy_link:hover{
    text-decoration: underline;
} 
.copyright{
    text-align: center;
    padding: 0 0 20px;
    font-size: 0.8rem;
    color: #fff;
}


/* ///////トップへ戻るボタン/////// */
#page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #555;
    border: 3px solid #ccc;
    border-radius: 50%;
    margin: 20px;
    z-index: 999;
}

#page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}
#page_top a::before{
    font-family: 'FontAwesome';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #ccc;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -10px;
    bottom: 0;
    right: 0;
    left: -6px;
    margin: auto;
    text-align: center;
}

#page_top:hover{
    border: 3px solid white;
    filter: drop-shadow(5px 3px rgba(29, 22, 7, 0.6));
}

/* 改行 */
.disp-pc{
    display: block;
}
.disp-sp{
    display: none;
}

/* *****ここからmedia 768px************************************************ */
@media (max-width: 768px) {
    html{
        overflow-y:auto;
        overflow-x: hidden;
    }

    .disp-pc{
        display: none;
    }

    .disp-sp{
        display: block;
    }

    /* ******ここからハンバーガーボタン*************** */
        /* nav、navの中身を縦並び */
        .headerNav{
            display: block;
        }
            
        .headerNav a{
            font-size: 15px;
            margin: 0 auto;
            width: 100%;
            text-align: center;
            color:#fff;
        }
    
    /*＜＜ここからハンバーガー内＞＞*/
        .headerNav ul{
            display: block;
            height: auto;
            text-align: center;
            margin: 0 auto;
            /* outline: 1px red solid; */
        }
        
        .headerNav ul li{
            display: block;
            margin: 0 auto;
            padding-top: 10px;
            width: fit-content;
            height: fit-content;
            background:none;
            /* outline: 1px red solid; */
        }
        header nav ul li::after{
            content:none;
        }
        header nav ul li a::before {
            background: #fff;
        }
        .headerNav ul li a{
            display: block;
            height: 100%;
            color: #fff;
        }
    /*＜＜ここまでハンバーガー内＞＞*/
    
    /*========= ナビゲーションのためのCSS（コピペ） ===============*/
    
        #g-nav{
            /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
            position:fixed;
            z-index: 999;
            /*ナビのスタート位置と形状*/
            top:-100%;
            left:0;
            width:100%;
            height: 35%;/*ナビの高さ*/
            background: rgba(62, 65, 66, 0.9);
            /*動き*/
            transition: all 0.6s;
        }
    
        /*アクティブクラスがついたら位置を0に*/
        #g-nav.panelactive{
            top: 0;
        }
    
        /*ナビゲーションの縦スクロール*/
        #g-nav.panelactive #g-nav-list{
            /*ナビの数が増えた場合縦スクロール*/
            position: fixed;
            z-index: 999; 
            width: 100%;
            height: 100vh;/*表示する高さ*/
            overflow: auto;
            -webkit-overflow-scrolling: touch;
        }
    
        /*ナビゲーション*/
        #g-nav ul {
            /*ナビゲーション天地中央揃え*/
            position: absolute;
            z-index: 999;
            top:50%;
            left:50%;
            transform: translate(-50%,-50%);
            width: 100%;
        }
    
        /*リストのレイアウト設定*/
        #g-nav li{
            list-style: none;
            text-align: center; 
            height: fit-content;
        }
    
        #g-nav li a{
            color: #fff;
            text-decoration: none;
            padding:5px 0;
            display: block;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: bold;
        }
    
    /*========= ボタンのためのCSS ===============*/
        .openbtn{
            position:fixed;
            z-index: 9999;/*ボタンを最前面に*/
            top:10px;
            right: 10px;
            cursor: pointer;
            background-color: #ccc;
            width: 50px;
            height:50px;
            border-radius: 30px;
        }
            
        /*×に変化*/	
        .openbtn span{
            display: inline-block;
            transition: all .4s;
            position: absolute;
            left: 14px;
            height: 3px;
            border-radius: 2px;
            background-color: #fff;
            width: 45%;
        }
    
        .openbtn span:nth-of-type(1) {
            top:15px;	
        }
    
        .openbtn span:nth-of-type(2) {
            top:23px;
        }
    
        .openbtn span:nth-of-type(3) {
            top:31px;
        }
    
        .openbtn.active span:nth-of-type(1) {
            top: 18px;
            left: 18px;
            transform: translateY(6px) rotate(-45deg);
            width: 30%;
        }
    
        .openbtn.active span:nth-of-type(2) {
            opacity: 0;
        }
    
        .openbtn.active span:nth-of-type(3){
            top: 30px;
            left: 18px;
            transform: translateY(-6px) rotate(45deg);
            width: 30%;
        }
    /* ******ここまでハンバーガーボタン*************** */
    /* ///////↓ヘッダーstyle/////// */
    header{
        top: -10px;
        height:90px;
    }
    .header_container{
        padding: 15px 0 0 15px;
        height: 70px;
    }
    .header_flex a img{
        width: 140px;
        height: auto;
    }
/* ///////↓信州開発についてstyle/////// */
    .about_title{
        font-size: 1.1rem;
        margin-bottom: 50px;
    }
    .about_title:before, .about_title:after {
        border-top: 1px solid;
        content: "";
        width: 3rem; /* 線の長さ */
    }
    .about_title:before {
        margin-right: 1rem; /* 文字の右隣 */
    }
    .about_title:after {
        margin-left: 1rem; /* 文字の左隣 */
    }
    .about_text{
        width: 90%;
        line-height: 1.8rem;
        padding: 10px 0 30px;
        font-size: 0.8rem;
    }
    #square1,#square2{
        width: 50%;
        height: auto;
    }
/* ///////↓事業紹介style/////// */
/* ///////↓事業内容紹介style/////// */
    .service{
        padding-top:80px ;
    }
    .service_title_box{
        width: 95%;
        display: block;
        margin: 70px auto 0;
    }
    .service_title{
        font-size: 1.3rem;
        padding: 20px ;
        font-weight: 600;
        letter-spacing: 0.2rem;
        line-height: 2.2rem;
    }
    .service_title::before,
    .service_title::after {
        position: absolute;
        width: 20px;
        height: 20px;
        content: '';
    }
    .service_container{
        display: flex;
        justify-content: center;
        margin: 40px auto;
        width: 100%;
        flex-wrap: wrap;
    }
    .service_box{
        background-color: #fff;
        color: #000;
        padding: 10px 12px;
        margin: 10px;
        width: 35%;
        height: 240px;
    }
    .service_container:after{ /*最後の要素左寄せのためのCSS*/
        width: 35%;
    }
    .service_box p{
        font-size: 0.8rem;
        margin-bottom: 120px;
    }
    .service_text{
        font-size: 0.9rem;
        width: 85%;
        margin: 0 auto;
    }
    .service_box img{
        height: auto;
    }
/* ///////↓会社概要style/////// */
    table{
        margin: 50px auto;
        width: 95%;
        line-height: 1.7rem;
    }
    table th{
        padding:30px 30px 30px 0;
        width: 30%;
    }
    .access_map{
        display: flex;
        flex-wrap: wrap;
    }
    .access_map iframe{
        width: 100%;
        height: auto;
        padding-bottom: 20px;
    }
/* ///////↓お問い合わせstyle/////// */
/* 矢印 */
    .form_text:after{
        display: none;
    }
    .form_text{
        width: 90%;
        height: fit-content;
        margin: 40px 20px 20px;
        position: relative;
        font-size:0.9rem ;
    }
    .form_text p{
        padding-right: 20px;
        padding-left: 20px;
    }

    form{
        width: 90%;
        margin: 20px ;
        background-color:#fff ;
        color: #555;
        padding: 50px 40px;
        border-radius: 10px;
    }

    label{
        display: block;
        margin: 0px auto 5px;
        font-size: 0.9rem;
    }
    .required{
        font-size: 0.7rem;
        padding: 1px 5px;
        margin-right: 10px;
        border-radius: 5px;
        border: solid 1px orange;
        background-color: orange;
        color:#fff;
    }
    input{
        width: 100%;
        font-size: 0.9rem;
    }
    input:focus{
        width: 100%;
    }
    textarea{
        width: 100%;
        font-size: 0.9rem;
    }
    textarea:focus{
        width: 100%;
    }
    .button{
        display: block;
        width: 100%;
        margin: 40px auto 10px;
    }

/* ///////↓フッターstyle/////// */
    .footer_container{ /*各コンテンツの中身*/
        padding: 20px 10px;
        /* display: flex; */
        /* justify-content: space-around; */
    }
    .footer_container img{
        width: auto;
        height: 50px;
        display: inline-block;
    }
    footer p{
        margin-top: 0px;
        font-size: 0.8rem;
    }
    .privacy_policy_link{
        margin: 10px auto 0;
        padding: 10px;
        font-size: 0.7rem;
    }
    .copyright{
        text-align: center;
        padding: 0 0 20px;
        font-size: 0.7rem;
        color: #fff;
    }

    #page_top{
        display: none !important;
    }
    #page_top a{
        display: none !important;
    }
}
/* *****ここからmedia 600px************************************************ */
@media (max-width: 600px) {
    .service_box{
        background-color: #fff;
        color: #000;
        padding: 10px 12px;
        margin: 10px;
        width: 45%;
        height: 230px;
    }
    .service_container:after{ /*最後の要素左寄せのためのCSS*/
        width: 45%;
    }
    .service_box img{
        width: 50%;
        height: auto;
    }
}

/* *****ここからmedia 420px************************************************ */
@media (max-width: 420px) {
    .service_box{
        background-color: #fff;
        color: #000;
        padding: 20px 12px 10px;
        margin: 10px;
        width: 85%;
        height: 210px;
    }
    .service_container:after{ /*最後の要素左寄せのためのCSS*/
        width: 85%;
    }
    .service_box img{
        width: 35%;
        height: auto;
        left:32%;
    }
}