@charset "utf-8";

/*  header */

body{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  Osaka;
  }
 h1{
    font-family: "Noto Serif JP", serif;
  }

  h2,header h2 span{
    font-family: "Playfair Display", serif;
    text-transform: uppercase;
  }

  section.land_surveying h2, div.surveying_detail h3{
    font-family: "Noto Serif JP", serif;
  }
  section.land_surveying h2 span{
    font-family: "Playfair Display", serif;
  }

  h2 span{
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.01em;
    font-weight: 400;
    color: #333;
    font-family: "Noto Serif JP", serif;
  }

  section.contact_tel h2, section.contact_mail h2{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  Osaka;
  }

div.mainVisual{
    position: relative;
    /* background-image: url(/img/mainvisual01.jpg);
    background-size: cover; */
    height: calc(var(--vh, 1vh)* 100);
    height: 100vh;
}
  
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .slideimg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    background-size: cover;
    background-position: left top;
    animation: slideAnime 15s infinite;
  }
  .slideimg:nth-of-type(1){
    background-image: url(../img/mainvisual01.jpg);
    animation-delay: 0s;
  }
  .slideimg:nth-of-type(2) {
    background-image: url(../img/service01.jpg);
    animation-delay: 5s;
  }
  .slideimg:nth-of-type(3) {
    background-image: url(../img/service02.jpg);
    animation-delay: 10s;
  }
  @keyframes slideAnime {
    0%, 45%, 100% { opacity: 0; }
    15%, 30% { opacity: 1; }
  }

/* div.mainVisual div.background ul li{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    animation: fade 15s infinite;
}
div.mainVisual div.background ul li:nth-child(1){
    animation-delay: 0s;
}
div.mainVisual div.background ul li:nth-child(2){
    animation-delay: 5s;
}
div.mainVisual div.background ul li:nth-child(3){
    animation-delay: 10s;
}
@keyframes fade {
    0%, 45%, 100% { opacity: 0; }
    15%, 30% { opacity: 1; }
    } */

