/*元のcampanyの設定*/

/* HOME
------------------------------- */
.webcatalog-content {
    text-align: center;
    padding-top: 90%;
    padding-bottom: 10%;
}

.webcatalog-content p {
    font-size: 1rem;
    margin: 10px 0 42px;
}

#webcatalogtitle {
    background-image: url(../images/catalogcover.jpg);
    min-height: 80vh;
}

/* campany
------------------------------- */
.campany-content {
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.campany-content p {
    font-size: 1rem;
    margin: 10px;
    padding: 0px;
}

.campany-article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
    text-align: left;
}

.campany-item {
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
}

.campany-item p {
    text-align: left;
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
}

.map-article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
    text-align: left;
}


.campany-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.campany-griditem {
    margin: 5%;
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
}

.campany-grid p {
    text-align: left;
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
}

/* ceo photo */
.ceo-photo {
    object-fit: cover;
    width: 150px;
    border-radius: 50%;
}

.sig {
    text-align: right;

}

dt {
    float: left;
    clear: left;
    margin-right: 1em;
    width: 100px;
}

dd {
    float: left;
    margin-left: 2em;
}



/* iframe */
iframe {
    width: 100%;
}


/* スクロールの設定 */
.scrollcontainer {
    overflow: auto;
    scroll-snap-type: y mandatory;
    height: 100vh;
}

.scrollsection{

scroll-snap-align: start;
}


/*元のserviceの設定*/
/* 見出し */
.service-title {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    font-weight: normal;
    background-color: #004B9E;
}



/* 各業務項目のタイトル
------------------------------- */
.service-content {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 1rem;
    margin: 10px 0 42px;

}


/* 水質調査背景画像
------------------------------- */
#water {
    background-image: url(../images/title-water.jpg);
    height: 220px;
    background-position-y: 100px;
}

#water .page-title {
    text-align: center;

}

/* 大気・悪臭調査背景画像
------------------------------- */
#air {
    background-image: url(../images/title-air.jpg);
    height: 220px;
    background-position-y: 100px;
}

#air .page-title {
    text-align: center;
}

/* 室内空気環境背景画像
------------------------------- */
#air {
    background-image: url(../images/title-air.jpg);
    height: 220px;
    background-position-y: 100px;
}

#air .page-title {
    text-align: center;
}

/* 石綿調査背景画像
------------------------------- */
#asbestos {
    background-image: url(../images/title-asbestos.jpg);
    height: 220px;
    background-position-y: 100px;
}

#asbestos .page-title {
    text-align: center;
}

/* 作業環境測定背景画像
------------------------------- */
#asbestos {
    background-image: url(../images/title-asbestos.jpg);
    height: 220px;
    background-position-y: 100px;
}

#asbestos .page-title {
    text-align: center;
}

/* ごみ質背景画像
------------------------------- */
#garbage {
    background-image: url(../images/title-garbage.jpg);
    height: 220px;
    background-position-y: 100px;
}

#gabage .page-title {
    text-align: center;
}

/* 漂着ごみ調査背景画像
------------------------------- */
#gabage {
    background-image: url(../images/title-garbage.jpg);
    height: 220px;
    background-position-y: 100px;
}

#gabage .page-title {
    text-align: center;
}

/* 施設機能診断背景画像
------------------------------- */
#diagnosis {
    background-image: url(../images/title-diagnosis.jpg);
    height: 220px;
    background-position-y: 100px;
}

#diagnosis .page-title {
    text-align: center;
}

/* 廃棄物調査背景画像
------------------------------- */
#diagnosis {
    background-image: url(../images/title-diagnosis.jpg);
    height: 220px;
    background-position-y: 100px;
}

#diagnosis .page-title {
    text-align: center;
}

/* 土壌調査背景画像
------------------------------- */
#soil {
    background-image: url(../images/title-soil.jpg);
    height: 220px;
    background-position-y: 100px;
}

#soil .page-title {
    text-align: center;
}

/* 底質調査背景画像
------------------------------- */
#soil {
    background-image: url(../images/title-soil.jpg);
    height: 220px;
    background-position-y: 100px;
}

#soil .page-title {
    text-align: center;
}

/* 騒音振動低周波音調査背景画像
------------------------------- */
#nois {
    background-image: url(../images/title-nois.jpg);
    height: 220px;
    background-position-y: 100px;
}

#nois .page-title {
    text-align: center;
}

/* 自然環境調査背景画像
------------------------------- */
#env {
    background-image: url(../images/title-env.jpg);
    height: 220px;
    background-position-y: 100px;
}

#env .page-title {
    text-align: center;
}

/* 環境アセスメント背景画像
------------------------------- */
#asessment {
    background-image: url(../images/title-asessment.jpg);
    height: 220px;
    background-position-y: 100px;
}

#asessment .page-title {
    text-align: center;
}

/* 環境DNA背景画像
------------------------------- */
#edna {
    background-image: url(../images/title-edna.jpg);
    height: 220px;
    background-position-y: 100px;
}

#edna .page-title {
    text-align: center;
}

