@charset "utf-8";

/*==================================================
all
===================================*/
/*--------------ページタイトル----------------*/
.page-title {
    /* background-image: url(../image/achievements/title.jpg);
    background-position: center; */
    margin-bottom: 200px;
}

/*--------------バックグラウンド----------------*/

.background-content {
    position: relative;
    transition: background-color 1.5s ease-in-out;
    /* 背景色の変化 */
    /* padding: 100px 0; */
}

.background-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* 初期状態では非表示 */
    transition: opacity 1.5s ease-in-out;
    /* 背景画像の変化 */
    z-index: -1;
    /* 背景画像をコンテンツの後ろに表示 */
}

.background-content.show-background {
    background-color: rgba(140, 140, 140, 0.6);
    /* 背景色が変わる状態 */
    background-image: url('../image/business/background.png');
    background-repeat: repeat;
    background-size: contain;

}

.background-content.show-background::before {
    opacity: 1;
    /* 背景画像が表示される状態 */
}

/*==================================================
main
===================================*/
/*--------------お取扱い内容----------------*/
.service-container {
    width: 90%;
    margin: 50px auto 200px auto;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 50px;
}

.service-list li {
    margin: 0 auto;
    text-align: center;
    padding: 15px;
}

.service-list dl {
    width: 90%;
    margin: 0 auto;
}

.service-list dt {
    font-weight: bold;
    font-size: 20px;
}

.service-list dd {
    margin-top: 5px;
    text-align: justify;
}

.service-container img {
    width: 90%;
}

/*--------------当社の強み----------------*/
.strengths-container {
    width: 90%;
    margin: 0 auto;
    padding: 100px 0;
}

.strengths-list li {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 50px auto;
}

.strengths-list img {
    width: 40%;
}

.strengths-list dl {
    width: 40%;
    /* background-color: #8c8c8c; */
    /*padding: 20px;*/
}

.strengths-list dt {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/*==================================================
******ここからレスポンシブ*******
===================================*/
/*==================================================
ipad大
===================================*/
@media (min-height:1200px) {

    /*--------------お取り扱い内容----------------*/
    .service-container {
        margin-bottom: 100px;
    }
}

/*==================================================
ipad
===================================*/
@media (max-width:900px) {
    /*--------------【all】----------------*/
    /*--------------ページタイトル----------------*/
.page-title {
    margin-bottom: 100px;
}

    /*--------------バックグラウンド----------------*/

    .background-content {
        padding-bottom: 10px;
    }

    /*--------------当社の強み----------------*/
    .strengths-container {
        padding-bottom: 0;
    }
    .strengths-list li {
        flex-direction: column;
    }

    .strengths-list img,
    .strengths-list dl {
        width: 80%;
    }

    .strengths-list dl {
        /*padding: 40px 30px;*/
        margin-bottom: 50px;
    }

    .strengths-list dt {
        text-align: center;
        margin-top: 20px;        
			margin-bottom: 20px;
    }
	/*--------------お取扱い内容----------------*/
.service-list {

    grid-template-columns: repeat(2, 1fr);
}
}

/*==================================================
iPhone大
===================================*/
@media (max-width:600px) {
    /*--------------【all】----------------*/

    /*--------------お取扱い内容----------------*/
    .service-container {
        margin-bottom: 100px;
    }

    .service-list {
        display: block;
    }

    .service-list dl {
        width: 90%;
        margin-bottom: 50px;
    }

    .service-list dt {
        margin: 5px auto 10px auto;
    }

    /*--------------当社の強み----------------*/
    .strengths-container {
        padding: 50px 0;
    }

    .strengths-list img,
    .strengths-list dl {
        width: 90%;
    }

    .strengths-list li:last-of-type {
        margin-bottom: 0;
    }
}

/*==================================================
iPhone小
===================================*/
@media (max-width:450px) {

    /*--------------お取扱い内容----------------*/
    .service-container {
        margin-bottom: 50px;
    }
}