/* 見出し */
.service-title {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    font-weight: normal;
}



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

.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) {
    .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;
}

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

#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;
}

}