/* 環境学習背景画像
------------------------------- */
#env {
    background-image: url(../images/title-env.jpg);
    height: 220px;
    background-position-y: 100px;
}

#env .page-title {
    text-align: center;
}

/*業務案内のメニューアイテム*/
.item {
    position: relative;
}


.item p {
    font-size: 0.8rem;
    text-align: left;
    color: #432;
}

.item h3 {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    color: rgb(0, 0, 0);
}


.ednacontainer {
    display: flex;
    justify-content: center;
}

.ednacontent {
    background-color: sandybrown;
    margin: 5px 10px;
    padding: 5px 15px;
}

.service-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
}

.big-box1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}


/*石綿の写真のトリミング*/
.asbestos-photo {

    object-fit: cover;
    border-radius: 50%;
}


.notice {
    padding: 0.5em 1em;
    margin: 2em 3em;
    border: double 4px #004B9E;

}

.notice p {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
}

.notice ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.notice li {
    font-size: 0.8rem;
    margin: 0em 2em;
    padding: 0;
    list-style: decimal;
}

/* モバイル版
------------------------------- */
@media (max-width: 599px) {

    /*元のcampanyの設定*/
    .campany-grid {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .campany-griditem {
        font-size: 1.2rem;
        margin: 5px;
        padding: 0px;
    }

    .campany-grid p {
        text-align: left;
        font-size: 1.2rem;
        margin: 0px;
        padding: 0px;
    }

    .campany-article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 30px;
        text-align: left;
    }

    .map-article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 30px;
        text-align: left;
    }

    .campany-item {
        font-size: 0.9rem;
        margin: 0px;
        padding: 0px;
    }

    .campany-item p {
        text-align: left;
        font-size: 1.2rem;
        margin: 0px;
        padding: 0px;
    }

    dt {
        float: left;
        clear: left;
        margin-right: 1em;
        width: 50px;
    }

    dd {
        float: left;
        margin-left: 2em;
    }

    li {
        margin: 0px 10px;
    }

    /*元のserviceの設定*/
    .service-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        margin-top: 6%;
        margin-bottom: 50px;
    }

    .notice {
        padding: 0.5em 1em;
        margin: 2em 1em;

        border-left: double 4px #004B9E;
        /*左線*/
        border-right: double 4px #004B9E;
        /*右線*/
    }

    .notice p {
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
    }

    .notice ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }

    .notice li {
        font-size: 0.8rem;
        margin: 0em 2em;
        padding: 0;
        list-style: decimal;
    }

    /* 見出し */
    .service-title {
        text-align: center;
        font-size: 1.2rem;
        color: rgb(255, 255, 255);
        text-transform: uppercase;
        font-weight: normal;
        background-color: #004B9E;
    }



    /* 各業務項目のタイトル
------------------------------- */
    .service-content {
        text-align: left;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .service-content p {
        font-size: 1.2rem;
        margin: 10px 0 42px;
    }





    /* 水質調査背景画像
------------------------------- */
    #water {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 10px;
        background-position-y: 10px;
    }

    #water .page-title {
        text-align: center;
    }

    /* 大気・悪臭調査背景画像
------------------------------- */
    #air {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #air .page-title {
        text-align: center;
    }

    /* 室内空気環境背景画像
------------------------------- */
    #air {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #air .page-title {
        text-align: center;
    }

    /* 石綿調査背景画像
------------------------------- */
    #asbestos {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #asbestos .page-title {
        text-align: center;
    }

    /* 作業環境測定背景画像
------------------------------- */
    #asbestos {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #asbestos .page-title {
        text-align: center;
    }

    /* ごみ質背景画像
------------------------------- */
    #garbage {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #gabage .page-title {
        text-align: center;
    }

    /* 漂着ごみ調査背景画像
------------------------------- */
    #gabage {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #gabage .page-title {
        text-align: center;
    }

    /* 施設機能診断背景画像
------------------------------- */
    #diagnosis {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #diagnosis .page-title {
        text-align: center;
    }

    /* 廃棄物調査背景画像
------------------------------- */
    #diagnosis {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #diagnosis .page-title {
        text-align: center;
    }

    /* 土壌調査背景画像
------------------------------- */
    #soil {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #soil .page-title {
        text-align: center;
    }

    /* 底質調査背景画像
------------------------------- */
    #soil {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #soil .page-title {
        text-align: center;
    }

    /* 騒音振動低周波音調査背景画像
------------------------------- */
    #nois {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #nois .page-title {
        text-align: center;
    }

    /* 自然環境調査背景画像
------------------------------- */
    #env {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #env .page-title {
        text-align: center;
    }

    /* 環境アセスメント背景画像
------------------------------- */
    #asessment {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #asessment .page-title {
        text-align: center;
    }

    /* 環境DNA背景画像
------------------------------- */
    #edna {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #edna .page-title {
        text-align: center;
    }

    /* 環境学習背景画像
------------------------------- */
    #env {
        background-image: linear-gradient(#ffffff, #ffffff);
        height: 220px;
        background-position-y: 100px;
    }

    #env .page-title {
        text-align: center;
    }

}