nav.global{
    position: relative;
    display: flex;
    width: 100%;
    height: 120px;
    padding-left: 25px;
    align-items: center;
}
nav.global h1 a{
    width: 350px;
    font-size: 2.4rem;
    color: #fff;
    opacity: 0;
    transition: opacity 1s,visibility 2s;  
}
nav.global h1 a.inview{
    opacity: 1;
}
nav.global h1 a:hover{
    transition: .3s;
    opacity: .8;
}
nav.global ul.global_menu{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 40%;
}
nav.global ul.global_menu li{
    width: 30%;
}
nav.global ul.global_menu li a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    border-right: 1px dotted #fff;
    border-bottom: 1px dotted #fff;
    font-size: 1.4rem;
    color: #fff;
}
nav.global ul.global_menu li a:hover{
    background-color: rgba(255, 255, 255, 0.135);
    transition: .3s;
}
nav.global ul.global_menu > li:first-child{ border-left: 1px dotted #fff;}
nav.global ul.global_menu > li:last-child{ background-color: #272f87;}
nav.global ul.global_menu a{ color: #fff;}

    
/* ----- 1024px 以下 ----- */
    @media screen and (max-width: 1024px){
        div.mainVisual{
            height: 720px;
        }
        .slider-container{
            height: 100%;
        }
        nav.global{
            height: 80px;
        }
        nav.global ul.global_menu li{
            width: 40%;
        }
        @media (hover:hover){
            nav.global h1 a:hover{
                opacity: .8;
                transition: .3s;
            }
            nav.global ul.global_menu li a:hover{
                background-color: rgba(255, 255, 255, 0.135);
                transition: .3s;
            }
        }
    /* --- humberger --- */
    body.fix{
        overflow: hidden;
    }
    nav.global ul.global_menu{
        position: fixed;
        top: 10%;
        right: -200%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        transition: all 1s;
        z-index: 20;
    }
    .open nav.global ul.global_menu{
        right: 0;
        z-index: 99;
        transition: all .7s;
    }
    .open .mask{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #272f87;
        position: fixed;
        top: 0;
        right: 0;
        opacity: .8;
        transition: all .7s;
        z-index: 10;
    }
    nav.global ul.global_menu li a{
        height: 100px;
        border-right: none;
    }
    nav.global ul.global_menu > li:first-child{ border-left: none}
    nav.global ul.global_menu > li:last-child{ background-color: transparent;}

    div.btn{
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 999;
        cursor: pointer;
    }
    div.btn span{
        display: block;
        width: 25px;
        height: 4px;
        margin-bottom: 5px;
        background-color: #fff;
        box-shadow: 0 0 3px rgb(162, 162, 164);
        transition: .4s;
    }
    .open .btn span{
        background-color: #fff;
    }
    .btn span:nth-child(1){
        top: 10px;
    }
    .open div.btn span:nth-child(1){
        transform: rotate(45deg) translate(6.5px,6px);
    }
    .open div.btn span:nth-child(2){
        opacity: 0;
    }
    .open div.btn span:nth-child(3){
        transform: rotate(-45deg) translate(6.5px,-6px);
    }
    /* --- humberger --- */

    nav.global ul.global_menu li a{
        font-size: 2rem;
    }
}   
/* ----- 768px 以下 ----- */
    @media screen and (max-width: 768px){
        div.mainVisual{
            height: 480px;
        }
        .slideimg:nth-child(2){
            background-position: center center;
        }
    } 

/* ----- 440px 以下 ----- */
    @media screen and (max-width: 440px){
        div.mainVisual{
            height: 360px;
        }
    
        nav.global h1 a{
            /* position: absolute;
            top: 70%;
            left: 5%; */
            font-size: 2rem;
        }
    }

/*  会社紹介  */
section.company{
    padding: 120px 0;
    margin-bottom: 50px;
    background-image: url(../img/town02.jpg);
    background-size: cover;
    background-position:  center center;
}
section.company div.company_detail{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}
section.company div.company_detail figure{
    width: 50%;
    opacity: 0;
    transition: opacity 1s,visibility 1s;
}
section.company div.company_detail figure.inview{
    opacity: 1;   
}
section.company div.company_detail div.company_summary{
    width: 40%;
    opacity: 0;
    transition: opacity 1s,visibility 1s;
}
section.company div.company_detail div.company_summary.inview{
    opacity: 1;
}
section.company div.company_detail div.company_summary h2{
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-size: 2.4rem;
    font-weight: 400;
}
section.company div.company_detail div.company_summary h2 strong{
    display: block;
    font-weight: 400;
}
section.company div.company_detail div.company_summary p{
    text-align: justify;
    line-height: 2;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
}

/* ----- 詳しく見る ----- */
/* section.company p a{
    position: relative;
    width: 180px;
    margin: 0 auto;
    text-align: center;
    background-color: #272f87;
    color: #fff;
    line-height: 3.4;
    font-size: 1.4rem;
    transition: .4s;
    z-index: 2;
}
section.company p.more{
    opacity: 0;
    transition: opacity 3s,visibility 3s;
}
section.company p.more.inview{
    opacity: 1;
}
section.company p a::after{
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 180px;
    height: 100%;
    border: 1px solid #272f87;
    transition: .1s;
    z-index: 1;
}
section.company p a:hover{
    transform: translate(5px,5px);
}
section.company p a:hover::after{
    opacity: 0; */


/* ----- 1024px 以下 ----- */
    @media screen and (max-width: 1024px){
        section.company div.company_detail{
            width: 95%;
        }
        section.company{
            padding: 80px 0;
        }
        section.company div.company_detail{
            flex-direction: column-reverse;
            /* text-align: center; */
        }
        section.company div.company_detail figure{
            width: 80%;
        }
        section.company div.company_detail div.company_summary{
            width: 80%;
            margin-bottom: 50px;
        }
    }

/* ----- 768px 以下 ----- */
    @media screen and (max-width: 768px){
        section.company div.company_detail div.company_summary h2{
            font-size: 2rem;
            letter-spacing: 0.02em;
            text-align: justify;
        }
    }

/* ----- 440px 以下 ----- */
    @media screen and (max-width: 440px){
        section.company div.company_detail figure{
            width: 350px;
        }
    }


/*  サービス  */
section.service{
    margin-bottom: 100px ;
}
section.service h2{
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.06em;
    font-size: 3rem;
    font-weight: 600;
    color: #232584;
}
section.service ul{
    display: flex;
    justify-content: center;
    gap: 25px;
}
section.service ul li a{
    width: 450px;
    height: 400px;
    padding: 35% 0;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
}
section.service ul li.service_surveying a{
    background-image: url(../img/service01.jpg);
}
section.service ul li.service_surveying a:hover{
    opacity: .6;
    transition: .3s;
}
section.service ul li.service_registration a{
    background-image: url(../img/service02.jpg);
}
section.service ul li.service_registration a:hover{
    opacity: .6;
    transition: .3s;
}
section.service ul li a h3{
    position: relative;
    margin-bottom: 25px;
    font-size: 2.4rem;
    color: #fff;
}
section.service ul li a p{
    font-size: 1.8rem;
    color: #fff;
}
section.service ul li{
    position: relative;
}
section.service ul li a p.number{
    position: absolute;
    top: 30%;
    left: calc(50% - 1.5rem);
    font-size: 2.4rem;
    font-weight: 600;
    /* color: #232584; */
}

/* ----- 1024px 以下 ----- */
    @media screen and (max-width: 1024px){
        section.service ul li a{
            width: 350px;
            height: 300px;
            padding: 34% 0;
        }
        section.service ul li a h3, section.service ul li a p.number{
            font-size: 2rem;
            margin-bottom: 10px;
        }
        section.service ul li a p{
            font-size: 1.6rem;
        }
        section.service ul li a p.number{
            top: 29%;
        }
        @media (hover:hover){
            section.service ul li.service_surveying a:hover, section.service ul li.service_registration a:hover{
                opacity: .6;
                transition: .3s;
            }
        }
    }

/* ----- 768px 以下 ----- */
    @media screen and (max-width: 768px){
        /* section.service ul{
            flex-direction: column;
            align-items: center;
    } */
    section.service h2{
        font-size: 2.4rem;
    }
    section.service h2 span{
        font-size: 1.2rem;
    }
    section.service ul li a{
        width: 300px;
        height: 250px;
        padding: 31% 0;
    }
    section.service ul li a p.number{
        top: 25%;
    }
}

/* ----- 640px 以下 ----- */
@media screen and (max-width: 640px){
    section.service ul{
        flex-direction: column;
        align-items: center;
    }
    section.service ul li a{
        width: 350px;
        height: 300px;
        padding: 34% 0;
    }
    section.service ul li a p.number{
        top: 29%;
    }
}

/*  アクセス  */
section.access{
    margin-bottom: 100px;
}
section.access h2{
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.06em;
    font-size: 3rem;
    font-weight: 600;
    color: #232584;
    text-transform: uppercase;
}
section.access div.access_detail{
    width: 80%;
    margin: 0 auto;
}
section.access div.access_detail div.access_map{
    width: 100%;
    margin-bottom: 25px;
}
section.access div.access_detail div.access_ruto{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
section.access div.access_detail div.access_ruto div.access_address p a{
    position: relative;
    width: 180px;
    margin: 0 auto;
    text-align: center;
    background-color: #272f87;
    color: #fff;
    line-height: 3.4;
    font-size: 1.4rem;
    transition: .4s;
}
section.access div.access_detail div.access_ruto div.access_address p a::after{
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 180px;
    height: 100%;
    border: 1px solid #272f87;
    transition: .1s;
    z-index: -1;
}
section.access div.access_detail div.access_ruto div.access_address p a:hover{
    transform: translate(5px,5px);
}
section.access div.access_detail div.access_ruto div.access_address p a:hover::after{
    opacity: 0;
}
section.access div.access_detail div.access_ruto address h3{
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 600;
}
section.access div.access_detail div.access_ruto address{
    font-style: normal;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-size: 1.4rem;
}
/* section.access div.access_detail div.access_ruto address p:first-child{
    padding-bottom: 10px;
}
section.access div.access_detail div.access_ruto address ul{
    padding-bottom: 10px;
} */
section.access div.access_detail div.access_ruto address a{
    color: #000;
    letter-spacing: 0.08em;
}

/* ----- 1024px 以下 ----- */
@media screen and (max-width: 1024px){
@media (hover:hover){
    section.access div.access_detail div.access_ruto div.access_address p a:hover{
        transform: translate(5px,5px);
    }
    section.access div.access_detail div.access_ruto div.access_address p a:hover::after{
        opacity: 0;
    }
}
}

/* ----- 768px 以下 ----- */
    @media screen and (max-width: 768px){
        section.access h2{
            font-size: 2.4rem;
        }
        section.access h2 span{
            font-size: 1.2rem;
        }
        section.access div.access_detail{
            display: flex;
            flex-direction: column-reverse;
        }
        section.access div.access_detail div.access_ruto{
            flex-direction: column-reverse;
            margin-bottom: 50px;
        }
        section.access div.access_detail div.access_ruto address{
            margin-bottom: 50px;
            text-align: center;
        }
    }

/* ----- 440px 以下 ----- */
@media screen and (max-width: 440px){
    div.access_map iframe{
        height: 300px;
    }
}

/*  コンタクト  */
section.contact{
    margin-bottom: 50px;
    padding: 80px 0 80px;
    background-attachment: fixed;
    background-image: url(../img/sky02.jpg);
    background-size: cover;
    background-position: center bottom;
}
section.contact div.contact_detail h2{
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.06em;
    font-size: 3rem;
    font-weight: 600;
    color: #232584;
    text-transform: uppercase;
}
section.contact div.contact_detail > p{
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}
section.contact div.contact_detail ul{
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
    letter-spacing: 0.03em;
}
section.contact div.contact_detail ul li a{
    width: 360px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.8rem;
    border: 1px solid #272f87;
    color: #fff;
    background-color: #272f87;
    transition: .4s;
}
section.contact div.contact_detail ul li:first-child a{
    font-size: 2rem;
}
section.contact div.contact_detail ul li a:hover{
    background-color: rgba(255, 255, 255, 0.135);
    color: #232584;
}
section.contact div.contact_detail ul li:last-child a{
    display: block;
    padding-top: 20px;
    background-color: #fff;
    border: 1px solid #272f87;
    color: #333;
    transition: .4s;
}
section.contact div.contact_detail ul li:last-child a:hover{
    background-color: rgba(255, 255, 255, 0.135);
}
section.contact div.contact_detail ul li a span{
    color: #232584;
    letter-spacing: 0.04em;
    font-size: 2.4rem;
}
section.contact div.contact_detail ul li a dl{
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
}

/* ----- 1024px 以下 ----- */
    @media (hover:hover){
        section.contact div.contact_detail ul li a:hover{
            background-color: rgba(255, 255, 255, 0.135);
            color: #232584;
        }
        section.contact div.contact_detail ul li:last-child a:hover{
            background-color: rgba(255, 255, 255, 0.135);
        }
    }
    
/* ----- 768px 以下 ----- */
    @media screen and (max-width: 768px){
        section.contact div.contact_detail h2{
            font-size: 2.4rem;
        }
        section.contact div.contact_detail h2 span{
            font-size: 1.2rem;
        }
        section.contact div.contact_detail ul{
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        section.contact div.contact_detail ul li a{
            width: 460px;
            height: 100px;
            font-size: 1.5rem;
        }
        section.contact div.contact_detail ul li:first-child a{
            font-size: 1.8rem;
        }
        section.contact div.contact_detail ul li:last-child a{
            padding-top: 13px;
        }
        section.contact div.contact_detail ul li a span{
            font-size: 2rem;
        }
        section.contact div.contact_detail > p{
            width: 460px;
            margin: 0 auto 35px;
            text-align: justify;
        }
    }

/* ----- 480px 以下 ----- */
    @media screen and (max-width: 480px){
        section.contact div.contact_detail ul li a{
            width: 360px;
            height: 80px;
            font-size: 1.2rem;
        }
        section.contact div.contact_detail > p{
            width: 360px;
    }
    section.contact div.contact_detail ul li:first-child a{
        font-size: 1.6rem;
    }
    section.contact div.contact_detail ul li:last-child a{
        padding-top: 8px;
    }
    section.contact div.contact_detail ul li a span{
        font-size: 1.8rem;
    }
    section.contact div.contact_detail ul li a dl{
        font-size: 1.2rem;
    }
}

/*  フッター  */
footer{
    width: 100%;
    margin-bottom: 25px;
    padding: 0 25px 30px;
}
footer nav.local{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}
footer nav.local h1 a{
    font-size: 2.4rem;
    color: #232584;
}
footer nav.local h1 a:hover{
    transition: .3s;
    opacity: .8;
}
footer nav.local ul.local_menu{
    display: flex;
    gap: 20px;
}
footer nav.local ul.local_menu li a{
    padding: 10px 20px 10px 0;
    border-right: 1px dotted #232584;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.0;
    letter-spacing: 0.04em;
    color: #333;
    transition: .3s;
}
footer nav.local ul.local_menu li:last-child a{
    padding-right: 0;
    border-right: none;
}
footer nav.local ul.local_menu li a:hover{
    opacity: .6;
}
footer p{
    width: 100%;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.08em;
    font-size: 1rem;
}

/* ----- 1024px 以下 ----- */
    @media screen and (max-width: 1024px){
        footer nav.local{
            flex-direction: column-reverse;
            /* align-items: flex-start; */
        }
        footer nav.local ul.local_menu{
            /* flex-direction: column; */
            gap: 10px;
            margin-bottom: 20px;
        }
        footer nav.local h1 a{
            font-size: 2rem;
        }
        /* footer nav.local ul.local_menu li a{
            padding: 0;
            border-right: none;
        }
        footer p{
            text-align: start;
        } */
    }
    @media (hover:hover){
        footer nav.local ul.local_menu li a:hover{
            opacity: .6;
        }
    }
    /* ----- 560px 以下 ----- */
    @media screen and (max-width: 560px){
        footer nav.local{
            flex-direction: column-reverse;
            align-items: flex-start;
        }
        footer nav.local ul.local_menu{
            flex-direction: column;
            margin-bottom: 20px;
        }
        footer nav.local ul.local_menu li a{
            padding: 3px 0;
            border-right: none;
        }
        footer p{
            text-align: start;
        }
    }

.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s,visibility 1s, transform 1s;
}

.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/*  下層ページ メインビジュアル */
#surveying div.mainVisual, #registration div.mainVisual, #contact div.mainVisual{
    background-image: url(../img/AdobeStock_362478155.jpeg);
    background-size: cover;
    background-position: center;
    position: relative;
    height: 480px;
    margin-bottom: 100px;
    display: none;
    /* opacity: 0;
    transition: opacity 2s,visibility 2s; */
}
#contact div.mainVisual{
    background-image: url(../img/contactmain.jpg);
}

/* ----- 440px 以下 ----- */
@media screen and (max-width: 440px){
    #surveying div.mainVisual, #registration div.mainVisual, #contact div.mainVisual{
        height: 360px;
    }
}

/* #surveying div.mainVisual.inview, #registration div.mainVisual, #contact div.mainVisual{
    opacity: 1;
} */

/*  surveying.html , registration.html */
/*  土地の測量 */
div.mainVisual{
    position: relative;
}
div.mainVisual h2{
    position: absolute;
    top: 50%;
    left: 10%;
    letter-spacing: 0.04em;
    font-size: 2.8rem;
    font-size: 400;
    filter: drop-shadow(5px 5px 5px #acacac);
    color: #ffffff;
    opacity: 0;
    transition: opacity 1s,visibility 1s;
}
div.mainVisual h2.inview{
    opacity: 1;
}
div.mainVisual h2 span{
    filter: drop-shadow(5px 5px 5px #acacac);
    color: #ffffff;
    font-weight: 600;
    text-transform: capitalize;
}
section.surveying{
    margin-bottom: 145px;
}
section.surveying div.surveying_detail{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto 80px;
}
section.surveying div.surveying_detail figure{
    width: 55%;
}
section.surveying div.surveying_detail div.surveying_summary{
    
    width: 40%;
}
section.surveying div.surveying_detail::after{
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    width: 55%;
    height: 120%;
    background-color: rgba(0, 0, 0, .03);
    z-index: -1;
}
section.surveying div.surveying_detail div.surveying_summary h3{
    margin-bottom: 25px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    font-size: 2.4rem;
    font-weight: 400;
}
section.surveying div.surveying_detail div.surveying_summary p{
    text-align: justify;
    line-height: 2;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
}

/* ----- 768px 以下 ----- */
@media screen and (max-width: 768px){
        div.mainVisual h2{
            font-size: 2.6rem;
        }
        section.surveying div.surveying_detail{
            flex-direction: column-reverse;
            width: 95%;
        }
        section.surveying div.surveying_detail::after{
            display: none;
        }
        section.surveying div.surveying_detail figure{
            width: 80%;
        }
        section.surveying div.surveying_detail div.surveying_summary{
            position:relative;
            width: 80%;
            margin-bottom: 50px;
        }
        section.surveying div.surveying_detail div.surveying_summary h3{
            margin-bottom: 30px;
            font-size: 2rem;
        }
        section.surveying div.surveying_detail div.surveying_summary::after{
            content: "";
            position: absolute;
            top: -10%;
            left: -10%;
            width: 120%;
            height: 155%;
            background-color: rgba(0, 0, 0, .03);
            z-index: -1;
        }
    }

/* ----- 440px 以下 ----- */
    @media screen and (max-width: 440px){
        div.mainVisual h2{
            font-size: 2.2rem;
        }
    }

/*  業務内容  */
section.land_surveying{
    width: 100%;
    margin-bottom:  120px;
}
section.land_surveying h2{
    /* padding: 50px 0; */
    margin: 0 auto -40px;
    text-align: center;
    letter-spacing: 0.06em;
    font-size: 2.8rem;
    font-size: 400;
    color: #232584;
}
section.land_surveying h2 span{
    text-transform: capitalize;
}
section.land_surveying div.land_surveying_back{
    /* width: 80%; */
    margin: 0 auto;
    padding: 8% 10%;
    /* padding: 0 20px 20px; */
    background-color: rgba(0, 0, 0, .03);
}
section.land_surveying ul.land_surveying_list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}
section.land_surveying ul.land_surveying_list figure{
    border-bottom: 5px solid #272f87;
}
section.land_surveying ul.land_surveying_list h3{
    padding: 15px 0;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.02em;
    font-size: 2rem;
    font-weight: 400;
    color: #232584;
}
section.land_surveying ul.land_surveying_list p{
    padding: 15px;
    text-align: justify;
    line-height: 1.6;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
    border-top: 1px solid #878787;
}
/* ----- 865px 以下 ----- */
@media screen and (max-width: 865px){
    section.land_surveying ul.land_surveying_list{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
/* ----- 768px 以下 ----- */
@media screen and (max-width: 768px){
    section.land_surveying div.land_surveying_back{
        padding: 10%;
    }
    section.land_surveying h2{
        font-size: 2.4rem;
        margin: 0 auto -30px;
    }
    section.land_surveying h2 span{
        font-size: 1rem;
    }
    section.land_surveying ul.land_surveying_list{
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 40px;
    }
    section.land_surveying ul.land_surveying_list p{
        padding: 10px;
        font-size: 1.4rem;
    }
    section.land_surveying ul.land_surveying_list h3 {
        padding: 10px 0;
        font-size: 1.8rem;
    }
}
/* ----- 450px 以下 ----- */
@media screen and (max-width: 450px){
    section.land_surveying div.land_surveying_back{
        padding: 13%;
    }
}

/*  リンク  */
div.service_link{
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 180px;
    counter-reset: number 0;
}
div.service_link::after{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: calc(100% - 80px);
    background-color: #232584;
}
div.service_link ul.service_link_list{
    display: flex;
}

div.service_link ul.service_link_list li{
    position: relative;
    width: 50%;
    padding: 0 10%;
}
div.service_link ul.service_link_list li p.tittle{
    position: relative;
    text-align: start;
    font-size: 2.4rem;
    color: #333;
}
div.service_link ul.service_link_list li p.tittle::before{
    position: absolute;
    top: -12%;
    left: -7%;
    counter-increment: number 1;
    content: "0" counter(number) "";
    font-size: 1.2rem;
    color: #232584;
}
div.service_link ul.service_link_list li p.link {
    position: absolute;
    bottom: -70px;
    right: 20%;
}
/* div.service_link ul.service_link_list li a:hover{
    opacity: .6;
    transition: transform .6s ease;
    transform: scale(1.05);
} */
div.service_link ul.service_link_list li.service_link_surveying{
    opacity: .6;
    /* transform: scale(1.05); */
}
#registration div.service_link ul.service_link_list li.service_link_surveying{
    opacity: 1;
    /* transform: scale(1); */
}
#registration div.service_link ul.service_link_list li.service_link_registration{
    opacity: .6;
    /* transform: scale(1.05); */
}
div.service_link ul.service_link_list li p a{
    position: relative;
    width: 180px;
    margin: 0 auto;
    text-align: center;
    background-color: #272f87;
    color: #fff;
    line-height: 3.4;
    font-size: 1.4rem;
    transition: .4s;
}
div.service_link ul.service_link_list li p a::after{
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 180px;
    height: 100%;
    border: 1px solid #272f87;
    transition: .1s;
    z-index: -1;
}
div.service_link ul.service_link_list li p a:hover{
    transform: translate(5px,5px);
}
div.service_link ul.service_link_list li p a:hover::after{
    opacity: 0;
}

/* ----- 1024px 以下 ----- */
@media screen and (max-width: 1024px){
    @media (hover:hover){
        div.service_link ul.service_link_list li p a:hover{
            transform: translate(5px,5px);
        }
        div.service_link ul.service_link_list li p a:hover::after{
            opacity: 0;
        } 
    }
}

/* ----- 800px 以下 ----- */
@media screen and (max-width: 800px){
    div.service_link{
        width: 90%;
    }
}

/* ----- 800px 以下 ----- */
@media screen and (max-width: 800px){
    div.service_link ul.service_link_list li p.tittle{
        font-size: 2.2rem;
    }
}

/* ----- 711px 以下 ----- */
@media screen and (max-width: 711px){
    div.service_link{
        width: 100%;
    }
}

/* ----- 640px 以下 ----- */
@media screen and (max-width: 640px){
    div.service_link{
        width: 80%;
        padding-bottom: 50px;
    }
    div.service_link::after{
        top: 35%;
        left: -5%;
        width: 110%;
        height: 1px;
    }
    div.service_link ul.service_link_list{
        flex-direction: column;
    }
    div.service_link ul.service_link_list li{
        width: 100%;
        margin-bottom: 150px;
    }
    div.service_link ul.service_link_list li p.link {
        bottom: -70px;
        right: 0;
    }
}
/*  contact.html  */

/*  電話問合せ  */
section.contact_tel{
    width: 80%;
    margin: 0 auto 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #272f87;
    text-align: center;
}
section.contact_tel h2{
    padding-bottom: 15px;
    letter-spacing: 0.06em;
    font-size: 2.6rem;
    color: #232584;
}
section.contact_tel p a{
    letter-spacing: 0.06em;
    line-height: 2.6;
    font-size: 3.8rem;
    color: #333;
}
section.contact_tel p a:hover{
    color: #232584;
    opacity: .8;
}
section.contact_tel div.contact_time{
    line-height: 1.4;
    font-size: 1.4rem;
}

/*  メール問合せ  */
section.contact_mail{
    width: 80%;
    margin: 0 auto 80px;
}
section.contact_mail h2{
    padding-bottom: 35px;
    letter-spacing: 0.06em;
    font-size: 2.6rem;
    color: #232584;
    text-align: center;
}
section.contact_mail div.contact_mail_subtitle{
    margin-bottom: 50px;
    text-align: center;
}
section.contact_mail p{
    line-height: 1.8;
    font-size: 1.4rem;
}
section.contact_mail p span{
    font-size: 1.3rem;
    color: #ff0000;
}
section.contact_mail table{
    width: 480px;
    margin: 0 auto 80px;
}
section.contact_mail table tr th{
    width: 30%;
    padding-bottom: 30px;
    text-align: justify;
    letter-spacing: 0.04em;
    font-size: 1.4rem;
    color: #333;
}
section.contact_mail table tr th span{
    font-size: 1.3rem;
    color: #ff0000;
}
section.contact_mail table tr td{
    width: 60%;
    padding-bottom: 30px;
    text-align: end;
    letter-spacing: 0.04em;
    font-size: 1.4rem;
}
section.contact_mail table tr td input[type=text], input[type=tel]{
    width: 95%;
    height: 40px;
    padding: 5px;
    letter-spacing: 0.04em;
}
section.contact_mail table tr td select{
    width: 95%;
    height: 40px;
    padding: 5px;
    letter-spacing: 0.04em;
}
section.contact_mail table tr td textarea{
    width: 95%;
    padding: 5px;
    letter-spacing: 0.04em;
    vertical-align: bottom;
    resize: none;
}
section.contact_mail div.privacy{
    width: 580px;
    height: 400px;
    margin: 0 auto 80px;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid #e6e3e3;
}
section.contact_mail div.privacy p{
    padding: 10px;
    text-align: justify;
    line-height: 1.8;
    letter-spacing: 0.04em;
}
section.contact_mail p.check{
    margin-bottom: 50px;
    text-align: center;
}
section.contact_mail p.check label{
    padding-left: 5px;
}
section.contact_mail div.submit{
    margin-bottom: 80px;
    text-align: center;
}
section.contact_mail div.submit p input[type=submit] {
    margin-bottom: 80px;
    width: 250px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 4;
    color: #fff;
    text-align: center;
    background-color: #272f87;
    transition: 0.4s;
    border: none; 
    cursor: pointer;   
}
.submit p input[type=submit]:hover {
    opacity: 0.7;
}

@media screen and (max-width: 1024px){
    @media (hover:hover){
        section.contact_tel p a:hover{
            color: #232584;
            opacity: .8;
        }
        .submit p input[type=submit]:hover {
            opacity: 0.7;
        }
    }
}

/* ----- 768px 以下 ----- */
@media screen and (max-width: 768px){
    section.contact_tel h2,
    section.contact_mail h2{
        font-size: 2.4rem;
    }
    section.contact_tel p a{
        font-size: 3.6rem;
    }
    section.contact_mail table tr{
        display: flex;
        flex-direction: column;
    }
    section.contact_mail table{
        width: 360px;
    }
    section.contact_mail table tr th{
        width: 100%;
        padding-bottom: 10px;
    }
    section.contact_mail table tr td{
        width: 100%;
        text-align: justify;
    }
    section.contact_mail div.privacy{
        width: 90%;
    }
}
/* ----- 475px 以下 ----- */
@media screen and (max-width: 475px){
    section.contact_tel h2,
    section.contact_mail h2{
        font-size: 2rem;
    }
    section.contact_mail table{
        width: 90%;
    }
    section.contact_mail div.privacy p{
        font-size: 1.2rem;
    }
}
/* ----- 415px 以下 ----- */
@media screen and (max-width: 415px){
    section.contact_tel p a{
        font-size: 3rem;
    }
    section.contact_tel div.contact_time,
    section.contact_mail p{
        font-size: 1.2rem;
    }
}