:root{
    --gold:#A68866;
    --brown:#4A3628;
}
.general-section.train-access {
    background: url(../images/access/bg-trainAccess.webp) no-repeat center / cover;;
}

/* 共通 */
.c-distance-ttl{
    font-size: clamp(1.2rem, 1.1vw, 1.3rem);
    margin-bottom: -14px;
}
.c-distance-main{
    font-size: clamp(1.6rem, 1.4vw, 2.2rem);
    /* font-size: 22px; */
    letter-spacing: .05em;
}
.c-distance-main .is-large{
    font-size: 230%;
}
.c-distance-main .is-small{
    font-size: 60%;
}

.c-distance-m{
    display: block;
    
}
.access-contents{
     margin-top: 60px;
}
.brown-head{
    background: var(--brown);
    color: #fff;
    padding: 5px 25px 6px;
    font-size: 1.6rem;
    letter-spacing: .1em;
}
.is-large-distance .c-distance-main{
    font-size: clamp(2rem, 1.6vw, 2.6rem);
    /* font-size: 22px; */
    letter-spacing: .05em;
}
/* font */
.note {
    font-size: clamp(14px, 13.6px + 0.125vw, 16px);
    line-height: 1.8;
}
.is-gold{
    color: var(--gold);
}

.secondary-content-title{
    font-size: clamp(30px, 28.8px + 0.375vw, 36px);
    letter-spacing: 0.1em;

    text-align: center;
}

@media screen and (max-width: 960px) {
    .train-access-distance .c-distance{
        width: fit-content;
        margin: 0 auto;
    }
    .c-distance-ttl{
        margin-bottom: -12px;
    }
    .c-distance-main{
        line-height: 1.4;
    }

    .secondary-content-title {

    }
    .brown-head{
        padding: 6px 16px 7px;
        font-size: 1.5rem;
    }
    .access-contents{
        margin-top: 32px;
    }

}
/* lead */

.access-parse{
    margin-top: 60px;
    position: relative;
}
.access-parse::before{
    position: absolute;
    top: 5%;
    right: 3%;
    content: "躍動に近く。安らぎに深く。";
    font-size: clamp(1.4rem,1.3vw,2rem);
    color: #fff;
    letter-spacing: .1em;
}
@media screen and (max-width: 960px) {
    .access-parse {
        margin-top: 30px;
    }

}
/* train access */


.train-access-distance{
    gap: 80px;
    position: relative;
    justify-content: center;
    margin: 0px 0 55px;
}
.train-access-distance::before{
    content:"";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 1px;
    height: 100%;
    background: var(--gold);

}

.train-access-other{
    grid-template-columns: repeat(2,1fr);
    margin: 40px auto 48px;
    gap: 30px;
    width: 80%;
}
.train-other-img{
    gap: clamp(16px,2.5vw,40px);
}
.train-other-img-in{
    width: calc(50% - clamp(16px,2.5vw,40px)/2);
}

@media screen and (max-width: 500px) {
    .train-access-distance{
        flex-direction: column;
        gap: 40px;
         margin: 40px 0 45px;
    }
    .train-access-distance::before{
        width: 100%;
        height: 1px;
    }
}
@media screen and (max-width: 767px) {
    .train-access-other{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 24px;
    }
    .c-distance-main .is-large{
        line-height: 1.2;
    }
    .train-other-img{
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }
    .train-other-img-in{
        width: 100%;
    }
}
/* other-access */
.other-access-item:first-child{
    margin: 0 0 80px;
}
.fig-access{
    margin-bottom: 60px;
}
.other-access .fig-access{
    width: 80%;
    margin: 0 auto 60px;
}
.other-access-content{
    gap: 50px;
}
.other-access-image{
    width: 42%;
}
.other-access-distance{
    width: calc(58% - 50px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media screen and (max-width: 960px) {
    .other-access-item:first-child{
        margin: 0 0 32px;
    }
    .other-access-content{
        gap: 16px;
        flex-direction: column;
    }
    .other-access-image{
        width: 100%;
    }
    .other-access-distance{
        width: 100%;
        gap: 18px;
    }
    .fig-access{
        margin-bottom: 32px;
    }
    .other-access .fig-access{
        width: 100%;
        margin: 0 auto 32px;
    }
    /* 横スクロール */
    .flex-scroll{
        overflow-x: auto;
        position: relative;
    }
    .flex-scroll-in{
        position: relative;
        width: 160%;
        overflow-x: scroll;
    }

}
.scroll-icon02{
    position: absolute;
    z-index: 1;
    top: 40%;
    left: 32%;
    translate: -50% -50%;
    width: 15%;
  }
  .scroll-icon02 img{
    transition: .8s 10s opacity;
    background: rgba(255,255,255,.8);
  }
  .scroll-icon02.is_active img{
    animation: swipeIcon 6s ease-in-out 0.4s both infinite ;
    opacity: 0;
  }
  
  @keyframes swipeIcon {
    0%{
      transform: translateX(0);
    }
    10%{
      transform: translateX(-20px);
    }
    20%{
      transform: translateX(0);
    }
    30%{
      transform: translateX(-20px);
    }
    40%{
      transform: translateX(0);
    }
    50%{
      transform: translateX(-20px);
    }
    60%,100%{
      transform: translateX(0);
    }
  }