.eceq-contact img{
    width: 232px;
    max-width: 100%;
}

.eceq-contact h1{
    font-family: var(--font-maru);
    font-weight: var(--font-weight-b);
    font-size: .42rem;
    text-align: center;
    line-height: 1.3;
    color: #003399;
}

.eceq-contact > div{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
}

.eceq-contact p{
    text-align: center;
}

.eceq-contact p:nth-last-child(1){
    margin-bottom: 80px;
}

.eceq-contact-teacher-contact a {
    color: #000;
    white-space: nowrap;
}
.eceq-contact-teacher-contact a:hover{
	text-decoration: underline;
}
.eceq-contact-teacher-contact{
    /* width: 870px; */
    width: 1010px;
    max-width: 100%;
    margin: 0 auto;
}

.eceq-contact-teacher-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 19px;
    border-bottom: 1px solid #000;
    padding-bottom: 25px;
}


.birthplace {
    min-width: 127px;
    border-radius: 8px;
    max-width: 100%;
    font-size: .21rem;
    font-family: var(--font-maru);
    font-weight: var(--font-weight-m);
    text-align: center;
    color: #fff;
    margin-right: 35px;
}
.teacher-address{
    margin-left: 25px;
}

.kindergarten-name {
    font-size: .14rem;
    margin-left: -9px;
}

.hokkaido .birthplace{
    background-color: #FF2455;
}

.tohoku .birthplace{
    background-color: #FF7645;
}

.kanto .birthplace{
    background-color: #ffb800;
}

.tokyo .birthplace{
    background-color: #A6D800;
}

.kanagawa .birthplace{
    background-color: #0e9500;
}

.toukai-hokuriku .birthplace{
    background-color: #009cb0;
}

.kinki .birthplace{
    background-color: #00b1eb;
}

.osaka .birthplace{
    background-color: #00b1eb;
}

.shikoku .birthplace{
    background-color: #1D6593;
}

.tyugoku .birthplace {
    background-color: #1c51ff;
}

.kyusyu-okinawa .birthplace {
    background-color: #9559FF;
}

.birthplace p{
    text-align: center;
}

.teacher-name {
    position: relative;
    min-width: 198px;
    max-width: 100%;
    padding-left: 35px;
}

.teacher-name::before{
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: -3px;
    margin: auto;
    width: 32px;
    height: 32px;
}
.hokkaido .teacher-name:before{
    background-image: url(../../images/eceq/star-red.svg);
}

.tohoku .teacher-name:before{
    background-image:url(../../images/eceq/star-orange.svg);
}
.kanto .teacher-name:before{
    background-image:url(../../images/eceq/star-kanto.svg);
}
.tokyo .teacher-name:before{
    background-image:url(../../images/eceq/star-lightgreen.svg);
}
.kanagawa .teacher-name:before{
    background-image:url(../../images/eceq/star-green.svg);
}
.toukai-hokuriku .teacher-name:before{
    background-image:url(../../images/eceq/star-toukai-hokuriku.svg);
}
.kinki .teacher-name:before{
    background-image:url(../../images/eceq/star-lightblue.svg);
}
.osaka .teacher-name:before{
    background-image:url(../../images/eceq/star-lightblue.svg);
}
.tyugoku .teacher-name:before{
    background-image:url(../../images/eceq/star-tyugoku.svg);
}

.shikoku .teacher-name:before{
    background-image:url(../../images/eceq/star-blue.svg);
}

.kyusyu-okinawa .teacher-name:before{
    background-image:url(../../images/eceq/star-purple.svg);
}
.kyusyu-okinawa .teacher-name{
    letter-spacing: 0em;
}
.teacher-name,
.teacher-address{
    font-size: .24rem;
    font-family: var(--font-maru);
    font-weight: var(--font-weight-m);
    line-height: 1.5;
}


@media screen and (min-width:768px) and ( max-width:960px){
    .eceq-contact--main{
        padding: 0 20px;
    }

    .eceq-contact--main .sp_only{
        display: block;
    }

    .teacher-address {
        line-height: 1.3;
    }


.eceq-contact-teacher-item {
    align-items: baseline;
}

.teacher-name, .teacher-address {
    font-size: .17rem;
}

.birthplace{
    font-size: .19rem;
}

}

@media screen and (max-width: 767px) {
	.eceq-contact p:nth-last-child(1) {
		margin-bottom: 30px;
	}
    .eceq-contact > div{
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .eceq-contact img{
        order: 2;
        width: 50%;
    }

    .eceq-contact h1{
        order: 1;
        font-size: .32rem;
    }

    .eceq-contact p{
        text-align: justify;
        line-height: 1.5;
    }

    .eceq-contact--main{
        margin: 0 20px;
    }

	.teacher-name, .teacher-address a {
		font-size: .20rem;
		white-space: normal;
    	display: inline-block;
	}
	.teacher-name {
    	margin-bottom: 10px;
	}
	.teacher-name {
		margin-bottom: 10px;
		display: flex;
		align-items: baseline;
	}
    .teacher-address {
        margin-left: 40px;
        line-height: 1;
    }

    .teacher-address--mail{
        display: block;
    }

	.eceq-contact-teacher-item {
		display: block;
		margin-bottom: 30px;
		border-bottom: none;
		padding-bottom: 0;
	}
	.kindergarten-name {
		font-size: .15rem;
		margin-left: 1px;
	}
	.birthplace {
		width: 100%;
		margin-bottom: 10px;
	}

    .kanto .sp_only{
        display: none;
    }

}