@charset "UTF-8";

.container{
    position: relative;
    height: 340px;
 }
 .inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0);
 }
 .bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../image/access/access.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
 }
 @media screen and (max-width: 782px) {
    .container{
        position: relative;
        height: 225px;
     }
 }
 .access_menu{
    margin-top: 100px;
    font-size: 2.2rem;
    text-align: center;
    line-height: 7rem;
 }
 .access_menu a{
    color: #000;
 }
 .access_menu a {
    position: relative; 
    }
    
 .access_menu a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #000000;
    bottom: -1px;
    transform: scale(0.5, 1);
    transform-origin: center bottom; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;   /*変形の時間*/
    }
    
.access_menu a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
.access_menu a:hover{
color: #A5C4C6;
transition : color 0.5s ease 0s;
}
.access_title{
    justify-content: left;
    align-items: flex-start;
    margin-top: 70px;
    margin-bottom: 34px;
}
.access_title::before{
    content: url(../image/access/flag.svg);
    vertical-align:middle;
    width: 57px;
    height: 55px;
    margin-right: 24px;
}
.access_title p:nth-child(2){
    margin-left: 70px;
}
#car.access_title p:nth-child(2){
    margin-left: 0px;
}
.access_title div{
    margin-left: 70px;
}
.access_title:not(:first-child){
    margin-top: 74px;
}
.bike_img{
    margin-bottom: 32px;
    align-items: center;
}
.bike_text{
    margin-top: 32px;
}
.bike_img img{
    max-width: 466px;
}
@media screen and (min-width: 782px) {
    .indent{
        text-indent: -4em;
        padding-left: 4em;
    }
}
@media screen and (max-width: 782px) {
    .map{
        height: 300px;
    }
    .access_title p:nth-child(2){
        margin-left: 0px;
    }
    .access_title::before{
        content: unset;
    }
    .ship::before{
        content: url(../image/access/flag.svg);
        vertical-align: middle;
        display: inline-block;
        width: 57px;
        height: 55px;
        margin-right: 22.6px;
    }
    .access_title div{
        margin-left: 0px;
    }
    .bike_text{
        text-align: center;
    }
    .bike_img{
        gap:10px ;
    }
    .bike_img img{
        width: 90%;
    }
}