@charset "UTF-8";

@media screen and (min-width : 769px){

.access__map{
    margin-inline: auto;
    padding-top: 32px;
    width: 87.17%;
    max-width: 1257px;
}
.access__map img{
    width: 100%;
}

.anchor{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin-top: 58px;
    margin-inline: auto;
    width: 74.41%;
}
.anchor__item{
    width: 100%;
}
.anchor__item a{
    display: grid;
    place-items: center;
    position: relative;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #1D5446;
    background-color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #1D5446;
}
.anchor__item a::before{
    content: "";
    position: absolute;
    top: 46%;
    right: 12px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #1D5446;
    border-right: 2px solid #1D5446;
    rotate: 135deg;
    translate: 0 -50%;
}
.directions{
    margin-top: 50px;
}
.directions__ttl{
    padding-bottom: 30px;
    border-bottom: 1px solid #1D5446;
    font-weight: 700;
    font-size: 22px;
    color: #1D5446;
}
.directions__list{
    display: grid;
    gap: 23px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}
.directions__img{
    position: relative;
}
.directions__img img{
    width: 100%;
}
.directions__num{
    display: grid;
    place-items: center;
    position: absolute;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #1D5446;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
}
.directions__text{
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.375;
}

}@media screen and (max-width : 768px){
.access__map{
    margin-inline: auto;
    padding-top: 8.8vw;
    width: 100%;
}
.access__map img{
    width: 100%;
}

.anchor{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1.6vw;
    margin-top: 8.8vw;
}
.anchor__item{
    width: 100%;
}
.anchor__item a{
    box-sizing: border-box;
    display: grid;
    place-items: center;
    position: relative;
    padding-bottom: 3vw;
    height: 13.6vw;
    border-radius: 1.6vw;
    border: 1px solid #1D5446;
    background-color: #ffffff;
    font-weight: 700;
    font-size: 3.2vw;
    letter-spacing: 0.02em;
    color: #1D5446;
}
.anchor__item a::before{
    content: "";
    position: absolute;
    bottom: 2.67vw;
    left: 50%;
    width: 2.13vw;
    height: 2.13vw;
    border-top: 1px solid #1D5446;
    border-right: 1px solid #1D5446;
    translate: -50% 0;
    rotate: 135deg;
}
.directions:first-of-type{
    margin-top: 8.8vw;
}
.directions:not(:first-of-type){
    margin-top: 13.33vw;
}
.directions__ttl{
    padding-bottom: 5.33vw;
    border-bottom: 1px solid #1D5446;
    font-weight: 700;
    font-size: 5.87vw;
    color: #1D5446;
}
.directions__list{
    display: grid;
    column-gap: 4vw;
    row-gap: 8vw;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 8vw;
}
.directions__img{
    position: relative;
}
.directions__img img{
    width: 100%;
}
.directions__num{
    display: grid;
    place-items: center;
    position: absolute;
    top: -1.6vw;
    left: -1.6vw;
    width: 7.2vw;
    height: 7.2vw;
    border-radius: 50%;
    background-color: #1D5446;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 4.27vw;
    color: #ffffff;
}
.directions__text{
    margin-top: 2.67vw;
    font-size: 3.73vw;
    line-height: 1.57;
    letter-spacing: -0.04em;
}
}
