/*===============================================
 *	汎用
===============================================*/
.photo{
    max-width: 725px;
    width: 50%;
}
.txt_content{
    max-width: 725px;
    width: 47%;
}
@media only screen and (max-width: 1024px) {
    .photo{
        max-width: 50%;
        width: 100%;
    }
    .txt_content{
        max-width: 47%;
        width: 100%;
    }
}
@media only screen and (max-width: 568px) {
    .photo , .txt_content{
        max-width: 100%;
    }
}
/*===============================================
 *	top-news
===============================================*/
#news{
    margin: 100px 0;
}
#news .content-title{
    font-size: 70px;
    margin-bottom: 60px;
    padding-top: 8px;
    margin-left: -4px;
}
#news .content-title span{
    margin-left: 30px;
}
.news_link {
	display: flex;
    align-items: center;
	margin: 0 0 25px;
	padding: 0;
	list-style-type: none;
}
.news_link li {
	width: 110px;
	margin-right :10px;
	background: #cdcdcd;
	color: #FFFFFF;
	position: relative;
	padding: 9px 10px 10px 10px;
	cursor: pointer;
	text-align: center;
	line-height: 1;
    font-size: 16px;
    border-radius: 50px;
} 
.news_link li:last-child {
	margin-right: 0;
}
.news_link li.active, .news_link li:hover {
	background: var(--site-primary);
	color: #fff;
	font-weight: bold;
}
.news_link li.active:after, .news_link li:hover:after {
	display: block;
}
.news-list{
    margin-bottom: 40px;
}
.news-list .news-content {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
    border-top:1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    padding: 25px 0;
    margin-bottom: -1px;
    margin-top: -1px;
}
.news-list .news-content .news-txt a{
	text-decoration: underline;
}
.news-list .news-content .news-txt a:hover{
	text-decoration: none;
}
.news-date {
	font-size: 16px;
	margin-right: 20px;
    color: #999999;
    font-weight: bold;
}
.tags {
	margin-right: 40px;
	border:2px solid var(--site-primary) ;
    box-sizing: border-box;
	min-width: 103px;
	font-size: 16px;
	text-align: center;
	padding: 0 9px;
	height: 36px;
	color: var(--site-primary);
    font-weight: bold;
}

.news-btn{
    display: flex;
    justify-content:right;
}
.news-btn a{
    font-size: 22px;
    font-weight: bold;
    color: var(--site-primary);
    display: flex;
    text-align: right;
    max-width: 198px;
    border-bottom: 4px solid var(--site-primary);
}
.news-btn a::after{
    content: '';
    background: url(../img/common/arrow.svg) no-repeat center top;
    background-size: contain;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left:20px;
    padding-bottom: 15px;
}
@media only screen and (max-width: 960px) {
    #news{
        margin:5vw 0;
    }
}

@media only screen and (max-width: 568px) {
    #news{
        margin: 45px 0;
    }
    #news  .inner {
        margin: 0 auto;
        width: 89.4vw;
    }
    #news .content-title{
        font-size: 35px;
        margin-bottom: 30px;
        padding-top: 0;
        margin-left: -2px;
        
    }
    #news .content-title span{
        font-size: 17px;
        margin-left: 16px;
    }
    .news_link{
        margin-bottom: 20px;
    }
    .news_link li{
        font-size: 13px;
        padding: 11px 0 12px 0;
        font-weight: bold;
    }
    .news-list .news-content{
        display: block;
    }
    .news-list .news-content a{
        padding: 15px 0 20px;
        flex-wrap: wrap;
    }
    .news-date {
        margin-right: 10px;
        display: inline-block;
    }
    .tags{
        font-size: 13px;
        padding: 4px 0 8px;
        min-width: 85px;
        margin-bottom: 15px;
        display: inline-block;
    }
    .news-txt{
        display: block;
        width: 100%;
    }
    .news-btn a{
        font-size: 18px;
        border-bottom: 3px solid var(--site-primary);
    }
    .news-btn a::after{
        width: 30px;
        height: 30px;
    }
    .news-list{
        margin-bottom: 15px;
    }
}
/*===============================================
 *	ご挨拶
===============================================*/
#greeting .content-title {
    margin-bottom: 60px;
}
#greeting .content-title::first-letter{
    margin-left: -13px;
}
#greeting .content-title span{
    margin-left: -4px;
}
#greeting .sub_title{
    font-size: clamp(44px, 3.1vw , 58px);
    margin-left: -9px;
}
.img-area{
    flex: 1;
    margin-left: calc(50% - 50vw);
    width: 50%;
    max-width: 915px;
}
.greeting_txt{
    padding-top: 45px;
    font-size: 22px;
    letter-spacing: 0.05em;
    background: url(../img/top/greeting_bg.png) no-repeat top right;
    margin-left: 5%;
}
.greeting_txt p{
    line-height: 1.9;
}

