.profile-main .contents-heading{
    background-image: url('../images/profile/profile-heading-back.jpg');
    margin-bottom: 98px;
}

.products-contents .second-heading{
    margin-bottom: 52px;
}

.products-contents {
    margin-bottom: 110px;
}


.profile-container{
    width: 1070px;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    font-size: .17rem;
}

.profile-container a{
	color:#000;
	text-decoration:none;
}

.profile-group {
    /* margin-bottom: 47px; */
    padding: 45px 15px 45px;
    border-top: 1px solid #B2B2B2;
}

.profile-group:last-of-type{
    border-bottom: 1px solid #B2B2B2;
}

.info-item__block {
    display: flex;
}

.info-item {
    width: 50%;
    display: flex;
    align-items: center;
}

.profile-representative .info-item:nth-of-type(1) {
    width: 45%;
}

.profile-flex-s {
    display: grid;
}

.info-item span,
.section-title {
    font-weight: bold;
    min-width: 120px;
    display: inline-block;
}
.bank-list, .partners-list, .business-list {
    display: flex;
    flex-wrap: wrap;
}

.bank-list p {
    margin-right: 42px;
    display: inline-block;
    margin-bottom: 0;
}

.partners-list p {
    margin-right: 30px;
    display: inline;
    letter-spacing: -0.02em;
}

.partners-list > div{
    margin-bottom: 21px;
}

.business-list p {
    margin-right: 30px;
    display: inline;
    letter-spacing: 0.07em;
}

.business-list > div{
    margin-bottom: 17px;
}

.partners-list .list-50on{
    display: block;
    margin-top: 23px;
} 



/* アクセスマップ */

.profile-accessmap {
    font-size: .17rem;
    background-color: #EFEFEF;
    padding: 105px 0 107px;
    margin-bottom: 107px;
}

.profile-accessmap .second-heading{
    margin-bottom: 82px;
}

.profile-googlemap__contents > p{
    margin-bottom: 35px;
    display: inline-block;
}

.map-btn {
    font-size: .17rem;
    text-decoration: none;
    color: #C35427;
    border: solid 1px #C35427;
    width: 268px;
    max-width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 35px;
    padding: 15px 0;
    position: relative;
    z-index: 2;
	transition: 0.8s;
}

.map-btn:hover{
	background-color:  #C35427;
	color: #fefefe;
	opacity:1;
}

.profile-googlemap__contents{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.profile-googlemap{
    position: relative;
    width: 100%;
    padding-top: 387px;
    overflow: hidden;
    margin-bottom: 40px;
}

.profile-accessmap iframe {
    margin: 0 auto;
    display: block;
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: calc(100% + 150px + 150px);
}

.profile-googlemap__info ul{
    margin-bottom: 52px;
}

.profile-googlemap__info li{
    list-style: none;
    position: relative;
    padding-left: 29px;
    margin-bottom: 16px;
}

.profile-googlemap__info li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background-color: #C35427;
}

.profile-googlemap__info p{
    margin-bottom: 16px;
}

.profile-googlemap__info p:last-of-type{
    margin-bottom: 0px;
}



/* 沿革 */
.profile-history {
    font-size: .17rem;
    margin-bottom: 140px;
}

.profile-history .second-heading{
    margin-bottom: 65px;
}

.history-contents{
    width: 1040px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.history-item{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 37px;
    position: relative;
}

.history-date{
    color: #C35427;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    width: 23%;
    position: relative;
}

.sikaku {
    width: 13px;
    height: 13px;
    background-color: #C35427;
    position: relative;
}

.history-item:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #B2B2B2;
    margin: auto;
    top: 13px;
    right: 45%;
    left: 0;
    z-index: -1;
}
.history-item:last-of-type.history-item:after{
	display:none;
}


.history-year {
    margin-right: 22px;
}

.history-text {
    width: 68%;
}

.history-text p{
    line-height: 2.1;
}


