/* アクセス経路モーダル */
.access-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.access-modal.is-active {
    display: block;
}

.access-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.access-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.access-modal__header {
    background: #14C1B6;
    color: #fff;
    padding: 20px 24px;
    position: relative;
    text-align: center;
    height: 80px;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.access-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.access-modal__close svg {
    width: 22px;
    height: 22px;
}

.access-modal__close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.access-modal__body {
    padding: 30px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.access-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.access-step {
    position: relative;
    border-radius: 12px;
}



.access-step__image {
    margin-bottom: 10px;
    overflow: hidden;
}

.access-step__image img {
    width: 100%;
    height: auto;
    display: block;
}

.access-step__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.access-step__arrow {
    display: flex;
    justify-content: center;
}

.access-step__arrow svg {
    width: 24px;
    height: 24px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .access-modal__content {
        width: 95%;
        max-height: 95vh;
    }
    
    .access-modal__header {
        padding: 16px 20px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .access-modal__body {
        padding: 24px 20px;
        max-height: calc(95vh - 100px);
    }
    

    
    .access-step__text {
        font-size: 0.95rem;
        padding-left: 4px;
    }
    
    
    .access-step__arrow svg {
        width: 20px;
        height: 20px;
    }
}


/* アニメーション */
.access-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.access-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.access-modal__content {
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s ease;
}

.access-modal.is-active .access-modal__content {
    transform: translate(-50%, -50%) scale(1);
}

/* アクセスボタンのホバー効果 */
.access-modal-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}




.access-modal-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.access-modal-trigger:focus {
    outline: 2px solid #20B2AA;
    outline-offset: 2px;
}