@media only screen and (max-width: 1024px) {
.img-area{
        max-width: 50%;
        margin-left: -3.3vw;
    }
.greeting_txt{
    max-width: 50%;
    padding-top: 25px;
}
#greeting .sub_title{
    font-size: 40px;
    margin-bottom: 25px;
    }
.greeting_txt p{
    line-height: 1.8;
    font-size: 16px;
    }
   }
@media only screen and (max-width: 960px) {
    #greeting .content-title {
        margin-bottom: 40px;
    }
    .greeting_txt{
        padding-top: 20px;
    }
    #greeting .sub_title{
        font-size: 32px;
        margin-bottom: 20px;
    }
   }

@media only screen and (max-width: 568px) {
    #greeting .content-title {
        margin-bottom: 32px;
        margin-left: 7px;
    }

    .img-area{
        max-width: 112%;
        width: 112%;
        margin: 0 -5.33vw;
        flex: none;
    }
    #greeting .sub_title{
        margin-bottom: 10px;
        margin-left: -3px;
        font-size: 26px;
    }
    .greeting_txt{
        padding-top: 15px;
        background: none;
        max-width: 100%;
        margin-left: 0;
    }

}



/*===============================================
 *	事業紹介
===============================================*/
#business .content-title{
    margin-left:-7px ;
}
#business .content-title span{
    margin-left: 4px;
}
.business-content .photo{
    margin-top: -30px;
}
.business_txt{
    margin-top:65px ;
}
.business_txt p{
    margin-bottom: 55px;
}
.business-content .sub_title{
 line-height: 1.45;   
}
@media only screen and (max-width: 960px) {
    .business_txt{
        margin-top:40px ;
    }
    .business_txt p{
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 568px) {
    #business .content-title{
        margin-left:-4px ;
    }
    #business .content-title span{
        margin-left:1px ;

    }
    .business-content .sub_title{
        margin-bottom: 13px;
    }
    #business .row-rev{
        display: block;
    }
    .business-content .photo{
        margin-top: 20px;
    }
    .business_txt{
        margin-top: 17px;
    }
    
    .business_txt p{
        margin-bottom: 20px;
    }
}

/*===============================================
 *	会社紹介
===============================================*/
#company .content-title {
    margin-bottom: 60px;
    margin-left: -12px;
}
#company .content-title span{
    margin-left: 7px;
}
.company-content .sub_title{
    line-height: 1.45;   
   }
.company_txt p{
    margin-bottom: 55px;
    line-height: 1.8;
}
@media only screen and (max-width: 960px) {
    .company_txt{
        max-width: 45%;
    }
    .company_txt p{
        margin-bottom: 30px;
    }
    #company .content-title{
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 568px) {
#company .content-title {
    margin-left: 30px;
    margin-left: -6px;
}