@media screen and (min-width:801px) and (max-width:1000px){
.partners-list > div {
    margin-bottom: 0px;
}

.partners-list p {
    display: inline-block;
    margin-bottom: 20px;
}

.bank-list p {
    display: inline-block;
    margin-bottom: 12px;
}

.business-list > div {
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
}

.business-list p {
    display: inline-block;
    margin-bottom: 12px;
}

.profile-googlemap__contents > p {
    padding-left: 20px;
}

.profile-googlemap__info {
    padding: 0 20px;
}

.bank-list > div {
    display: flex;
    flex-wrap: wrap;
}

.profile-history {
    margin-bottom: 100px;
}

}


@media screen and (max-width:800px){

	.products-contents .second-heading {
		margin-bottom: 36px;
	}

    .profile-main .contents-heading p{
        text-align: center;
    }

    .profile-main .contents-heading {
        background-image: url('../images/profile/sp-profile-heading-back.jpg');
        margin-bottom: 86px;
    }

    .profile-container{
        font-size: .14rem;
    }

    .info-item__block {
        flex-direction: column;
        /* border-bottom: 1px solid #B2B2B2; */
    }

    .con-border {
        border-top: 1px solid #B2B2B2;
        padding: 21px 8px 18px;
        flex-direction: unset;
        font-size: .15rem;
    }
	
	.not-flex-column{
		flex-direction: unset;
	}

    .info-item {
        width: 100%;
    }
	
	.profile-representative .info-item:nth-of-type(1) {
    	width: 100%;
	}


	.profile-googlemap__contents {
		font-size: .15rem;
	}

    .profile-group {
        padding: 0px 15px 0px;
        border-top: none;
    }
	
	.profile-group:last-of-type {
    	border-bottom: 1px solid #B2B2B2;
	}
	
	.profile-flex-s{
		border-top: none;
		display:block;
		padding-top: 0;
	}

    .section-title{
        margin-bottom: 13px;
    }

    .info-item__block div p {
        margin-right: 0;
        display: block;
        margin-bottom: 1px;
		letter-spacing: -0.01em;
    }

    .info-item span, .section-title {
        min-width: 77px;
    }

    .business-list > div,
    .partners-list > div{
        margin-bottom: 0;
    }

    .partners-list > div p{
        margin-bottom: 2px;
    }
    .partners-list .list-50on {
        display: block;
        margin-top: 0;
    }

    .products-contents {
        margin-bottom: 85px;
    }
/* アクセスマップ */

.profile-main{
	margin-top:0;
}

.profile-accessmap .second-heading {
    margin-bottom: 47px;
}

    .profile-accessmap {
        font-size: .14rem;
        padding: 58px 0 66px;
        margin-bottom: 65px;
    }

    .profile-googlemap__contents > p {
        margin-bottom: 13px;
        padding: 0 44px;
    }

    .profile-googlemap__contents > p:nth-of-type(2){
        margin-bottom: 33px;
    }

    .profile-googlemap {
        padding-top: 300px;
        margin-bottom: 35px;
    }

    .map-btn {
        width: 288px;
        margin: 0 auto 41px;
    }

    .profile-googlemap__info ul {
        margin-bottom: 31px;
        padding: 0 24px;
    }

    .profile-googlemap__info li {
        padding-left: 18px;
        margin-bottom: 13px;
        line-height: 1.8;
    }

    .profile-googlemap__info li::before {
        top: 9px;
        bottom: inherit;
    }

    .profile-googlemap__info p {
        margin-bottom: 16px;
        padding: 0 42px;
        line-height: 1.7;
    }
    
/* 沿革 */
    .profile-history {
        font-size: .14rem;
        margin-bottom: 74px;
    }

    .profile-history .second-heading {
        margin-bottom: 40px;
    }

	.history-contents {
        padding: 0 30px;
        font-size: .15rem;
    }

	.history-item {
        flex-wrap: wrap;
        justify-content: initial;
        padding-bottom: 14px;
    }
	
	.history-item:after {
    	left: 5px;
		right: initial;
}
	
    .history-date {
        order: 2;
        width: 104px;
        margin-bottom: 3px;
        justify-content: flex-start;
        margin-left: 17px;
    }

    .history-text {
        order: 3;
        /* margin-left: auto; */
        margin-left: 28px;
        width: 87%;
    }

    .sikaku {
        width: 11px;
        height: 11px;
        order: 1;
    }

    .history-year {
        margin-right: 18px;
    }

    .history-text p {
        line-height: 2.05;
    }
}
