img {
    width: 100%;
}

/*区切り線*/
hr.plain {
    margin-bottom: 3rem;
}

/*サブ見出し*/
h3 {
    border-left: 8px solid #1D7E5C!important;
    padding-left: 0.5rem!important;
}

/*リンク先ヘッダー隠れ修正*/

div#work1,
div#work2,
div#work3,
div#work4 {
    margin-top: -6rem;
    padding-top: 6rem;
}

.halfs_image a {
	color: #1D7E5C;
	font-weight: bold;
	text-decoration: underline;
}

p.top-memo-p {
    max-width: 1450px;
    width: 90%;
    margin: 0 auto 2.3rem;
}
.halfs_image {
	margin: 20px 0 40px;
}

.top-memo {
    /* padding: 30px 0 30px 4%; */
    max-width: 1450px;
    width: 90%;
    font-size: 1.7rem;
    margin: 4rem auto 1.5rem;
    font-weight: bold;
    color: #353535;
}
.work1 h3 {
    font-size: 1.3rem;
    max-width: 1450px!important;
    margin: 1rem auto 2rem!important;
}

.work1 h2, .work1 h3, h4 {
    /* padding: 30px 4% 10px 4%; */
    max-width: 1450px;
    width: 90%;
    margin: 0 0 1.5rem;
}
.work1 h2 {
    font-size: 1.4rem;
    color: #1D7E5C;
    font-weight: bold;
}
.half_image strong {
    margin-bottom: 0.3rem!important;
    margin-top: 1.7rem!important;
    display: block;
    padding: 0!important;
}


.halfs_image .half_image p, .three_image p {
    line-height: 2;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.halfs_image .half_image strong {
	font-size: 1.1rem;
	/*margin: 30px 0 20px 0;*/
}



div.about_main {
	background-image: url("../img/work_img.webp");
	background-repeat: no-repeat;
	background-size: cover;
    position: relative;
}

div.about_main::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: black;
    opacity: 0.21;
}


div.about_main h1 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 2rem;
    text-shadow: #000 1px 0 10px;
    height: 256px;
    width: 100%;
    max-width: 1450px;
    margin: auto;
    display: flex;
    align-items: center;
    width: 90%;
    font-weight: bold;
}
/* ここからabout nav */
/* ここからナビゲーション */
section .about_nav {
    width: 100%;
    max-width: 1530px;
    margin: auto;
    z-index: 9999;
    position: sticky;
    position: -webkit-sticky;
    top: 6%;
    /*padding: 0 7%;*/
    background: white;
}

.about_nav  ul {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about_nav ul li {
    width: 50%;
    height: 100%;
    text-align: center;
}

.about_nav  ul li a {
    width: 90%;
    margin: auto;
    display: block;
    box-sizing: border-box;
    padding: 40px 0 15px;
    font-size: 1.1rem;
    font-family: "Source Han Sans JP", "Noto Sans JP", sans-serif;
    font-weight: bold;
    color: #999;
    border-bottom: 3px solid #d1d3d4;
    transition: all 1s;
    text-decoration: none;
    color: #58595b;
}

.about_nav  ul li a:hover {
    color: #1D7E5C;
    border-bottom: 3px solid #1D7E5C;
}

/* ここまでナビゲーション */

/*タイトルnoデザイン*/
.no {
    display: inline-block;
}

.no-in {
    background: #1D7E5C;
    color: white;
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
}

.half_image2 {
    display: flex;
    margin-left: 5%;
}

.halfs_image {
    display: flex;
    max-width: 1450px;
    margin: auto;
    width: 90%;
    align-items: center;
    margin-bottom: 6rem;
}

.halfs_image .half_image {
	width: 50%;
	display: flex-box;
	/*padding: 0 4%;*/
}

.halfs_image .three_image {
	width: 33%;
	display: flex-box;
	padding: 0 4%;
}



/* レスポンシブ */
@media screen and (max-width: 768px) {

	.halfs_image .half_image {
		padding: 0 4% 0 0;
	}

	.work1 h2 {
		font-size: 1.2rem;
		text-align: left;
	}
	.work1 h3 {
		font-size: 0.9rem;
		text-align: left;
	}


	.halfs_image {
		display: block;
	    width: 93%;
	    margin-left: 7%;
	}

	.halfs_image .half_image, .halfs_image .three_image {
		width: 100%;
	}

	
	div.about_main h1 {
		font-size: 1.5rem;
		padding-top: 70px;
		padding-left: 70px;
		height: 200px;
		width: 100%;
	}

    /* nav */
    .about_nav ul {
        padding-left: 0;
    }

    /* ここからwork1 */
    .work1 {
        padding: 40px 10px 0;
        margin-top: -40px;
    }

    .halfs_image p, .three_image p {
        font-size: 0.8rem;
        padding: 5px 2% 10px;
    }

    .work1 .about_contents {
        display: block;
        height: 100%;
        margin-top: 50px;
    }

    /* ここまでwork1 */
    /* ここまでabout4 */
    #about4 h2 {
        font-size: 1.8rem;
        padding-left: 10px;
    }

    #about4 div {
        padding: 5%;
    }

    .about_nav ul li {
        height: 50%;
    }

    .about_nav ul li a {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 580px) {
    .about_nav ul {
        display: none;
    }
}


@media screen and (max-width: 420px) {
    section .about_nav {
        display: none;
    }


}