@charset "UTF-8";

header .head_ttl::before {
    content: "アクセス";
    line-height: 1;
    margin: 4px 0 0;
}
.gnav li a.access{
    background: #eee;
    color: #000;
}

.subhead{
    background: url(../img/access/subhead.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}
@media screen and (max-width: 1000px){
ul.gnavi li a.access{
    background: #eee;
    color: #000;
}
}
@media screen and (max-width: 750px){
.foot_nav .access a{
    background: #d8d8da;
}
}





#train_access{
    margin: 0 auto 100px;
}
.access_flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.access_flex_item{
    width: 49%;
    position: relative;
}
.access_flex_item:nth-child(n + 3){
    margin-top: 2%;
}

.train_time_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 60px auto 40px;
}
.train_time_item{
    width: 23%;
}
.train_time_item:nth-child(n + 5){
    margin-top: 30px;
}

.train_time_main{
    font-size: 24px;
    font-weight: 500;
}
.train_time_main span.small{
    font-size: 0.7em;
}
/* .train_time_main span.direct{
    font-size: 0.5em;
    writing-mode: vertical-lr;
    position: relative;
    bottom: -0.3em;
    line-height: 1.4;
} */
.train_time_cap{
    font-size: 10px;
    text-align: justify;
    margin-top: 0.5em;
    line-height: 1.2;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}



.access_section_main{
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
}


#direct_access{
    margin: 0 auto 150px;
}
.direct_map{
    margin: 0 auto 60px;
}
.zoom_icon{
    max-width: 50px;
    position: absolute;
    left: 0;
    bottom: -20px;
    display: none;
}
#direct_access .access_flex_item:nth-child(3){
    margin-left: auto;
    margin-right: auto;
}


#topics{
    background: url(../img/access/topics_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto 100px;
    padding-bottom: 60px;
}
.topics_ttl{
    max-width: 200px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -100px;
    width: 100%;
}
.topics_map{
    max-width: 800px;
    margin: 0 auto;
}
.car_cap{
    text-align: center;
    font-size: 10px;
    line-height: 1.4;
    margin-top: 0.5em;
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}
.car_cap span{
    display: inline-block;
    /* text-align-last: left; */
}
.access_flex.car_flex02{
    margin: 60px auto 0;
}





@media screen and (max-width: 1200px){
.train_time_main {
    font-size: 22px;
}
.train_time_main span.direct{
    font-size: 0.7em;
}
}

@media screen and (max-width: 1000px){
.train_time_item {
    width: 48%;
}
.train_time_item:nth-child(n + 3) {
    margin-top: 30px;
}
.topics_ttl {
    max-width: 150px;
    top: -80px;
}
#train_access {
    margin: 0 auto 60px;
}
.direct_map {
    margin: 0 auto 40px;
}
#direct_access {
    margin: 0 auto 120px;
}
}

@media screen and (max-width: 768px){
}

@media screen and (max-width: 750px){
.access_flex_item {
    width: 100%;
}
.access_flex_item:nth-child(n + 2) {
    margin-top: 20px;
}
.access_section_main {
    margin: 0 auto 30px;
}
.access_flex {
    max-width: 500px;
    margin: 0 auto;
}
}

@media screen and (max-width: 650px){
.zoom_icon{
    display: block;
    width: 11%;
}
.train_time_item{
    width: 100%;
}
.train_time_item:nth-child(n + 2) {
    margin-top: 30px;
}
.topics_ttl {
    max-width: 110px;
    top: -60px;
}
.access_flex.car_flex02 {
    margin: 40px auto 0;
}
.access_flex_item:nth-child(n + 2) {
    margin-top: 10px;
}
.train_time_main {
    font-size: 18px;
    letter-spacing: 0;
    font-feature-settings: "palt";
}
.train_time_main span.direct {
    font-size: 1em;
}
}