#company .content-title span{
    margin-left: 4px;
}
.company-content .photo{
    margin-bottom: 10px;
}
.company-content .sub_title{
    margin-bottom: 13px;
}
.company_txt{
    max-width: 100%;
}
.company_txt p{
    margin-bottom: 25px;
}
}
/*===============================================
 *	採用情報
===============================================*/
#recruit .content-title {
    margin-bottom: 60px;
    margin-left: -7px;
}
#recruit .content-title span{
    margin-left: 6px;
}
#recruit .sub_title{
    line-height: 1.45; 
   }
#recruit p{
    margin-bottom: 52px;
}
.bnr-area a{
    position: relative;
    overflow: hidden;
    display: block;
}
.bnr-area a:hover{
    transition: 0.3s;
    cursor: pointer;
}
.bnr-area a:hover img{
    transform:scale(1.1);
    transition:1s all;
    filter: brightness(0.5);
}
.bnr-area a img{
    transition:1s all;
    max-width: 1540px;
}
.bnr-area a:hover .bnr-arrow img{
    transform: none;
    filter: none;
}
.bnr-txt{
    position: absolute;
    left:50px;
    bottom: 50px;
}
.bnr-txt h4{
    font-style: italic;
    font-weight: bold;
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: -16px;
}
.bnr-txt h4 span{
    font-size: 90px;
}
.bnr-arrow{
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50px;
    position: absolute;
    right: 50px;
    bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bnr-arrow img{
    width: 34px;
    height: 28px;
}
@media only screen and (max-width: 960px) {
    #recruit .content-title{
        margin-bottom: 40px;
    }
    .bnr-txt{
        position: absolute;
        left:30px;
        bottom: 30px;
    }
    .bnr-txt h4{
        font-style: italic;
        font-weight: bold;
        font-size: 24px;
        line-height: 1;
        margin-bottom: -3px;
    }
    .bnr-txt h4 span{
        font-size: 60px;
    }
    .bnr-arrow{
        width: 60px;
        height: 60px;
        right: 30px;
        bottom: 30px;
    }
    .bnr-arrow img{
        width: 28px;
        height: 22px;
    }
}
@media only screen and (max-width: 568px) {
    #recruit .content-title {
        margin-bottom: 30px;
        margin-left: -4px;
    }
    #recruit .sub_title{
        margin-bottom:13px ;
    }
    #recruit .content-title span{
        margin-left: 2px;
    }
    #recruit p{
        margin-bottom: 20px;
    }
    .bnr-area{
        width: 112%;
        margin: 0 -5.33vw;
    }
    .bnr-txt h4{
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: -4px;
        font-weight: middle;
    }
    .bnr-txt h4 span{
        font-size: 28px;
        font-weight: bold;
    }
    .bnr-txt{
        left:17px;
        bottom: 17px;
    }
    .bnr-arrow{
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 10px;
    }
    .bnr-arrow img{
        width: 19px;
        height: 15px;
    }

}


/*===============================================
 *	お問い合わせ
===============================================*/
#contact{
    text-align: center;
    background: url(../img/top/contact_bg.png) no-repeat center top;
    background-size: cover;
}
#contact .content-title {
    margin-bottom: 55px;
}
#contact p{
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
}
#contact .btn a{
    max-width: 500px;
    margin: 90px auto 0;
}
#contact .btn a span{
    font-size: 28px;
    padding: 28px 0;
}
#contact .btn a span::after{
    width: 50px;
    height: 50px;
}
@media only screen and (max-width: 960px) {
    #contact .btn a{
        margin: 55px auto 0;
    }
}
@media only screen and (max-width: 568px) {
    #contact{
        background: url(../img/top/contact_bg_sp.jpg) no-repeat center top;
        background-size: 100% 100%;

    }
    #contact .content-title{
        margin-bottom: 40px;
        padding-top: 0px;
    }
    #contact p{
        font-size: 18px;
    }
    #contact .btn a{
        max-width: 280px;
        margin: 50px auto 0;
    }
    #contact .btn a span{
        font-size: 20px;
        padding: 18px 0 20px;
    }
    #contact .btn a span::after{
        width: 35px;
        height: 35px;
        top:50%;
    }
}
